/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 104 OMX_U32 portIndex, bool copy, OMX_U8 *backup) in BufferMeta() 107 mCopyFromOmx(portIndex == kPortIndexOutput && copy), in BufferMeta() 108 mCopyToOmx(portIndex == kPortIndexInput && copy), in BufferMeta() 109 mPortIndex(portIndex), in BufferMeta() 113 explicit BufferMeta(OMX_U32 portIndex) in BufferMeta() 116 mPortIndex(portIndex), in BufferMeta() 120 explicit BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) in BufferMeta() 124 mPortIndex(portIndex), in BufferMeta() 204 static inline const char *portString(OMX_U32 portIndex) { in portString() argument 205 switch (portIndex) { in portString() [all …]
|
D | SimpleSoftOMXComponent.cpp | 74 OMX_U32 portIndex; in isSetParameterAllowed() local 84 portIndex = portDefs->nPortIndex; in isSetParameterAllowed() 95 portIndex = pcmMode->nPortIndex; in isSetParameterAllowed() 106 portIndex = aacMode->nPortIndex; in isSetParameterAllowed() 114 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed() 116 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed() 209 OMX_U32 portIndex, in useBuffer() argument 214 CHECK_LT(portIndex, mPorts.size()); in useBuffer() 216 PortInfo *port = &mPorts.editItemAt(portIndex); in useBuffer() 242 (*header)->nOutputPortIndex = portIndex; in useBuffer() [all …]
|
D | SoftOMXComponent.cpp | 186 OMX_U32 portIndex, in UseBufferWrapper() argument 194 return me->useBuffer(buffer, portIndex, appPrivate, size, ptr); in UseBufferWrapper() 201 OMX_U32 portIndex, in AllocateBufferWrapper() argument 208 return me->allocateBuffer(buffer, portIndex, appPrivate, size); in AllocateBufferWrapper() 214 OMX_U32 portIndex, in FreeBufferWrapper() argument 220 return me->freeBuffer(portIndex, buffer); in FreeBufferWrapper()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 63 status_t getGraphicBufferUsage(OMX_U32 portIndex, OMX_U32* usage); 66 OMX_U32 portIndex, OMX_BOOL enable, 70 OMX_U32 portIndex, OMX_BOOL tunneled, 77 OMX_U32 portIndex, size_t size, IOMX::buffer_id *buffer, 81 OMX_U32 portIndex, const OMXBuffer &omxBuf, buffer_id *buffer); 84 OMX_U32 portIndex, buffer_id buffer); 184 void unbumpDebugLevel_l(size_t portIndex); 188 void addActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id); 189 void removeActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id); 194 OMX_BUFFERHEADERTYPE *findBufferHeader(IOMX::buffer_id buffer, OMX_U32 portIndex); [all …]
|
D | SimpleSoftOMXComponent.h | 79 virtual void onQueueFilled(OMX_U32 portIndex); 80 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex); 82 virtual void onPortFlushCompleted(OMX_U32 portIndex); 83 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled); 86 PortInfo *editPortInfo(OMX_U32 portIndex); 119 OMX_U32 portIndex, 126 OMX_U32 portIndex, 131 OMX_U32 portIndex, 144 void onPortEnable(OMX_U32 portIndex, bool enable); 145 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/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 98 OMX_U32 portIndex, OMX_BOOL enable, in prepareForAdaptivePlayback() argument 101 portIndex, toRawBool(enable), maxFrameWidth, maxFrameHeight)); in prepareForAdaptivePlayback() 105 OMX_U32 portIndex, OMX_BOOL tunneled, in configureVideoTunnelMode() argument 109 portIndex, in configureVideoTunnelMode() 122 OMX_U32 portIndex, OMX_U32* usage) { in getGraphicBufferUsage() argument 125 portIndex, in getGraphicBufferUsage() 141 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() argument 146 portIndex, in allocateSecureBuffer() 162 OMX_U32 portIndex, const OMXBuffer &omxBuffer, buffer_id *buffer) { in useBuffer() argument 169 portIndex, in useBuffer() [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 101 OMX_U32 portIndex, OMX_BOOL enable, in prepareForAdaptivePlayback() argument 104 portIndex, toRawBool(enable), maxFrameWidth, maxFrameHeight)); in prepareForAdaptivePlayback() 108 OMX_U32 portIndex, OMX_BOOL tunneled, in configureVideoTunnelMode() argument 112 portIndex, in configureVideoTunnelMode() 125 OMX_U32 portIndex, OMX_U32* usage) { in getGraphicBufferUsage() argument 128 portIndex, in getGraphicBufferUsage() 144 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() argument 149 portIndex, in allocateSecureBuffer() 165 OMX_U32 portIndex, const OMXBuffer &omxBuffer, buffer_id *buffer) { in useBuffer() argument 172 portIndex, in useBuffer() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ACodec.h | 199 void dumpBuffers(OMX_U32 portIndex); 304 status_t allocateBuffersOnPort(OMX_U32 portIndex); 305 status_t freeBuffersOnPort(OMX_U32 portIndex); 306 status_t freeBuffer(OMX_U32 portIndex, size_t i); 309 status_t setPortMode(int32_t portIndex, IOMX::PortMode mode); 334 uint32_t portIndex, IOMX::buffer_id bufferID, 347 OMX_U32 portIndex, 363 OMX_U32 portIndex, 369 status_t setPortBufferNum(OMX_U32 portIndex, int bufferNum); 432 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat); [all …]
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | WOmxNode.h | 78 OMX_U32 portIndex, OMX_BOOL enable, 81 OMX_U32 portIndex, OMX_BOOL tunneled, 123 Return<Status> setPortMode(uint32_t portIndex, PortMode mode) override; 125 uint32_t portIndex, bool enable, 128 uint32_t portIndex, bool tunneled, uint32_t audioHwSync, 131 uint32_t portIndex, 136 uint32_t portIndex, uint64_t size, 139 uint32_t portIndex, CodecBuffer const& codecBuffer, 141 Return<Status> freeBuffer(uint32_t portIndex, uint32_t buffer) override;
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | WOmxNode.h | 79 OMX_U32 portIndex, OMX_BOOL enable, 82 OMX_U32 portIndex, OMX_BOOL tunneled, 124 Return<Status> setPortMode(uint32_t portIndex, PortMode mode) override; 126 uint32_t portIndex, bool enable, 129 uint32_t portIndex, bool tunneled, uint32_t audioHwSync, 132 uint32_t portIndex, 137 uint32_t portIndex, uint64_t size, 140 uint32_t portIndex, CodecBuffer const& codecBuffer, 142 Return<Status> freeBuffer(uint32_t portIndex, uint32_t buffer) override;
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 210 status_t MediaFilter::allocateBuffersOnPort(OMX_U32 portIndex) { in allocateBuffersOnPort() argument 211 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort() 212 const bool isInput = portIndex == kPortIndexInput; in allocateBuffersOnPort() 215 CHECK(mDealer[portIndex] == NULL); in allocateBuffersOnPort() 216 CHECK(mBuffers[portIndex].isEmpty()); in allocateBuffersOnPort() 224 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter"); in allocateBuffersOnPort() 227 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize); in allocateBuffersOnPort() 239 mBuffers[portIndex].push_back(info); in allocateBuffersOnPort() 243 &mBuffers[portIndex].editItemAt(i)); in allocateBuffersOnPort() 247 std::vector<ACodecBufferChannel::BufferAndId> array(mBuffers[portIndex].size()); in allocateBuffersOnPort() [all …]
|
/frameworks/av/media/libstagefright/codecs/flac/dec/ |
D | SoftFlacDecoder.h | 42 virtual void onQueueFilled(OMX_U32 portIndex); 43 virtual void onPortFlushCompleted(OMX_U32 portIndex) override; 44 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled) override;
|
D | SoftFlacDecoder.cpp | 419 void SoftFlacDecoder::onPortFlushCompleted(OMX_U32 portIndex) { in onPortFlushCompleted() argument 420 ALOGV("onPortFlushCompleted: portIndex(%u)", portIndex); in onPortFlushCompleted() 421 if (portIndex == 0) { in onPortFlushCompleted() 443 void SoftFlacDecoder::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { in onPortEnableCompleted() argument 444 ALOGV("onPortEnableCompleted: portIndex(%u), enabled(%d)", portIndex, enabled); in onPortEnableCompleted() 445 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);
|
/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);
|
/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/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);
|
/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 | ACodec.cpp | 273 virtual PortMode getPortMode(OMX_U32 portIndex); 425 virtual PortMode getPortMode(OMX_U32 portIndex); 444 virtual PortMode getPortMode(OMX_U32 portIndex); 838 status_t ACodec::setPortMode(int32_t portIndex, IOMX::PortMode mode) { in setPortMode() argument 839 status_t err = mOMXNode->setPortMode(portIndex, mode); in setPortMode() 843 portIndex == kPortIndexInput ? "input" : "output", in setPortMode() 849 mPortMode[portIndex] = mode; in setPortMode() 853 status_t ACodec::allocateBuffersOnPort(OMX_U32 portIndex) { in allocateBuffersOnPort() argument 854 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput); in allocateBuffersOnPort() 856 CHECK(mAllocator[portIndex] == NULL); in allocateBuffersOnPort() [all …]
|
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
D | SoftXAAC.h | 59 virtual void onQueueFilled(OMX_U32 portIndex); 60 virtual void onPortFlushCompleted(OMX_U32 portIndex); 61 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
|
/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/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/dec/ |
D | SoftVPX.h | 40 virtual void onQueueFilled(OMX_U32 portIndex); 41 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);
|