Searched refs:portIndex (Results 1 - 25 of 46) sorted by last modified time

12

/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp222 void SoftVPX::onQueueFilled(OMX_U32 portIndex) { argument
328 void SoftVPX::onPortFlushCompleted(OMX_U32 portIndex) { argument
331 void SoftVPX::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
332 if (portIndex != 1) {
H A DSoftVPX.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/on2/h264dec/
H A DSoftAVC.cpp290 void SoftAVC::onQueueFilled(OMX_U32 portIndex) { argument
509 void SoftAVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
510 if (portIndex == kInputPortIndex) {
515 void SoftAVC::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
H A DSoftAVC.h46 virtual void onQueueFilled(OMX_U32 portIndex);
47 virtual void onPortFlushCompleted(OMX_U32 portIndex);
48 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp166 void SoftRaw::onQueueFilled(OMX_U32 portIndex) { argument
H A DSoftRaw.h42 virtual void onQueueFilled(OMX_U32 portIndex);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp244 void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { argument
252 if (portIndex == 0 && mInputBufferCount < 2) {
403 void SoftVorbis::onPortFlushCompleted(OMX_U32 portIndex) { argument
404 if (portIndex == 0 && mState != NULL) {
413 void SoftVorbis::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
414 if (portIndex != 1) {
H A 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/include/
H A DOMXNodeInstance.h54 status_t enableGraphicBuffers(OMX_U32 portIndex, OMX_BOOL enable);
56 status_t getGraphicBufferUsage(OMX_U32 portIndex, OMX_U32* usage);
58 status_t storeMetaDataInBuffers(OMX_U32 portIndex, OMX_BOOL enable);
61 OMX_U32 portIndex, const sp<IMemory> &params,
65 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
69 OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer,
73 OMX_U32 portIndex, const sp<IMemory> &params,
76 status_t freeBuffer(OMX_U32 portIndex, OMX::buffer_id buffer);
111 void addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id);
112 void removeActiveBuffer(OMX_U32 portIndex, OM
[all...]
H A DSimpleSoftOMXComponent.h69 virtual void onQueueFilled(OMX_U32 portIndex);
70 List<BufferInfo *> &getPortQueue(OMX_U32 portIndex);
72 virtual void onPortFlushCompleted(OMX_U32 portIndex);
73 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
75 PortInfo *editPortInfo(OMX_U32 portIndex);
108 OMX_U32 portIndex,
115 OMX_U32 portIndex,
120 OMX_U32 portIndex,
133 void onPortEnable(OMX_U32 portIndex, bool enable);
134 void onPortFlush(OMX_U32 portIndex, boo
[all...]
H A DSoftOMXComponent.h75 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/libstagefright/omx/
H A DOMXNodeInstance.cpp278 OMX_U32 portIndex, OMX_BOOL enable) {
299 sizeof(EnableAndroidNativeBuffersParams), ver, portIndex, enable,
315 OMX_U32 portIndex, OMX_U32* usage) {
337 sizeof(GetAndroidNativeBufferUsageParams), ver, portIndex, 0,
354 OMX_U32 portIndex,
375 params.nPortIndex = portIndex;
385 OMX_U32 portIndex, const sp<IMemory> &params,
394 mHandle, &header, portIndex, buffer_meta,
412 addActiveBuffer(portIndex, *buffer);
418 OMX_U32 portIndex, cons
277 enableGraphicBuffers( OMX_U32 portIndex, OMX_BOOL enable) argument
314 getGraphicBufferUsage( OMX_U32 portIndex, OMX_U32* usage) argument
353 storeMetaDataInBuffers( OMX_U32 portIndex, OMX_BOOL enable) argument
384 useBuffer( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer) argument
417 useGraphicBuffer2_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
471 useGraphicBuffer( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
533 allocateBuffer( OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, void **buffer_data) argument
566 allocateBufferWithBackup( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer) argument
598 freeBuffer( OMX_U32 portIndex, OMX::buffer_id buffer) argument
725 addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) argument
732 removeActiveBuffer( OMX_U32 portIndex, OMX::buffer_id id) argument
[all...]
H A DSimpleSoftOMXComponent.cpp75 OMX_U32 portIndex; local
80 portIndex = ((OMX_PARAM_PORTDEFINITIONTYPE *)params)->nPortIndex;
86 portIndex = ((OMX_AUDIO_PARAM_PCMMODETYPE *)params)->nPortIndex;
92 portIndex = ((OMX_AUDIO_PARAM_AACPROFILETYPE *)params)->nPortIndex;
100 CHECK(portIndex < mPorts.size());
102 return !mPorts.itemAt(portIndex).mDef.bEnabled;
187 OMX_U32 portIndex,
192 CHECK_LT(portIndex, mPorts.size());
213 (*header)->nOutputPortIndex = portIndex;
214 (*header)->nInputPortIndex = portIndex;
[all...]
H A DSoftOMXComponent.cpp187 OMX_U32 portIndex,
195 return me->useBuffer(buffer, portIndex, appPrivate, size, ptr);
202 OMX_U32 portIndex,
209 return me->allocateBuffer(buffer, portIndex, appPrivate, size);
215 OMX_U32 portIndex,
221 return me->freeBuffer(portIndex, buffer);
291 OMX_U32 portIndex,
300 OMX_U32 portIndex,
307 OMX_U32 portIndex,
184 UseBufferWrapper( OMX_HANDLETYPE component, OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size, OMX_U8 *ptr) argument
199 AllocateBufferWrapper( OMX_HANDLETYPE component, OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size) argument
213 FreeBufferWrapper( OMX_HANDLETYPE component, OMX_U32 portIndex, OMX_BUFFERHEADERTYPE *buffer) argument
289 useBuffer( OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size, OMX_U8 *ptr) argument
298 allocateBuffer( OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size) argument
306 freeBuffer( OMX_U32 portIndex, OMX_BUFFERHEADERTYPE *buffer) argument
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp157 IOMX::node_id node, OMX_U32 portIndex,
164 def->nPortIndex = portIndex;
179 IOMX::node_id node, OMX_U32 portIndex,
184 status_t err = getPortDefinition(node, portIndex, &def);
194 node, portIndex, buffer.mMemory, &buffer.mID);
156 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument
177 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument
H A DOMXHarness.h56 IOMX::node_id node, OMX_U32 portIndex,
61 IOMX::node_id node, OMX_U32 portIndex,
/frameworks/av/include/media/stagefright/
H A DACodec.h187 status_t allocateBuffersOnPort(OMX_U32 portIndex);
188 status_t freeBuffersOnPort(OMX_U32 portIndex);
189 status_t freeBuffer(OMX_U32 portIndex, size_t i);
197 uint32_t portIndex, IOMX::buffer_id bufferID,
204 OMX_U32 portIndex,
217 OMX_U32 portIndex,
227 OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat);
236 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
238 status_t setMinBufferSize(OMX_U32 portIndex, size_t size);
256 bool allYourBuffersAreBelongToUs(OMX_U32 portIndex);
[all...]
H A DMediaCodec.h211 void returnBuffersToCodecOnPort(int32_t portIndex);
212 size_t updateBuffers(int32_t portIndex, const sp<AMessage> &msg);
215 ssize_t dequeuePortBuffer(int32_t portIndex);
H A DOMXCodec.h254 OMX_U32 portIndex,
270 OMX_COLOR_FORMATTYPE colorFormat, int portIndex);
287 void setMinBufferSize(OMX_U32 portIndex, OMX_U32 size);
290 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
293 status_t allocateBuffersOnPort(OMX_U32 portIndex);
302 OMX_U32 portIndex, bool onlyThoseWeOwn = false);
304 status_t freeBuffer(OMX_U32 portIndex, size_t bufIndex);
323 bool flushPortAsync(OMX_U32 portIndex);
325 void disablePortAsync(OMX_U32 portIndex);
326 status_t enablePortAsync(OMX_U32 portIndex);
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp137 virtual PortMode getPortMode(OMX_U32 portIndex);
246 virtual PortMode getPortMode(OMX_U32 portIndex);
264 virtual PortMode getPortMode(OMX_U32 portIndex);
412 status_t ACodec::allocateBuffersOnPort(OMX_U32 portIndex) { argument
413 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
415 CHECK(mDealer[portIndex] == NULL);
416 CHECK(mBuffers[portIndex].isEmpty());
419 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) {
424 def.nPortIndex = portIndex;
700 freeBuffersOnPort(OMX_U32 portIndex) argument
728 freeBuffer(OMX_U32 portIndex, size_t i) argument
748 findBufferByID( uint32_t portIndex, IOMX::buffer_id bufferID, ssize_t *index) argument
1013 setMinBufferSize(OMX_U32 portIndex, size_t size) argument
1050 selectAudioPortFormat( OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat) argument
1287 setupRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument
1335 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument
1974 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat) argument
2035 allYourBuffersAreBelongToUs( OMX_U32 portIndex) argument
2381 getPortMode(OMX_U32 portIndex) argument
3371 getPortMode( OMX_U32 portIndex) argument
3543 getPortMode( OMX_U32 portIndex) argument
[all...]
H A DMediaCodec.cpp307 msg->setInt32("portIndex", kPortIndexInput);
316 msg->setInt32("portIndex", kPortIndexOutput);
567 int32_t portIndex; local
568 CHECK(msg->findInt32("portIndex", &portIndex));
571 portIndex == kPortIndexInput ? "input" : "output");
573 CHECK(portIndex == kPortIndexInput
574 || portIndex == kPortIndexOutput);
576 mPortBuffers[portIndex].clear();
578 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex];
1096 int32_t portIndex; local
1253 returnBuffersToCodecOnPort(int32_t portIndex) argument
1276 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument
1456 dequeuePortBuffer(int32_t portIndex) argument
[all...]
H A DOMXCodec.cpp607 void OMXCodec::setMinBufferSize(OMX_U32 portIndex, OMX_U32 size) { argument
610 def.nPortIndex = portIndex;
616 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus))
630 if (portIndex == kPortIndexInput
639 OMX_U32 portIndex,
644 format.nPortIndex = portIndex;
663 CODEC_LOGV("portIndex: %ld, index: %ld, eCompressionFormat=%d eColorFormat=%d",
664 portIndex,
737 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) {
745 portFormat.nPortIndex = portIndex;
638 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument
736 isColorFormatSupported( OMX_COLOR_FORMATTYPE colorFormat, int portIndex) argument
1506 allocateBuffersOnPort(OMX_U32 portIndex) argument
2477 OMX_U32 portIndex = data; local
2522 OMX_U32 portIndex = data; local
2542 OMX_U32 portIndex = data; local
2725 freeBuffersOnPort( OMX_U32 portIndex, bool onlyThoseWeOwn) argument
2756 freeBuffer(OMX_U32 portIndex, size_t bufIndex) argument
2787 onPortSettingsChanged(OMX_U32 portIndex) argument
2811 flushPortAsync(OMX_U32 portIndex) argument
2838 disablePortAsync(OMX_U32 portIndex) argument
2852 enablePortAsync(OMX_U32 portIndex) argument
3272 setRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument
3357 OMX_U32 portIndex = mIsEncoder ? kPortIndexOutput : kPortIndexInput; local
4162 dumpPortStatus(OMX_U32 portIndex) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp300 void SoftAAC2::onQueueFilled(OMX_U32 portIndex) { argument
312 if (portIndex == 0 && mInputBufferCount == 0) {
588 void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) { argument
589 if (portIndex == 0) {
597 void SoftAAC2::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
598 if (portIndex != 1) {
H A DSoftAAC2.h41 virtual void onQueueFilled(OMX_U32 portIndex);
42 virtual void onPortFlushCompleted(OMX_U32 portIndex);
43 virtual void onPortEnableCompleted(OMX_U32 portIndex, bool enabled);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp379 void SoftAACEncoder::onQueueFilled(OMX_U32 portIndex) { argument

Completed in 3127 milliseconds

12