OpenMAX Bellagio 0.9.3
|
#include <omx_base_port.h>
Definition at line 105 of file omx_base_port.h.
BUFFER_STATUS_FLAG* omx_base_PortType::bBufferStateAllocated |
bBufferStateAllocated | The State of the Buffer whether assigned or allocated |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), and base_port_UseBuffer().
OMX_BOOL omx_base_PortType::bIsDestroying |
This mutex synchronizes the access to the boolean variable bIsDestroying
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_Destructor().
OMX_BOOL omx_base_PortType::bIsEmptyOfBuffers |
It indicates if the port has no buffers
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), and base_port_UseBuffer().
OMX_BOOL omx_base_PortType::bIsFullOfBuffers |
It indicates if the port has all the buffers needed
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), and base_port_UseBuffer().
OMX_BOOL omx_base_PortType::bIsPortFlushed |
bIsPortFlushed | Boolean variables indicate port is being flushed at the moment |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_FlushProcessingBuffers(), clocksrc_port_FlushProcessingBuffers(), omx_base_component_MessageHandler(), and omx_video_scheduler_component_port_FlushProcessingBuffers().
OMX_BOOL omx_base_PortType::bIsTransientToDisabled |
It indicates that the port is going from enabled to disabled
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_DisablePort(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), and omx_base_component_SendCommand().
OMX_BOOL omx_base_PortType::bIsTransientToEnabled |
It indicates that the port is going from disabled to enabled
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_EnablePort(), base_port_UseBuffer(), omx_base_component_ParameterSanityCheck(), and omx_base_component_SendCommand().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
Referenced by base_port_FlushProcessingBuffers(), base_port_ReturnBufferFunction(), clocksrc_port_FlushProcessingBuffers(), omx_base_component_SetCallbacks(), and omx_video_scheduler_component_port_FlushProcessingBuffers().
OMX_ERRORTYPE(* omx_base_PortType::ComponentTunnelRequest) (omx_base_PortType *openmaxStandPort, OMX_HANDLETYPE hTunneledComp, OMX_U32 nTunneledPort, OMX_TUNNELSETUPTYPE *pTunnelSetup) |
Setup tunnel with the port
Definition at line 142 of file omx_base_port.h.
Referenced by omx_base_component_ComponentTunnelRequest().
OMX_BUFFERSUPPLIERTYPE omx_base_PortType::eBufferSupplier |
eBufferSupplier | the type of supplier in case of tunneling |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_ComponentTunnelRequest(), and omx_base_component_GetParameter().
pthread_mutex_t omx_base_PortType::exitMutex |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_Destructor().
OMX_ERRORTYPE(* omx_base_PortType::FlushProcessingBuffers) (omx_base_PortType *openmaxStandPort) |
release all the buffers currently under processing
Definition at line 142 of file omx_base_port.h.
Referenced by omx_base_component_DoStateSet(), and omx_base_component_MessageHandler().
OMX_HANDLETYPE omx_base_PortType::hTunneledComponent |
hTunneledComponent | Handle to the tunnelled component |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateTunnelBuffer(), base_port_ComponentTunnelRequest(), base_port_FlushProcessingBuffers(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), clocksrc_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_FlushProcessingBuffers().
OMX_U32 omx_base_PortType::nNumAssignedBuffers |
nNumAssignedBuffers | Number of buffer assigned on each port |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_FlushProcessingBuffers(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_UseBuffer(), clocksrc_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_FlushProcessingBuffers().
OMX_U32 omx_base_PortType::nNumBufferFlushed |
This variable is set to true when the port has been selected for destruction
nNumBufferFlushed | Number of buffer Flushed |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_ReturnBufferFunction().
OMX_U32 omx_base_PortType::nNumTunnelBuffer |
nNumTunnelBuffer | Number of buffer to be tunnelled |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_ComponentTunnelRequest(), and omx_base_component_MessageHandler().
OMX_U32 omx_base_PortType::nTunneledPort |
nTunneledPort | Tunneled port number |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateTunnelBuffer(), base_port_ComponentTunnelRequest(), base_port_FreeTunnelBuffer(), and base_port_ReturnBufferFunction().
OMX_U32 omx_base_PortType::nTunnelFlags |
This field contains one or more tags that describe the tunnel status of the port
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateTunnelBuffer(), base_port_ComponentTunnelRequest(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), clocksrc_port_FlushProcessingBuffers(), omx_base_component_GetParameter(), and omx_video_scheduler_component_port_FlushProcessingBuffers().
tsem_t* omx_base_PortType::pAllocSem |
pFlushSem | Semaphore that locks the execution until the buffers have been flushed, if needed |
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_AllocateBuffer(), base_port_Destructor(), base_port_DisablePort(), base_port_EnablePort(), base_port_FreeBuffer(), and base_port_UseBuffer().
queue_t* omx_base_PortType::pBufferQueue |
pBufferQueue | queue for buffer to be processed by the port |
Definition at line 142 of file omx_base_port.h.
Referenced by base_clock_port_SendBufferFunction(), base_port_AllocateTunnelBuffer(), base_port_Destructor(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), clocksrc_port_FlushProcessingBuffers(), omx_base_filter_BufferMgmtFunction(), omx_base_sink_BufferMgmtFunction(), omx_base_sink_twoport_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), omx_base_source_twoport_BufferMgmtFunction(), omx_video_scheduler_component_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_SendBufferFunction().
tsem_t* omx_base_PortType::pBufferSem |
pBufferSem | Semaphore for buffer queue access synchronization |
Definition at line 142 of file omx_base_port.h.
Referenced by base_clock_port_SendBufferFunction(), base_port_Destructor(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), clocksrc_port_FlushProcessingBuffers(), omx_base_component_MessageHandler(), omx_base_filter_BufferMgmtFunction(), omx_base_sink_BufferMgmtFunction(), omx_base_sink_twoport_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), omx_base_source_twoport_BufferMgmtFunction(), omx_video_scheduler_component_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_SendBufferFunction().
OMX_BUFFERHEADERTYPE** omx_base_PortType::pInternalBufferStorage |
This array contains the reference to all the buffers hadled by this port and already registered
Definition at line 142 of file omx_base_port.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_SendCommand(), omx_base_component_SetParameter(), and omx_video_scheduler_component_port_SendBufferFunction().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
Referenced by omx_base_component_AllocateBuffer().
OMX_ERRORTYPE(* omx_base_PortType::Port_AllocateTunnelBuffer) (omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex) |
AllocateTunnelBuffer call for the base port.
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_EnablePort().
OMX_ERRORTYPE(* omx_base_PortType::Port_DisablePort) (omx_base_PortType *openmaxStandPort) |
Disables the port
Definition at line 142 of file omx_base_port.h.
Referenced by omx_base_component_MessageHandler().
OMX_ERRORTYPE(* omx_base_PortType::Port_EnablePort) (omx_base_PortType *openmaxStandPort) |
Enables the port
Definition at line 142 of file omx_base_port.h.
Referenced by omx_base_component_MessageHandler().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
Referenced by omx_base_component_FreeBuffer().
OMX_ERRORTYPE(* omx_base_PortType::Port_FreeTunnelBuffer) (omx_base_PortType *openmaxStandPort, OMX_U32 nPortIndex) |
The free buffer function used to free tunnelled buffers
Definition at line 142 of file omx_base_port.h.
Referenced by base_port_DisablePort().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
Referenced by omx_base_component_EmptyThisBuffer(), and omx_base_component_FillThisBuffer().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
Referenced by omx_base_component_UseBuffer().
OMX_ERRORTYPE(* omx_base_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 142 of file omx_base_port.h.
OMX_ERRORTYPE(* omx_base_PortType::PortDestructor) (omx_base_PortType *openmaxStandPort) |
The destructor of the port
Definition at line 142 of file omx_base_port.h.
OMX_ERRORTYPE(* omx_base_PortType::ReturnBufferFunction) (omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer) |
Call appropriate function to return buffers to peer or IL Client
Definition at line 142 of file omx_base_port.h.
Referenced by base_clock_port_SendBufferFunction(), omx_base_filter_BufferMgmtFunction(), omx_base_sink_BufferMgmtFunction(), omx_base_sink_twoport_BufferMgmtFunction(), omx_base_source_BufferMgmtFunction(), and omx_base_source_twoport_BufferMgmtFunction().
OMX_PARAM_PORTDEFINITIONTYPE omx_base_PortType::sPortParam |
sPortParam | General OpenMAX port parameter |
Definition at line 142 of file omx_base_port.h.
Referenced by base_audio_port_Destructor(), base_clock_port_SendBufferFunction(), base_image_port_Destructor(), base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_ComponentTunnelRequest(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), base_port_UseBuffer(), base_video_port_Destructor(), clocksrc_port_FlushProcessingBuffers(), omx_base_component_EmptyThisBuffer(), omx_base_component_FillThisBuffer(), omx_base_component_GetParameter(), omx_base_component_MessageHandler(), omx_base_component_SetParameter(), omx_video_scheduler_component_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_SendBufferFunction().
OMX_COMPONENTTYPE* omx_base_PortType::standCompContainer |
The OpenMAX component reference that contains this port
Definition at line 142 of file omx_base_port.h.
Referenced by base_clock_port_Destructor(), base_clock_port_SendBufferFunction(), base_port_AllocateBuffer(), base_port_AllocateTunnelBuffer(), base_port_DisablePort(), base_port_EnablePort(), base_port_FlushProcessingBuffers(), base_port_FreeBuffer(), base_port_FreeTunnelBuffer(), base_port_ReturnBufferFunction(), base_port_SendBufferFunction(), base_port_UseBuffer(), clocksrc_port_FlushProcessingBuffers(), omx_video_scheduler_component_port_FlushProcessingBuffers(), and omx_video_scheduler_component_port_SendBufferFunction().