Home | History | Annotate | Download | only in libstagefright

Lines Matching refs:kPortIndexInput

439     mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false;
517 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] &&
524 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
548 portIndex == kPortIndexInput ? "input" : "output");
561 (portIndex == kPortIndexInput)
565 if ((portIndex == kPortIndexInput && (mFlags & kFlagIsSecure))
1197 err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
1519 encoder ? kPortIndexInput : kPortIndexOutput,
1628 err = setupRawAudioFormat(kPortIndexInput, sampleRate, numChannels);
1670 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize);
1672 err = setMinBufferSize(kPortIndexInput, 8192); // XXX
1677 CHECK_EQ(getPortFormat(kPortIndexInput, inputFormat), (status_t)OK);
1758 encoder ? kPortIndexInput : kPortIndexOutput,
1858 profile.nPortIndex = kPortIndexInput;
1898 encoder ? kPortIndexInput : kPortIndexOutput, sampleRate, numChannels);
1911 def.nPortIndex = kPortIndexInput;
1936 encoder ? kPortIndexInput : kPortIndexOutput, sampleRate, numChannels);
1949 def.nPortIndex = kPortIndexInput;
2019 def.nPortIndex = encoder ? kPortIndexOutput : kPortIndexInput;
2039 encoder ? kPortIndexInput : kPortIndexOutput,
2048 kPortIndexInput, 8000 /* sampleRate */, numChannels);
2074 encoder ? kPortIndexInput : kPortIndexOutput,
2185 if (portIndex == kPortIndexInput
2345 kPortIndexInput, compressionFormat, OMX_COLOR_FormatUnused);
2380 kPortIndexInput, width, height, compressionFormat, frameRateFloat);
2406 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat);
2422 def.nPortIndex = kPortIndexInput;
3157 if (portIndex == kPortIndexInput) {
3170 if (portIndex == kPortIndexInput) {
3253 return allYourBuffersAreBelongToUs(kPortIndexInput)
3578 CHECK(mIsEncoder ^ (portIndex == kPortIndexInput));
3592 portIndex == kPortIndexInput ? "input" : "output",
4252 mCodec->findBufferByID(kPortIndexInput, bufferID);
4264 PortMode mode = getPortMode(kPortIndexInput);
4286 if (mCodec->mPortEOS[kPortIndexInput]) {
4315 PortMode mode = getPortMode(kPortIndexInput);
4339 BufferInfo *info = mCodec->findBufferByID(kPortIndexInput, bufferID);
4348 if (!mCodec->mPortEOS[kPortIndexInput]) {
4349 mCodec->mPortEOS[kPortIndexInput] = true;
4358 if (buffer != NULL && !mCodec->mPortEOS[kPortIndexInput]) {
4436 mCodec->mPortEOS[kPortIndexInput] = true;
4439 } else if (!mCodec->mPortEOS[kPortIndexInput]) {
4463 mCodec->mPortEOS[kPortIndexInput] = true;
4476 if (mCodec->mPortEOS[kPortIndexInput]) {
4482 for (size_t i = 0; i < mCodec->mBuffers[kPortIndexInput].size(); ++i) {
4483 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(i);
4947 mCodec->mPortEOS[kPortIndexInput] =
5082 err = mCodec->mOMX->createInputSurface(mCodec->mNode, kPortIndexInput,
5088 kPortIndexInput,
5104 kPortIndexInput,
5123 kPortIndexInput,
5139 kPortIndexInput,
5197 status_t err = mCodec->allocateBuffersOnPort(kPortIndexInput);
5343 for (size_t i = 0; i < mCodec->mBuffers[kPortIndexInput].size(); ++i) {
5344 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(i);
5399 CHECK_GT(mCodec->mBuffers[kPortIndexInput].size(), 0u);
5400 for (size_t i = 0; i < mCodec->mBuffers[kPortIndexInput].size(); i++) {
5401 BufferInfo *info = &mCodec->mBuffers[kPortIndexInput].editItemAt(i);
5447 mCodec->countBuffersOwnedByComponent(kPortIndexInput),
5448 mCodec->mBuffers[kPortIndexInput].size(),
5509 if (mCodec->mPortEOS[kPortIndexInput] &&
5554 kPortIndexInput,
5572 kPortIndexInput,
5657 CHECK_EQ(portIndex, (OMX_U32)kPortIndexInput);
5831 CHECK_EQ(mCodec->freeBuffersOnPort(kPortIndexInput), (status_t)OK);
5926 mFlushComplete[kPortIndexInput] = mFlushComplete[kPortIndexOutput] = false;
5964 if (data2 == kPortIndexInput || data2 == kPortIndexOutput) {
5968 if (mFlushComplete[kPortIndexInput]
5974 CHECK(mFlushComplete[kPortIndexInput]);
6020 if (mFlushComplete[kPortIndexInput]
6031 mCodec->mPortEOS[kPortIndexInput] =