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);
452 void SimpleSoftOMXComponent::onPortEnable(OMX_U32 portIndex, bool enable) {
453 CHECK_LT(portIndex, mPorts.size());
455 PortInfo *port = &mPorts.editItemAt(portIndex);
487 OMX_U32 portIndex, bool sendFlushComplete) {
488 if (portIndex == OMX_ALL) {
500 CHECK_LT(portIndex, mPorts.size());
502 PortInfo *port = &mPorts.editItemAt(portIndex);
530 notify(OMX_EventCmdComplete, OMX_CommandFlush, portIndex, NULL);
532 onPortFlushCompleted(portIndex);
622 void SimpleSoftOMXComponent::onQueueFilled(OMX_U32 portIndex) {
625 void SimpleSoftOMXComponent::onPortFlushCompleted(OMX_U32 portIndex) {
629 OMX_U32 portIndex, bool enabled) {
633 SimpleSoftOMXComponent::getPortQueue(OMX_U32 portIndex) {
634 CHECK_LT(portIndex, mPorts.size());
635 return mPorts.editItemAt(portIndex).mQueue;
639 OMX_U32 portIndex) {
640 CHECK_LT(portIndex, mPorts.size());
641 return &mPorts.editItemAt(portIndex);