55 if (!(*openmaxStandPort)) {
59 if (!(*openmaxStandPort)) {
162 DEBUG(
DEB_LEV_ERR,
"In %s: we are not in executing/paused/idle state, but in %d\n", __func__, omx_base_component_Private->
state);
169 DEBUG(
DEB_LEV_ERR,
"In %s: Port %d is disabled comp = %s \n", __func__, (
int)portIndex,omx_base_component_Private->
name);
177 if(pBuffer!=NULL && pBuffer->
pBuffer!=NULL) {
192 DEBUG(
DEB_LEV_ERR,
"In %s: received wrong buffer header on input port\n", __func__);
212 DEBUG(
DEB_LEV_PARAMS,
"In %s Signalling bMgmtSem Port Index=%d\n",__func__, (
int)portIndex);
@ OMX_ErrorInsufficientResources
@ OMX_ErrorIncorrectStateOperation
struct OMX_TIME_MEDIATIMETYPE OMX_TIME_MEDIATIMETYPE
OMX_ERRORTYPE base_clock_port_Destructor(omx_base_PortType *openmaxStandPort)
the base clock port destructor for the generic OpenMAX ST clock port
OMX_ERRORTYPE base_clock_port_SendBufferFunction(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
the entry point for sending buffers to the port
OMX_ERRORTYPE base_clock_port_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, omx_base_PortType **openmaxStandPort, OMX_U32 nPortIndex, OMX_BOOL isInput)
the base constructor for the generic OpenMAX ST Clock port
void setHeader(OMX_PTR header, OMX_U32 size)
Simply fills the first two fields in any OMX structure with the size and the version.
OMX_ERRORTYPE checkHeader(OMX_PTR header, OMX_U32 size)
Checks the header of a structure for consistency with size and spec version.
@ OMX_TransStateExecutingToIdle
@ OMX_TransStatePauseToIdle
OMX_ERRORTYPE base_port_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, omx_base_PortType **openmaxStandPort, OMX_U32 nPortIndex, OMX_BOOL isInput)
The base contructor for the generic OpenMAX ST port.
OMX_ERRORTYPE base_port_Destructor(omx_base_PortType *openmaxStandPort)
The base destructor for the generic OpenMAX ST port.
#define PORT_IS_TUNNELED_N_BUFFER_SUPPLIER(pPort)
#define PORT_IS_BUFFER_SUPPLIER(pPort)
#define PORT_IS_TUNNELED(pPort)
#define PORT_IS_BEING_DISABLED(pPort)
#define PORT_IS_ENABLED(pPort)
#define PORT_IS_BEING_FLUSHED(pPort)
#define DEB_LEV_FUNCTION_NAME
#define DEBUG(n, fmt, args...)
int queue(queue_t *queue, void *data)
OMX_PTR pComponentPrivate
OMX_OTHER_FORMATTYPE eFormat
OMX_OTHER_FORMATTYPE eFormat
union OMX_PARAM_PORTDEFINITIONTYPE::@0 format
OMX_PORTDOMAINTYPE eDomain
OMX_OTHER_PORTDEFINITIONTYPE other
OMX_U32 nBufferCountActual
OMX_PARAM_PORTDEFINITIONTYPE sPortParam
OMX_COMPONENTTYPE * standCompContainer
OMX_ERRORTYPE(* ReturnBufferFunction)(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
OMX_BUFFERHEADERTYPE ** pInternalBufferStorage
OMX_TIME_CONFIG_TIMESTAMPTYPE sTimeStamp
OMX_ERRORTYPE(* PortDestructor)(omx_base_PortType *openmaxStandPort)
OMX_OTHER_PARAM_PORTFORMATTYPE sOtherParam
OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE sMediaTimeRequest
OMX_PARAM_PORTDEFINITIONTYPE sPortParam
OMX_ERRORTYPE(* Port_SendBufferFunction)(omx_base_PortType *openmaxStandPort, OMX_BUFFERHEADERTYPE *pBuffer)
OMX_TIME_MEDIATIMETYPE sMediaTime
OMX_TRANS_STATETYPE transientState
void tsem_up(tsem_t *tsem)