Searched refs:aac_frame_length (Results 1 – 5 of 5) sorted by relevance
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()
701 unsigned aac_frame_length = in onQueueFilled() local706 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()
632 unsigned aac_frame_length = in onQueueFilled() local635 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()
2131 unsigned aac_frame_length = in extractAndQueueAccessUnits() local2136 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()
898 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local899 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()