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()
638 unsigned aac_frame_length = in onQueueFilled() local643 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()
311 const uint32_t aac_frame_length = buffer->range_length() + 7; in appendAACFrames() local324 | aac_frame_length >> 11; in appendAACFrames()325 *ptr++ = (aac_frame_length >> 3) & 0xff; in appendAACFrames()326 *ptr++ = (aac_frame_length & 7) << 5; in appendAACFrames()
2115 unsigned aac_frame_length = in extractAndQueueAccessUnits() local2120 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()
894 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local906 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()917 .length = aac_frame_length in dequeueAccessUnitAAC()923 offset += aac_frame_length; in dequeueAccessUnitAAC()