Searched refs:aac_frame_length (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacDec.cpp | 591 unsigned aac_frame_length = in process() local 596 if (size < aac_frame_length) { in process() 600 size, aac_frame_length); in process() 605 if (aac_frame_length < adtsHeaderSize) { in process() 610 inBufferLength[0] = aac_frame_length - adtsHeaderSize; in process()
|
/frameworks/av/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 311 const uint32_t aac_frame_length = buffer->range_length() + 7; in appendAACFrames() local 324 | aac_frame_length >> 11; in appendAACFrames() 325 *ptr++ = (aac_frame_length >> 3) & 0xff; in appendAACFrames() 326 *ptr++ = (aac_frame_length & 7) << 5; in appendAACFrames()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 701 unsigned aac_frame_length = in onQueueFilled() local 706 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()
|
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
D | SoftXAAC.cpp | 616 unsigned aac_frame_length = in onQueueFilled() local 619 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()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 2146 unsigned aac_frame_length = in extractAndQueueAccessUnits() local 2151 if (aac_frame_length == 0) { in extractAndQueueAccessUnits() 2163 CHECK_LE(offset + aac_frame_length, buffer->size()); in extractAndQueueAccessUnits() 2166 offset += aac_frame_length; in extractAndQueueAccessUnits() 2210 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits() 2214 sp<ABuffer> unit = new ABuffer(aac_frame_length); in extractAndQueueAccessUnits() 2215 memcpy(unit->data(), adtsHeader, aac_frame_length); in extractAndQueueAccessUnits()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 470 unsigned aac_frame_length = ((adtsHeader[3] & 3) << 11) | in process() local 474 if (size < aac_frame_length) { in process() 477 "header is %u bytes.", size, aac_frame_length); in process() 482 if (aac_frame_length < adtsHeaderSize) { in process() 488 inBufferLength = aac_frame_length - adtsHeaderSize; in process()
|