Home
last modified time | relevance | path

Searched refs:adtsHeaderSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp738 size_t adtsHeaderSize = 0; in onQueueFilled() local
766 adtsHeaderSize = (protectionAbsent ? 7 : 9); in onQueueFilled()
767 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
770 inBuffer[0] = (UCHAR *)adtsHeader + adtsHeaderSize; in onQueueFilled()
771 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
773 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
774 inHeader->nFilledLen -= adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp622 size_t adtsHeaderSize = 0; in process() local
650 adtsHeaderSize = (protectionAbsent ? 7 : 9); in process()
651 if (aac_frame_length < adtsHeaderSize) { in process()
655 inBuffer[0] = const_cast<UCHAR *>(adtsHeader + adtsHeaderSize); in process()
656 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in process()
658 offset += adtsHeaderSize; in process()
659 size -= adtsHeaderSize; in process()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp599 size_t adtsHeaderSize = 0; in onQueueFilled() local
628 adtsHeaderSize = (protectionAbsent ? 7 : 9); in onQueueFilled()
629 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
632 inBuffer = (uint8_t*)adtsHeader + adtsHeaderSize; in onQueueFilled()
633 inBufferLength = aac_frame_length - adtsHeaderSize; in onQueueFilled()
635 inHeader->nOffset += adtsHeaderSize; in onQueueFilled()
636 inHeader->nFilledLen -= adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp460 size_t adtsHeaderSize = 0; in process() local
484 adtsHeaderSize = (protectionAbsent ? 7 : 9); in process()
485 if (aac_frame_length < adtsHeaderSize) { in process()
490 const_cast<uint8_t*>(adtsHeader + adtsHeaderSize); in process()
491 inBufferLength = aac_frame_length - adtsHeaderSize; in process()
493 offset += adtsHeaderSize; in process()
494 size -= adtsHeaderSize; in process()