Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DACodec.cpp541 mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false; in ACodec()
641 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] && in signalSubmitOutputMetadataBufferIfEOS_workaround()
711 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput]; in handleSetSurface()
778 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
784 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) { in allocateBuffersOnPort()
800 portIndex == kPortIndexOutput ? mOutputMetadataType : mInputMetadataType; in allocateBuffersOnPort()
958 def.nPortIndex = kPortIndexOutput; in setupNativeWindowSizeFormatAndUsage()
968 err = mOMX->getGraphicBufferUsage(mNode, kPortIndexOutput, &usage); in setupNativeWindowSizeFormatAndUsage()
1003 def.nPortIndex = kPortIndexOutput; in configureOutputBuffersFromNativeWindow()
1125 mBuffers[kPortIndexOutput].push(info); in allocateOutputBuffersFromNativeWindow()
[all …]
DMediaCodec.cpp628 return hasPendingBuffer(kPortIndexInput) || hasPendingBuffer(kPortIndexOutput); in hasPendingBuffer()
884 msg->setInt32("portIndex", kPortIndexOutput); in getOutputBuffers()
893 return getBufferAndFormat(kPortIndexOutput, index, buffer, &format); in getOutputBuffer()
898 return getBufferAndFormat(kPortIndexOutput, index, &buffer, format); in getOutputFormat()
1042 ssize_t index = dequeuePortBuffer(kPortIndexOutput); in handleDequeueOutputBuffer()
1050 mPortBuffers[kPortIndexOutput].itemAt(index).mData; in handleDequeueOutputBuffer()
1344 || portIndex == kPortIndexOutput); in onMessageReceived()
1387 if (portIndex == kPortIndexOutput) { in onMessageReceived()
1533 /* size_t index = */updateBuffers(kPortIndexOutput, msg); in onMessageReceived()
1538 returnBuffersToCodecOnPort(kPortIndexOutput); in onMessageReceived()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp229 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
397 if (mPortEOS[kPortIndexOutput]) { in processBuffers()
422 mPortEOS[kPortIndexOutput] = true; in processBuffers()
560 allocateBuffersOnPort(kPortIndexOutput); in onStart()
570 mPortEOS[kPortIndexOutput] = false; in onStart()
650 BufferInfo *info = findBufferByID(kPortIndexOutput, bufferID); in onOutputBufferDrained()
705 for (size_t i = 0; i < mBuffers[kPortIndexOutput].size(); ++i) { in onFlush()
706 BufferInfo *info = &mBuffers[kPortIndexOutput].editItemAt(i); in onFlush()
712 mPortEOS[kPortIndexOutput] = false; in onFlush()
792 Vector<BufferInfo> *outputBufs = &mBuffers[kPortIndexOutput]; in onSignalEndOfInputStream()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp43 static const OMX_U32 kPortIndexOutput = 1; variable
89 mOutputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexOutput]
200 case kPortIndexOutput: return "Output"; in portString()
629 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in storeMetaDataInBuffers_l()
676 if (err == OMX_ErrorUnsupportedIndex && portIndex == kPortIndexOutput) { in storeMetaDataInBuffers_l()
984 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateGraphicBufferInMeta_l()
1041 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateNativeHandleInMeta()
1305 (portIndex == kPortIndexOutput) && copy /* copyFromOmx */, in allocateBufferWithBackup()
1367 OMX_BUFFERHEADERTYPE *header = findBufferHeader(buffer, kPortIndexOutput); in fillBuffer()
1377 status_t res = storeFenceInMeta_l(header, fenceFd, kPortIndexOutput); in fillBuffer()
[all …]
/frameworks/av/include/media/stagefright/
DMediaFilter.h112 kPortIndexOutput = 1 enumerator
DMediaCodec.h206 kPortIndexOutput = 1, enumerator
DACodec.h160 kPortIndexOutput = 1 enumerator