Home
last modified time | relevance | path

Searched refs:PortIndex (Results 1 – 4 of 4) sorted by relevance

/external/opencore/codecs_v2/omx/omx_baseclass/src/
Dpv_omxcomponent.cpp667 OMX_ERRORTYPE OmxComponentBase::FlushPort(OMX_S32 PortIndex) in FlushPort() argument
680 if (OMX_PORT_INPUTPORT_INDEX == PortIndex || OMX_PORT_ALLPORT_INDEX == PortIndex) in FlushPort()
710 if (OMX_PORT_OUTPUTPORT_INDEX == PortIndex || OMX_PORT_ALLPORT_INDEX == PortIndex) in FlushPort()
749 void OmxComponentBase::DisableSinglePort(OMX_U32 PortIndex) in DisableSinglePort() argument
751 ipPorts[PortIndex]->PortParam.bEnabled = OMX_FALSE; in DisableSinglePort()
753 if (PORT_IS_POPULATED(ipPorts[PortIndex]) && OMX_TRUE == iIsInit) in DisableSinglePort()
759 ipPorts[PortIndex]->NumBufferFlushed = 0; in DisableSinglePort()
766 OMX_ERRORTYPE OmxComponentBase::DisablePort(OMX_S32 PortIndex) in DisablePort() argument
772 if (-1 == PortIndex) in DisablePort()
780 FlushPort(PortIndex); in DisablePort()
[all …]
/external/opencore/codecs_v2/omx/omx_baseclass/include/
Dpv_omxcomponent.h403 OMX_ERRORTYPE DisablePort(OMX_S32 PortIndex);
404 void DisableSinglePort(OMX_U32 PortIndex);
406 OMX_ERRORTYPE EnablePort(OMX_S32 PortIndex);
407 void EnableSinglePort(OMX_U32 PortIndex);
409 OMX_ERRORTYPE FlushPort(OMX_S32 PortIndex);
438 void ResetAfterFlush(OMX_S32 PortIndex);
/external/opencore/codecs_v2/omx/omx_m4venc/src/
Domx_mpeg4enc_component.cpp924 OMX_U32 PortIndex; in SetConfig() local
944 PortIndex = pVideoIFrame->nPortIndex; in SetConfig()
946 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
972 PortIndex = pBitRateType->nPortIndex; in SetConfig()
974 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
993 … ipPorts[PortIndex]->VideoConfigBitRateType.nEncodeBitrate = pBitRateType->nEncodeBitrate; in SetConfig()
1000 PortIndex = pFrameRateType->nPortIndex; in SetConfig()
1002 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
1022 … ipPorts[PortIndex]->VideoConfigFrameRateType.xEncodeFramerate = pFrameRateType->xEncodeFramerate; in SetConfig()
/external/opencore/codecs_v2/omx/omx_h264enc/src/
Domx_avcenc_component.cpp870 OMX_U32 PortIndex; in SetConfig() local
890 PortIndex = pAvcIFrame->nPortIndex; in SetConfig()
892 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
918 PortIndex = pBitRateType->nPortIndex; in SetConfig()
920 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
941 … ipPorts[PortIndex]->VideoConfigBitRateType.nEncodeBitrate = pBitRateType->nEncodeBitrate; in SetConfig()
948 PortIndex = pFrameRateType->nPortIndex; in SetConfig()
950 if (PortIndex != iCompressedFormatPortNum) in SetConfig()
970 … ipPorts[PortIndex]->VideoConfigFrameRateType.xEncodeFramerate = pFrameRateType->xEncodeFramerate; in SetConfig()