Home
last modified time | relevance | path

Searched refs:kPortIndexOutput (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/
DACodec.cpp593 mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false; in ACodec()
597 mPortMode[kPortIndexOutput] = IOMX::kPortModePresetByteBuffer; in ACodec()
701 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] && in signalSubmitOutputMetadataBufferIfEOS_workaround()
770 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput]; in handleSetSurface()
854 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
860 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) { in allocateBuffersOnPort()
1039 } else if (portIndex == kPortIndexOutput) { in allocateBuffersOnPort()
1053 def.nPortIndex = kPortIndexOutput; in setupNativeWindowSizeFormatAndUsage()
1078 params.nPortIndex = kPortIndexOutput; in setupNativeWindowSizeFormatAndUsage()
1091 err = mOMXNode->getGraphicBufferUsage(kPortIndexOutput, &usage); in setupNativeWindowSizeFormatAndUsage()
[all …]
DMediaCodec.cpp1280 return hasPendingBuffer(kPortIndexInput) || hasPendingBuffer(kPortIndexOutput); in hasPendingBuffer()
1562 msg->setInt32("portIndex", kPortIndexOutput); in getOutputBuffers()
1571 return getBufferAndFormat(kPortIndexOutput, index, buffer, &format); in getOutputBuffer()
1576 return getBufferAndFormat(kPortIndexOutput, index, &buffer, format); in getOutputFormat()
1743 ssize_t index = dequeuePortBuffer(kPortIndexOutput); in handleDequeueOutputBuffer()
1751 mPortBuffers[kPortIndexOutput][index].mData; in handleDequeueOutputBuffer()
2185 /* size_t index = */updateBuffers(kPortIndexOutput, msg); in onMessageReceived()
2190 returnBuffersToCodecOnPort(kPortIndexOutput); in onMessageReceived()
3135 returnBuffersToCodecOnPort(kPortIndexOutput, isReclaim); in returnBuffersToCodec()
3139 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in returnBuffersToCodecOnPort()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp211 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
338 if (mPortEOS[kPortIndexOutput]) { in processBuffers()
363 mPortEOS[kPortIndexOutput] = true; in processBuffers()
491 allocateBuffersOnPort(kPortIndexOutput); in onStart()
503 mPortEOS[kPortIndexOutput] = false; in onStart()
586 BufferInfo *info = findBufferByID(kPortIndexOutput, bufferID); in onOutputBufferDrained()
643 for (size_t i = 0; i < mBuffers[kPortIndexOutput].size(); ++i) { in onFlush()
644 BufferInfo *info = &mBuffers[kPortIndexOutput].editItemAt(i); in onFlush()
650 mPortEOS[kPortIndexOutput] = false; in onFlush()
726 Vector<BufferInfo> *outputBufs = &mBuffers[kPortIndexOutput]; in onSignalEndOfInputStream()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp51 static const OMX_U32 kPortIndexOutput = 1; variable
97 mOutputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexOutput]
109 mCopyFromOmx(portIndex == kPortIndexOutput && copy), in BufferMeta()
209 case kPortIndexOutput: return "Output"; in portString()
715 if (portIndex == kPortIndexOutput) { in setPortMode()
762 if (portIndex != kPortIndexOutput) { in setPortMode()
915 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in storeMetaDataInBuffers_l()
965 if (err == OMX_ErrorUnsupportedIndex && portIndex == kPortIndexOutput) { in storeMetaDataInBuffers_l()
1205 bool isOutputGraphicMetadata = (portIndex == kPortIndexOutput) && in useBuffer_l()
1420 if (portIndex != kPortIndexOutput) { in useGraphicBufferWithMetadata_l()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h145 kPortIndexOutput = 1 enumerator
330 return (mPortMode[kPortIndexOutput] == IOMX::kPortModeDynamicANWBuffer) && !mIsEncoder; in storingMetadataInDecodedBuffers()
334 return (mPortMode[kPortIndexOutput] == IOMX::kPortModePresetSecureBuffer) && mIsEncoder; in usingSecureBufferOnEncoderOutput()
DMediaFilter.h92 kPortIndexOutput = 1 enumerator
DMediaCodec.h228 kPortIndexOutput = 1, enumerator