omx_base_component_PrivateType Struct Reference

#include <omx_base_component.h>


Data Fields

OMX_COMPONENTTYPEopenmaxStandComp
omx_base_PortType ** ports
OMX_PORT_PARAM_TYPE sPortTypesParam
char uniqueID
char * name
OMX_STATETYPE state
OMX_TRANS_STATETYPE transientState
OMX_CALLBACKTYPEcallbacks
OMX_PTR callbackData
queue_tmessageQueue
tsem_tmessageSem
OMX_U32 nGroupPriority
OMX_U32 nGroupID
OMX_MARKTYPEpMark
pthread_mutex_t flush_mutex
pthread_cond_t flush_all_condition
pthread_cond_t flush_condition
tsem_tbMgmtSem
tsem_tbStateSem
int messageHandlerThreadID
pthread_t messageHandlerThread
int bufferMgmtThreadID
pthread_t bufferMgmtThread
void * loader
void *(* BufferMgmtFunction )(void *param)
OMX_ERRORTYPE(* messageHandler )(OMX_COMPONENTTYPE *, internalRequestMessageType *)
OMX_ERRORTYPE(* DoStateSet )(OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32)
OMX_ERRORTYPE(* destructor )(OMX_COMPONENTTYPE *openmaxStandComp)


Detailed Description

Definition at line 102 of file omx_base_component.h.


Field Documentation

Component Destructor The OpenMAX standard data structure describing a component

Definition at line 132 of file omx_base_component.h.

Referenced by omx_base_component_Constructor().

Parameters:
sPortTypesParam OpenMAX standard parameter that contains a short description of the available ports ID code that identifies an ST static component

Definition at line 132 of file omx_base_component.h.

The transient state in case of transition between \ Loaded/waitForResources - Idle. It is equal to \ Invalid if the state or transition are not corect \ Loaded when the transition is from Idle to Loaded \ Idle when the transition is from Loaded to Idle

Definition at line 132 of file omx_base_component.h.

Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_SendBufferFunction(), base_port_UseBuffer(), omx_base_component_Constructor(), omx_base_component_DoStateSet(), omx_base_component_SendCommand(), omx_base_sink_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), videosrc_port_AllocateBuffer(), videosrc_port_AllocateTunnelBuffer(), videosrc_port_FreeBuffer(), and videosrc_port_FreeTunnelBuffer().

the queue of all the messages recevied by the component

Definition at line 138 of file omx_base_component.h.

Referenced by compMessageHandlerFunction(), omx_base_component_Constructor(), omx_base_component_Destructor(), and omx_base_component_SendCommand().

the semaphore that coordinates the access to the message queue

Definition at line 138 of file omx_base_component.h.

Referenced by compMessageHandlerFunction(), omx_base_component_Constructor(), omx_base_component_Destructor(), and omx_base_component_SendCommand().

Parameters:
nGroupPriority Resource management field: component priority (common to a group of components)

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), omx_base_component_GetParameter(), and omx_base_component_SetParameter().

Parameters:
nGroupID ID of a group of components that share the same logical chain

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), omx_base_component_GetParameter(), and omx_base_component_SetParameter().

Parameters:
pMark This field holds the private data associated with a mark request, if any

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_component_MessageHandler().

Parameters:
flush_mutex mutex for the flush condition from buffers

Definition at line 138 of file omx_base_component.h.

Referenced by base_port_FlushProcessingBuffers(), omx_base_component_Constructor(), and omx_base_component_Destructor().

Parameters:
flush_all_condition condition for the flush all buffers

Definition at line 138 of file omx_base_component.h.

Referenced by base_port_FlushProcessingBuffers(), omx_base_component_Constructor(), and omx_base_component_Destructor().

Parameters:
The flush_condition condition
bMgmtSem the semaphore that control BufferMgmtFunction processing

Definition at line 138 of file omx_base_component.h.

Referenced by base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_SendBufferFunction(), omx_base_component_Constructor(), omx_base_component_Destructor(), omx_base_component_DoStateSet(), and omx_base_component_MessageHandler().

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_Constructor().

Parameters:
messageHandlerThreadID The ID of the pthread that handles the messages for the components

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_component_Destructor().

Parameters:
messageHandlerThread This field contains the reference to the thread that receives messages for the components

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_DoStateSet().

Parameters:
bufferMgmtThreadID The ID of the pthread that process buffers

Definition at line 138 of file omx_base_component.h.

Referenced by omx_base_component_DoStateSet().

Parameters:
bufferMgmtThread This field contains the reference to the thread that process buffers pointer to the loader that created this component, used for destruction

Definition at line 138 of file omx_base_component.h.

Referenced by BOSA_ST_CreateComponent(), and BOSA_ST_DestroyComponent().

Parameters:
BufferMgmtFunction This function processes input output buffers

Referenced by compMessageHandlerFunction(), and omx_base_component_Constructor().

This function receives messages from the message queue. It is needed for each Linux ST OpenMAX component

Parameters:
DoStateSet internal function called when a generic state transition is requested

Referenced by omx_base_component_Constructor(), and omx_base_component_MessageHandler().


The documentation for this struct was generated from the following file:

Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo