Home
last modified time | relevance | path

Searched refs:nFlags (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp115 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
117 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
154 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) || volHeader) { in onQueueFilled()
184 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in onQueueFilled()
295 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
296 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
298 outHeader->nFlags = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp396 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in handleEOS()
428 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { in onQueueFilled()
503 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
517 if (mInputBufferCount >= 3 && (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { in onQueueFilled()
518 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
532 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { in onQueueFilled()
590 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
591 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
594 outHeader->nFlags = 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp333 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
341 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
353 if (mInputBufferCount == 0 && !(inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { in onQueueFilled()
355 inHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
357 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) { in onQueueFilled()
421 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp400 outHeader->nFlags = 0; in onQueueFilled()
417 outHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
429 info.mFlags = inHeader->nFlags; in onQueueFilled()
432 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
492 outHeader->nFlags |= OMX_BUFFERFLAG_SYNCFRAME; in onQueueFilled()
508 outHeader->nFlags |= (inputBufInfo->mFlags | OMX_BUFFERFLAG_ENDOFFRAME); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp323 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in handleEOS()
363 (mState == NULL || (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG))) { in onQueueFilled()
367 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { in onQueueFilled()
442 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
455 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
506 outHeader->nFlags = 0; in onQueueFilled()
545 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp252 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { in onQueueFilled()
258 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
294 outHeader->nFlags = 0; in onQueueFilled()
296 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp173 outHeader->nFlags = 0; in outputBuffers()
212 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in outputBuffers()
274 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in onQueueFilled()
296 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp346 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
394 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME; in onQueueFilled()
399 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
406 nOutputBytes, mInputTimeUs, outHeader->nFlags); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp271 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { in onQueueFilled()
277 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
316 outHeader->nFlags = 0; in onQueueFilled()
318 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp253 outHeader->nFlags = inHeader->nFlags; in onQueueFilled()
258 bool sawEOS = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp642 if ((inputBufferHeader->nFlags & OMX_BUFFERFLAG_EOS) && in onQueueFilled()
649 outputBufferHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
743 outputBufferHeader->nFlags = 0; in onQueueFilled()
745 outputBufferHeader->nFlags |= OMX_BUFFERFLAG_SYNCFRAME; in onQueueFilled()
758 if (inputBufferHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
759 outputBufferHeader->nFlags |= OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp393 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
449 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME; in onQueueFilled()
454 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
461 outHeader->nFilledLen, mInputTimeUs, outHeader->nFlags); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp359 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { in onQueueFilled()
365 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
500 outHeader->nFlags = 0; in onQueueFilled()
521 if (inHeader->nFilledLen == 0 && (inHeader->nFlags & OMX_BUFFERFLAG_EOS) == 0) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp521 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
594 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
693 outHeader->nFlags = OMX_BUFFERFLAG_ENDOFFRAME; in onQueueFilled()
698 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
705 nOutputBytes, mInputTimeUs, outHeader->nFlags); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp386 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
456 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
517 outHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG; in onEncodedFlacAvailable()
539 outHeader->nFlags = 0; in onEncodedFlacAvailable()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp627 mEndOfInput = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; in onQueueFilled()
629 if (mInputBufferCount == 0 && !(inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { in onQueueFilled()
631 inHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
633 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) { in onQueueFilled()
1029 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
1032 outHeader->nFlags = 0; in onQueueFilled()
1063 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcenc/
DSoftAVCEnc.cpp1317 outputBufferHeader->nFlags = 0; in onQueueFilled()
1323 outputBufferHeader->nFlags = inputBufferHeader->nFlags; in onQueueFilled()
1347 outputBufferHeader->nFlags = OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
1381 && (inputBufferHeader->nFlags & OMX_BUFFERFLAG_EOS)) { in onQueueFilled()
1460 outputBufferHeader->nFlags |= OMX_BUFFERFLAG_SYNCFRAME; in onQueueFilled()
1476 outputBufferHeader->nFlags |= OMX_BUFFERFLAG_EOS; in onQueueFilled()
1479 outputBufferHeader->nFlags &= ~OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp300 outHeader->nFlags = 0; in onQueueFilled()
308 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
366 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp522 outHeader->nFlags = 0; in onQueueFilled()
532 if (!(inHeader->nFlags & OMX_BUFFERFLAG_EOS)) { in onQueueFilled()
539 } else if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { in onQueueFilled()
687 outHeader->nFlags |= OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp545 mEndOfInput = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; in onQueueFilled()
547 if (mInputBufferCount == 0 && !(inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG)) { in onQueueFilled()
549 inHeader->nFlags |= OMX_BUFFERFLAG_CODECCONFIG; in onQueueFilled()
551 if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) { in onQueueFilled()
770 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
773 outHeader->nFlags = 0; in onQueueFilled()
797 outHeader->nFlags = OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp519 outHeader->nFlags = 0; in onQueueFilled()
523 if (inHeader != NULL && (inHeader->nFlags & OMX_BUFFERFLAG_EOS)) { in onQueueFilled()
677 outHeader->nFlags |= OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp638 outHeader->nFlags = 0; in onQueueFilled()
642 if (inHeader != NULL && (inHeader->nFlags & OMX_BUFFERFLAG_EOS)) { in onQueueFilled()
828 outHeader->nFlags |= OMX_BUFFERFLAG_EOS; in onQueueFilled()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp257 (*header)->nFlags = 0; in useBuffer()
603 buffer->mHeader->nFlags = 0; in onPortFlush()
DOMXNodeInstance.cpp93 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp, (fenceFd)
1701 header->nFlags = 0; in fillBuffer()
1868 header->nFlags = flags; in emptyBuffer_l()
2387 msg.u.extended_buffer_data.flags = pBuffer->nFlags; in OnFillBufferDone()
/frameworks/native/headers/media_plugin/media/openmax/
DOMX_Core.h455 OMX_U32 nFlags; /**< buffer specific flags */ member