Home
last modified time | relevance | path

Searched refs:adts (Results 1 – 6 of 6) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_headerdecode.c296 WORD32 ixheaacd_find_syncword(ia_adts_header_struct *adts, in ixheaacd_find_syncword() argument
298 adts->sync_word = (WORD16)ixheaacd_read_bits_buf(it_bit_buff, 12); in ixheaacd_find_syncword()
299 if (adts->sync_word == 0xFFF) { in ixheaacd_find_syncword()
308 adts->sync_word = (WORD16)ixheaacd_read_bits_buf(it_bit_buff, 12); in ixheaacd_find_syncword()
309 if (adts->sync_word == 0xFFF) { in ixheaacd_find_syncword()
316 WORD32 ixheaacd_adtsframe(ia_adts_header_struct *adts, in ixheaacd_adtsframe() argument
327 ixheaacd_find_syncword(adts, it_bit_buff); in ixheaacd_adtsframe()
331 adts->id = (tmp & 0x200) >> 9; in ixheaacd_adtsframe()
332 adts->layer = (tmp & 0x180) >> 7; in ixheaacd_adtsframe()
333 adts->protection_absent = (tmp & 0x40) >> 6; in ixheaacd_adtsframe()
[all …]
Dixheaacd_adts.h36 WORD32 ixheaacd_find_syncword(ia_adts_header_struct *adts,
39 WORD32 ixheaacd_adtsframe(ia_adts_header_struct *adts,
42 WORD32 ixheaacd_check_if_adts(ia_adts_header_struct *adts,
Dixheaacd_api.c201 ia_adts_header_struct *adts) { in ixheaacd_readifadts() argument
204 if ((error = ixheaacd_find_syncword(adts, it_bit_buff)) != 0) { in ixheaacd_readifadts()
209 adts, it_bit_buff, in ixheaacd_readifadts()
222 (WORD8)(adts->no_raw_data_blocks + 1); in ixheaacd_readifadts()
1607 ia_adts_header_struct adts; in ixheaacd_dec_init() local
1616 memset(&adts, 0, sizeof(ia_adts_header_struct)); in ixheaacd_dec_init()
1670 error = ixheaacd_readifadts(p_state_enhaacplus_dec, it_bit_buff, &adts); in ixheaacd_dec_init()
1674 p_state_enhaacplus_dec->protection_absent = adts.protection_absent; in ixheaacd_dec_init()
1678 p_state_enhaacplus_dec->frame_size = adts.aac_frame_length; in ixheaacd_dec_init()
1809 if (adts.no_raw_data_blocks != 0) { in ixheaacd_dec_init()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp136 STRUCT_ADTS adts; member
293 if (adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { in transportEnc_Init()
410 adtsWrite_EncodeHeader(&hTp->writer.adts, &hTp->bitStream, bufferFullness, in transportEnc_WriteAccessUnit()
445 !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
446 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0); in transportEnc_WriteAccessUnit()
456 !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
457 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex); in transportEnc_WriteAccessUnit()
479 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits); in transportEnc_EndAccessUnit()
509 if (hTpEnc->writer.adts.currentBlock >= in transportEnc_GetFrame()
510 hTpEnc->writer.adts.num_raw_blocks + 1) { in transportEnc_GetFrame()
[all …]
/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp123 STRUCT_ADTS adts; member
209 hInput->parser.adts.decoderCanDoMpeg4 = 1; in transportDec_Open()
211 hInput->parser.adts.decoderCanDoMpeg4 = 0; in transportDec_Open()
212 adtsRead_CrcInit(&hInput->parser.adts); in transportDec_Open()
213 hInput->parser.adts.BufferFullnesStartFlag = 1; in transportDec_Open()
690 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { in transportDec_GetBufferFullness()
691 bufferFullness = hTp->parser.adts.bs.frame_length * 8 + in transportDec_GetBufferFullness()
692 hTp->parser.adts.bs.adts_fullness * 32 * in transportDec_GetBufferFullness()
694 hTp->parser.adts.bs.channel_config); in transportDec_GetBufferFullness()
756 if (hTp->parser.adts.bs.protection_absent == 0) { in transportDec_AdjustEndOfAccessUnit()
[all …]
/external/python/cpython3/Lib/test/
Dmime.types1085 audio/vnd.dlna.adts