/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...] |
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/ |
MIDIAccess.cpp | 93 unsigned portIndex = m_outputs.size(); 94 m_outputs.append(MIDIOutput::create(this, portIndex, scriptExecutionContext(), id, manufacturer, name, version)); 105 void MIDIAccess::didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) 109 if (m_hasAccess && portIndex < m_inputs.size()) { 118 m_inputs[portIndex]->didReceiveMIDIData(portIndex, data, length, timeStampInMilliseconds); 122 void MIDIAccess::sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStampInMilliseconds) 124 if (m_hasAccess && portIndex < m_outputs.size() && data && length > 1) { 140 m_accessor->sendMIDIData(portIndex, data, length, timeStamp);
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/ |
Exynos_OMX_Baseport.c | 96 OMX_S32 portIndex = 0; 121 portIndex = i; 123 portIndex = nPortIndex; 125 pExynosComponent->exynos_BufferFlush(pOMXComponent, portIndex, bEvent); 142 OMX_ERRORTYPE Exynos_OMX_EnablePort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) 151 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 177 OMX_S32 portIndex = 0; 201 portIndex = i; 203 portIndex = nPortIndex; 205 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; 700 OMX_S32 portIndex = nParam; 706 if ((portIndex != ALL_PORT_INDEX) && 707 ((OMX_S32)portIndex >= (OMX_S32)pExynosComponent->portParam.nPorts)) { 715 cnt = (portIndex == ALL_PORT_INDEX ) ? ALL_PORT_NUM : 1; 717 if (portIndex == ALL_PORT_INDEX) 720 index = portIndex; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Android.cpp | 610 OMX_U32 portIndex = pANBParams->nPortIndex; 620 if (portIndex >= pExynosComponent->portParam.nPorts) { 690 OMX_U32 portIndex = pANBParams->nPortIndex; 701 if (portIndex >= pExynosComponent->portParam.nPorts) { 706 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 715 if ((portIndex == OUTPUT_PORT_INDEX) && 729 OMX_U32 portIndex = pANBParams->nPortIndex; 734 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: OMX_IndexParamUseAndroidNativeBuffer, portIndex: %d", __func__, portIndex); 742 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) 426 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 429 Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); 431 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); 433 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); 439 if (portIndex == OUTPUT_PORT_INDEX) { 441 } else if (portIndex == INPUT_PORT_INDEX) { 450 if (portIndex == INPUT_PORT_INDEX) { 455 } else if (portIndex == OUTPUT_PORT_INDEX) { 465 if (portIndex == INPUT_PORT_INDEX) [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
Exynos_OMX_VencControl.c | 406 OMX_ERRORTYPE Exynos_OMX_FlushPort(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 portIndex) 419 pExynosPort = &pExynosComponent->pExynosPort[portIndex]; 422 Exynos_OSAL_Get_SemaphoreCount(pExynosComponent->pExynosPort[portIndex].bufferSemID, &semValue); 424 Exynos_OSAL_SemaphorePost(pExynosComponent->pExynosPort[portIndex].bufferSemID); 426 Exynos_OSAL_SemaphoreWait(pExynosComponent->pExynosPort[portIndex].bufferSemID); 432 if (portIndex == OUTPUT_PORT_INDEX) { 434 } else if (portIndex == INPUT_PORT_INDEX) { 443 if (portIndex == INPUT_PORT_INDEX) { 448 } else if (portIndex == OUTPUT_PORT_INDEX) { 458 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 | 371 msg->setInt32("portIndex", kPortIndexInput); 380 msg->setInt32("portIndex", kPortIndexOutput); 682 int32_t portIndex; 683 CHECK(msg->findInt32("portIndex", &portIndex)); 686 portIndex == kPortIndexInput ? "input" : "output"); 688 CHECK(portIndex == kPortIndexInput 689 || portIndex == kPortIndexOutput); 691 mPortBuffers[portIndex].clear(); 693 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; [all...] |
OMXCodec.cpp | 613 void OMXCodec::setMinBufferSize(OMX_U32 portIndex, OMX_U32 size) { 616 def.nPortIndex = portIndex; 622 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus)) 636 if (portIndex == kPortIndexInput 645 OMX_U32 portIndex, 650 format.nPortIndex = portIndex; 669 CODEC_LOGV("portIndex: %ld, index: %ld, eCompressionFormat=%d eColorFormat=%d", 670 portIndex, 743 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) { 751 portFormat.nPortIndex = portIndex; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/ |
Exynos_OMX_H264enc.c | [all...] |