Home
last modified time | relevance | path

Searched refs:portIndex (Results 1 - 7 of 7) sorted by relevance

/device/soc/rockchip/rk3568/hardware/omx_il/component/video/enc/
H A DRkvpu_OMX_VencControl.c444 OMX_ERRORTYPE Rkvpu_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Rkvpu_OMX_FlushPort() argument
455 pRockchipPort = &pRockchipComponent->pRockchipPort[portIndex]; in Rkvpu_OMX_FlushPort()
457 Rockchip_OSAL_Get_SemaphoreCount(pRockchipComponent->pRockchipPort[portIndex].bufferSemID, &semValue); in Rkvpu_OMX_FlushPort()
459 Rockchip_OSAL_SemaphorePost(pRockchipComponent->pRockchipPort[portIndex].bufferSemID); in Rkvpu_OMX_FlushPort()
461 Rockchip_OSAL_SemaphoreWait(pRockchipComponent->pRockchipPort[portIndex].bufferSemID); in Rkvpu_OMX_FlushPort()
466 if (portIndex == OUTPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
468 } else if (portIndex == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
477 if (portIndex == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
482 } else if (portIndex == OUTPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
493 if (portIndex in Rkvpu_OMX_FlushPort()
983 OMX_U32 portIndex = portFormat->nPortIndex, index = portFormat->nIndex, supportFormatNum = 0; Rkvpu_OMX_GetParameter() local
1050 OMX_U32 portIndex = bufferTyps->portIndex; Rkvpu_OMX_GetParameter() local
1072 OMX_U32 portIndex = usage->portIndex; Rkvpu_OMX_GetParameter() local
1094 OMX_U32 portIndex = videoFormat->portIndex; Rkvpu_OMX_GetParameter() local
1148 OMX_U32 portIndex = videoRateControl->nPortIndex; Rkvpu_OMX_GetParameter() local
1169 OMX_U32 portIndex = videoQuantizationControl->nPortIndex; Rkvpu_OMX_GetParameter() local
1193 OMX_U32 portIndex = portDefinition->nPortIndex; Rkvpu_OMX_GetParameter() local
1213 OMX_U32 portIndex = pIntraRefresh->nPortIndex; Rkvpu_OMX_GetParameter() local
1384 OMX_U32 portIndex = portFormat->nPortIndex; Rkvpu_OMX_SetParameter() local
1411 OMX_U32 portIndex = videoRateControl->nPortIndex; Rkvpu_OMX_SetParameter() local
1432 OMX_U32 portIndex = videoQuantizationControl->nPortIndex; Rkvpu_OMX_SetParameter() local
1457 OMX_U32 portIndex = pPortDefinition->nPortIndex; Rkvpu_OMX_SetParameter() local
1499 OMX_U32 portIndex = pIntraRefresh->nPortIndex; Rkvpu_OMX_SetParameter() local
1529 OMX_U32 portIndex = bufferType->portIndex; Rkvpu_OMX_SetParameter() local
1554 OMX_U32 portIndex = videoFormat->portIndex; Rkvpu_OMX_SetParameter() local
1782 OMX_U32 portIndex = pAVCIntraPeriod->nPortIndex; Rkvpu_OMX_GetConfig() local
1801 OMX_U32 portIndex = pEncodeBitrate->nPortIndex; Rkvpu_OMX_GetConfig() local
1821 OMX_U32 portIndex = pFramerate->nPortIndex; Rkvpu_OMX_GetConfig() local
1897 OMX_U32 portIndex = pAVCIntraPeriod->nPortIndex; Rkvpu_OMX_SetConfig() local
1920 OMX_U32 portIndex = pEncodeBitrate->nPortIndex; Rkvpu_OMX_SetConfig() local
1948 OMX_U32 portIndex = pFramerate->nPortIndex; Rkvpu_OMX_SetConfig() local
1977 OMX_U32 portIndex = pIntraRefreshVOP->nPortIndex; Rkvpu_OMX_SetConfig() local
[all...]
H A DRkvpu_OMX_Venc.c189 OMX_ERRORTYPE Rkvpu_ResetPort(ROCKCHIP_OMX_BASEPORT* port, OMX_U32 portIndex) in Rkvpu_ResetPort() argument
205 if (INPUT_PORT_INDEX == portIndex) { in Rkvpu_ResetPort()
1899 pVideoEnc->HEVCComponent[i].portIndex = i; in Rockchip_OMX_ComponentConstructor()
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
H A DRkvpu_OMX_VdecControl.c486 OMX_ERRORTYPE Rkvpu_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Rkvpu_OMX_FlushPort() argument
497 pRockchipPort = &pRockchipComponent->pRockchipPort[portIndex]; in Rkvpu_OMX_FlushPort()
499 Rockchip_OSAL_Get_SemaphoreCount(pRockchipComponent->pRockchipPort[portIndex].bufferSemID, &semValue); in Rkvpu_OMX_FlushPort()
501 Rockchip_OSAL_SemaphorePost(pRockchipComponent->pRockchipPort[portIndex].bufferSemID); in Rkvpu_OMX_FlushPort()
503 Rockchip_OSAL_SemaphoreWait(pRockchipComponent->pRockchipPort[portIndex].bufferSemID); in Rkvpu_OMX_FlushPort()
509 if (portIndex == OUTPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
511 } else if (portIndex == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
520 if (portIndex == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
525 } else if (portIndex == OUTPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
535 if (portIndex in Rkvpu_OMX_FlushPort()
1317 OMX_U32 portIndex = portFormat->nPortIndex, index = portFormat->nIndex, supportFormatNum = 0; Rkvpu_OMX_GetParameter() local
1401 OMX_U32 portIndex = bufferTyps->portIndex; Rkvpu_OMX_GetParameter() local
1423 OMX_U32 portIndex = usage->portIndex; Rkvpu_OMX_GetParameter() local
1445 OMX_U32 portIndex = videoFormat->portIndex; Rkvpu_OMX_GetParameter() local
1499 OMX_U32 portIndex = portDefinition->nPortIndex; Rkvpu_OMX_GetParameter() local
1732 OMX_U32 portIndex = portFormat->nPortIndex; Rkvpu_OMX_SetParameter() local
1761 OMX_U32 portIndex = pPortDefinition->nPortIndex; Rkvpu_OMX_SetParameter() local
1802 OMX_U32 portIndex = bufferType->portIndex; Rkvpu_OMX_SetParameter() local
1829 OMX_U32 portIndex = videoFormat->portIndex; Rkvpu_OMX_SetParameter() local
1858 OMX_U32 portIndex = enableParam->portIndex; Rkvpu_OMX_SetParameter() local
2104 OMX_U32 portIndex = rectParams->nPortIndex; Rkvpu_OMX_GetConfig() local
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/component/common/
H A DRockchip_OMX_Baseport.c116 OMX_S32 portIndex = 0; in Rockchip_OMX_BufferFlushProcess() local
140 portIndex = i; in Rockchip_OMX_BufferFlushProcess()
142 portIndex = nPortIndex; in Rockchip_OMX_BufferFlushProcess()
144 pRockchipComponent->rockchip_BufferFlush(pOMXComponent, portIndex, bEvent); in Rockchip_OMX_BufferFlushProcess()
163 OMX_ERRORTYPE Rockchip_OMX_EnablePort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Rockchip_OMX_EnablePort() argument
171 pRockchipPort = &pRockchipComponent->pRockchipPort[portIndex]; in Rockchip_OMX_EnablePort()
187 portIndex == INPUT_PORT_INDEX ? "input" : "output"); in Rockchip_OMX_EnablePort()
201 OMX_S32 portIndex = 0; in Rockchip_OMX_PortEnableProcess() local
225 portIndex = i; in Rockchip_OMX_PortEnableProcess()
227 portIndex in Rockchip_OMX_PortEnableProcess()
251 Rockchip_OMX_DisablePort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) Rockchip_OMX_DisablePort() argument
303 OMX_S32 portIndex = 0; Rockchip_OMX_PortDisableProcess() local
[all...]
H A DRockchip_OMX_Basecomponent.c630 OMX_U32 messageType = 0, portIndex = 0; in Rockchip_OMX_MessageHandlerThread() local
666 portIndex = message->messageParam; in Rockchip_OMX_MessageHandlerThread()
667 pRockchipComponent->pRockchipPort[portIndex].markType.hMarkTargetComponent = in Rockchip_OMX_MessageHandlerThread()
669 pRockchipComponent->pRockchipPort[portIndex].markType.pMarkData = in Rockchip_OMX_MessageHandlerThread()
742 OMX_S32 portIndex = nParam; in Rockchip_SetPortFlush() local
747 if ((portIndex != ALL_PORT_INDEX) && in Rockchip_SetPortFlush()
748 ((OMX_S32)portIndex >= (OMX_S32)pRockchipComponent->portParam.nPorts)) { in Rockchip_SetPortFlush()
756 cnt = (portIndex == ALL_PORT_INDEX) ? ALL_PORT_NUM : 1; in Rockchip_SetPortFlush()
758 if (portIndex == ALL_PORT_INDEX) in Rockchip_SetPortFlush()
761 index = portIndex; in Rockchip_SetPortFlush()
778 OMX_S32 portIndex = nParam; Rockchip_SetPortEnable() local
820 OMX_S32 portIndex = nParam; Rockchip_SetPortDisable() local
1029 OMX_U32 portIndex = portDefinition->nPortIndex; Rockchip_OMX_GetParameter() local
1059 OMX_U32 portIndex = bufferSupplier->nPortIndex; Rockchip_OMX_GetParameter() local
1171 OMX_U32 portIndex = portDefinition->nPortIndex; Rockchip_OMX_SetParameter() local
1220 OMX_U32 portIndex = bufferSupplier->nPortIndex; Rockchip_OMX_SetParameter() local
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_OHOS.h96 OMX_ERRORTYPE Rockchip_OSAL_Openvpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 portIndex);
H A DRockchip_OSAL_OHOS.cpp538 OMX_ERRORTYPE Rockchip_OSAL_Openvpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 portIndex) in Get_Video_HorAlign() argument
541 ROCKCHIP_OMX_BASEPORT *pRockchipPort = &pRockchipComponent->pRockchipPort[portIndex]; in Get_Video_HorAlign()

Completed in 20 milliseconds