Home
last modified time | relevance | path

Searched refs:portIndex (Results 1 – 9 of 9) sorted by relevance

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
DExynos_OMX_VencControl.c406 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Exynos_OMX_FlushPort() argument
419 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OMX_FlushPort()
422 … Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); in Exynos_OMX_FlushPort()
424 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
426 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
432 if (portIndex == OUTPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
434 } else if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
443 if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
448 } else if (portIndex == OUTPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
458 if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
DExynos_OMX_Basecomponent.c589 OMX_U32 messageType = 0, portIndex = 0; in Exynos_OMX_MessageHandlerThread() local
625 portIndex = message->messageParam; in Exynos_OMX_MessageHandlerThread()
626 …pExynosComponent->pExynosPort[portIndex].markType.hMarkTargetComponent = ((OMX_MARKTYPE *)message-… in Exynos_OMX_MessageHandlerThread()
627 …pExynosComponent->pExynosPort[portIndex].markType.pMarkData = ((OMX_MARKTYPE *)message-… in Exynos_OMX_MessageHandlerThread()
700 OMX_S32 portIndex = nParam; in Exynos_SetPortFlush() local
706 if ((portIndex != ALL_PORT_INDEX) && in Exynos_SetPortFlush()
707 ((OMX_S32)portIndex >= (OMX_S32)pExynosComponent->portParam.nPorts)) { in Exynos_SetPortFlush()
715 cnt = (portIndex == ALL_PORT_INDEX ) ? ALL_PORT_NUM : 1; in Exynos_SetPortFlush()
717 if (portIndex == ALL_PORT_INDEX) in Exynos_SetPortFlush()
720 index = portIndex; in Exynos_SetPortFlush()
[all …]
DExynos_OMX_Baseport.c96 OMX_S32 portIndex = 0; in Exynos_OMX_BufferFlushProcess() local
121 portIndex = i; in Exynos_OMX_BufferFlushProcess()
123 portIndex = nPortIndex; in Exynos_OMX_BufferFlushProcess()
125 pExynosComponent->exynos_BufferFlush(pOMXComponent, portIndex, bEvent); in Exynos_OMX_BufferFlushProcess()
142 OMX_ERRORTYPE Exynos_OMX_EnablePort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Exynos_OMX_EnablePort() argument
151 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OMX_EnablePort()
177 OMX_S32 portIndex = 0; in Exynos_OMX_PortEnableProcess() local
201 portIndex = i; in Exynos_OMX_PortEnableProcess()
203 portIndex = nPortIndex; in Exynos_OMX_PortEnableProcess()
205 ret = Exynos_OMX_EnablePort(pOMXComponent, portIndex); in Exynos_OMX_PortEnableProcess()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
DExynos_OMX_VdecControl.c412 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Exynos_OMX_FlushPort() argument
426 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OMX_FlushPort()
429 … Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); in Exynos_OMX_FlushPort()
431 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
433 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
439 if (portIndex == OUTPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
441 } else if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
450 if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
455 } else if (portIndex == OUTPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
465 if (portIndex == INPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Android.cpp610 OMX_U32 portIndex = pANBParams->nPortIndex; in Exynos_OSAL_GetANBParameter() local
620 if (portIndex >= pExynosComponent->portParam.nPorts) { in Exynos_OSAL_GetANBParameter()
690 OMX_U32 portIndex = pANBParams->nPortIndex; in Exynos_OSAL_SetANBParameter() local
701 if (portIndex >= pExynosComponent->portParam.nPorts) { in Exynos_OSAL_SetANBParameter()
706 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OSAL_SetANBParameter()
715 if ((portIndex == OUTPUT_PORT_INDEX) && in Exynos_OSAL_SetANBParameter()
729 OMX_U32 portIndex = pANBParams->nPortIndex; in Exynos_OSAL_SetANBParameter() local
734 …(EXYNOS_LOG_TRACE, "%s: OMX_IndexParamUseAndroidNativeBuffer, portIndex: %d", __func__, portIndex); in Exynos_OSAL_SetANBParameter()
742 if (portIndex >= pExynosComponent->portParam.nPorts) { in Exynos_OSAL_SetANBParameter()
747 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OSAL_SetANBParameter()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/audio/dec/
DExynos_OMX_Adec.c863 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) in Exynos_OMX_FlushPort() argument
876 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; in Exynos_OMX_FlushPort()
878 … Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); in Exynos_OMX_FlushPort()
880 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
881 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
888 if (portIndex == OUTPUT_PORT_INDEX) { in Exynos_OMX_FlushPort()
902 if (portIndex == INPUT_PORT_INDEX) in Exynos_OMX_FlushPort()
904 else if (portIndex == OUTPUT_PORT_INDEX) in Exynos_OMX_FlushPort()
911 Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &cnt); in Exynos_OMX_FlushPort()
914 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); in Exynos_OMX_FlushPort()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP.c1310 OMX_U32 portIndex = pComponentParam->nPortIndex; in VPP_SetParameter() local
1311 if ((portIndex == OMX_VPP_INPUT_PORT) || (portIndex == OMX_VPP_INPUT_OVERLAY_PORT)) { in VPP_SetParameter()
1317 if (portIndex == OMX_VPP_INPUT_OVERLAY_PORT) { in VPP_SetParameter()
1324 if (portIndex == OMX_VPP_INPUT_PORT) { in VPP_SetParameter()
1330 else if (portIndex == OMX_VPP_YUV_OUTPUT_PORT){ in VPP_SetParameter()
1339 else if(portIndex == OMX_VPP_RGB_OUTPUT_PORT){ in VPP_SetParameter()
1353 … = memcpy (&(((VPP_COMPONENT_PRIVATE*)pHandle->pComponentPrivate)->sCompPorts[portIndex].pPortDef), in VPP_SetParameter()
1362 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize = in VPP_SetParameter()
1365 switch(pComponentPrivate->sCompPorts[portIndex].pPortDef.format.video.eColorFormat) { in VPP_SetParameter()
1367 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 3; in VPP_SetParameter()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/
DExynos_OMX_H264enc.c1406 OMX_U32 portIndex = pAVCIntraPeriod->nPortIndex; in Exynos_H264Enc_GetConfig() local
1408 if ((portIndex != OUTPUT_PORT_INDEX)) { in Exynos_H264Enc_GetConfig()
1477 OMX_U32 portIndex = pAVCIntraPeriod->nPortIndex; in Exynos_H264Enc_SetConfig() local
1479 if ((portIndex != OUTPUT_PORT_INDEX)) { in Exynos_H264Enc_SetConfig()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMX3A.cpp1593 int portIndex; in apply3Asettings() local