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

12

/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.cpp351 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
354 portIndex, enable, maxFrameWidth, maxFrameHeight);
358 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
361 portIndex, tunneled, audioHwSync, sidebandHandle);
350 prepareForAdaptivePlayback( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
357 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DOMXNodeInstance.cpp178 static inline const char *portString(OMX_U32 portIndex) { argument
179 switch (portIndex) {
457 OMX_U32 portIndex, OMX_BOOL enable) {
459 CLOG_CONFIG(enableGraphicBuffers, "%s:%u, %d", portString(portIndex), portIndex, enable);
473 params.nPortIndex = portIndex;
478 portString(portIndex), portIndex, enable);
483 OMX_U32 portIndex, OMX_U32* usage) {
498 params.nPortIndex = portIndex;
456 enableGraphicBuffers( OMX_U32 portIndex, OMX_BOOL enable) argument
482 getGraphicBufferUsage( OMX_U32 portIndex, OMX_U32* usage) argument
512 storeMetaDataInBuffers( OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type) argument
519 storeMetaDataInBuffers_l( OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type) argument
583 prepareForAdaptivePlayback( OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
613 configureVideoTunnelMode( OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
655 useBuffer( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer, OMX_U32 allottedSize) argument
699 useGraphicBuffer2_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
751 useGraphicBuffer( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
811 updateGraphicBufferInMeta_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer, OMX_BUFFERHEADERTYPE *header) argument
843 updateGraphicBufferInMeta( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer) argument
851 createGraphicBufferSource( OMX_U32 portIndex, sp<IGraphicBufferConsumer> bufferConsumer, MetadataBufferType *type) argument
912 createInputSurface( OMX_U32 portIndex, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
952 setInputSurface( OMX_U32 portIndex, const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type) argument
971 allocateBuffer( OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, void **buffer_data) argument
1009 allocateBufferWithBackup( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer, OMX_U32 allottedSize) argument
1051 freeBuffer( OMX_U32 portIndex, OMX::buffer_id buffer) argument
1162 unbumpDebugLevel_l(size_t portIndex) argument
1172 storeFenceInMeta_l( OMX_BUFFERHEADERTYPE *header, int fenceFd, OMX_U32 portIndex) argument
1195 retrieveFenceFromMeta_l( OMX_BUFFERHEADERTYPE *header, OMX_U32 portIndex) argument
1296 setInternalOption( OMX_U32 portIndex, IOMX::InternalOptionType type, const void *data, size_t size) argument
1562 addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) argument
1573 removeActiveBuffer( OMX_U32 portIndex, OMX::buffer_id id) argument
[all...]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp178 void SoftGSM::onQueueFilled(OMX_U32 /* portIndex */) {
264 void SoftGSM::onPortFlushCompleted(OMX_U32 portIndex) { argument
265 if (portIndex == 0) {
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp208 void SoftMP3::onQueueFilled(OMX_U32 /* portIndex */) {
353 void SoftMP3::onPortFlushCompleted(OMX_U32 portIndex) { argument
354 if (portIndex == 0) {
365 void SoftMP3::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
366 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) { argument
432 ALOGV("onPortFlushCompleted portindex %d, resetting frame ", portIndex);
433 if (portIndex == 0) {
442 void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
443 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 */) {
347 void SoftMPEG4::onPortFlushCompleted(OMX_U32 portIndex) { argument
348 if (portIndex == 0 && mInitialized) {
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp188 void SoftVPX::onQueueFilled(OMX_U32 /* portIndex */) {
256 void SoftVPX::onPortFlushCompleted(OMX_U32 portIndex) { argument
257 if (portIndex == kInputPortIndex) {
/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) {
496 void SoftOpus::onPortFlushCompleted(OMX_U32 portIndex) { argument
497 if (portIndex == 0 && mDecoder != NULL) {
522 void SoftOpus::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
523 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/filters/
H A DMediaFilter.cpp228 status_t MediaFilter::allocateBuffersOnPort(OMX_U32 portIndex) { argument
229 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
230 const bool isInput = portIndex == kPortIndexInput;
233 CHECK(mDealer[portIndex] == NULL);
234 CHECK(mBuffers[portIndex].isEmpty());
242 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter");
245 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize);
256 mBuffers[portIndex].push_back(info);
260 &mBuffers[portIndex]
283 findBufferByID( uint32_t portIndex, IOMX::buffer_id bufferID, ssize_t *index) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp82 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
307 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
310 node, portIndex, enable, audioHwSync, sidebandHandle);
306 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DMediaCodec.cpp581 bool MediaCodec::hasPendingBuffer(int portIndex) { argument
582 const Vector<BufferInfo> &buffers = mPortBuffers[portIndex];
827 msg->setInt32("portIndex", kPortIndexInput);
837 msg->setInt32("portIndex", kPortIndexInput);
846 msg->setInt32("portIndex", kPortIndexOutput);
873 size_t portIndex, size_t index,
890 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex];
895 if (portIndex == kPortIndexInput && mCrypto != NULL) {
1269 int32_t portIndex; local
1270 CHECK(msg->findInt32("portIndex",
872 getBufferAndFormat( size_t portIndex, size_t index, sp<ABuffer> *buffer, sp<AMessage> *format) argument
2075 int32_t portIndex; local
2286 returnBuffersToCodecOnPort(int32_t portIndex) argument
2311 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument
2542 dequeuePortBuffer(int32_t portIndex) argument
[all...]
/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/avcdec/
H A DSoftAVCDec.cpp429 void SoftAVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
431 if (kOutputPortIndex == portIndex) {
468 void SoftAVC::onQueueFilled(OMX_U32 portIndex) { argument
469 UNUSED(portIndex);
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp390 void SoftHEVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
392 if (kOutputPortIndex == portIndex) {
430 void SoftHEVC::onQueueFilled(OMX_U32 portIndex) { argument
431 UNUSED(portIndex);
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.cpp514 void SoftMPEG2::onPortFlushCompleted(OMX_U32 portIndex) { argument
516 if (kOutputPortIndex == portIndex) {
536 void SoftMPEG2::onQueueFilled(OMX_U32 portIndex) { argument
537 UNUSED(portIndex);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp161 IOMX::node_id node, OMX_U32 portIndex,
168 def->nPortIndex = portIndex;
183 IOMX::node_id node, OMX_U32 portIndex,
188 status_t err = getPortDefinition(node, portIndex, &def);
198 node, portIndex, buffer.mMemory, &buffer.mID, buffer.mMemory->size());
160 getPortDefinition( IOMX::node_id node, OMX_U32 portIndex, OMX_PARAM_PORTDEFINITIONTYPE *def) argument
181 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument
/frameworks/av/media/libmedia/
H A DIOMX.cpp438 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
443 data.writeInt32(portIndex);
437 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle ) argument
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp1203 void SoftAVC::onQueueFilled(OMX_U32 portIndex) { argument
1207 UNUSED(portIndex);

Completed in 3588 milliseconds

12