Searched refs:kPortIndexOutput (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 596 mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false; in ACodec() 600 mPortMode[kPortIndexOutput] = IOMX::kPortModePresetByteBuffer; in ACodec() 704 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] && in signalSubmitOutputMetadataBufferIfEOS_workaround() 773 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 …]
|
D | MediaCodec.cpp | 1270 return hasPendingBuffer(kPortIndexInput) || hasPendingBuffer(kPortIndexOutput); in hasPendingBuffer() 1552 msg->setInt32("portIndex", kPortIndexOutput); in getOutputBuffers() 1561 return getBufferAndFormat(kPortIndexOutput, index, buffer, &format); in getOutputBuffer() 1566 return getBufferAndFormat(kPortIndexOutput, index, &buffer, format); in getOutputFormat() 1731 ssize_t index = dequeuePortBuffer(kPortIndexOutput); in handleDequeueOutputBuffer() 1739 mPortBuffers[kPortIndexOutput][index].mData; in handleDequeueOutputBuffer() 2148 /* size_t index = */updateBuffers(kPortIndexOutput, msg); in onMessageReceived() 2153 returnBuffersToCodecOnPort(kPortIndexOutput); in onMessageReceived() 3080 returnBuffersToCodecOnPort(kPortIndexOutput, isReclaim); in returnBuffersToCodec() 3084 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in returnBuffersToCodecOnPort() [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 211 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/ |
D | OMXNodeInstance.cpp | 49 static const OMX_U32 kPortIndexOutput = 1; variable 95 mOutputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexOutput] 107 mCopyFromOmx(portIndex == kPortIndexOutput && copy), in BufferMeta() 207 case kPortIndexOutput: return "Output"; in portString() 693 if (portIndex == kPortIndexOutput) { in setPortMode() 740 if (portIndex != kPortIndexOutput) { in setPortMode() 890 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in storeMetaDataInBuffers_l() 940 if (err == OMX_ErrorUnsupportedIndex && portIndex == kPortIndexOutput) { in storeMetaDataInBuffers_l() 1167 bool isOutputGraphicMetadata = (portIndex == kPortIndexOutput) && in useBuffer_l() 1382 if (portIndex != kPortIndexOutput) { in useGraphicBufferWithMetadata_l() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ACodec.h | 144 kPortIndexOutput = 1 enumerator 326 return (mPortMode[kPortIndexOutput] == IOMX::kPortModeDynamicANWBuffer) && !mIsEncoder; in storingMetadataInDecodedBuffers() 330 return (mPortMode[kPortIndexOutput] == IOMX::kPortModePresetSecureBuffer) && mIsEncoder; in usingSecureBufferOnEncoderOutput()
|
D | MediaFilter.h | 92 kPortIndexOutput = 1 enumerator
|
D | MediaCodec.h | 228 kPortIndexOutput = 1, enumerator
|