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/
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, &semVal… 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 == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
[all …]
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()
1893 pVideoEnc->HEVCComponent[i].portIndex = i; in Rockchip_OMX_ComponentConstructor()
/device/soc/rockchip/rk3568/hardware/omx_il/component/common/
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 = nPortIndex; in Rockchip_OMX_PortEnableProcess()
[all …]
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()
[all …]
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
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, &semVal… 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 == INPUT_PORT_INDEX) { in Rkvpu_OMX_FlushPort()
[all …]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_OHOS.h96 …chip_OSAL_Openvpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 portIndex);
DRockchip_OSAL_OHOS.cpp538 …kchip_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()