summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-07-17 22:29:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-17 22:29:43 +0000
commit0b83a15d97f61d575a7cffbf42f9ed6edfa25ccc (patch)
treee912aa4e60bf32f870e95c6240c40e08343daee7 /include
parent41f9f1ac03c8fd1dee92c33f304663c9ddc2fe5e (diff)
parente40cda70eec141fa05cbcca1de420fdb22b98be6 (diff)
downloadframeworks_av-0b83a15d97f61d575a7cffbf42f9ed6edfa25ccc.zip
frameworks_av-0b83a15d97f61d575a7cffbf42f9ed6edfa25ccc.tar.gz
frameworks_av-0b83a15d97f61d575a7cffbf42f9ed6edfa25ccc.tar.bz2
Merge "Support "suspension" of a video encoder in "surface-input" mode."
Diffstat (limited to 'include')
-rw-r--r--include/media/IOMX.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h
index 0b1d1e4..38f9d11 100644
--- a/include/media/IOMX.h
+++ b/include/media/IOMX.h
@@ -130,6 +130,16 @@ public:
node_id node,
const char *parameter_name,
OMX_INDEXTYPE *index) = 0;
+
+ enum InternalOptionType {
+ INTERNAL_OPTION_SUSPEND, // data is a bool
+ };
+ virtual status_t setInternalOption(
+ node_id node,
+ OMX_U32 port_index,
+ InternalOptionType type,
+ const void *data,
+ size_t size) = 0;
};
struct omx_message {