Lines Matching defs:portIndex
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;
216 PortInfo *port = &mPorts.editItemAt(portIndex);
240 OMX_U32 portIndex,
246 useBuffer(header, portIndex, appPrivate, size, ptr);
262 OMX_U32 portIndex,
266 CHECK_LT(portIndex, mPorts.size());
268 PortInfo *port = &mPorts.editItemAt(portIndex);
358 size_t portIndex = (kWhatEmptyThisBuffer == msgType)?
360 PortInfo *port = &mPorts.editItemAt(portIndex);
375 onQueueFilled(portIndex);
457 void SimpleSoftOMXComponent::onPortEnable(OMX_U32 portIndex, bool enable) {
458 CHECK_LT(portIndex, mPorts.size());
460 PortInfo *port = &mPorts.editItemAt(portIndex);
492 OMX_U32 portIndex, bool sendFlushComplete) {
493 if (portIndex == OMX_ALL) {
505 CHECK_LT(portIndex, mPorts.size());
507 PortInfo *port = &mPorts.editItemAt(portIndex);
535 notify(OMX_EventCmdComplete, OMX_CommandFlush, portIndex, NULL);
537 onPortFlushCompleted(portIndex);
631 void SimpleSoftOMXComponent::onQueueFilled(OMX_U32 portIndex) {
634 void SimpleSoftOMXComponent::onPortFlushCompleted(OMX_U32 portIndex) {
638 OMX_U32 portIndex, bool enabled) {
642 SimpleSoftOMXComponent::getPortQueue(OMX_U32 portIndex) {
643 CHECK_LT(portIndex, mPorts.size());
644 return mPorts.editItemAt(portIndex).mQueue;
648 OMX_U32 portIndex) {
649 CHECK_LT(portIndex, mPorts.size());
650 return &mPorts.editItemAt(portIndex);