Lines Matching refs:kPortIndexInput
532 mIsEncoder ? kPortIndexInput : kPortIndexOutput,
552 setRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
571 setMinBufferSize(kPortIndexInput, (OMX_U32)maxInputSize);
627 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus))
641 if (portIndex == kPortIndexInput
744 return isColorFormatSupported(*colorFormat, kPortIndexInput);
819 kPortIndexInput, OMX_VIDEO_CodingUnused,
823 def.nPortIndex = kPortIndexInput;
1208 kPortIndexInput, compressionFormat, OMX_COLOR_FormatUnused);
1259 def.nPortIndex = kPortIndexInput;
1350 mPortStatus[kPortIndexInput] = ENABLED;
1503 status_t err = allocateBuffersOnPort(kPortIndexInput);
1524 && portIndex == kPortIndexInput) {
1525 err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
1545 portIndex == kPortIndexInput ? "input" : "output");
1559 if (portIndex == kPortIndexInput
1617 portIndex == kPortIndexInput ? "input" : "output");
1648 if (portIndex == kPortIndexInput && (mFlags & kUseSecureInputBuffers)) {
1651 const BufferInfo &info = mPortBuffers[kPortIndexInput].itemAt(i);
2106 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput];
2127 if (mPortStatus[kPortIndexInput] == DISABLING) {
2130 status_t err = freeBuffer(kPortIndexInput, i);
2133 && mPortStatus[kPortIndexInput] != SHUTTING_DOWN) {
2134 CHECK_EQ((int)mPortStatus[kPortIndexInput], (int)ENABLED);
2515 portIndex == kPortIndexInput
2567 if (mPortStatus[kPortIndexInput] == ENABLED
2572 mPortStatus[kPortIndexInput] = SHUTTING_DOWN;
2582 if (mPortStatus[kPortIndexInput] == ENABLED
2631 if (countBuffersWeOwn(mPortBuffers[kPortIndexInput]) !=
2632 mPortBuffers[kPortIndexInput].size()) {
2635 countBuffersWeOwn(mPortBuffers[kPortIndexInput]),
2636 mPortBuffers[kPortIndexInput].size());
2654 err = freeBuffersOnPort(kPortIndexInput);
2660 mPortStatus[kPortIndexInput] = ENABLED;
2876 && countBuffersWeOwn(mPortBuffers[kPortIndexInput])
2877 == mPortBuffers[kPortIndexInput].size()
2899 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput];
2907 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput];
2931 Vector<BufferInfo> *infos = &mPortBuffers[kPortIndexInput];
2949 Vector<BufferInfo> *infos = &mPortBuffers[kPortIndexInput];
3228 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput];
3272 countBuffersWeOwn(mPortBuffers[kPortIndexInput]),
3363 OMX_U32 portIndex = mIsEncoder ? kPortIndexOutput : kPortIndexInput;
3389 setRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
3405 setRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
3466 profile.nPortIndex = kPortIndexInput;
3496 setRawAudioFormat(kPortIndexInput, 8000, numChannels);
3575 def.nPortIndex = kPortIndexInput;
3656 params->setInt32(kKeyNumBuffers, mPortBuffers[kPortIndexInput].size());
3709 freeBuffersOnPort(kPortIndexInput, true /* onlyThoseWeOwn */);
3736 !flushPortAsync(kPortIndexInput);
3742 onCmdComplete(OMX_CommandFlush, kPortIndexInput);
3749 mPortStatus[kPortIndexInput] = SHUTTING_DOWN;
3855 bool emulateInputFlushCompletion = !flushPortAsync(kPortIndexInput);
3859 onCmdComplete(OMX_CommandFlush, kPortIndexInput);
4177 printf("%s Port = {\n", portIndex == kPortIndexInput ? "Input" : "Output");
4179 CHECK((portIndex == kPortIndexInput && def.eDir == OMX_DirInput)