Searched defs:portIndex (Results 1 - 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/omx/
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
H A DSoftVideoDecoderOMXComponent.cpp455 void SoftVideoDecoderOMXComponent::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
456 if (portIndex != kOutputPortIndex) {
H A DOMX.cpp339 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
342 portIndex, enable, maxFrameWidth, maxFrameHeight);
346 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
349 portIndex, tunneled, audioHwSync, sidebandHandle);
338 prepareForAdaptivePlayback( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
345 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DOMXNodeInstance.cpp157 static inline const char *portString(OMX_U32 portIndex) { argument
158 switch (portIndex) {
433 OMX_U32 portIndex, OMX_BOOL enable) {
435 CLOG_CONFIG(enableGraphicBuffers, "%s:%u, %d", portString(portIndex), portIndex, enable);
449 params.nPortIndex = portIndex;
454 portString(portIndex), portIndex, enable);
459 OMX_U32 portIndex, OMX_U32* usage) {
474 params.nPortIndex = portIndex;
432 enableGraphicBuffers( OMX_U32 portIndex, OMX_BOOL enable) argument
458 getGraphicBufferUsage( OMX_U32 portIndex, OMX_U32* usage) argument
488 storeMetaDataInBuffers( OMX_U32 portIndex, OMX_BOOL enable) argument
498 storeMetaDataInBuffers_l( OMX_U32 portIndex, OMX_BOOL enable, OMX_BOOL useGraphicBuffer, OMX_BOOL *usingGraphicBufferInMetadata) argument
549 prepareForAdaptivePlayback( OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
579 configureVideoTunnelMode( OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
621 useBuffer( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer) argument
661 useGraphicBuffer2_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
713 useGraphicBuffer( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
773 updateGraphicBufferInMeta( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer) argument
790 createInputSurface( OMX_U32 portIndex, sp<IGraphicBufferProducer> *bufferProducer) argument
855 allocateBuffer( OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, void **buffer_data) argument
893 allocateBufferWithBackup( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer) argument
933 freeBuffer( OMX_U32 portIndex, OMX::buffer_id buffer) argument
1007 unbumpDebugLevel_l(size_t portIndex) argument
1084 setInternalOption( OMX_U32 portIndex, IOMX::InternalOptionType type, const void *data, size_t size) argument
1322 addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) argument
1333 removeActiveBuffer( OMX_U32 portIndex, OMX::buffer_id id) argument
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp208 void SoftMP3::onQueueFilled(OMX_U32 /* portIndex */) {
349 void SoftMP3::onPortFlushCompleted(OMX_U32 portIndex) { argument
350 if (portIndex == 0) {
361 void SoftMP3::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
362 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp379 void SoftAACEncoder::onQueueFilled(OMX_U32 portIndex) { argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp277 void SoftAMR::onQueueFilled(OMX_U32 /* portIndex */) {
431 void SoftAMR::onPortFlushCompleted(OMX_U32 /* portIndex */) {
434 void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
435 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/flac/enc/
H A DSoftFlacEncoder.cpp265 void SoftFlacEncoder::onQueueFilled(OMX_U32 portIndex) { argument
266 UNUSED_UNLESS_VERBOSE(portIndex);
267 ALOGV("SoftFlacEncoder::onQueueFilled(portIndex=%d)", portIndex);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp95 void SoftMPEG4::onQueueFilled(OMX_U32 /* portIndex */) {
340 void SoftMPEG4::onPortFlushCompleted(OMX_U32 portIndex) { argument
341 if (portIndex == 0 && mInitialized) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp102 void SoftAVC::onQueueFilled(OMX_U32 /* portIndex */) {
304 void SoftAVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
305 if (portIndex == kInputPortIndex) {
/frameworks/av/media/libstagefright/codecs/opus/dec/
H A DSoftOpus.cpp322 void SoftOpus::onQueueFilled(OMX_U32 portIndex) { argument
330 if (portIndex == 0 && mInputBufferCount < 3) {
482 void SoftOpus::onPortFlushCompleted(OMX_U32 portIndex) { argument
483 if (portIndex == 0 && mDecoder != NULL) {
508 void SoftOpus::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
509 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp246 void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { argument
254 if (portIndex == 0 && mInputBufferCount < 2) {
415 void SoftVorbis::onPortFlushCompleted(OMX_U32 portIndex) { argument
416 if (portIndex == 0 && mState != NULL) {
445 void SoftVorbis::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
446 if (portIndex != 1) {
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp82 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
299 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
302 node, portIndex, enable, audioHwSync, sidebandHandle);
298 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DMediaCodec.cpp539 msg->setInt32("portIndex", kPortIndexInput);
548 msg->setInt32("portIndex", kPortIndexOutput);
575 size_t portIndex, size_t index,
588 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex];
593 if (portIndex == kPortIndexInput && mCrypto != NULL) {
941 int32_t portIndex; local
942 CHECK(msg->findInt32("portIndex", &portIndex));
945 portIndex == kPortIndexInput ? "input" : "output");
947 CHECK(portIndex
574 getBufferAndFormat( size_t portIndex, size_t index, sp<ABuffer> *buffer, sp<AMessage> *format) argument
1589 int32_t portIndex; local
1800 returnBuffersToCodecOnPort(int32_t portIndex) argument
1825 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument
2033 dequeuePortBuffer(int32_t portIndex) argument
[all...]
H A DOMXCodec.cpp709 void OMXCodec::setMinBufferSize(OMX_U32 portIndex, OMX_U32 size) { argument
712 def.nPortIndex = portIndex;
718 if ((portIndex == kPortIndexInput && (mQuirks & kInputBufferSizesAreBogus))
732 if (portIndex == kPortIndexInput
741 OMX_U32 portIndex,
746 format.nPortIndex = portIndex;
765 CODEC_LOGV("portIndex: %u, index: %u, eCompressionFormat=%d eColorFormat=%d",
766 portIndex,
840 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) {
848 portFormat.nPortIndex = portIndex;
740 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument
839 isColorFormatSupported( OMX_COLOR_FORMATTYPE colorFormat, int portIndex) argument
1618 allocateBuffersOnPort(OMX_U32 portIndex) argument
2584 OMX_U32 portIndex = data; local
2629 OMX_U32 portIndex = data; local
2649 OMX_U32 portIndex = data; local
2832 freeBuffersOnPort( OMX_U32 portIndex, bool onlyThoseWeOwn) argument
2863 freeBuffer(OMX_U32 portIndex, size_t bufIndex) argument
2894 onPortSettingsChanged(OMX_U32 portIndex) argument
2918 flushPortAsync(OMX_U32 portIndex) argument
2945 disablePortAsync(OMX_U32 portIndex) argument
2959 enablePortAsync(OMX_U32 portIndex) argument
3380 setRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument
3465 OMX_U32 portIndex = mIsEncoder ? kPortIndexOutput : kPortIndexInput; local
4082 dumpPortStatus(OMX_U32 portIndex) argument
[all...]
H A DACodec.cpp185 virtual PortMode getPortMode(OMX_U32 portIndex);
315 virtual PortMode getPortMode(OMX_U32 portIndex);
333 virtual PortMode getPortMode(OMX_U32 portIndex);
523 status_t ACodec::allocateBuffersOnPort(OMX_U32 portIndex) { argument
524 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
526 CHECK(mDealer[portIndex] == NULL);
527 CHECK(mBuffers[portIndex].isEmpty());
530 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) {
539 def.nPortIndex = portIndex;
1006 freeBuffersOnPort(OMX_U32 portIndex) argument
1032 freeBuffer(OMX_U32 portIndex, size_t i) argument
1052 findBufferByID( uint32_t portIndex, IOMX::buffer_id bufferID, ssize_t *index) argument
1685 setMinBufferSize(OMX_U32 portIndex, size_t size) argument
1722 selectAudioPortFormat( OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE desiredFormat) argument
2079 setupRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument
2148 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument
3142 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate) argument
3235 allYourBuffersAreBelongToUs( OMX_U32 portIndex) argument
3442 getPortFormat(OMX_U32 portIndex, sp<AMessage> &notify) argument
5651 getPortMode( OMX_U32 portIndex) argument
[all...]
/frameworks/av/media/libmedia/
H A DIOMX.cpp373 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
378 data.writeInt32(portIndex);
372 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle ) argument
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp496 void SoftAAC2::onQueueFilled(OMX_U32 /* portIndex */) {
968 void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) { argument
969 if (portIndex == 0) {
1050 void SoftAAC2::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
1051 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp525 void SoftHEVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
527 if (kOutputPortIndex == portIndex) {
548 void SoftHEVC::onQueueFilled(OMX_U32 portIndex) { argument
549 UNUSED(portIndex);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp159 IOMX::node_id node, OMX_U32 portIndex,
166 def->nPortIndex = portIndex;
181 IOMX::node_id node, OMX_U32 portIndex,
186 status_t err = getPortDefinition(node, portIndex, &def);
196 node, portIndex, buffer.mMemory, &buffer.mID);
158 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument
179 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument

Completed in 5059 milliseconds