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

OMX_PARAM_BELLAGIOTHREADS_ID* omx_base_source_PrivateType::bellagioThreads

Definition at line 54 of file omx_base_source.h.

OMX_BOOL omx_base_source_PrivateType::bIsEOSReached

Definition at line 54 of file omx_base_source.h.

tsem_t* omx_base_source_PrivateType::bMgmtSem
Parameters
Theflush_condition condition
bMgmtSemthe semaphore that control BufferMgmtFunction processing

Definition at line 54 of file omx_base_source.h.

tsem_t* omx_base_source_PrivateType::bStateSem
Parameters
bMgmtSemthe semaphore that control BufferMgmtFunction processing

Definition at line 54 of file omx_base_source.h.

void(* omx_base_source_PrivateType::BufferMgmtCallback)(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *outputbuffer)

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.

void*(* omx_base_source_PrivateType::BufferMgmtFunction)(void *param)

Definition at line 54 of file omx_base_source.h.

Referenced by omx_base_source_Constructor().

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

Definition at line 54 of file omx_base_source.h.

int omx_base_source_PrivateType::bufferMgmtThreadID
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.

OMX_PTR omx_base_source_PrivateType::callbackData

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.

OMX_CALLBACKTYPE* omx_base_source_PrivateType::callbacks

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

Definition at line 54 of file omx_base_source.h.

int omx_base_source_PrivateType::currentQualityLevel

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

OMX_ERRORTYPE(* omx_base_source_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 54 of file omx_base_source.h.

tsem_t* omx_base_source_PrivateType::flush_all_condition
Parameters
flush_mutexmutex for the flush condition from buffers

Definition at line 54 of file omx_base_source.h.

tsem_t* omx_base_source_PrivateType::flush_condition
Parameters
flush_all_conditioncondition for the flush all buffers

Definition at line 54 of file omx_base_source.h.

pthread_mutex_t omx_base_source_PrivateType::flush_mutex

Definition at line 54 of file omx_base_source.h.

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

Component Destructor

Definition at line 54 of file omx_base_source.h.

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

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

Definition at line 54 of file omx_base_source.h.

pthread_t omx_base_source_PrivateType::messageHandlerThread

Definition at line 54 of file omx_base_source.h.

queue_t* omx_base_source_PrivateType::messageQueue

the queue of all the messages recevied by the component

Definition at line 54 of file omx_base_source.h.

tsem_t* omx_base_source_PrivateType::messageSem

the semaphore that coordinates the access to the message queue

Definition at line 54 of file omx_base_source.h.

multiResourceDescriptor** omx_base_source_PrivateType::multiResourceLevel

Definition at line 54 of file omx_base_source.h.

char* omx_base_source_PrivateType::name

component name

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

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

Definition at line 54 of file omx_base_source.h.

OMX_U32 omx_base_source_PrivateType::nqualitylevels

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

Definition at line 54 of file omx_base_source.h.

OMX_COMPONENTTYPE* omx_base_source_PrivateType::openmaxStandComp

The OpenMAX standard data structure describing a component

Definition at line 54 of file omx_base_source.h.

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

omx_base_PortType** omx_base_source_PrivateType::ports

Definition at line 54 of file omx_base_source.h.

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

RM entry point. By default is not implemented

Definition at line 54 of file omx_base_source.h.

OMX_PORT_PARAM_TYPE omx_base_source_PrivateType::sPortTypesParam[4]
Parameters
portsThe ports of the component

Definition at line 54 of file omx_base_source.h.

OMX_STATETYPE omx_base_source_PrivateType::state

The state of the component

Definition at line 54 of file omx_base_source.h.

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

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