Home
last modified time | relevance | path

Searched refs:adtsHeader (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp742 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() local
748 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
751 bool protectionAbsent = (adtsHeader[1] & 1); in onQueueFilled()
754 ((adtsHeader[3] & 3) << 11) in onQueueFilled()
755 | (adtsHeader[4] << 3) in onQueueFilled()
756 | (adtsHeader[5] >> 5); in onQueueFilled()
763 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
770 inBuffer[0] = (UCHAR *)adtsHeader + adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp626 const uint8_t *adtsHeader = view.data() + offset; in process() local
632 hexdump(adtsHeader, size); in process()
635 bool protectionAbsent = (adtsHeader[1] & 1); in process()
638 ((adtsHeader[3] & 3) << 11) in process()
639 | (adtsHeader[4] << 3) in process()
640 | (adtsHeader[5] >> 5); in process()
647 hexdump(adtsHeader, size); in process()
655 inBuffer[0] = const_cast<UCHAR *>(adtsHeader + adtsHeaderSize); in process()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp603 const uint8_t* adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() local
611 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
614 bool protectionAbsent = (adtsHeader[1] & 1); in onQueueFilled()
617 ((adtsHeader[3] & 3) << 11) | (adtsHeader[4] << 3) | (adtsHeader[5] >> 5); in onQueueFilled()
625 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
632 inBuffer = (uint8_t*)adtsHeader + adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp464 const uint8_t* adtsHeader = view.data() + offset; in process() local
469 hexdump(adtsHeader, size); in process()
472 bool protectionAbsent = (adtsHeader[1] & 1); in process()
473 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process()
474 (adtsHeader[4] << 3) | in process()
475 (adtsHeader[5] >> 5); in process()
481 hexdump(adtsHeader, size); in process()
490 const_cast<uint8_t*>(adtsHeader + adtsHeaderSize); in process()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2140 const uint8_t *adtsHeader = buffer->data() + offset; in extractAndQueueAccessUnits() local
2149 ((adtsHeader[3] & 3) << 11) in extractAndQueueAccessUnits()
2150 | (adtsHeader[4] << 3) in extractAndQueueAccessUnits()
2151 | (adtsHeader[5] >> 5); in extractAndQueueAccessUnits()
2154 const uint8_t *id3Header = adtsHeader; in extractAndQueueAccessUnits()
2207 bool protection_absent = (adtsHeader[1] & 0x1); in extractAndQueueAccessUnits()
2211 mSeqNumber, protection_absent, adtsHeader[1], headerSize); in extractAndQueueAccessUnits()
2219 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()