Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp580 const uint8_t *adtsHeader = view.data() + offset; in process() local
586 hexdump(adtsHeader, size); in process()
589 bool protectionAbsent = (adtsHeader[1] & 1); in process()
592 ((adtsHeader[3] & 3) << 11) in process()
593 | (adtsHeader[4] << 3) in process()
594 | (adtsHeader[5] >> 5); in process()
601 hexdump(adtsHeader, size); in process()
609 inBuffer[0] = const_cast<UCHAR *>(adtsHeader + adtsHeaderSize); in process()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp690 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() local
696 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
699 bool protectionAbsent = (adtsHeader[1] & 1); in onQueueFilled()
702 ((adtsHeader[3] & 3) << 11) in onQueueFilled()
703 | (adtsHeader[4] << 3) in onQueueFilled()
704 | (adtsHeader[5] >> 5); in onQueueFilled()
711 hexdump(adtsHeader, inHeader->nFilledLen); in onQueueFilled()
718 inBuffer[0] = (UCHAR *)adtsHeader + adtsHeaderSize; in onQueueFilled()
/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.cpp461 const uint8_t* adtsHeader = view.data() + offset; in process() local
466 hexdump(adtsHeader, size); in process()
469 bool protectionAbsent = (adtsHeader[1] & 1); in process()
470 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process()
471 (adtsHeader[4] << 3) | in process()
472 (adtsHeader[5] >> 5); in process()
478 hexdump(adtsHeader, size); in process()
487 const_cast<uint8_t*>(adtsHeader + adtsHeaderSize); in process()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2139 const uint8_t *adtsHeader = buffer->data() + offset; in extractAndQueueAccessUnits() local
2148 ((adtsHeader[3] & 3) << 11) in extractAndQueueAccessUnits()
2149 | (adtsHeader[4] << 3) in extractAndQueueAccessUnits()
2150 | (adtsHeader[5] >> 5); in extractAndQueueAccessUnits()
2153 const uint8_t *id3Header = adtsHeader; in extractAndQueueAccessUnits()
2204 bool protection_absent = (adtsHeader[1] & 0x1); in extractAndQueueAccessUnits()
2208 mSeqNumber, protection_absent, adtsHeader[1], headerSize); in extractAndQueueAccessUnits()
2216 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()