Searched defs:portIndex (Results 1 - 25 of 26) 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;
195 OMX_U32 portIndex,
200 CHECK_LT(portIndex, mPorts.size());
221 (*header)->nOutputPortIndex = portIndex;
222 (*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.cpp493 void SoftVideoDecoderOMXComponent::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
494 if (portIndex != kOutputPortIndex) {
H A DOMX.cpp427 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
436 portIndex, enable, maxFrameWidth, maxFrameHeight);
440 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
449 portIndex, tunneled, audioHwSync, sidebandHandle);
426 prepareForAdaptivePlayback( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
439 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DOMXNodeInstance.cpp96 BufferMeta(const sp<IMemory> &mem, OMX_U32 portIndex, bool is_backup = false) argument
99 mPortIndex(portIndex) {
102 BufferMeta(size_t size, OMX_U32 portIndex) argument
105 mPortIndex(portIndex) {
108 BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) argument
111 mPortIndex(portIndex) {
183 static inline const char *portString(OMX_U32 portIndex) { argument
184 switch (portIndex) {
450 OMX_U32 portIndex, OMX_BOOL graphic, OMX_BOOL enable) {
452 CLOG_CONFIG(enableNativeBuffers, "%s:%u%s, %d", portString(portIndex), portInde
449 enableNativeBuffers( OMX_U32 portIndex, OMX_BOOL graphic, OMX_BOOL enable) argument
498 getGraphicBufferUsage( OMX_U32 portIndex, OMX_U32* usage) argument
528 storeMetaDataInBuffers( OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type) argument
535 storeMetaDataInBuffers_l( OMX_U32 portIndex, OMX_BOOL enable, MetadataBufferType *type) argument
610 prepareForAdaptivePlayback( OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
640 configureVideoTunnelMode( OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
682 useBuffer( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer, OMX_U32 allottedSize) argument
731 useGraphicBuffer2_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
787 useGraphicBuffer( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
851 updateGraphicBufferInMeta_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer, OMX_BUFFERHEADERTYPE *header, bool updateCodecBuffer) argument
896 updateGraphicBufferInMeta( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer) argument
907 updateNativeHandleInMeta( OMX_U32 portIndex, const sp<NativeHandle>& nativeHandle, OMX::buffer_id buffer) argument
944 createGraphicBufferSource( OMX_U32 portIndex, sp<IGraphicBufferConsumer> bufferConsumer, MetadataBufferType *type) argument
1008 createInputSurface( OMX_U32 portIndex, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
1060 setInputSurface( OMX_U32 portIndex, const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type) argument
1083 allocateSecureBuffer( OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) argument
1135 allocateBufferWithBackup( OMX_U32 portIndex, const sp<IMemory> &params, OMX::buffer_id *buffer, OMX_U32 allottedSize) argument
1182 freeBuffer( OMX_U32 portIndex, OMX::buffer_id buffer) argument
1305 unbumpDebugLevel_l(size_t portIndex) argument
1315 storeFenceInMeta_l( OMX_BUFFERHEADERTYPE *header, int fenceFd, OMX_U32 portIndex) argument
1338 retrieveFenceFromMeta_l( OMX_BUFFERHEADERTYPE *header, OMX_U32 portIndex) argument
1462 setInternalOption( OMX_U32 portIndex, IOMX::InternalOptionType type, const void *data, size_t size) argument
1753 addActiveBuffer(OMX_U32 portIndex, OMX::buffer_id id) argument
1764 removeActiveBuffer( OMX_U32 portIndex, OMX::buffer_id id) argument
1807 findBufferHeader( OMX::buffer_id buffer, OMX_U32 portIndex) argument
[all...]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp190 void SoftGSM::onQueueFilled(OMX_U32 /* portIndex */) {
284 void SoftGSM::onPortFlushCompleted(OMX_U32 portIndex) { argument
285 if (portIndex == 0) {
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp224 void SoftMP3::onQueueFilled(OMX_U32 /* portIndex */) {
377 void SoftMP3::onPortFlushCompleted(OMX_U32 portIndex) { argument
378 if (portIndex == 0) {
389 void SoftMP3::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
390 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp407 void SoftAACEncoder::onQueueFilled(OMX_U32 portIndex) { argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp297 void SoftAMR::onQueueFilled(OMX_U32 /* portIndex */) {
492 void SoftAMR::onPortFlushCompleted(OMX_U32 portIndex) { argument
493 ALOGV("onPortFlushCompleted portindex %d, resetting frame ", portIndex);
494 if (portIndex == 0) {
503 void SoftAMR::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
504 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/flac/enc/
H A DSoftFlacEncoder.cpp291 void SoftFlacEncoder::onQueueFilled(OMX_U32 portIndex) { argument
292 UNUSED_UNLESS_VERBOSE(portIndex);
293 ALOGV("SoftFlacEncoder::onQueueFilled(portIndex=%d)", portIndex);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp95 void SoftMPEG4::onQueueFilled(OMX_U32 /* portIndex */) {
355 void SoftMPEG4::onPortFlushCompleted(OMX_U32 portIndex) { argument
356 if (portIndex == 0 && mInitialized) {
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp200 void SoftVPX::onQueueFilled(OMX_U32 /* portIndex */) {
287 void SoftVPX::onPortFlushCompleted(OMX_U32 portIndex) { argument
288 if (portIndex == kInputPortIndex) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp102 void SoftAVC::onQueueFilled(OMX_U32 /* portIndex */) {
320 void SoftAVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
321 if (portIndex == kInputPortIndex) {
/frameworks/av/media/libstagefright/codecs/opus/dec/
H A DSoftOpus.cpp338 void SoftOpus::onQueueFilled(OMX_U32 portIndex) { argument
346 if (portIndex == 0 && mInputBufferCount < 3) {
517 void SoftOpus::onPortFlushCompleted(OMX_U32 portIndex) { argument
518 if (portIndex == 0 && mDecoder != NULL) {
543 void SoftOpus::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
544 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp263 void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { argument
271 if (portIndex == 0 && mInputBufferCount < 2) {
460 void SoftVorbis::onPortFlushCompleted(OMX_U32 portIndex) { argument
461 if (portIndex == 0 && mState != NULL) {
494 void SoftVorbis::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
495 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.cpp93 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
364 node_id node, OMX_U32 portIndex, OMX_BOOL enable,
367 node, portIndex, enable, audioHwSync, sidebandHandle);
363 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
H A DMediaCodec.cpp616 bool MediaCodec::hasPendingBuffer(int portIndex) { argument
617 const Vector<BufferInfo> &buffers = mPortBuffers[portIndex];
865 msg->setInt32("portIndex", kPortIndexInput);
875 msg->setInt32("portIndex", kPortIndexInput);
884 msg->setInt32("portIndex", kPortIndexOutput);
911 size_t portIndex, size_t index,
941 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex];
956 *buffer = (portIndex == kPortIndexInput && mCrypto != NULL) ?
1337 int32_t portIndex; local
1338 CHECK(msg->findInt32("portIndex",
910 getBufferAndFormat( size_t portIndex, size_t index, sp<ABuffer> *buffer, sp<AMessage> *format) argument
2156 int32_t portIndex; local
2370 returnBuffersToCodecOnPort(int32_t portIndex, bool isReclaim) argument
2401 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument
2648 dequeuePortBuffer(int32_t portIndex) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp545 void SoftAAC2::onQueueFilled(OMX_U32 /* portIndex */) {
1019 void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) { argument
1020 if (portIndex == 0) {
1101 void SoftAAC2::onPortEnableCompleted(OMX_U32 portIndex, bool enabled) { argument
1102 if (portIndex != 1) {
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.cpp434 void SoftAVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
436 if (kOutputPortIndex == portIndex) {
473 void SoftAVC::onQueueFilled(OMX_U32 portIndex) { argument
474 UNUSED(portIndex);
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp395 void SoftHEVC::onPortFlushCompleted(OMX_U32 portIndex) { argument
397 if (kOutputPortIndex == portIndex) {
435 void SoftHEVC::onQueueFilled(OMX_U32 portIndex) { argument
436 UNUSED(portIndex);
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.cpp523 void SoftMPEG2::onPortFlushCompleted(OMX_U32 portIndex) { argument
525 if (kOutputPortIndex == portIndex) {
545 void SoftMPEG2::onQueueFilled(OMX_U32 portIndex) { argument
546 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.cpp470 node_id node, OMX_U32 portIndex, OMX_BOOL tunneled,
475 data.writeInt32(portIndex);
469 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.cpp1284 void SoftAVC::onQueueFilled(OMX_U32 portIndex) { argument
1288 UNUSED(portIndex);

Completed in 425 milliseconds

12