Searched refs:aac_frame_length (Results 1 – 5 of 5) sorted by relevance
203 const uint32_t aac_frame_length = accessUnit->size() + 7; in prependADTSHeader() local205 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()
637 unsigned aac_frame_length = in onQueueFilled() local642 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()
317 const uint32_t aac_frame_length = buffer->range_length() + 7; in appendAACFrames() local330 | aac_frame_length >> 11; in appendAACFrames()331 *ptr++ = (aac_frame_length >> 3) & 0xff; in appendAACFrames()332 *ptr++ = (aac_frame_length & 7) << 5; in appendAACFrames()
2017 unsigned aac_frame_length = in extractAndQueueAccessUnits() local2022 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()
718 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local730 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()736 offset += aac_frame_length; in dequeueAccessUnitAAC()