/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 75 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 D | SoftOMXComponent.cpp | 187 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
|
H A D | OMXNodeInstance.cpp | 278 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> ¶ms, 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> ¶ms, 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> ¶ms, 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...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
H A D | SoftAMRNBEncoder.cpp | 273 void SoftAMRNBEncoder::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
H A D | SoftMP3.cpp | 174 void SoftMP3::onQueueFilled(OMX_U32 portIndex) { argument 311 void SoftMP3::onPortFlushCompleted(OMX_U32 portIndex) { argument 312 if (portIndex == 0) { 320 void SoftMP3::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument 321 if (portIndex != 1) {
|
/frameworks/av/media/libstagefright/codecs/raw/ |
H A D | SoftRaw.cpp | 166 void SoftRaw::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 300 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) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder.cpp | 379 void SoftAACEncoder::onQueueFilled(OMX_U32 portIndex) { argument
|
H A D | SoftAACEncoder2.cpp | 337 void SoftAACEncoder2::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.cpp | 277 void SoftAMR::onQueueFilled(OMX_U32 portIndex) { argument 431 void SoftAMR::onPortFlushCompleted(OMX_U32 portIndex) { argument 434 void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument 435 if (portIndex != 1) {
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.cpp | 320 void SoftAMRWBEncoder::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
H A D | SoftFlacEncoder.cpp | 243 void SoftFlacEncoder::onQueueFilled(OMX_U32 portIndex) { argument 245 ALOGV("SoftFlacEncoder::onQueueFilled(portIndex=%ld)", portIndex);
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
H A D | SoftG711.cpp | 185 void SoftG711::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 312 void SoftMPEG4::onQueueFilled(OMX_U32 portIndex) { argument 538 void SoftMPEG4::onPortFlushCompleted(OMX_U32 portIndex) { argument 539 if (portIndex == 0 && mInitialized) { 544 void SoftMPEG4::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument 545 if (portIndex != 1) {
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
H A D | SoftVPX.cpp | 222 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) {
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
H A D | SoftAVC.cpp | 290 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
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.cpp | 244 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) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 623 void SoftMPEG4Encoder::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 307 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 D | ACodec.cpp | 137 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 1018 setMinBufferSize(OMX_U32 portIndex, size_t size) argument 1055 selectAudioPortFormat( OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat) argument 1292 setupRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument 1340 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument 2027 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat) argument 2088 allYourBuffersAreBelongToUs( OMX_U32 portIndex) argument 2434 getPortMode(OMX_U32 portIndex) argument 3424 getPortMode( OMX_U32 portIndex) argument 3596 getPortMode( OMX_U32 portIndex) argument [all...] |
H A D | OMXCodec.cpp | 607 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/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 714 void SoftAVCEncoder::onQueueFilled(OMX_U32 portIndex) { argument
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 157 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
|