/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 96 BufferMeta(const sp<IMemory> &mem, OMX_U32 portIndex, bool is_backup = false) in BufferMeta() 99 mPortIndex(portIndex) { in BufferMeta() 102 BufferMeta(size_t size, OMX_U32 portIndex) in BufferMeta() 105 mPortIndex(portIndex) { in BufferMeta() 108 BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) in BufferMeta() 111 mPortIndex(portIndex) { in BufferMeta() 183 static inline const char *portString(OMX_U32 portIndex) { in portString() argument 184 switch (portIndex) { in portString() 450 OMX_U32 portIndex, OMX_BOOL graphic, OMX_BOOL enable) { in enableNativeBuffers() argument 452 CLOG_CONFIG(enableNativeBuffers, "%s:%u%s, %d", portString(portIndex), portIndex, in enableNativeBuffers() [all …]
|
D | SimpleSoftOMXComponent.cpp | 75 OMX_U32 portIndex; in isSetParameterAllowed() local 80 portIndex = ((OMX_PARAM_PORTDEFINITIONTYPE *)params)->nPortIndex; in isSetParameterAllowed() 86 portIndex = ((OMX_AUDIO_PARAM_PCMMODETYPE *)params)->nPortIndex; in isSetParameterAllowed() 92 portIndex = ((OMX_AUDIO_PARAM_AACPROFILETYPE *)params)->nPortIndex; in isSetParameterAllowed() 100 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed() 102 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed() 195 OMX_U32 portIndex, in useBuffer() argument 200 CHECK_LT(portIndex, mPorts.size()); in useBuffer() 221 (*header)->nOutputPortIndex = portIndex; in useBuffer() 222 (*header)->nInputPortIndex = portIndex; in useBuffer() [all …]
|
D | SoftOMXComponent.cpp | 187 OMX_U32 portIndex, in UseBufferWrapper() argument 195 return me->useBuffer(buffer, portIndex, appPrivate, size, ptr); in UseBufferWrapper() 202 OMX_U32 portIndex, in AllocateBufferWrapper() argument 209 return me->allocateBuffer(buffer, portIndex, appPrivate, size); in AllocateBufferWrapper() 215 OMX_U32 portIndex, in FreeBufferWrapper() argument 221 return me->freeBuffer(portIndex, buffer); in FreeBufferWrapper()
|
/frameworks/av/media/libstagefright/include/ |
D | OMXNodeInstance.h | 55 status_t enableNativeBuffers(OMX_U32 portIndex, OMX_BOOL graphic, OMX_BOOL enable); 57 status_t getGraphicBufferUsage(OMX_U32 portIndex, OMX_U32* usage); 60 OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type); 63 OMX_U32 portIndex, OMX_BOOL enable, 67 OMX_U32 portIndex, OMX_BOOL tunneled, 71 OMX_U32 portIndex, const sp<IMemory> ¶ms, 75 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 79 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 83 OMX_U32 portIndex, const sp<NativeHandle> &nativeHandle, 87 OMX_U32 portIndex, android_dataspace dataSpace, [all …]
|
D | SimpleSoftOMXComponent.h | 74 virtual void onQueueFilled(OMX_U32 portIndex); 75 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex); 77 virtual void onPortFlushCompleted(OMX_U32 portIndex); 78 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); 81 PortInfo *editPortInfo(OMX_U32 portIndex); 114 OMX_U32 portIndex, 121 OMX_U32 portIndex, 126 OMX_U32 portIndex, 139 void onPortEnable(OMX_U32 portIndex, bool enable); 140 void onPortFlush(OMX_U32 portIndex, bool sendFlushComplete);
|
D | SoftOMXComponent.h | 75 OMX_U32 portIndex, 82 OMX_U32 portIndex, 87 OMX_U32 portIndex, 139 OMX_U32 portIndex, 147 OMX_U32 portIndex, 153 OMX_U32 portIndex,
|
/frameworks/av/include/media/stagefright/ |
D | ACodec.h | 214 void dumpBuffers(OMX_U32 portIndex); 311 status_t allocateBuffersOnPort(OMX_U32 portIndex); 312 status_t freeBuffersOnPort(OMX_U32 portIndex); 313 status_t freeBuffer(OMX_U32 portIndex, size_t i); 340 uint32_t portIndex, IOMX::buffer_id bufferID, 354 OMX_U32 portIndex, 370 OMX_U32 portIndex, 435 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat); 444 status_t getHDRStaticInfoForVideoCodec(OMX_U32 portIndex, sp<AMessage> &format); 466 OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat); [all …]
|
D | MediaCodec.h | 362 void returnBuffersToCodecOnPort(int32_t portIndex, bool isReclaim = false); 363 size_t updateBuffers(int32_t portIndex, const sp<AMessage> &msg); 366 ssize_t dequeuePortBuffer(int32_t portIndex); 369 size_t portIndex, size_t index, 399 bool hasPendingBuffer(int portIndex);
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 228 status_t MediaFilter::allocateBuffersOnPort(OMX_U32 portIndex) { in allocateBuffersOnPort() argument 229 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort() 230 const bool isInput = portIndex == kPortIndexInput; in allocateBuffersOnPort() 233 CHECK(mDealer[portIndex] == NULL); in allocateBuffersOnPort() 234 CHECK(mBuffers[portIndex].isEmpty()); in allocateBuffersOnPort() 242 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter"); in allocateBuffersOnPort() 245 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize); in allocateBuffersOnPort() 256 mBuffers[portIndex].push_back(info); in allocateBuffersOnPort() 260 &mBuffers[portIndex].editItemAt(i)); in allocateBuffersOnPort() 267 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.h | 42 virtual void onQueueFilled(OMX_U32 portIndex); 43 virtual void onPortFlushCompleted(OMX_U32 portIndex); 44 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.h | 43 virtual void onQueueFilled(OMX_U32 portIndex); 44 virtual void onPortFlushCompleted(OMX_U32 portIndex); 45 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
D | SoftVorbis.cpp | 263 void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { in onQueueFilled() argument 271 if (portIndex == 0 && mInputBufferCount < 2) { in onQueueFilled() 460 void SoftVorbis::onPortFlushCompleted(OMX_U32 portIndex) { in onPortFlushCompleted() argument 461 if (portIndex == 0 && mState != NULL) { in onPortFlushCompleted() 494 void SoftVorbis::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { in onPortEnableCompleted() argument 495 if (portIndex != 1) { in onPortEnableCompleted()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.h | 40 virtual void onQueueFilled(OMX_U32 portIndex); 41 virtual void onPortFlushCompleted(OMX_U32 portIndex); 42 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
D | SoftAMR.cpp | 492 void SoftAMR::onPortFlushCompleted(OMX_U32 portIndex) { in onPortFlushCompleted() argument 493 ALOGV("onPortFlushCompleted portindex %d, resetting frame ", portIndex); in onPortFlushCompleted() 494 if (portIndex == 0) { in onPortFlushCompleted() 503 void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { in onPortEnableCompleted() argument 504 if (portIndex != 1) { in onPortEnableCompleted()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.h | 57 virtual void onQueueFilled(OMX_U32 portIndex); 58 virtual void onPortFlushCompleted(OMX_U32 portIndex); 59 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
D | SoftOpus.cpp | 338 void SoftOpus::onQueueFilled(OMX_U32 portIndex) { in onQueueFilled() argument 346 if (portIndex == 0 && mInputBufferCount < 3) { in onQueueFilled() 517 void SoftOpus::onPortFlushCompleted(OMX_U32 portIndex) { in onPortFlushCompleted() argument 518 if (portIndex == 0 && mDecoder != NULL) { in onPortFlushCompleted() 543 void SoftOpus::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { in onPortEnableCompleted() argument 544 if (portIndex != 1) { in onPortEnableCompleted()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.h | 42 virtual void onQueueFilled(OMX_U32 portIndex); 43 virtual void onPortFlushCompleted(OMX_U32 portIndex); 44 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 616 bool MediaCodec::hasPendingBuffer(int portIndex) { in hasPendingBuffer() argument 617 const Vector<BufferInfo> &buffers = mPortBuffers[portIndex]; in hasPendingBuffer() 911 size_t portIndex, size_t index, in getBufferAndFormat() argument 941 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; in getBufferAndFormat() 956 *buffer = (portIndex == kPortIndexInput && mCrypto != NULL) ? in getBufferAndFormat() 1337 int32_t portIndex; in onMessageReceived() local 1338 CHECK(msg->findInt32("portIndex", &portIndex)); in onMessageReceived() 1341 portIndex == kPortIndexInput ? "input" : "output"); in onMessageReceived() 1343 CHECK(portIndex == kPortIndexInput in onMessageReceived() 1344 || portIndex == kPortIndexOutput); in onMessageReceived() [all …]
|
D | ACodec.cpp | 230 virtual PortMode getPortMode(OMX_U32 portIndex); 373 virtual PortMode getPortMode(OMX_U32 portIndex); 392 virtual PortMode getPortMode(OMX_U32 portIndex); 777 status_t ACodec::allocateBuffersOnPort(OMX_U32 portIndex) { in allocateBuffersOnPort() argument 778 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort() 780 CHECK(mDealer[portIndex] == NULL); in allocateBuffersOnPort() 781 CHECK(mBuffers[portIndex].isEmpty()); in allocateBuffersOnPort() 784 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) { in allocateBuffersOnPort() 793 def.nPortIndex = portIndex; in allocateBuffersOnPort() 800 portIndex == kPortIndexOutput ? mOutputMetadataType : mInputMetadataType; in allocateBuffersOnPort() [all …]
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
D | SoftGSM.h | 44 virtual void onQueueFilled(OMX_U32 portIndex); 46 virtual void onPortFlushCompleted(OMX_U32 portIndex);
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
D | SoftVPX.h | 40 virtual void onQueueFilled(OMX_U32 portIndex); 41 virtual void onPortFlushCompleted(OMX_U32 portIndex);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
D | SoftMPEG4.h | 40 virtual void onQueueFilled(OMX_U32 portIndex); 41 virtual void onPortFlushCompleted(OMX_U32 portIndex);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
D | SoftAVC.h | 38 virtual void onQueueFilled(OMX_U32 portIndex); 39 virtual void onPortFlushCompleted(OMX_U32 portIndex);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.h | 61 virtual void onQueueFilled(OMX_U32 portIndex); 62 virtual void onPortFlushCompleted(OMX_U32 portIndex);
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.h | 56 IOMX::node_id node, OMX_U32 portIndex, 61 IOMX::node_id node, OMX_U32 portIndex,
|