diff options
author | Lajos Molnar <lajos@google.com> | 2013-05-02 16:37:36 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2013-06-21 16:16:30 -0700 |
commit | 054e7347cc60ad4b9dd2e8f456406f122f9f5879 (patch) | |
tree | 40ccea97e1697294e3cb32251cc729dfacda0ab5 /include/media | |
parent | d77312bbaa86c68f9f43a68b2786e8875769d3c4 (diff) | |
download | frameworks_av-054e7347cc60ad4b9dd2e8f456406f122f9f5879.zip frameworks_av-054e7347cc60ad4b9dd2e8f456406f122f9f5879.tar.gz frameworks_av-054e7347cc60ad4b9dd2e8f456406f122f9f5879.tar.bz2 |
stagefright: support for video decoder metadata mode
Change-Id: Id360f29236798163f9f3a82135f601083a8a5058
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 7093648
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/ACodec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 8876c9b..6bf83dd 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -138,6 +138,7 @@ private: IOMX::buffer_id mBufferID; Status mStatus; + unsigned mDequeuedAt; sp<ABuffer> mData; sp<GraphicBuffer> mGraphicBuffer; @@ -194,12 +195,20 @@ private: bool mChannelMaskPresent; int32_t mChannelMask; + unsigned mDequeueCounter; + bool mStoreMetaDataInOutputBuffers; + int32_t mMetaDataBuffersToSubmit; status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode); status_t allocateBuffersOnPort(OMX_U32 portIndex); status_t freeBuffersOnPort(OMX_U32 portIndex); status_t freeBuffer(OMX_U32 portIndex, size_t i); + status_t configureOutputBuffersFromNativeWindow( + OMX_U32 *nBufferCount, OMX_U32 *nBufferSize, + OMX_U32 *nMinUndequeuedBuffers); + status_t allocateOutputMetaDataBuffers(); + status_t submitOutputMetaDataBuffer(); status_t allocateOutputBuffersFromNativeWindow(); status_t cancelBufferToNativeWindow(BufferInfo *info); status_t freeOutputBuffersNotOwnedByComponent(); |