Home
last modified time | relevance | path

Searched refs:portIndex (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp106 OMX_U32 portIndex, bool copy, OMX_U8 *backup) in BufferMeta()
109 mCopyFromOmx(portIndex == kPortIndexOutput && copy), in BufferMeta()
110 mCopyToOmx(portIndex == kPortIndexInput && copy), in BufferMeta()
111 mPortIndex(portIndex), in BufferMeta()
115 explicit BufferMeta(OMX_U32 portIndex) in BufferMeta()
118 mPortIndex(portIndex), in BufferMeta()
122 explicit BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) in BufferMeta()
126 mPortIndex(portIndex), in BufferMeta()
206 static inline const char *portString(OMX_U32 portIndex) { in portString() argument
207 switch (portIndex) { in portString()
[all …]
DSimpleSoftOMXComponent.cpp75 OMX_U32 portIndex; in isSetParameterAllowed() local
85 portIndex = portDefs->nPortIndex; in isSetParameterAllowed()
96 portIndex = pcmMode->nPortIndex; in isSetParameterAllowed()
107 portIndex = aacMode->nPortIndex; in isSetParameterAllowed()
115 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed()
117 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed()
225 OMX_U32 portIndex, in useBuffer() argument
230 CHECK_LT(portIndex, mPorts.size()); in useBuffer()
232 PortInfo *port = &mPorts.editItemAt(portIndex); in useBuffer()
258 (*header)->nOutputPortIndex = portIndex; in useBuffer()
[all …]
DSoftOMXComponent.cpp186 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/
DOMXNodeInstance.h63 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 …]
DSimpleSoftOMXComponent.h85 virtual void onQueueFilled(OMX_U32 portIndex);
86 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
88 virtual void onPortFlushCompleted(OMX_U32 portIndex);
89 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
92 PortInfo *editPortInfo(OMX_U32 portIndex);
129 OMX_U32 portIndex,
136 OMX_U32 portIndex,
141 OMX_U32 portIndex,
154 void onPortEnable(OMX_U32 portIndex, bool enable);
155 void onPortFlush(OMX_U32 portIndex, bool sendFlushComplete);
DSoftOMXComponent.h78 OMX_U32 portIndex,
85 OMX_U32 portIndex,
90 OMX_U32 portIndex,
142 OMX_U32 portIndex,
150 OMX_U32 portIndex,
156 OMX_U32 portIndex,
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp98 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/
DWOmxNode.cpp101 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/
DACodec.h200 void dumpBuffers(OMX_U32 portIndex);
308 status_t allocateBuffersOnPort(OMX_U32 portIndex);
309 status_t freeBuffersOnPort(OMX_U32 portIndex);
310 status_t freeBuffer(OMX_U32 portIndex, size_t i);
313 status_t setPortMode(int32_t portIndex, IOMX::PortMode mode);
338 uint32_t portIndex, IOMX::buffer_id bufferID,
351 OMX_U32 portIndex,
367 OMX_U32 portIndex,
373 status_t setPortBufferNum(OMX_U32 portIndex, int bufferNum);
441 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
[all …]
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h78 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/
DWOmxNode.h79 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/
DMediaFilter.cpp210 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/codec2/sfplugin/
DC2OMXNode.cpp253 status_t C2OMXNode::setPortMode(OMX_U32 portIndex, IOMX::PortMode mode) { in setPortMode() argument
254 (void)portIndex; in setPortMode()
260 OMX_U32 portIndex, OMX_BOOL enable, in prepareForAdaptivePlayback() argument
262 (void)portIndex; in prepareForAdaptivePlayback()
270 OMX_U32 portIndex, OMX_BOOL tunneled, in configureVideoTunnelMode() argument
272 (void)portIndex; in configureVideoTunnelMode()
279 status_t C2OMXNode::getGraphicBufferUsage(OMX_U32 portIndex, OMX_U32* usage) { in getGraphicBufferUsage() argument
280 (void)portIndex; in getGraphicBufferUsage()
297 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() argument
299 (void)portIndex; in allocateSecureBuffer()
[all …]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.h43 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/amrnb/dec/
DSoftAMR.h40 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/mp3dec/
DSoftMP3.h42 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/flac/dec/
DSoftFlacDecoder.h42 virtual void onQueueFilled(OMX_U32 portIndex);
43 virtual void onPortFlushCompleted(OMX_U32 portIndex) override;
44 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled) override;
DSoftFlacDecoder.cpp436 void SoftFlacDecoder::onPortFlushCompleted(OMX_U32 portIndex) { in onPortFlushCompleted() argument
437 ALOGV("onPortFlushCompleted: portIndex(%u)", portIndex); in onPortFlushCompleted()
438 if (portIndex == 0) { in onPortFlushCompleted()
460 void SoftFlacDecoder::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { in onPortEnableCompleted() argument
461 ALOGV("onPortEnableCompleted: portIndex(%u), enabled(%d)", portIndex, enabled); in onPortEnableCompleted()
462 if (portIndex != 1) { in onPortEnableCompleted()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.h57 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/
DSoftAAC2.h42 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/
DACodec.cpp270 virtual PortMode getPortMode(OMX_U32 portIndex);
422 virtual PortMode getPortMode(OMX_U32 portIndex);
441 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/
DSoftXAAC.h57 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/gsm/dec/
DSoftGSM.h44 virtual void onQueueFilled(OMX_U32 portIndex);
46 virtual void onPortFlushCompleted(OMX_U32 portIndex);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.h40 virtual void onQueueFilled(OMX_U32 portIndex);
41 virtual void onPortFlushCompleted(OMX_U32 portIndex);
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.h42 virtual void onQueueFilled(OMX_U32 portIndex);
43 virtual void onPortFlushCompleted(OMX_U32 portIndex);

123