summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-11-02 13:20:11 -0700
committerJames Dong <jdong@google.com>2010-11-04 17:40:02 -0700
commit05c2fd50d2030e20d6a4cacc6931e453cd2de5c4 (patch)
tree7e6e9eecbdfc75d3b81335b72f731a70dfe90fff /include
parent0ed714a95d1c9c11c3ef8aebd5be4276d1be8740 (diff)
downloadframeworks_base-05c2fd50d2030e20d6a4cacc6931e453cd2de5c4.zip
frameworks_base-05c2fd50d2030e20d6a4cacc6931e453cd2de5c4.tar.gz
frameworks_base-05c2fd50d2030e20d6a4cacc6931e453cd2de5c4.tar.bz2
Use meta data in the media recording framework
o This patch allows us to do 720p video recording Change-Id: I2ea37e80a59630145396b08ebcdc6ee71df53333
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,