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.cpp637 unsigned aac_frame_length = in onQueueFilled() local
642 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()
646 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()
651 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()
655 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp317 const uint32_t aac_frame_length = buffer->range_length() + 7; in appendAACFrames() local
330 | aac_frame_length >> 11; in appendAACFrames()
331 *ptr++ = (aac_frame_length >> 3) & 0xff; in appendAACFrames()
332 *ptr++ = (aac_frame_length & 7) << 5; in appendAACFrames()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2017 unsigned aac_frame_length = in extractAndQueueAccessUnits() local
2022 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()
2034 CHECK_LE(offset + aac_frame_length, buffer->size()); in extractAndQueueAccessUnits()
2037 offset += aac_frame_length; in extractAndQueueAccessUnits()
2073 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()
2074 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp718 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local
730 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()
736 offset += aac_frame_length; in dequeueAccessUnitAAC()