diff options
author | Andreas Huber <andih@google.com> | 2013-07-17 13:55:26 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-07-17 15:27:31 -0700 |
commit | e40cda70eec141fa05cbcca1de420fdb22b98be6 (patch) | |
tree | 44ba825722026f73ceb0c27e5e58c47ab9e884fa /include | |
parent | 5478f3c44b9d6670261733953a71a8290fa70ae8 (diff) | |
download | frameworks_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 'include')
-rw-r--r-- | include/media/IOMX.h | 10 |
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 { |