Home
last modified time | relevance | path

Searched refs:aac_frame_length (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp311 const uint32_t aac_frame_length = buffer->range_length() + 7; in appendAACFrames() local
324 | aac_frame_length >> 11; in appendAACFrames()
325 *ptr++ = (aac_frame_length >> 3) & 0xff; in appendAACFrames()
326 *ptr++ = (aac_frame_length & 7) << 5; in appendAACFrames()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp712 unsigned aac_frame_length = in onQueueFilled() local
717 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
721 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
726 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
730 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp631 unsigned aac_frame_length = in process() local
636 if (size < aac_frame_length) { in process()
640 size, aac_frame_length); in process()
645 if (aac_frame_length < adtsHeaderSize) { in process()
650 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in process()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp616 unsigned aac_frame_length = in onQueueFilled() local
619 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
624 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
629 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
633 inBufferLength = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2148 unsigned aac_frame_length = in extractAndQueueAccessUnits() local
2153 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()
2165 if (aac_frame_length > buffer->size() - offset) { in extractAndQueueAccessUnits()
2170 offset += aac_frame_length; in extractAndQueueAccessUnits()
2214 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()
2218 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()
2219 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp471 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process() local
475 if (size < aac_frame_length) { in process()
478 "header is %u bytes.", size, aac_frame_length); in process()
483 if (aac_frame_length < adtsHeaderSize) { in process()
489 inBufferLength = aac_frame_length - adtsHeaderSize; in process()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1229 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local
1230 if (aac_frame_length == 0){ in dequeueAccessUnitAAC()
1246 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()
1257 .length = aac_frame_length in dequeueAccessUnitAAC()
1263 offset += aac_frame_length; in dequeueAccessUnitAAC()