OpenMAXBellagio 0.9.3
omx_base_source_PrivateType Struct Reference

#include <omx_base_source.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
void(* BufferMgmtCallback )(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *outputbuffer)

Detailed Description

Definition at line 50 of file omx_base_source.h.


Field Documentation

Parameters:
Theflush_condition condition
bMgmtSemthe semaphore that control BufferMgmtFunction processing

Definition at line 54 of file omx_base_source.h.

Parameters:
bMgmtSemthe semaphore that control BufferMgmtFunction processing

Definition at line 54 of file omx_base_source.h.

if supported the current quality level set for this component

Parameters:
BufferMgmtCallbackfunction pointer for algorithm callback

Definition at line 54 of file omx_base_source.h.

Definition at line 54 of file omx_base_source.h.

Referenced by omx_base_source_Constructor().

Parameters:
bufferMgmtThreadIDThe ID of the pthread that process buffers

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

Private data that can be send with \ the client callbacks. Not specified by the standard

Definition at line 54 of file omx_base_source.h.

pointer to every client callback function, \ as specified by the standard

Definition at line 54 of file omx_base_source.h.

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 54 of file omx_base_source.h.

Parameters:
flush_mutexmutex for the flush condition from buffers

Definition at line 54 of file omx_base_source.h.

Parameters:
flush_all_conditioncondition for the flush all buffers

Definition at line 54 of file omx_base_source.h.

Definition at line 54 of file omx_base_source.h.

Component Destructor

Definition at line 54 of file omx_base_source.h.

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 54 of file omx_base_source.h.

Parameters:
BufferMgmtFunctionThis function processes input output buffers

Definition at line 54 of file omx_base_source.h.

the queue of all the messages recevied by the component

Definition at line 54 of file omx_base_source.h.

the semaphore that coordinates the access to the message queue

Definition at line 54 of file omx_base_source.h.

component name

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

The OpenMAX standard data structure describing a component

Definition at line 54 of file omx_base_source.h.

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 54 of file omx_base_source.h.

RM entry point. By default is not implemented

Definition at line 54 of file omx_base_source.h.

Parameters:
portsThe ports of the component

Definition at line 54 of file omx_base_source.h.

The state of the component

Definition at line 54 of file omx_base_source.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 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.


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