Searched refs:aac_frame_length (Results 1 – 7 of 7) 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()
712 unsigned aac_frame_length = in onQueueFilled() local717 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()721 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()726 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()730 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in onQueueFilled()
631 unsigned aac_frame_length = in process() local636 if (size < aac_frame_length) { in process()640 size, aac_frame_length); in process()645 if (aac_frame_length < adtsHeaderSize) { in process()650 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in process()
616 unsigned aac_frame_length = in onQueueFilled() local619 if (inHeader->nFilledLen < aac_frame_length) { in onQueueFilled()624 inHeader->nFilledLen, aac_frame_length); in onQueueFilled()629 if (aac_frame_length < adtsHeaderSize) { in onQueueFilled()633 inBufferLength = aac_frame_length - adtsHeaderSize; in onQueueFilled()
2148 unsigned aac_frame_length = in extractAndQueueAccessUnits() local2153 if (aac_frame_length == 0) { in extractAndQueueAccessUnits()2165 if (aac_frame_length > buffer->size() - offset) { in extractAndQueueAccessUnits()2170 offset += aac_frame_length; in extractAndQueueAccessUnits()2214 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()2218 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits()2219 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
471 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process() local475 if (size < aac_frame_length) { in process()478 "header is %u bytes.", size, aac_frame_length); in process()483 if (aac_frame_length < adtsHeaderSize) { in process()489 inBufferLength = aac_frame_length - adtsHeaderSize; in process()
1229 unsigned aac_frame_length = bits.getBits(13); in dequeueAccessUnitAAC() local1230 if (aac_frame_length == 0){ in dequeueAccessUnitAAC()1246 if (offset + aac_frame_length > mBuffer->size()) { in dequeueAccessUnitAAC()1257 .length = aac_frame_length in dequeueAccessUnitAAC()1263 offset += aac_frame_length; in dequeueAccessUnitAAC()