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 /media/libstagefright/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 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/OMX.h | 7 | ||||
-rw-r--r-- | media/libstagefright/include/OMXNodeInstance.h | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/media/libstagefright/include/OMX.h b/media/libstagefright/include/OMX.h index 24b8d98..7fed7d4 100644 --- a/media/libstagefright/include/OMX.h +++ b/media/libstagefright/include/OMX.h @@ -109,6 +109,13 @@ public: const char *parameter_name, OMX_INDEXTYPE *index); + virtual status_t setInternalOption( + node_id node, + OMX_U32 port_index, + InternalOptionType type, + const void *data, + size_t size); + virtual void binderDied(const wp<IBinder> &the_late_who); OMX_ERRORTYPE OnEvent( diff --git a/media/libstagefright/include/OMXNodeInstance.h b/media/libstagefright/include/OMXNodeInstance.h index 67aba6b..f6ae376 100644 --- a/media/libstagefright/include/OMXNodeInstance.h +++ b/media/libstagefright/include/OMXNodeInstance.h @@ -96,6 +96,12 @@ struct OMXNodeInstance { status_t getExtensionIndex( const char *parameterName, OMX_INDEXTYPE *index); + status_t setInternalOption( + OMX_U32 portIndex, + IOMX::InternalOptionType type, + const void *data, + size_t size); + void onMessage(const omx_message &msg); void onObserverDied(OMXMaster *master); void onGetHandleFailed(); |