summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMX.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-07-17 13:55:26 -0700
committerAndreas Huber <andih@google.com>2013-07-17 15:27:31 -0700
commite40cda70eec141fa05cbcca1de420fdb22b98be6 (patch)
tree44ba825722026f73ceb0c27e5e58c47ab9e884fa /media/libstagefright/omx/OMX.cpp
parent5478f3c44b9d6670261733953a71a8290fa70ae8 (diff)
downloadframeworks_av-e40cda70eec141fa05cbcca1de420fdb22b98be6.zip
frameworks_av-e40cda70eec141fa05cbcca1de420fdb22b98be6.tar.gz
frameworks_av-e40cda70eec141fa05cbcca1de420fdb22b98be6.tar.bz2
Support "suspension" of a video encoder in "surface-input" mode.
i.e. feed no more input frames to the encoder while suspended. Change-Id: I51391e18c1517548e869f8ddece19f4af37e78f9
Diffstat (limited to 'media/libstagefright/omx/OMX.cpp')
-rw-r--r--media/libstagefright/omx/OMX.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/media/libstagefright/omx/OMX.cpp b/media/libstagefright/omx/OMX.cpp
index 3987ead..4b1dbe6 100644
--- a/media/libstagefright/omx/OMX.cpp
+++ b/media/libstagefright/omx/OMX.cpp
@@ -396,6 +396,15 @@ status_t OMX::getExtensionIndex(
parameter_name, index);
}
+status_t OMX::setInternalOption(
+ node_id node,
+ OMX_U32 port_index,
+ InternalOptionType type,
+ const void *data,
+ size_t size) {
+ return findInstance(node)->setInternalOption(port_index, type, data, size);
+}
+
OMX_ERRORTYPE OMX::OnEvent(
node_id node,
OMX_IN OMX_EVENTTYPE eEvent,