Lines Matching refs:portIndex
75 OMX_U32 portIndex; in isSetParameterAllowed() local
85 portIndex = portDefs->nPortIndex; in isSetParameterAllowed()
96 portIndex = pcmMode->nPortIndex; in isSetParameterAllowed()
107 portIndex = aacMode->nPortIndex; in isSetParameterAllowed()
115 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed()
117 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed()
225 OMX_U32 portIndex, in useBuffer() argument
230 return useBufferCallerLockedAlready(header, portIndex, appPrivate, size, ptr); in useBuffer()
235 OMX_U32 portIndex, in useBufferCallerLockedAlready() argument
239 CHECK_LT(portIndex, mPorts.size()); in useBufferCallerLockedAlready()
240 CHECK_LT(portIndex, mPorts.size()); in useBufferCallerLockedAlready()
242 PortInfo *port = &mPorts.editItemAt(portIndex); in useBufferCallerLockedAlready()
268 (*header)->nOutputPortIndex = portIndex; in useBufferCallerLockedAlready()
269 (*header)->nInputPortIndex = portIndex; in useBufferCallerLockedAlready()
293 OMX_U32 portIndex, in allocateBuffer() argument
299 useBuffer(header, portIndex, appPrivate, size, ptr); in allocateBuffer()
315 OMX_U32 portIndex, in freeBuffer() argument
319 CHECK_LT(portIndex, mPorts.size()); in freeBuffer()
321 PortInfo *port = &mPorts.editItemAt(portIndex); in freeBuffer()
419 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived() local
421 PortInfo *port = &mPorts.editItemAt(portIndex); in onMessageReceived()
437 onQueueFilled(portIndex); in onMessageReceived()
536 void SimpleGoldfishOMXComponent::onPortEnable(OMX_U32 portIndex, bool enable) { in onPortEnable() argument
537 CHECK_LT(portIndex, mPorts.size()); in onPortEnable()
539 PortInfo *port = &mPorts.editItemAt(portIndex); in onPortEnable()
578 OMX_U32 portIndex, bool sendFlushComplete) { in onPortFlush() argument
579 if (portIndex == OMX_ALL) { in onPortFlush()
591 CHECK_LT(portIndex, mPorts.size()); in onPortFlush()
593 PortInfo *port = &mPorts.editItemAt(portIndex); in onPortFlush()
629 notify(OMX_EventCmdComplete, OMX_CommandFlush, portIndex, NULL); in onPortFlush()
631 onPortFlushCompleted(portIndex); in onPortFlush()
728 void SimpleGoldfishOMXComponent::onQueueFilled(OMX_U32 portIndex __unused) { in onQueueFilled()
731 void SimpleGoldfishOMXComponent::onPortFlushCompleted(OMX_U32 portIndex __unused) { in onPortFlushCompleted()
735 OMX_U32 portIndex __unused, bool enabled __unused) { in onPortEnableCompleted()
739 SimpleGoldfishOMXComponent::getPortQueue(OMX_U32 portIndex) { in getPortQueue() argument
740 CHECK_LT(portIndex, mPorts.size()); in getPortQueue()
741 return mPorts.editItemAt(portIndex).mQueue; in getPortQueue()
745 OMX_U32 portIndex) { in editPortInfo() argument
746 CHECK_LT(portIndex, mPorts.size()); in editPortInfo()
747 return &mPorts.editItemAt(portIndex); in editPortInfo()