Home | History | Annotate | Download | only in libstagefright

Lines Matching refs:kPortIndexInput

380     mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false;
449 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
469 portIndex == kPortIndexInput ? "input" : "output");
482 (portIndex == kPortIndexInput)
486 if (portIndex == kPortIndexInput && (mFlags & kFlagIsSecure)) {
912 err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
970 encoder ? kPortIndexInput : kPortIndexOutput,
1041 err = setupRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
1065 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize);
1067 err = setMinBufferSize(kPortIndexInput, 8192); // XXX
1144 encoder ? kPortIndexInput : kPortIndexOutput,
1218 profile.nPortIndex = kPortIndexInput;
1287 def.nPortIndex = encoder ? kPortIndexOutput : kPortIndexInput;
1307 encoder ? kPortIndexInput : kPortIndexOutput,
1316 kPortIndexInput, 8000 /* sampleRate */, numChannels);
1342 encoder ? kPortIndexInput : kPortIndexOutput,
1420 if (portIndex == kPortIndexInput
1524 kPortIndexInput, compressionFormat, OMX_COLOR_FormatUnused);
1537 kPortIndexInput, width, height, compressionFormat);
1563 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat);
1579 def.nPortIndex = kPortIndexInput;
2112 if (portIndex == kPortIndexInput) {
2125 if (portIndex == kPortIndexInput) {
2213 return allYourBuffersAreBelongToUs(kPortIndexInput)
2757 mCodec->findBufferByID(kPortIndexInput, bufferID);
2780 PortMode mode = getPortMode(kPortIndexInput);
2802 if (mCodec->mPortEOS[kPortIndexInput]) {
2850 BufferInfo *info = mCodec->findBufferByID(kPortIndexInput, bufferID);
2855 PortMode mode = getPortMode(kPortIndexInput);
2861 if (!mCodec->mPortEOS[kPortIndexInput]) {
2862 mCodec->mPortEOS[kPortIndexInput] = true;
2871 if (buffer != NULL && !mCodec->mPortEOS[kPortIndexInput]) {
2936 mCodec->mPortEOS[kPortIndexInput] = true;
2939 } else if (!mCodec->mPortEOS[kPortIndexInput]) {
2963 mCodec->mPortEOS[kPortIndexInput] = true;
2976 if (mCodec->mPortEOS[kPortIndexInput]) {
2982 for (size_t i = 0; i < mCodec->mBuffers[kPortIndexInput].size(); ++i) {
2983 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(i);
3403 mCodec->mPortEOS[kPortIndexInput] =
3536 err = mCodec->mOMX->createInputSurface(mCodec->mNode, kPortIndexInput,
3584 status_t err = mCodec->allocateBuffersOnPort(kPortIndexInput);
3761 CHECK_GT(mCodec->mBuffers[kPortIndexInput].size(), 0u);
3762 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(0);
3805 mCodec->countBuffersOwnedByComponent(kPortIndexInput),
3806 mCodec->mBuffers[kPortIndexInput].size(),
3957 CHECK_EQ(portIndex, (OMX_U32)kPortIndexInput);
4131 CHECK_EQ(mCodec->freeBuffersOnPort(kPortIndexInput), (status_t)OK);
4225 mFlushComplete[kPortIndexInput] = mFlushComplete[kPortIndexOutput] = false;
4263 if (data2 == kPortIndexInput || data2 == kPortIndexOutput) {
4267 if (mFlushComplete[kPortIndexInput]
4273 CHECK(mFlushComplete[kPortIndexInput]);
4319 if (mFlushComplete[kPortIndexInput]
4330 mCodec->mPortEOS[kPortIndexInput] =