Lines Matching refs:kPortIndexInput

358     mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false;
413 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
433 portIndex == kPortIndexInput ? "input" : "output");
446 (portIndex == kPortIndexInput)
450 if (portIndex == kPortIndexInput && (mFlags & kFlagIsSecure)) {
876 err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
985 err = setupRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
1005 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize);
1007 err = setMinBufferSize(kPortIndexInput, 8192); // XXX
1084 encoder ? kPortIndexInput : kPortIndexOutput,
1158 profile.nPortIndex = kPortIndexInput;
1227 def.nPortIndex = encoder ? kPortIndexOutput : kPortIndexInput;
1247 encoder ? kPortIndexInput : kPortIndexOutput,
1256 kPortIndexInput, 8000 /* sampleRate */, numChannels);
1282 encoder ? kPortIndexInput : kPortIndexOutput,
1360 if (portIndex == kPortIndexInput
1448 kPortIndexInput, compressionFormat, OMX_COLOR_FormatUnused);
1461 kPortIndexInput, width, height, compressionFormat);
1487 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat);
1503 def.nPortIndex = kPortIndexInput;
1988 if (portIndex == kPortIndexInput) {
2001 if (portIndex == kPortIndexInput) {
2053 return allYourBuffersAreBelongToUs(kPortIndexInput)
2505 mCodec->findBufferByID(kPortIndexInput, bufferID);
2528 PortMode mode = getPortMode(kPortIndexInput);
2550 if (mCodec->mPortEOS[kPortIndexInput]) {
2598 BufferInfo *info = mCodec->findBufferByID(kPortIndexInput, bufferID);
2603 PortMode mode = getPortMode(kPortIndexInput);
2609 if (!mCodec->mPortEOS[kPortIndexInput]) {
2610 mCodec->mPortEOS[kPortIndexInput] = true;
2619 if (buffer != NULL && !mCodec->mPortEOS[kPortIndexInput]) {
2684 mCodec->mPortEOS[kPortIndexInput] = true;
2687 } else if (!mCodec->mPortEOS[kPortIndexInput]) {
2711 mCodec->mPortEOS[kPortIndexInput] = true;
2724 if (mCodec->mPortEOS[kPortIndexInput]) {
2730 for (size_t i = 0; i < mCodec->mBuffers[kPortIndexInput].size(); ++i) {
2731 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(i);
3102 mCodec->mPortEOS[kPortIndexInput] =
3278 status_t err = mCodec->allocateBuffersOnPort(kPortIndexInput);
3412 CHECK_GT(mCodec->mBuffers[kPortIndexInput].size(), 0u);
3413 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(0);
3456 mCodec->countBuffersOwnedByComponent(kPortIndexInput),
3457 mCodec->mBuffers[kPortIndexInput].size(),
3549 CHECK_EQ(portIndex, (OMX_U32)kPortIndexInput);
3723 CHECK_EQ(mCodec->freeBuffersOnPort(kPortIndexInput), (status_t)OK);
3817 mFlushComplete[kPortIndexInput] = mFlushComplete[kPortIndexOutput] = false;
3855 if (data2 == kPortIndexInput || data2 == kPortIndexOutput) {
3859 if (mFlushComplete[kPortIndexInput]
3865 CHECK(mFlushComplete[kPortIndexInput]);
3911 if (mFlushComplete[kPortIndexInput]
3918 mCodec->mPortEOS[kPortIndexInput] =