OpenMAX Bellagio 0.9.3
omx_base_component_PrivateType Struct Reference

#include <omx_base_component.h>

Data Fields

OMX_COMPONENTTYPEopenmaxStandComp
omx_base_PortType ** ports
OMX_PORT_PARAM_TYPE sPortTypesParam [4]
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_PARAM_BELLAGIOTHREADS_IDbellagioThreads
OMX_BOOL bIsEOSReached
OMX_MARKTYPE pMark
pthread_mutex_t flush_mutex
tsem_tflush_all_condition
tsem_tflush_condition
tsem_tbMgmtSem
tsem_tbStateSem
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)
OMX_ERRORTYPE(* getQualityLevel )(OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32 *pQualityLevel)
OMX_ERRORTYPE(* setQualityLevel )(OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32 nQualityLevel)
OMX_U32 nqualitylevels
multiResourceDescriptor ** multiResourceLevel
int currentQualityLevel

Detailed Description

Definition at line 122 of file omx_base_component.h.

Field Documentation

◆ bellagioThreads

◆ bIsEOSReached

OMX_BOOL omx_base_component_PrivateType::bIsEOSReached

◆ bMgmtSem

◆ bStateSem

◆ BufferMgmtFunction

void *(* omx_base_component_PrivateType::BufferMgmtFunction) (void *param)

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_DoStateSet().

◆ bufferMgmtThread

pthread_t omx_base_component_PrivateType::bufferMgmtThread
Parameters
bufferMgmtThreadIDThe ID of the pthread that process buffers

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_DoStateSet().

◆ bufferMgmtThreadID

int omx_base_component_PrivateType::bufferMgmtThreadID
Parameters
messageHandlerThreadThis field contains the reference to the thread that receives messages for the components

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_component_DoStateSet().

◆ callbackData

◆ callbacks

◆ currentQualityLevel

int omx_base_component_PrivateType::currentQualityLevel

◆ destructor

OMX_ERRORTYPE(* omx_base_component_PrivateType::destructor) (OMX_COMPONENTTYPE *openmaxStandComp)

◆ DoStateSet

OMX_ERRORTYPE(* omx_base_component_PrivateType::DoStateSet) (OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32)

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

Parameters
DoStateSetinternal function called when a generic state transition is requested

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_component_MessageHandler().

◆ flush_all_condition

tsem_t* omx_base_component_PrivateType::flush_all_condition

◆ flush_condition

tsem_t* omx_base_component_PrivateType::flush_condition

◆ flush_mutex

◆ getQualityLevel

OMX_ERRORTYPE(* omx_base_component_PrivateType::getQualityLevel) (OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32 *pQualityLevel)

Component Destructor

Definition at line 158 of file omx_base_component.h.

Referenced by getQualityLevel(), and omx_base_component_Constructor().

◆ loader

void* omx_base_component_PrivateType::loader
Parameters
bufferMgmtThreadThis field contains the reference to the thread that process buffers pointer to the loader that created this component, used for destruction

Definition at line 158 of file omx_base_component.h.

Referenced by BOSA_ST_CreateComponent(), BOSA_ST_DestroyComponent(), BOSA_STE_CreateComponent(), and BOSA_STE_DestroyComponent().

◆ messageHandler

OMX_ERRORTYPE(* omx_base_component_PrivateType::messageHandler) (OMX_COMPONENTTYPE *, internalRequestMessageType *)
Parameters
BufferMgmtFunctionThis function processes input output buffers

Definition at line 158 of file omx_base_component.h.

Referenced by compMessageHandlerFunction(), and omx_base_component_Constructor().

◆ messageHandlerThread

pthread_t omx_base_component_PrivateType::messageHandlerThread

◆ messageQueue

queue_t* omx_base_component_PrivateType::messageQueue

◆ messageSem

tsem_t* omx_base_component_PrivateType::messageSem

◆ multiResourceLevel

multiResourceDescriptor** omx_base_component_PrivateType::multiResourceLevel

Definition at line 158 of file omx_base_component.h.

◆ name

◆ nGroupID

OMX_U32 omx_base_component_PrivateType::nGroupID
Parameters
nGroupIDID of a group of components that share the same logical chain

Definition at line 158 of file omx_base_component.h.

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

◆ nGroupPriority

OMX_U32 omx_base_component_PrivateType::nGroupPriority
Parameters
nGroupPriorityResource management field: component priority (common to a group of components)

Definition at line 158 of file omx_base_component.h.

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

◆ nqualitylevels

OMX_U32 omx_base_component_PrivateType::nqualitylevels

RM entry point. By default is not implemented number of available quality levels

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_setQualityLevel().

◆ openmaxStandComp

OMX_COMPONENTTYPE* omx_base_component_PrivateType::openmaxStandComp

The OpenMAX standard data structure describing a component

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor().

◆ pMark

OMX_MARKTYPE omx_base_component_PrivateType::pMark
Parameters
bIsEOSReachedboolean flag is true when EOS has been reached
pMarkThis field holds the private data associated with a mark request, if any

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and omx_base_component_MessageHandler().

◆ ports

◆ setQualityLevel

OMX_ERRORTYPE(* omx_base_component_PrivateType::setQualityLevel) (OMX_COMPONENTTYPE *openmaxStandComp, OMX_U32 nQualityLevel)

RM entry point. By default is not implemented

Definition at line 158 of file omx_base_component.h.

Referenced by omx_base_component_Constructor(), and setQualityLevel().

◆ sPortTypesParam

◆ state

◆ transientState

OMX_TRANS_STATETYPE omx_base_component_PrivateType::transientState

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 158 of file omx_base_component.h.

Referenced by base_clock_port_SendBufferFunction(), 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_sink_twoport_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), and omx_video_scheduler_component_port_SendBufferFunction().

◆ uniqueID

char omx_base_component_PrivateType::uniqueID
Parameters
sPortTypesParamOpenMAX standard parameter that contains a short description of the available ports ID code that identifies an ST static component

Definition at line 158 of file omx_base_component.h.


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

Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo