Searched refs:kPortIndexOutput (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 541 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 …]
|
D | MediaCodec.cpp | 628 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/ |
D | MediaFilter.cpp | 229 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/ |
D | OMXNodeInstance.cpp | 43 static const OMX_U32 kPortIndexOutput = 1; variable 89 mOutputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexOutput] 186 case kPortIndexOutput: return "Output"; in portString() 537 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in storeMetaDataInBuffers_l() 584 if (err == OMX_ErrorUnsupportedIndex && portIndex == kPortIndexOutput) { in storeMetaDataInBuffers_l() 860 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateGraphicBufferInMeta_l() 904 portIndex == kPortIndexOutput /* updateCodecBuffer */); in updateGraphicBufferInMeta() 917 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateNativeHandleInMeta() 1209 OMX_BUFFERHEADERTYPE *header = findBufferHeader(buffer, kPortIndexOutput); in fillBuffer() 1219 status_t res = storeFenceInMeta_l(header, fenceFd, kPortIndexOutput); in fillBuffer() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | MediaFilter.h | 112 kPortIndexOutput = 1 enumerator
|
D | MediaCodec.h | 206 kPortIndexOutput = 1, enumerator
|
D | ACodec.h | 160 kPortIndexOutput = 1 enumerator
|