Home
last modified time | relevance | path

Searched refs:kPortIndexInput (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp211 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
212 const bool isInput = portIndex == kPortIndexInput; in allocateBuffersOnPort()
251 if (portIndex == kPortIndexInput) { in allocateBuffersOnPort()
281 if (mPortEOS[kPortIndexInput]) { in postFillThisBuffer()
319 if (mPortEOS[kPortIndexInput]) { in requestFillEmptyInput()
323 for (size_t i = 0; i < mBuffers[kPortIndexInput].size(); ++i) { in requestFillEmptyInput()
324 BufferInfo *info = &mBuffers[kPortIndexInput].editItemAt(i); in requestFillEmptyInput()
489 allocateBuffersOnPort(kPortIndexInput); in onStart()
502 mPortEOS[kPortIndexInput] = false; in onStart()
514 BufferInfo *info = findBufferByID(kPortIndexInput, bufferID); in onInputBufferFilled()
[all …]
/frameworks/av/media/libstagefright/
DACodec.cpp593 mPortEOS[kPortIndexInput] = mPortEOS[kPortIndexOutput] = false; in ACodec()
596 mPortMode[kPortIndexInput] = IOMX::kPortModePresetByteBuffer; in ACodec()
701 if (mPortEOS[kPortIndexInput] && !mPortEOS[kPortIndexOutput] && in signalSubmitOutputMetadataBufferIfEOS_workaround()
725 if (mBuffers[kPortIndexInput].size() == 0) { in handleSetSurface()
843 portIndex == kPortIndexInput ? "input" : "output", in setPortMode()
854 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort()
891 if (portIndex == kPortIndexInput) { in allocateBuffersOnPort()
906 portIndex == kPortIndexInput ? "input" : "output"); in allocateBuffersOnPort()
935 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
1037 if (portIndex == kPortIndexInput) { in allocateBuffersOnPort()
[all …]
DMediaCodec.cpp1280 return hasPendingBuffer(kPortIndexInput) || hasPendingBuffer(kPortIndexOutput); in hasPendingBuffer()
1553 msg->setInt32("portIndex", kPortIndexInput); in getInputBuffers()
1581 return getBufferAndFormat(kPortIndexInput, index, buffer, &format); in getInputBuffer()
1715 ssize_t index = dequeuePortBuffer(kPortIndexInput); in handleDequeueInputBuffer()
2130 /* size_t index = */updateBuffers(kPortIndexInput, msg); in onMessageReceived()
2135 returnBuffersToCodecOnPort(kPortIndexInput); in onMessageReceived()
2140 ssize_t index = dequeuePortBuffer(kPortIndexInput); in onMessageReceived()
2910 if (portIndex != kPortIndexInput || !mHaveInputSurface) { in onMessageReceived()
2911 if (portIndex == kPortIndexInput) { in onMessageReceived()
3060 const BufferInfo &info = mPortBuffers[kPortIndexInput][bufferIndex]; in queueCSDInputBuffer()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp50 static const OMX_U32 kPortIndexInput = 0; variable
96 mInputBuffersWithCodec.size(), mNumPortBuffers[kPortIndexInput], \
110 mCopyToOmx(portIndex == kPortIndexInput && copy), in BufferMeta()
208 case kPortIndexInput: return "Input"; in portString()
737 if (portIndex != kPortIndexInput) { in setPortMode()
915 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in storeMetaDataInBuffers_l()
1210 (portIndex == kPortIndexInput) in useBuffer_l()
1275 if (bufferSource != NULL && portIndex == kPortIndexInput) { in useBuffer_l()
1449 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateGraphicBufferInMeta_l()
1489 if (portIndex != kPortIndexInput && portIndex != kPortIndexOutput) { in updateNativeHandleInMeta_l()
[all …]
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp36 static const OMX_U32 kPortIndexInput = 0; variable
166 def.nPortIndex = kPortIndexInput; in configure()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaFilter.h91 kPortIndexInput = 0, enumerator
DMediaCodec.h227 kPortIndexInput = 0, enumerator
DACodec.h144 kPortIndexInput = 0, enumerator