summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMX.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-10-20 17:38:41 -0700
committerJames Dong <jdong@google.com>2010-10-21 14:06:17 -0700
commite870772a78ffe08b1c14a791e368f1499f1be0f3 (patch)
treea443d9a157f12b32e524ae2953219d56dd3a770f /media/libstagefright/omx/OMX.cpp
parentf83dd80384f70da1f6d36d60e831439ff7739ad7 (diff)
downloadframeworks_av-e870772a78ffe08b1c14a791e368f1499f1be0f3.zip
frameworks_av-e870772a78ffe08b1c14a791e368f1499f1be0f3.tar.gz
frameworks_av-e870772a78ffe08b1c14a791e368f1499f1be0f3.tar.bz2
OMX extension to support storing meta data in video input buffers during recording
bug - 3042125 Change-Id: I7543809fa4ff61d48da35eec6c2bd5eaa7e8cead
Diffstat (limited to 'media/libstagefright/omx/OMX.cpp')
-rw-r--r--media/libstagefright/omx/OMX.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libstagefright/omx/OMX.cpp b/media/libstagefright/omx/OMX.cpp
index d89f54b..f9f638f 100644
--- a/media/libstagefright/omx/OMX.cpp
+++ b/media/libstagefright/omx/OMX.cpp
@@ -294,6 +294,11 @@ status_t OMX::enableGraphicBuffers(
return findInstance(node)->enableGraphicBuffers(port_index, enable);
}
+status_t OMX::storeMetaDataInBuffers(
+ node_id node, OMX_U32 port_index, OMX_BOOL enable) {
+ return findInstance(node)->storeMetaDataInBuffers(port_index, enable);
+}
+
status_t OMX::useBuffer(
node_id node, OMX_U32 port_index, const sp<IMemory> &params,
buffer_id *buffer) {