diff options
author | Lajos Molnar <lajos@google.com> | 2013-10-03 15:40:02 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-03 15:40:02 -0700 |
commit | aa50cc78be8a1067a0694a97b04d5a24b80af475 (patch) | |
tree | 4cec59698c59df05efa3dd42635da4827894feec /media/libstagefright/include | |
parent | 31ed2c544736d8ced39ba0ae0489859d4d6a9491 (diff) | |
parent | 56ce726019f700a95ce5b45beebceadae4836e30 (diff) | |
download | frameworks_av-aa50cc78be8a1067a0694a97b04d5a24b80af475.zip frameworks_av-aa50cc78be8a1067a0694a97b04d5a24b80af475.tar.gz frameworks_av-aa50cc78be8a1067a0694a97b04d5a24b80af475.tar.bz2 |
am 56ce7260: IOMX: Add prepareForAdaptivePlayback method
* commit '56ce726019f700a95ce5b45beebceadae4836e30':
IOMX: Add prepareForAdaptivePlayback method
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/OMX.h | 4 | ||||
-rw-r--r-- | media/libstagefright/include/OMXNodeInstance.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/media/libstagefright/include/OMX.h b/media/libstagefright/include/OMX.h index 7e53af3..31a5077 100644 --- a/media/libstagefright/include/OMX.h +++ b/media/libstagefright/include/OMX.h @@ -71,6 +71,10 @@ public: virtual status_t storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable); + virtual status_t prepareForAdaptivePlayback( + node_id node, OMX_U32 portIndex, OMX_BOOL enable, + OMX_U32 max_frame_width, OMX_U32 max_frame_height); + virtual status_t useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer); diff --git a/media/libstagefright/include/OMXNodeInstance.h b/media/libstagefright/include/OMXNodeInstance.h index ae498b4..339179e 100644 --- a/media/libstagefright/include/OMXNodeInstance.h +++ b/media/libstagefright/include/OMXNodeInstance.h @@ -58,6 +58,10 @@ struct OMXNodeInstance { status_t storeMetaDataInBuffers(OMX_U32 portIndex, OMX_BOOL enable); + status_t prepareForAdaptivePlayback( + OMX_U32 portIndex, OMX_BOOL enable, + OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight); + status_t useBuffer( OMX_U32 portIndex, const sp<IMemory> ¶ms, OMX::buffer_id *buffer); |