OpenMAX Bellagio
0.9.3
|
#include <OMX_Component.h>
The OMX_HANDLETYPE structure defines the component handle. The component handle is used to access all of the component's public methods and also contains pointers to the component's private data area. The component handle is initialized by the OMX core (with help from the component) during the process of loading the component. After the component is successfully loaded, the application can safely access any of the component's public functions (although some may return an error because the state is inappropriate for the access).
Definition at line 307 of file OMX_Component.h.
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::ComponentDeInit) (OMX_IN OMX_HANDLETYPE hComponent) |
ComponentDeInit method is used to deinitialize the component providing a means to free any resources allocated at component initialization. NOTE: After this call the component handle is not valid for further use.
[in] | hComponent | Handle of the component to be accessed. This is the component handle returned by the call to the GetHandle function. |
Definition at line 556 of file OMX_Component.h.
Referenced by BOSA_ST_CreateComponent(), BOSA_STE_CreateComponent(), and omx_base_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::ComponentRoleEnum) (OMX_IN OMX_HANDLETYPE hComponent, OMX_OUT OMX_U8 *cRole, OMX_IN OMX_U32 nIndex) |
Definition at line 567 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::GetComponentVersion) (OMX_IN OMX_HANDLETYPE hComponent, OMX_OUT OMX_STRING pComponentName, OMX_OUT OMX_VERSIONTYPE *pComponentVersion, OMX_OUT OMX_VERSIONTYPE *pSpecVersion, OMX_OUT OMX_UUIDTYPE *pComponentUUID) |
refer to OMX_GetComponentVersion in OMX_core.h or the OMX IL specification for details on the GetComponentVersion method.
Definition at line 337 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::GetConfig) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nIndex, OMX_INOUT OMX_PTR pComponentConfigStructure) |
refer to OMX_GetConfig in OMX_core.h or the OMX IL specification for details on the GetConfig method.
Definition at line 374 of file OMX_Component.h.
Referenced by omx_audio_mixer_component_Constructor(), omx_base_component_Constructor(), omx_clocksrc_component_Constructor(), and omx_volume_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::GetExtensionIndex) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_STRING cParameterName, OMX_OUT OMX_INDEXTYPE *pIndexType) |
refer to OMX_GetExtensionIndex in OMX_core.h or the OMX IL specification for details on the GetExtensionIndex method.
Definition at line 392 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::GetParameter) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nParamIndex, OMX_INOUT OMX_PTR pComponentParameterStructure) |
refer to OMX_GetParameter in OMX_core.h or the OMX IL specification for details on the GetParameter method.
Definition at line 356 of file OMX_Component.h.
Referenced by omx_audio_mixer_component_Constructor(), omx_base_component_Constructor(), omx_clocksrc_component_Constructor(), omx_video_scheduler_component_Constructor(), and omx_volume_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::GetState) (OMX_IN OMX_HANDLETYPE hComponent, OMX_OUT OMX_STATETYPE *pState) |
refer to OMX_GetState in OMX_core.h or the OMX IL specification for details on the GetState method.
Definition at line 401 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_U32 OMX_COMPONENTTYPE::nSize |
The size of this structure, in bytes. It is the responsibility of the allocator of this structure to fill in this value. Since this structure is allocated by the GetHandle function, this function will fill in this value.
Definition at line 313 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_VERSIONTYPE OMX_COMPONENTTYPE::nVersion |
nVersion is the version of the OMX specification that the structure is built against. It is the responsibility of the creator of this structure to initialize this value and every user of this structure should verify that it knows how to use the exact version of this structure found herein.
Definition at line 320 of file OMX_Component.h.
Referenced by omx_base_component_Constructor(), and omx_base_component_GetComponentVersion().
OMX_PTR OMX_COMPONENTTYPE::pApplicationPrivate |
pApplicationPrivate is a pointer that is a parameter to the OMX_GetHandle method, and contains an application private value provided by the IL client. This application private data is returned to the IL Client by OMX in all callbacks
Definition at line 332 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_PTR OMX_COMPONENTTYPE::pComponentPrivate |
pComponentPrivate is a pointer to the component private data area.
This member is allocated and initialized by the component when the component is first loaded. The application should not access this data area.
Definition at line 326 of file OMX_Component.h.
Referenced by addElemToList(), base_clock_port_SendBufferFunction(), base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), base_port_UseBuffer(), BOSA_ST_CreateComponent(), BOSA_STE_CreateComponent(), clocksrc_port_FlushProcessingBuffers(), compMessageHandlerFunction(), getQualityLevel(), omx_audio_mixer_BufferMgmtFunction(), omx_audio_mixer_component_BufferMgmtCallback(), omx_audio_mixer_component_Constructor(), omx_audio_mixer_component_Destructor(), omx_audio_mixer_component_GetConfig(), omx_audio_mixer_component_GetParameter(), omx_audio_mixer_component_SetConfig(), omx_audio_mixer_component_SetParameter(), omx_base_component_ComponentDeInit(), omx_base_component_Constructor(), omx_base_component_Destructor(), omx_base_component_DoStateSet(), omx_base_component_GetComponentVersion(), omx_base_component_GetParameter(), omx_base_component_GetState(), omx_base_component_MessageHandler(), omx_base_component_SendCommand(), omx_base_component_SetCallbacks(), omx_base_component_SetParameter(), omx_base_filter_BufferMgmtFunction(), omx_base_filter_Constructor(), omx_base_getQualityLevel(), omx_base_setQualityLevel(), omx_base_sink_BufferMgmtFunction(), omx_base_sink_Constructor(), omx_base_sink_twoport_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), omx_base_source_Constructor(), omx_base_source_twoport_BufferMgmtFunction(), omx_clocksrc_BufferMgmtFunction(), omx_clocksrc_component_BufferMgmtCallback(), omx_clocksrc_component_Constructor(), omx_clocksrc_component_Destructor(), omx_clocksrc_component_GetConfig(), omx_clocksrc_component_GetParameter(), omx_clocksrc_component_SendCommand(), omx_clocksrc_component_SetConfig(), omx_clocksrc_component_SetParameter(), omx_video_scheduler_component_BufferMgmtCallback(), omx_video_scheduler_component_Constructor(), omx_video_scheduler_component_Destructor(), omx_video_scheduler_component_GetParameter(), omx_video_scheduler_component_port_FlushProcessingBuffers(), omx_video_scheduler_component_port_SendBufferFunction(), omx_video_scheduler_component_SetParameter(), omx_volume_component_BufferMgmtCallback(), omx_volume_component_Constructor(), omx_volume_component_Destructor(), omx_volume_component_GetConfig(), omx_volume_component_GetParameter(), omx_volume_component_SetConfig(), omx_volume_component_SetParameter(), preemptComponent(), RM_getResource(), RM_printList(), RM_releaseResource(), RM_removeFromWaitForResource(), RM_waitForResource(), and setQualityLevel().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::SendCommand) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_COMMANDTYPE Cmd, OMX_IN OMX_U32 nParam1, OMX_IN OMX_PTR pCmdData) |
refer to OMX_SendCommand in OMX_core.h or the OMX IL specification for details on the SendCommand method.
Definition at line 347 of file OMX_Component.h.
Referenced by omx_base_component_Constructor(), and omx_clocksrc_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::SetCallbacks) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_CALLBACKTYPE *pCallbacks, OMX_IN OMX_PTR pAppData) |
The SetCallbacks method is used by the core to specify the callback structure from the application to the component. This is a blocking call. The component will return from this call within 5 msec.
[in] | hComponent | Handle of the component to be accessed. This is the component handle returned by the call to the GetHandle function. |
[in] | pCallbacks | pointer to an OMX_CALLBACKTYPE structure used to provide the callback information to the component |
[in] | pAppData | pointer to an application defined value. It is anticipated that the application will pass a pointer to a data structure or a "this pointer" in this area to allow the callback (in the application) to determine the context of the call |
Definition at line 540 of file OMX_Component.h.
Referenced by omx_base_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::SetConfig) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nIndex, OMX_IN OMX_PTR pComponentConfigStructure) |
refer to OMX_SetConfig in OMX_core.h or the OMX IL specification for details on the SetConfig method.
Definition at line 383 of file OMX_Component.h.
Referenced by omx_audio_mixer_component_Constructor(), omx_base_component_Constructor(), omx_clocksrc_component_Constructor(), and omx_volume_component_Constructor().
OMX_ERRORTYPE(* OMX_COMPONENTTYPE::SetParameter) (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nIndex, OMX_IN OMX_PTR pComponentParameterStructure) |
refer to OMX_SetParameter in OMX_core.h or the OMX IL specification for details on the SetParameter method.
Definition at line 365 of file OMX_Component.h.
Referenced by omx_audio_mixer_component_Constructor(), omx_base_component_Constructor(), omx_clocksrc_component_Constructor(), omx_video_scheduler_component_Constructor(), and omx_volume_component_Constructor().