/frameworks/av/media/libstagefright/omx/ |
SimpleSoftOMXComponent.cpp | 75 OMX_U32 portIndex; 80 portIndex = ((OMX_PARAM_PORTDEFINITIONTYPE *)params)->nPortIndex; 86 portIndex = ((OMX_AUDIO_PARAM_PCMMODETYPE *)params)->nPortIndex; 92 portIndex = ((OMX_AUDIO_PARAM_AACPROFILETYPE *)params)->nPortIndex; 100 CHECK(portIndex < mPorts.size()); 102 return !mPorts.itemAt(portIndex).mDef.bEnabled; 187 OMX_U32 portIndex, 192 CHECK_LT(portIndex, mPorts.size()); 213 (*header)->nOutputPortIndex = portIndex; 214 (*header)->nInputPortIndex = portIndex; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/ |
Exynos_OMX_Baseport.c | 94 OMX_S32 portIndex = 0; 119 portIndex = i; 121 portIndex = nPortIndex; 123 pExynosComponent->exynos_BufferFlush(pOMXComponent, portIndex, bEvent); 140 OMX_ERRORTYPE Exynos_OMX_EnablePort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) 149 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 170 OMX_S32 portIndex = 0; 194 portIndex = i; 196 portIndex = nPortIndex; 198 ret = Exynos_OMX_EnablePort(pOMXComponent, portIndex); [all...] |
Exynos_OMX_Basecomponent.c | 589 OMX_U32 messageType = 0, portIndex = 0; 625 portIndex = message->messageParam; 626 pExynosComponent->pExynosPort[portIndex].markType.hMarkTargetComponent = ((OMX_MARKTYPE *)message->pCmdData)->hMarkTargetComponent; 627 pExynosComponent->pExynosPort[portIndex].markType.pMarkData = ((OMX_MARKTYPE *)message->pCmdData)->pMarkData; 684 OMX_S32 portIndex = nParam; 690 if ((portIndex != ALL_PORT_INDEX) && 691 ((OMX_S32)portIndex >= (OMX_S32)pExynosComponent->portParam.nPorts)) { 699 cnt = (portIndex == ALL_PORT_INDEX ) ? ALL_PORT_NUM : 1; 701 if (portIndex == ALL_PORT_INDEX) 704 index = portIndex; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Android.cpp | 327 OMX_U32 portIndex = pANBParams->nPortIndex; 337 if (portIndex >= pExynosComponent->portParam.nPorts) { 408 OMX_U32 portIndex = pANBParams->nPortIndex; 419 if (portIndex >= pExynosComponent->portParam.nPorts) { 424 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 432 if ((portIndex == OUTPUT_PORT_INDEX) && 446 OMX_U32 portIndex = pANBParams->nPortIndex; 451 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: OMX_IndexParamUseAndroidNativeBuffer, portIndex: %d", __func__, portIndex); 459 if (portIndex >= pExynosComponent->portParam.nPorts) [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/audio/dec/ |
Exynos_OMX_Adec.c | [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/ |
Exynos_OMX_VdecControl.c | 412 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) 425 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 428 Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); 430 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); 432 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); 438 if (portIndex == OUTPUT_PORT_INDEX) { 440 } else if (portIndex == INPUT_PORT_INDEX) { 449 if (portIndex == INPUT_PORT_INDEX) { 454 } else if (portIndex == OUTPUT_PORT_INDEX) { 464 if (portIndex == INPUT_PORT_INDEX) [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
Exynos_OMX_VencControl.c | 400 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) 413 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 416 Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); 418 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); 420 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); 426 if (portIndex == OUTPUT_PORT_INDEX) { 428 } else if (portIndex == INPUT_PORT_INDEX) { 437 if (portIndex == INPUT_PORT_INDEX) { 442 } else if (portIndex == OUTPUT_PORT_INDEX) { 452 if (portIndex == INPUT_PORT_INDEX) [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP.c | 246 VPP_DPRINT("VPP::Inside the AllocateBuffer portindex =%ld\n",nPortIndex); 1098 OMX_U32 portindex = pComponentParam->nPortIndex; local [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMX3A.cpp | [all...] |
/frameworks/av/media/libstagefright/ |
MediaCodec.cpp | 354 msg->setInt32("portIndex", kPortIndexInput); 363 msg->setInt32("portIndex", kPortIndexOutput); 665 int32_t portIndex; 666 CHECK(msg->findInt32("portIndex", &portIndex)); 669 portIndex == kPortIndexInput ? "input" : "output"); 671 CHECK(portIndex == kPortIndexInput 672 || portIndex == kPortIndexOutput); 674 mPortBuffers[portIndex].clear(); 676 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; [all...] |
OMXCodec.cpp | 618 void OMXCodec::setMinBufferSize(OMX_U32 portIndex, OMX_U32 size) { 621 def.nPortIndex = portIndex; 627 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus)) 641 if (portIndex == kPortIndexInput 650 OMX_U32 portIndex, 655 format.nPortIndex = portIndex; 674 CODEC_LOGV("portIndex: %ld, index: %ld, eCompressionFormat=%d eColorFormat=%d", 675 portIndex, 748 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) { 756 portFormat.nPortIndex = portIndex; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/ |
Exynos_OMX_H264enc.c | [all...] |