/external/aac/libMpegTPEnc/src/ |
tpenc_lib.cpp | 136 STRUCT_ADTS adts; member in union:TRANSPORTENC::__anon13880 292 if (adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { 409 adtsWrite_EncodeHeader(&hTp->writer.adts, &hTp->bitStream, bufferFullness, 444 !hTp->writer.adts.protection_absent) { 445 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0); 455 !hTp->writer.adts.protection_absent) { 456 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex); 478 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits); 508 if (hTpEnc->writer.adts.currentBlock >= 509 hTpEnc->writer.adts.num_raw_blocks + 1) [all...] |
/external/libxaac/decoder/ |
ixheaacd_headerdecode.c | 295 WORD32 ixheaacd_find_syncword(ia_adts_header_struct *adts, 297 adts->sync_word = (WORD16)ixheaacd_read_bits_buf(it_bit_buff, 12); 298 if (adts->sync_word == 0xFFF) { 307 adts->sync_word = (WORD16)ixheaacd_read_bits_buf(it_bit_buff, 12); 308 if (adts->sync_word == 0xFFF) { 315 WORD32 ixheaacd_adtsframe(ia_adts_header_struct *adts, 326 ixheaacd_find_syncword(adts, it_bit_buff); 330 adts->id = (tmp & 0x200) >> 9; 331 adts->layer = (tmp & 0x180) >> 7; 332 adts->protection_absent = (tmp & 0x40) >> 6 943 ia_adts_header_struct adts; local [all...] |
ixheaacd_api.c | 202 ia_adts_header_struct *adts) { 205 if ((error = ixheaacd_find_syncword(adts, it_bit_buff)) != 0) { 210 adts, it_bit_buff, 223 (WORD8)(adts->no_raw_data_blocks + 1); 1581 ia_adts_header_struct adts; local 2102 ia_adts_header_struct adts; local [all...] |
/external/aac/libMpegTPDec/src/ |
tpdec_lib.cpp | 123 STRUCT_ADTS adts; member in union:__anon13855 209 hInput->parser.adts.decoderCanDoMpeg4 = 1; 211 hInput->parser.adts.decoderCanDoMpeg4 = 0; 212 adtsRead_CrcInit(&hInput->parser.adts); 213 hInput->parser.adts.BufferFullnesStartFlag = 1; 690 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { 691 bufferFullness = hTp->parser.adts.bs.frame_length * 8 + 692 hTp->parser.adts.bs.adts_fullness * 32 * 694 hTp->parser.adts.bs.channel_config); 756 if (hTp->parser.adts.bs.protection_absent == 0) [all...] |