Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp591 unsigned aac_frame_length = in process() local
596 if (size < aac_frame_length) { in process()
600 size, aac_frame_length); in process()
605 if (aac_frame_length < adtsHeaderSize) { in process()
610 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in process()
/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.cpp701 unsigned aac_frame_length = in onQueueFilled() local
706 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
710 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
715 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
719 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/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.cpp2147 unsigned aac_frame_length = in extractAndQueueAccessUnits() local
2152 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()
2164 CHECK_LE(offset + aac_frame_length, buffer->size()); in extractAndQueueAccessUnits()
2167 offset += aac_frame_length; in extractAndQueueAccessUnits()
2211 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()
2215 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()
2216 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp470 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process() local
474 if (size < aac_frame_length) { in process()
477 "header is %u bytes.", size, aac_frame_length); in process()
482 if (aac_frame_length < adtsHeaderSize) { in process()
488 inBufferLength = aac_frame_length - adtsHeaderSize; in process()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1226 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local
1227 if (aac_frame_length == 0){ in dequeueAccessUnitAAC()
1243 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()
1254 .length = aac_frame_length in dequeueAccessUnitAAC()
1260 offset += aac_frame_length; in dequeueAccessUnitAAC()