Home
last modified time | relevance | path

Searched refs:it_bit_buff (Results 1 – 25 of 58) sorted by relevance

123

/external/libxaac/decoder/drc_src/
Dimpd_drc_dynamic_payload.c32 ia_bit_buf_struct* it_bit_buff,
35 WORD32 impd_parse_eq_coefficients(ia_bit_buf_struct* it_bit_buff,
39 ia_bit_buf_struct* it_bit_buff, ia_drc_config* drc_config,
41 WORD32 impd_dec_initial_gain(ia_bit_buf_struct* it_bit_buff, in impd_dec_initial_gain() argument
47 sign = impd_read_bits_buf(it_bit_buff, 1); in impd_dec_initial_gain()
48 if (it_bit_buff->error) return it_bit_buff->error; in impd_dec_initial_gain()
49 magn = impd_read_bits_buf(it_bit_buff, 8); in impd_dec_initial_gain()
50 if (it_bit_buff->error) return it_bit_buff->error; in impd_dec_initial_gain()
58 sign = impd_read_bits_buf(it_bit_buff, 1); in impd_dec_initial_gain()
59 if (it_bit_buff->error) return it_bit_buff->error; in impd_dec_initial_gain()
[all …]
Dimpd_drc_static_payload.c159 ia_bit_buf_struct* it_bit_buff, WORD32 parametric_drc_frame_size, in impd_parse_parametric_drc_ffwd() argument
167 tmp = impd_read_bits_buf(it_bit_buff, 3); in impd_parse_parametric_drc_ffwd()
168 if (it_bit_buff->error) return it_bit_buff->error; in impd_parse_parametric_drc_ffwd()
177 tmp = impd_read_bits_buf(it_bit_buff, 6); in impd_parse_parametric_drc_ffwd()
178 if (it_bit_buff->error) return it_bit_buff->error; in impd_parse_parametric_drc_ffwd()
187 impd_read_bits_buf(it_bit_buff, 1); in impd_parse_parametric_drc_ffwd()
188 if (it_bit_buff->error) return it_bit_buff->error; in impd_parse_parametric_drc_ffwd()
192 impd_read_bits_buf(it_bit_buff, 7); in impd_parse_parametric_drc_ffwd()
193 if (it_bit_buff->error) return it_bit_buff->error; in impd_parse_parametric_drc_ffwd()
200 tmp = impd_read_bits_buf(it_bit_buff, 15); in impd_parse_parametric_drc_ffwd()
[all …]
Dimpd_drc_bitbuffer.c33 WORD32 impd_read_bits_buf(ia_bit_buf_struct* it_bit_buff, WORD no_of_bits) { in impd_read_bits_buf() argument
35 UWORD8* ptr_read_next = it_bit_buff->ptr_read_next; in impd_read_bits_buf()
36 WORD bit_pos = it_bit_buff->bit_pos; in impd_read_bits_buf()
38 if (it_bit_buff->cnt_bits <= 0) { in impd_read_bits_buf()
39 it_bit_buff->error = 1; in impd_read_bits_buf()
47 it_bit_buff->cnt_bits -= no_of_bits; in impd_read_bits_buf()
55 if (ptr_read_next > it_bit_buff->ptr_bit_buf_end) { in impd_read_bits_buf()
56 ptr_read_next = it_bit_buff->ptr_bit_buf_base; in impd_read_bits_buf()
65 it_bit_buff->ptr_read_next = ptr_read_next; in impd_read_bits_buf()
66 it_bit_buff->bit_pos = (WORD16)bit_pos; in impd_read_bits_buf()
[all …]
Dimpd_drc_parser.h24 impd_dec_ducking_scaling(ia_bit_buf_struct* it_bit_buff,
29 impd_parse_loudness_info(ia_bit_buf_struct* it_bit_buff, WORD32 version,
34 ia_bit_buf_struct* it_bit_buff,
44 ia_bit_buf_struct* it_bit_buff,
49 ia_bit_buf_struct* it_bit_buff, WORD32 version, ia_drc_config* drc_config,
53 impd_parse_gain_set_params(ia_bit_buf_struct* it_bit_buff, WORD32 version,
59 ia_bit_buf_struct* it_bit_buff, WORD32 version,
65 ia_bit_buf_struct* it_bit_buff, WORD32 version,
71 impd_parse_drc_ext_v1(ia_bit_buf_struct* it_bit_buff,
77 impd_parse_drc_config(ia_bit_buf_struct* it_bit_buff,
[all …]
Dimpd_drc_uni_parser.h24 impd_dec_ducking_scaling(ia_bit_buf_struct* it_bit_buff,
29 impd_parse_loudness_info(ia_bit_buf_struct* it_bit_buff, WORD32 version,
34 ia_bit_buf_struct* it_bit_buff,
44 ia_bit_buf_struct* it_bit_buff, ia_drc_config* drc_config,
49 ia_bit_buf_struct* it_bit_buff, WORD32 version, ia_drc_config* drc_config,
55 impd_parse_gain_set_params(ia_bit_buf_struct* it_bit_buff, WORD32 version,
61 ia_bit_buf_struct* it_bit_buff, WORD32 version,
67 ia_bit_buf_struct* it_bit_buff, WORD32 version,
73 impd_parse_drc_config(ia_bit_buf_struct* it_bit_buff,
79 ia_bit_buf_struct* it_bit_buff,
[all …]
Dimpd_drc_parser_interface.h25 ia_bit_buf_struct* it_bit_buff,
29 impd_sys_interface_read(ia_bit_buf_struct* it_bit_buff,
34 ia_bit_buf_struct* it_bit_buff,
39 ia_bit_buf_struct* it_bit_buff,
43 impd_drc_interface_read(ia_bit_buf_struct* it_bit_buff,
48 ia_bit_buf_struct* it_bit_buff,
53 ia_bit_buf_struct* it_bit_buff,
58 impd_unidrc_interface_read(ia_bit_buf_struct* it_bit_buff,
/external/libxaac/decoder/
Dixheaacd_bitbuffer.c38 VOID ixheaacd_byte_align(ia_bit_buf_struct *it_bit_buff, in ixheaacd_byte_align() argument
41 alignment = (WORD)((*align_bits_cnt - it_bit_buff->cnt_bits) & 0x07); in ixheaacd_byte_align()
44 ixheaacd_read_bits_buf(it_bit_buff, (8 - alignment)); in ixheaacd_byte_align()
47 *align_bits_cnt = it_bit_buff->cnt_bits; in ixheaacd_byte_align()
50 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_skip_bits_buf() argument
51 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_skip_bits_buf()
52 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_skip_bits_buf()
54 if (it_bit_buff->cnt_bits < no_of_bits || it_bit_buff->cnt_bits < 0) in ixheaacd_skip_bits_buf()
55 longjmp(*(it_bit_buff->xaac_jmp_buf), in ixheaacd_skip_bits_buf()
57 it_bit_buff->cnt_bits -= no_of_bits; in ixheaacd_skip_bits_buf()
[all …]
Dixheaacd_headerdecode.c106 ixheaacd_aac_bytealign(struct ia_bit_buf_struct *it_bit_buff) { in ixheaacd_aac_bytealign() argument
108 num_bit = (it_bit_buff->bit_pos + 1); in ixheaacd_aac_bytealign()
110 it_bit_buff->bit_pos = 7; in ixheaacd_aac_bytealign()
111 it_bit_buff->cnt_bits -= num_bit; in ixheaacd_aac_bytealign()
112 it_bit_buff->ptr_read_next += 1; in ixheaacd_aac_bytealign()
118 struct ia_bit_buf_struct *it_bit_buff) { in ixheaacd_read_pce_channel_info() argument
121 tmp = ixheaacd_read_bits_buf(it_bit_buff, 5); in ixheaacd_read_pce_channel_info()
135 VOID ixheaacd_read_pce_mixdown_data(struct ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_pce_mixdown_data() argument
138 WORD32 mix_down_flag = ixheaacd_read_bits_buf(it_bit_buff, mix_down_present); in ixheaacd_read_pce_mixdown_data()
140 ixheaacd_read_bits_buf(it_bit_buff, mix_down_element_no); in ixheaacd_read_pce_mixdown_data()
[all …]
Dixheaacd_common_initfuncs.c126 ia_bit_buf_struct *ixheaacd_create_bit_buf(ia_bit_buf_struct *it_bit_buff, in ixheaacd_create_bit_buf() argument
129 it_bit_buff->ptr_bit_buf_base = ptr_bit_buf_base; in ixheaacd_create_bit_buf()
130 it_bit_buff->ptr_bit_buf_end = ptr_bit_buf_base + bit_buf_size - 1; in ixheaacd_create_bit_buf()
132 it_bit_buff->ptr_read_next = ptr_bit_buf_base; in ixheaacd_create_bit_buf()
133 it_bit_buff->bit_pos = 7; in ixheaacd_create_bit_buf()
135 it_bit_buff->cnt_bits = 0; in ixheaacd_create_bit_buf()
136 it_bit_buff->size = bit_buf_size << 3; in ixheaacd_create_bit_buf()
138 it_bit_buff->adts_header_present = 0; in ixheaacd_create_bit_buf()
139 it_bit_buff->protection_absent = 0; in ixheaacd_create_bit_buf()
140 it_bit_buff->pstr_adts_crc_info = &it_bit_buff->str_adts_crc_info; in ixheaacd_create_bit_buf()
[all …]
Dixheaacd_latmdemux.c83 struct ia_bit_buf_struct *it_bit_buff) { in ixheaacd_latm_au_chunk_length_info() argument
88 UWORD32 tmp = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_latm_au_chunk_length_info()
100 WORD32 ixheaacd_latm_payload_length_info(struct ia_bit_buf_struct *it_bit_buff, in ixheaacd_latm_payload_length_info() argument
114 ixheaacd_latm_au_chunk_length_info(it_bit_buff); in ixheaacd_latm_payload_length_info()
122 (it_bit_buff->size - it_bit_buff->cnt_bits) >> 3; in ixheaacd_latm_payload_length_info()
139 static UWORD32 ixheaacd_latm_get_value(ia_bit_buf_struct *it_bit_buff) { in ixheaacd_latm_get_value() argument
142 bytes_read = ixheaacd_read_bits_buf(it_bit_buff, 2) + 1; in ixheaacd_latm_get_value()
145 return ixheaacd_read_bits_buf(it_bit_buff, 8 * bytes_read); in ixheaacd_latm_get_value()
147 return (ixheaacd_read_bits_buf(it_bit_buff, 24) << 8) + in ixheaacd_latm_get_value()
148 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_latm_get_value()
[all …]
Dixheaacd_init_config.c154 VOID ixheaacd_read_escape_value(ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_escape_value() argument
162 value = ixheaacd_read_bits_buf(it_bit_buff, no_bits1); in ixheaacd_read_escape_value()
165 val_add = ixheaacd_read_bits_buf(it_bit_buff, no_bits2); in ixheaacd_read_escape_value()
170 val_add = ixheaacd_read_bits_buf(it_bit_buff, no_bits3); in ixheaacd_read_escape_value()
203 VOID ixheaacd_sbr_config(ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_config() argument
205 pstr_usac_sbr_config->harmonic_sbr = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
206 pstr_usac_sbr_config->bs_inter_tes = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
207 pstr_usac_sbr_config->bs_pvc = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
209 ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_sbr_config()
211 pstr_usac_sbr_config->dflt_stop_freq = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_sbr_config()
[all …]
Dixheaacd_common_lpfuncs.c82 ixheaacd_aac_showbits_7(ia_bit_buf_struct *it_bit_buff) { in ixheaacd_aac_showbits_7() argument
83 UWORD8 *v = it_bit_buff->ptr_read_next; in ixheaacd_aac_showbits_7()
87 if (it_bit_buff->bit_pos < 6) { in ixheaacd_aac_showbits_7()
90 x = (UWORD32)b << (15 + 8 - it_bit_buff->bit_pos); in ixheaacd_aac_showbits_7()
164 VOID ixheaacd_read_data_stream_element(ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_data_stream_element() argument
168 WORD32 count = ixheaacd_read_bits_buf(it_bit_buff, 13); in ixheaacd_read_data_stream_element()
173 cnt += ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_data_stream_element()
177 ixheaacd_byte_align(it_bit_buff, byte_align_bits); in ixheaacd_read_data_stream_element()
181 memcpy(&temp_bs, it_bit_buff, sizeof(ia_bit_buf_struct)); in ixheaacd_read_data_stream_element()
212 if (it_bit_buff->cnt_bits < (cnt << 3)) { in ixheaacd_read_data_stream_element()
[all …]
Dixheaacd_acelp_bitparse.c54 WORD32 ixheaacd_get_mode_lpc(WORD32 lpc_set, ia_bit_buf_struct *it_bit_buff, in ixheaacd_get_mode_lpc() argument
63 mode_lpc = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_get_mode_lpc()
67 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
70 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
77 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
80 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
83 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
96 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_qn_data() argument
101 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) { in ixheaacd_qn_data()
111 qn[k] = 2 + ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_qn_data()
[all …]
Dixheaacd_env_extr.c70 VOID ixheaacd_huffman_decode(WORD32 it_bit_buff, WORD16 *h_index, WORD16 *len, in ixheaacd_huffman_decode() argument
88 temp = (UWORD32)(it_bit_buff & mask); in ixheaacd_huffman_decode()
110 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_esbr_pvc_envelope() argument
123 div_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_DIV_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
124 ns_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_NS_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
136 (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_REUSE_PVC_ID_BITS); in ixheaacd_read_esbr_pvc_envelope()
141 pvc_id[0] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
157 length = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, length_bits); in ixheaacd_read_esbr_pvc_envelope()
166 pvc_id[k++] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
197 grid_info = ixheaacd_read_bits_buf(it_bit_buff, PVC_GRID_INFO_BITS); in ixheaacd_read_esbr_pvc_envelope()
[all …]
Dixheaacd_aacpluscheck.c57 ia_bit_buf_struct *it_bit_buff, in ixheaacd_check_for_sbr_payload() argument
65 count = it_bit_buff->cnt_bits >> 3; in ixheaacd_check_for_sbr_payload()
68 count = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_check_for_sbr_payload()
72 esc_count = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_check_for_sbr_payload()
83 extension_type = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_check_for_sbr_payload()
112 (WORD8)ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_check_for_sbr_payload()
117 *ptr_sbr_data++ = (WORD8)ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_check_for_sbr_payload()
126 *ptr_sbr_data++ = (WORD8)ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_check_for_sbr_payload()
130 WORD32 unaligned_bits = (8 - it_bit_buff->cnt_bits); in ixheaacd_check_for_sbr_payload()
132 (WORD8)ixheaacd_read_bits_buf(it_bit_buff, cnt_bits); in ixheaacd_check_for_sbr_payload()
[all …]
Dixheaacd_aacdecoder.c103 ia_bit_buf_struct *it_bit_buff; in ixheaacd_aacdec_decodeframe() local
133 it_bit_buff = p_state_enhaacplus_dec->ptr_bit_stream; in ixheaacd_aacdec_decodeframe()
135 ptr_adts_crc_info = it_bit_buff->pstr_adts_crc_info; in ixheaacd_aacdec_decodeframe()
299 cnt_bits = it_bit_buff->cnt_bits; in ixheaacd_aacdec_decodeframe()
304 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
305 ixheaacd_read_bidirection(it_bit_buff, -3); in ixheaacd_aacdec_decodeframe()
307 if (it_bit_buff->cnt_bits < 3) { in ixheaacd_aacdec_decodeframe()
308 it_bit_buff->cnt_bits = -1; in ixheaacd_aacdec_decodeframe()
315 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
321 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
[all …]
Dixheaacd_channel.c170 WORD32 ixheaacd_read_pulse_data(ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_pulse_data() argument
176 WORD32 value = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_pulse_data()
188 WORD32 value = ixheaacd_read_bits_buf(it_bit_buff, 9); in ixheaacd_read_pulse_data()
202 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_block_data() argument
220 it_bit_buff, ptr_aac_dec_channel_info, aac_spect_data_resil_flag, in ixheaacd_read_block_data()
228 ixheaacd_rvlc_read(it_bit_buff, ptr_aac_dec_channel_info); in ixheaacd_read_block_data()
230 ixheaacd_read_scale_factor_data(it_bit_buff, ptr_aac_dec_channel_info, in ixheaacd_read_block_data()
236 ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_block_data()
239 it_bit_buff, &ptr_aac_dec_channel_info->str_pulse_info, in ixheaacd_read_block_data()
249 (FLAG)ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_block_data()
[all …]
Dixheaacd_block.c107 VOID ixheaacd_huff_sfb_table(WORD32 it_bit_buff, WORD16 *huff_index, in ixheaacd_huff_sfb_table() argument
126 temp = (UWORD32)((it_bit_buff & mask)); in ixheaacd_huff_sfb_table()
162 ia_bit_buf_struct *it_bit_buff, WORD32 *spec_coef, WORD16 *offsets, in ixheaacd_huffman_dec_word1() argument
172 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word1()
173 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word1()
179 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word1()
199 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
224 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
235 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
242 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
[all …]
Dixheaacd_mps_dec.c336 static WORD32 ixheaacd_mps_pcm_decode(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_pcm_decode() argument
390 data = ixheaacd_read_bits_buf(it_bit_buff, pcm_chunk_size[grp_len]); in ixheaacd_mps_pcm_decode()
417 static WORD32 ixheaacd_mps_huff_read(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_huff_read() argument
424 next_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_huff_read()
433 static WORD32 ixheaacd_mps_huff_read_2d(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_huff_read_2d() argument
441 if (!ixheaacd_mps_huff_read(it_bit_buff, node_tab, &node)) return 0; in ixheaacd_mps_huff_read_2d()
456 static WORD32 ixheaacd_mps_sym_restore(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_sym_restore() argument
473 sym_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_sym_restore()
481 sym_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_sym_restore()
492 static WORD32 ixheaacd_mps_sym_restoreipd(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_sym_restoreipd() argument
[all …]
Dixheaacd_bitbuffer.h96 VOID ixheaacd_byte_align(ia_bit_buf_struct *it_bit_buff,
99 ia_bit_buf_struct *ixheaacd_create_bit_buf(ia_bit_buf_struct *it_bit_buff,
103 ia_bit_buf_struct *ixheaacd_create_init_bit_buf(ia_bit_buf_struct *it_bit_buff,
107 WORD32 ixheaacd_read_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
109 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
111 WORD32 ixheaacd_show_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits);
113 VOID ixheaacd_read_bidirection(ia_bit_buf_struct *it_bit_buff,
129 #define get_no_bits_available(it_bit_buff) ((it_bit_buff)->cnt_bits) argument
130 #define ixheaacd_no_bits_read(it_bit_buff) \ argument
131 ((it_bit_buff)->size - (it_bit_buff)->cnt_bits)
[all …]
Dixheaacd_process.c104 WORD32 ch_fac, WORD32 slot_element, ia_bit_buf_struct *it_bit_buff,
108 ia_bit_buf_struct *it_bit_buff, in ixheaacd_esbr_process() argument
139 &sbr_scratch_struct, 0, 1, 0, it_bit_buff, NULL, in ixheaacd_esbr_process()
148 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_ext_data_read() argument
155 cnt_bits_in = it_bit_buff->cnt_bits; in ixheaacd_sbr_ext_data_read()
156 count = (it_bit_buff->cnt_bits) >> 3; in ixheaacd_sbr_ext_data_read()
178 UWORD32 usac_ext_element_payload_frag, ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_ext_element() argument
184 usac_ext_element_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_ext_element()
187 usac_ext_element_use_dft_length = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_ext_element()
192 pay_load_length = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_ext_element()
[all …]
Dixheaacd_longblock.c62 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_section_data() argument
100 sect_cb = ixheaacd_read_bits_buf(it_bit_buff, 5); in ixheaacd_read_section_data()
102 sect_cb = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_read_section_data()
107 sect_len_incr = ixheaacd_read_bits_buf(it_bit_buff, sect_bitlen); in ixheaacd_read_section_data()
110 sect_len_incr = ixheaacd_read_bits_buf(it_bit_buff, sect_bitlen); in ixheaacd_read_section_data()
156 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_scale_factor_data() argument
172 WORD start_bit_pos = it_bit_buff->bit_pos; in ixheaacd_read_scale_factor_data()
173 UWORD8 *start_read_pos = it_bit_buff->ptr_read_next; in ixheaacd_read_scale_factor_data()
174 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_read_scale_factor_data()
175 WORD32 bit_pos = 7 - it_bit_buff->bit_pos; in ixheaacd_read_scale_factor_data()
[all …]
Dixheaacd_rev_vlc.c407 UWORD8 ixheaacd_rvlc_read_bits(ia_bit_buf_struct *it_bit_buff, in ixheaacd_rvlc_read_bits() argument
411 *ptr_position - (it_bit_buff->size - it_bit_buff->cnt_bits); in ixheaacd_rvlc_read_bits()
413 if (read_bit_offset) it_bit_buff->cnt_bits -= read_bit_offset; in ixheaacd_rvlc_read_bits()
415 it_bit_buff->ptr_read_next = in ixheaacd_rvlc_read_bits()
416 it_bit_buff->ptr_bit_buf_base + in ixheaacd_rvlc_read_bits()
417 ((it_bit_buff->size - it_bit_buff->cnt_bits) >> 3); in ixheaacd_rvlc_read_bits()
418 it_bit_buff->bit_pos = ((it_bit_buff->size - it_bit_buff->cnt_bits) & 7); in ixheaacd_rvlc_read_bits()
421 bit = ixheaacd_aac_read_bit_rev(it_bit_buff); in ixheaacd_rvlc_read_bits()
425 bit = ixheaacd_aac_read_bit(it_bit_buff); in ixheaacd_rvlc_read_bits()
434 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_rvlc_decode_escape_word() argument
[all …]
Dixheaacd_spectrum_dec.c83 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_read_tns_u() argument
113 ixheaacd_read_bits_buf(it_bit_buff, n_filt_bits))) in ixheaacd_read_tns_u()
117 ixheaacd_read_bits_buf(it_bit_buff, 1) + 3; in ixheaacd_read_tns_u()
124 top - ixheaacd_read_bits_buf(it_bit_buff, start_band_bits); in ixheaacd_read_tns_u()
125 tns_filt->order = ixheaacd_read_bits_buf(it_bit_buff, order_bits); in ixheaacd_read_tns_u()
128 tns_filt->direction = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_u()
129 compress = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_u()
136 tmp = ixheaacd_read_bits_buf(it_bit_buff, resolution); in ixheaacd_read_tns_u()
333 ia_bit_buf_struct *it_bit_buff in ixheaacd_fd_channel_stream() argument
355 global_gain = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_fd_channel_stream()
[all …]
Dixheaacd_bit_extract.h43 UWORD8 *max_sfb, ia_bit_buf_struct *it_bit_buff,
50 ia_bit_buf_struct *it_bit_buff);
54 ia_bit_buf_struct *it_bit_buff,
65 ia_bit_buf_struct *it_bit_buff,
70 ia_bit_buf_struct *it_bit_buff, WORD32 chan);
75 ia_bit_buf_struct *it_bit_buff);
84 WORD32 ch, ia_bit_buf_struct *it_bit_buff);
87 ia_bit_buf_struct *it_bit_buff);

123