Home
last modified time | relevance | path

Searched refs:aac_frame_length (Results 1 – 5 of 5) 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.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.cpp632 unsigned aac_frame_length = in onQueueFilled() local
635 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
640 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
645 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
649 inBufferLength = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2131 unsigned aac_frame_length = in extractAndQueueAccessUnits() local
2136 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()
2148 CHECK_LE(offset + aac_frame_length, buffer->size()); in extractAndQueueAccessUnits()
2151 offset += aac_frame_length; in extractAndQueueAccessUnits()
2195 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()
2199 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()
2200 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp898 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local
899 if (aac_frame_length == 0){ in dequeueAccessUnitAAC()
915 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()
926 .length = aac_frame_length in dequeueAccessUnitAAC()
932 offset += aac_frame_length; in dequeueAccessUnitAAC()