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
commit8480835b4bc1350646376aa7f3ae33742a7adeb1 (patch)
tree287195077d7d6e96d8a85228e2609bc8613af94b /include
parenta3d7a3174b600a0df3cf452b708c940e93bb651a (diff)
downloadframeworks_av-8480835b4bc1350646376aa7f3ae33742a7adeb1.zip
frameworks_av-8480835b4bc1350646376aa7f3ae33742a7adeb1.tar.gz
frameworks_av-8480835b4bc1350646376aa7f3ae33742a7adeb1.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,