summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-11-05 18:18:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-05 18:18:30 +0000
commit32af3a2f56203acc66c8051e20c99a3914d1cec9 (patch)
treeed9c47d4d696988ca5b4e68a0d00ffc192378c13 /include
parentd145ca7669e1945745c69663ed2a7778f1319b4b (diff)
parent05c2fd50d2030e20d6a4cacc6931e453cd2de5c4 (diff)
downloadframeworks_base-32af3a2f56203acc66c8051e20c99a3914d1cec9.zip
frameworks_base-32af3a2f56203acc66c8051e20c99a3914d1cec9.tar.gz
frameworks_base-32af3a2f56203acc66c8051e20c99a3914d1cec9.tar.bz2
Merge "Use meta data in the media recording framework"
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index b2af9d7..517868c 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -44,6 +44,9 @@ struct OMXCodec : public MediaSource,
// can not be fullfilled, Create() returns NULL.
kSoftwareCodecsOnly = 8,
kHardwareCodecsOnly = 16,
+
+ // Store meta data in video buffers
+ kStoreMetaDataInVideoBuffers = 32,
};
static sp<MediaSource> Create(
const sp<IOMX> &omx,
@@ -178,6 +181,8 @@ private:
List<size_t> mFilledBuffers;
Condition mBufferFilled;
+ bool mIsMetaDataStoredInVideoBuffers;
+
OMXCodec(const sp<IOMX> &omx, IOMX::node_id node, uint32_t quirks,
bool isEncoder, const char *mime, const char *componentName,
const sp<MediaSource> &source,