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
commit412abda7a92b842378ecb5fd9bdb43a73d29f468 (patch)
tree67ef9d6740c34095114a56f767cdd4209ae74109 /include
parentc2daea219b626a961d5ccef0b6b22c2496509748 (diff)
parent8480835b4bc1350646376aa7f3ae33742a7adeb1 (diff)
downloadframeworks_av-412abda7a92b842378ecb5fd9bdb43a73d29f468.zip
frameworks_av-412abda7a92b842378ecb5fd9bdb43a73d29f468.tar.gz
frameworks_av-412abda7a92b842378ecb5fd9bdb43a73d29f468.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,