OpenMAXBellagio  0.9.3
omx_base_clock_PortType Struct Reference

#include <omx_base_clock_port.h>

Data Fields

OMX_HANDLETYPE hTunneledComponent
 
OMX_U32 nTunnelFlags
 
OMX_U32 nTunneledPort
 
OMX_BUFFERSUPPLIERTYPE eBufferSupplier
 
OMX_U32 nNumTunnelBuffer
 
tsem_tpAllocSem
 
pthread_mutex_t exitMutex
 
OMX_BOOL bIsDestroying
 
OMX_U32 nNumBufferFlushed
 
OMX_BOOL bIsPortFlushed
 
queue_tpBufferQueue
 
tsem_tpBufferSem
 
OMX_U32 nNumAssignedBuffers
 
OMX_PARAM_PORTDEFINITIONTYPE sPortParam
 
OMX_BUFFERHEADERTYPE ** pInternalBufferStorage
 
BUFFER_STATUS_FLAGbBufferStateAllocated
 
OMX_COMPONENTTYPEstandCompContainer
 
OMX_BOOL bIsTransientToEnabled
 
OMX_BOOL bIsTransientToDisabled
 
OMX_BOOL bIsFullOfBuffers
 
OMX_BOOL bIsEmptyOfBuffers
 
OMX_ERRORTYPE(* PortConstructor )(OMX_COMPONENTTYPE *openmaxStandComp, omx_base_PortType **openmaxStandPort, OMX_U32 nPortIndex, OMX_BOOL isInput)
 
OMX_ERRORTYPE(* PortDestructor )(omx_base_PortType *openmaxStandPort)
 
OMX_ERRORTYPE(* Port_DisablePort )(omx_base_PortType *openmaxStandPort)
 
OMX_ERRORTYPE(* Port_EnablePort )(omx_base_PortType *openmaxStandPort)
 
OMX_ERRORTYPE(* Port_SendBufferFunction )(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
 
OMX_ERRORTYPE(* Port_AllocateBuffer )(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE **pBuffer, OMX_U32 nPortIndex, OMX_PTR pAppPrivate, OMX_U32 nSizeBytes)
 
OMX_ERRORTYPE(* Port_UseBuffer )(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE **ppBufferHdr, OMX_U32 nPortIndex, OMX_PTR pAppPrivate, OMX_U32 nSizeBytes, OMX_U8 *pBuffer)
 
OMX_ERRORTYPE(* Port_FreeBuffer )(omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex, OMX_BUFFERHEADERTYPE *pBuffer)
 
OMX_ERRORTYPE(* Port_AllocateTunnelBuffer )(omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex)
 
OMX_ERRORTYPE(* Port_FreeTunnelBuffer )(omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex)
 
OMX_ERRORTYPE(* BufferProcessedCallback )(OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)
 
OMX_ERRORTYPE(* FlushProcessingBuffers )(omx_base_PortType *openmaxStandPort)
 
OMX_ERRORTYPE(* ReturnBufferFunction )(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
 
OMX_ERRORTYPE(* ComponentTunnelRequest )(omx_base_PortType *openmaxStandPort, OMX_HANDLETYPE hTunneledComp, OMX_U32 nTunneledPort, OMX_TUNNELSETUPTYPE *pTunnelSetup)
 
OMX_TIME_CONFIG_TIMESTAMPTYPE sTimeStamp
 
OMX_TIME_MEDIATIMETYPE sMediaTime
 
OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE sMediaTimeRequest
 
OMX_OTHER_PARAM_PORTFORMATTYPE sOtherParam
 

Detailed Description

Definition at line 42 of file omx_base_clock_port.h.

Field Documentation

BUFFER_STATUS_FLAG* omx_base_clock_PortType::bBufferStateAllocated
Parameters
bBufferStateAllocatedThe State of the Buffer whether assigned or allocated

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsDestroying

This mutex synchronizes the access to the boolean variable bIsDestroying

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsEmptyOfBuffers

It indicates if the port has no buffers

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsFullOfBuffers

It indicates if the port has all the buffers needed

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsPortFlushed
Parameters
bIsPortFlushedBoolean variables indicate port is being flushed at the moment

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsTransientToDisabled

It indicates that the port is going from enabled to disabled

Definition at line 48 of file omx_base_clock_port.h.

OMX_BOOL omx_base_clock_PortType::bIsTransientToEnabled

It indicates that the port is going from disabled to enabled

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::BufferProcessedCallback) (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_BUFFERHEADERTYPE *pBuffer)

Holds the EmptyBufferDone or FillBufferDone callback, if the port is input or output port

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::ComponentTunnelRequest) (omx_base_PortType *openmaxStandPort, OMX_HANDLETYPE hTunneledComp, OMX_U32 nTunneledPort, OMX_TUNNELSETUPTYPE *pTunnelSetup)

Setup tunnel with the port

Definition at line 48 of file omx_base_clock_port.h.

OMX_BUFFERSUPPLIERTYPE omx_base_clock_PortType::eBufferSupplier
Parameters
eBufferSupplierthe type of supplier in case of tunneling

Definition at line 48 of file omx_base_clock_port.h.

pthread_mutex_t omx_base_clock_PortType::exitMutex

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::FlushProcessingBuffers) (omx_base_PortType *openmaxStandPort)

release all the buffers currently under processing

Definition at line 48 of file omx_base_clock_port.h.

OMX_HANDLETYPE omx_base_clock_PortType::hTunneledComponent
Parameters
hTunneledComponentHandle to the tunnelled component

Definition at line 48 of file omx_base_clock_port.h.

Referenced by omx_video_scheduler_component_ClockPortHandleFunction().

OMX_U32 omx_base_clock_PortType::nNumAssignedBuffers
Parameters
nNumAssignedBuffersNumber of buffer assigned on each port

Definition at line 48 of file omx_base_clock_port.h.

OMX_U32 omx_base_clock_PortType::nNumBufferFlushed

This variable is set to true when the port has been selected for destruction

Parameters
nNumBufferFlushedNumber of buffer Flushed

Definition at line 48 of file omx_base_clock_port.h.

OMX_U32 omx_base_clock_PortType::nNumTunnelBuffer
Parameters
nNumTunnelBufferNumber of buffer to be tunnelled

Definition at line 48 of file omx_base_clock_port.h.

OMX_U32 omx_base_clock_PortType::nTunneledPort
Parameters
nTunneledPortTunneled port number

Definition at line 48 of file omx_base_clock_port.h.

Referenced by omx_video_scheduler_component_ClockPortHandleFunction().

OMX_U32 omx_base_clock_PortType::nTunnelFlags

This field contains one or more tags that describe the tunnel status of the port

Definition at line 48 of file omx_base_clock_port.h.

tsem_t* omx_base_clock_PortType::pAllocSem
Parameters
pFlushSemSemaphore that locks the execution until the buffers have been flushed, if needed

Definition at line 48 of file omx_base_clock_port.h.

queue_t* omx_base_clock_PortType::pBufferQueue
Parameters
pBufferQueuequeue for buffer to be processed by the port

Definition at line 48 of file omx_base_clock_port.h.

Referenced by omx_clocksrc_BufferMgmtFunction(), and omx_video_scheduler_component_ClockPortHandleFunction().

tsem_t* omx_base_clock_PortType::pBufferSem
Parameters
pBufferSemSemaphore for buffer queue access synchronization

Definition at line 48 of file omx_base_clock_port.h.

Referenced by omx_clocksrc_BufferMgmtFunction(), omx_video_scheduler_component_ClockPortHandleFunction(), and omx_video_scheduler_component_port_FlushProcessingBuffers().

OMX_BUFFERHEADERTYPE** omx_base_clock_PortType::pInternalBufferStorage

This array contains the reference to all the buffers hadled by this port and already registered

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_AllocateBuffer) (omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE **pBuffer, OMX_U32 nPortIndex, OMX_PTR pAppPrivate, OMX_U32 nSizeBytes)

Replaces the AllocateBuffer call for the base port.

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_AllocateTunnelBuffer) (omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex)

AllocateTunnelBuffer call for the base port.

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_DisablePort) (omx_base_PortType *openmaxStandPort)

Disables the port

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_EnablePort) (omx_base_PortType *openmaxStandPort)

Enables the port

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_FreeBuffer) (omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex, OMX_BUFFERHEADERTYPE *pBuffer)

The standard free buffer function applied to the port class

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_FreeTunnelBuffer) (omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex)

The free buffer function used to free tunnelled buffers

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_SendBufferFunction) (omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)

Holds the EmptyThisBuffer of FillThisBuffer function, if the port is input or output

Definition at line 48 of file omx_base_clock_port.h.

Referenced by base_clock_port_Constructor().

OMX_ERRORTYPE(* omx_base_clock_PortType::Port_UseBuffer) (omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE **ppBufferHdr, OMX_U32 nPortIndex, OMX_PTR pAppPrivate, OMX_U32 nSizeBytes, OMX_U8 *pBuffer)

The standard use buffer function applied to the port class

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::PortConstructor) (OMX_COMPONENTTYPE *openmaxStandComp, omx_base_PortType **openmaxStandPort, OMX_U32 nPortIndex, OMX_BOOL isInput)

The contructor of the port. It fills all the other function pointers

Definition at line 48 of file omx_base_clock_port.h.

OMX_ERRORTYPE(* omx_base_clock_PortType::PortDestructor) (omx_base_PortType *openmaxStandPort)

The destructor of the port

Definition at line 48 of file omx_base_clock_port.h.

Referenced by base_clock_port_Constructor().

OMX_ERRORTYPE(* omx_base_clock_PortType::ReturnBufferFunction) (omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)

Call appropriate function to return buffers to peer or IL Client

Definition at line 48 of file omx_base_clock_port.h.

Referenced by omx_clocksrc_BufferMgmtFunction(), and omx_video_scheduler_component_ClockPortHandleFunction().

OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE omx_base_clock_PortType::sMediaTimeRequest
OMX_PARAM_PORTDEFINITIONTYPE omx_base_clock_PortType::sPortParam
Parameters
sPortParamGeneral OpenMAX port parameter

Definition at line 48 of file omx_base_clock_port.h.

Referenced by base_clock_port_Constructor(), and omx_video_scheduler_component_SetParameter().

OMX_COMPONENTTYPE* omx_base_clock_PortType::standCompContainer

The OpenMAX component reference that contains this port

Definition at line 48 of file omx_base_clock_port.h.

OMX_TIME_CONFIG_TIMESTAMPTYPE omx_base_clock_PortType::sTimeStamp

General OpenMAX configuration time stamp parameter

Definition at line 48 of file omx_base_clock_port.h.

Referenced by base_clock_port_Constructor().


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