diff options
author | Andreas Huber <andih@google.com> | 2012-05-08 11:21:26 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-05-08 11:26:22 -0700 |
commit | 8ee516a515c70a492c395b67ce12e19e7d159804 (patch) | |
tree | ae968718f25cd7972a03c00e7496a6deb225fc1f /include/media/stagefright/MediaCodec.h | |
parent | a62bde0a391f65a418d77c46e6ba468433d81dba (diff) | |
download | frameworks_av-8ee516a515c70a492c395b67ce12e19e7d159804.zip frameworks_av-8ee516a515c70a492c395b67ce12e19e7d159804.tar.gz frameworks_av-8ee516a515c70a492c395b67ce12e19e7d159804.tar.bz2 |
Submit codec specific data automatically
if it is contained in the format passed to MediaCodec::configure.
Change-Id: I8ef6755e8389ec47b44a9c70904ea6c03a00f4f2
related-to-bug: 6364139
Diffstat (limited to 'include/media/stagefright/MediaCodec.h')
-rw-r--r-- | include/media/stagefright/MediaCodec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h index d09049e..d96007b 100644 --- a/include/media/stagefright/MediaCodec.h +++ b/include/media/stagefright/MediaCodec.h @@ -186,6 +186,8 @@ private: sp<ICrypto> mCrypto; + List<sp<ABuffer> > mCSD; + MediaCodec(const sp<ALooper> &looper); static status_t PostAndAwaitResponse( @@ -205,6 +207,9 @@ private: bool handleDequeueOutputBuffer(uint32_t replyID, bool newRequest = false); void cancelPendingDequeueOperations(); + void extractCSD(const sp<AMessage> &format); + status_t queueCSDInputBuffer(size_t bufferIndex); + DISALLOW_EVIL_CONSTRUCTORS(MediaCodec); }; |