Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp203 const uint32_t aac_frame_length = accessUnit->size() + 7; in prependADTSHeader() local
205 sp<ABuffer> dup = new ABuffer(aac_frame_length); in prependADTSHeader()
229 | aac_frame_length >> 11; in prependADTSHeader()
230 *ptr++ = (aac_frame_length >> 3) & 0xff; in prependADTSHeader()
231 *ptr++ = (aac_frame_length & 7) << 5; in prependADTSHeader()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp638 unsigned aac_frame_length = in onQueueFilled() local
643 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
647 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
652 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
656 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/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/httplive/
DPlaylistFetcher.cpp2115 unsigned aac_frame_length = in extractAndQueueAccessUnits() local
2120 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()
2132 CHECK_LE(offset + aac_frame_length, buffer->size()); in extractAndQueueAccessUnits()
2135 offset += aac_frame_length; in extractAndQueueAccessUnits()
2179 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()
2183 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()
2184 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp894 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local
906 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()
917 .length = aac_frame_length in dequeueAccessUnitAAC()
923 offset += aac_frame_length; in dequeueAccessUnitAAC()