diff options
Diffstat (limited to 'omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h')
-rw-r--r-- | omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h index 9788089..a4f3b9d 100644 --- a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h +++ b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h @@ -653,20 +653,26 @@ typedef struct VIDENC_COMPONENT_PRIVATE OMX_Event InIdle_event; OMX_U8 InIdle_goingtoloaded; #endif - unsigned int nEncodingPreset; - VIDENC_AVC_NAL_FORMAT AVCNALFormat; - OMX_BOOL bMVDataEnable; - OMX_BOOL bResyncDataEnable; - IH264VENC_Intra4x4Params intra4x4EnableIdc; - OMX_U32 maxMVperMB; - #ifdef RESOURCE_MANAGER_ENABLED - RMPROXY_CALLBACKTYPE cRMCallBack; - #endif - OMX_BOOL bPreempted; - OMX_VIDEO_CODINGTYPE compressionFormats[3]; + unsigned int nEncodingPreset; + VIDENC_AVC_NAL_FORMAT AVCNALFormat; + OMX_BOOL bMVDataEnable; + OMX_BOOL bResyncDataEnable; + IH264VENC_Intra4x4Params intra4x4EnableIdc; + OMX_U32 maxMVperMB; +#ifdef RESOURCE_MANAGER_ENABLED + RMPROXY_CALLBACKTYPE cRMCallBack; +#endif + OMX_BOOL bPreempted; + OMX_VIDEO_CODINGTYPE compressionFormats[3]; OMX_COLOR_FORMATTYPE colorFormats[3]; struct OMX_TI_Debug dbg; PV_OMXComponentCapabilityFlagsType* pCapabilityFlags; + + /* Reference count for pending state change requests */ + OMX_U32 nPendingStateChangeRequests; + pthread_mutex_t mutexStateChangeRequest; + pthread_cond_t StateChangeCondition; + } VIDENC_COMPONENT_PRIVATE; typedef OMX_ERRORTYPE (*fpo)(OMX_HANDLETYPE); @@ -731,4 +737,7 @@ void OMX_VIDENC_ResourceManagerCallBack(RMPROXY_COMMANDDATATYPE cbData); OMX_U32 GetMaxAVCBufferSize(OMX_U32 width, OMX_U32 height); +OMX_ERRORTYPE AddStateTransition(VIDENC_COMPONENT_PRIVATE* pComponentPrivate); +OMX_ERRORTYPE RemoveStateTransition(VIDENC_COMPONENT_PRIVATE* pComponentPrivate, OMX_BOOL bEnableSignal); + #endif |