Home
last modified time | relevance | path

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

123

/external/libxaac/decoder/drc_src/
Dimpd_drc_interface_parser.c32 ia_bit_buf_struct* it_bit_buff, in impd_unidrc_interface_signature_read() argument
37 tmp = impd_read_bits_buf(it_bit_buff, 16); in impd_unidrc_interface_signature_read()
38 if (it_bit_buff->error) return it_bit_buff->error; in impd_unidrc_interface_signature_read()
46 tmp = impd_read_bits_buf(it_bit_buff, 8); in impd_unidrc_interface_signature_read()
47 if (it_bit_buff->error) return it_bit_buff->error; in impd_unidrc_interface_signature_read()
53 WORD32 impd_sys_interface_read(ia_bit_buf_struct* it_bit_buff, in impd_sys_interface_read() argument
59 impd_read_bits_buf(it_bit_buff, 2); in impd_sys_interface_read()
60 if (it_bit_buff->error) return it_bit_buff->error; in impd_sys_interface_read()
65 impd_read_bits_buf(it_bit_buff, 4); in impd_sys_interface_read()
66 if (it_bit_buff->error) return it_bit_buff->error; in impd_sys_interface_read()
[all …]
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.c37 VOID ixheaacd_byte_align(ia_bit_buf_struct *it_bit_buff, in ixheaacd_byte_align() argument
40 alignment = (WORD)((*align_bits_cnt - it_bit_buff->cnt_bits) & 0x07); in ixheaacd_byte_align()
43 ixheaacd_read_bits_buf(it_bit_buff, (8 - alignment)); in ixheaacd_byte_align()
46 *align_bits_cnt = it_bit_buff->cnt_bits; in ixheaacd_byte_align()
49 WORD32 ixheaacd_skip_bits_buf(ia_bit_buf_struct *it_bit_buff, WORD no_of_bits) { in ixheaacd_skip_bits_buf() argument
50 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_skip_bits_buf()
51 WORD bit_pos = it_bit_buff->bit_pos; in ixheaacd_skip_bits_buf()
53 if (it_bit_buff->cnt_bits < no_of_bits) in ixheaacd_skip_bits_buf()
54 longjmp(*(it_bit_buff->xaac_jmp_buf), in ixheaacd_skip_bits_buf()
56 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_init_config.c158 VOID ixheaacd_read_escape_value(ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_escape_value() argument
166 value = ixheaacd_read_bits_buf(it_bit_buff, no_bits1); in ixheaacd_read_escape_value()
169 val_add = ixheaacd_read_bits_buf(it_bit_buff, no_bits2); in ixheaacd_read_escape_value()
174 val_add = ixheaacd_read_bits_buf(it_bit_buff, no_bits3); in ixheaacd_read_escape_value()
202 VOID ixheaacd_sbr_config(ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_config() argument
204 pstr_usac_sbr_config->harmonic_sbr = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
205 pstr_usac_sbr_config->bs_inter_tes = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
206 pstr_usac_sbr_config->bs_pvc = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_sbr_config()
208 ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_sbr_config()
210 pstr_usac_sbr_config->dflt_stop_freq = ixheaacd_read_bits_buf(it_bit_buff, 4); in ixheaacd_sbr_config()
[all …]
Dixheaacd_latmdemux.c86 struct ia_bit_buf_struct *it_bit_buff) { in ixheaacd_latm_au_chunk_length_info() argument
91 UWORD32 tmp = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_latm_au_chunk_length_info()
103 WORD32 ixheaacd_latm_payload_length_info(struct ia_bit_buf_struct *it_bit_buff, in ixheaacd_latm_payload_length_info() argument
117 ixheaacd_latm_au_chunk_length_info(it_bit_buff); in ixheaacd_latm_payload_length_info()
125 (it_bit_buff->size - it_bit_buff->cnt_bits) >> 3; in ixheaacd_latm_payload_length_info()
142 static UWORD32 ixheaacd_latm_get_value(ia_bit_buf_struct *it_bit_buff) { in ixheaacd_latm_get_value() argument
145 bytes_read = ixheaacd_read_bits_buf(it_bit_buff, 2) + 1; in ixheaacd_latm_get_value()
148 return ixheaacd_read_bits_buf(it_bit_buff, 8 * bytes_read); in ixheaacd_latm_get_value()
150 return (ixheaacd_read_bits_buf(it_bit_buff, 24) << 8) + in ixheaacd_latm_get_value()
151 ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_latm_get_value()
[all …]
Dixheaacd_common_initfuncs.c127 ia_bit_buf_struct *ixheaacd_create_bit_buf(ia_bit_buf_struct *it_bit_buff, in ixheaacd_create_bit_buf() argument
130 it_bit_buff->ptr_bit_buf_base = ptr_bit_buf_base; in ixheaacd_create_bit_buf()
131 it_bit_buff->ptr_bit_buf_end = ptr_bit_buf_base + bit_buf_size - 1; in ixheaacd_create_bit_buf()
133 it_bit_buff->ptr_read_next = ptr_bit_buf_base; in ixheaacd_create_bit_buf()
134 it_bit_buff->bit_pos = 7; in ixheaacd_create_bit_buf()
136 it_bit_buff->cnt_bits = 0; in ixheaacd_create_bit_buf()
137 it_bit_buff->size = bit_buf_size << 3; in ixheaacd_create_bit_buf()
139 it_bit_buff->adts_header_present = 0; in ixheaacd_create_bit_buf()
140 it_bit_buff->protection_absent = 0; in ixheaacd_create_bit_buf()
141 it_bit_buff->pstr_adts_crc_info = &it_bit_buff->str_adts_crc_info; in ixheaacd_create_bit_buf()
[all …]
Dixheaacd_common_lpfuncs.c84 ixheaacd_aac_showbits_7(ia_bit_buf_struct *it_bit_buff) { in ixheaacd_aac_showbits_7() argument
85 UWORD8 *v = it_bit_buff->ptr_read_next; in ixheaacd_aac_showbits_7()
89 if (it_bit_buff->bit_pos < 6) { in ixheaacd_aac_showbits_7()
92 x = (UWORD32)b << (15 + 8 - it_bit_buff->bit_pos); in ixheaacd_aac_showbits_7()
166 VOID ixheaacd_read_data_stream_element(ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_data_stream_element() argument
170 WORD32 count = ixheaacd_read_bits_buf(it_bit_buff, 13); in ixheaacd_read_data_stream_element()
175 cnt += ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_data_stream_element()
179 ixheaacd_byte_align(it_bit_buff, byte_align_bits); in ixheaacd_read_data_stream_element()
183 memcpy(&temp_bs, it_bit_buff, sizeof(ia_bit_buf_struct)); in ixheaacd_read_data_stream_element()
214 if (it_bit_buff->cnt_bits < (cnt << 3)) { in ixheaacd_read_data_stream_element()
[all …]
Dixheaacd_acelp_bitparse.c55 WORD32 ixheaacd_get_mode_lpc(WORD32 lpc_set, ia_bit_buf_struct *it_bit_buff, in ixheaacd_get_mode_lpc() argument
64 mode_lpc = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_get_mode_lpc()
68 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
71 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
78 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
81 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
84 if (ixheaacd_read_bits_buf(it_bit_buff, 1) == 0) in ixheaacd_get_mode_lpc()
97 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_qn_data() argument
102 while (ixheaacd_read_bits_buf(it_bit_buff, 1) == 1) { in ixheaacd_qn_data()
112 qn[k] = 2 + ixheaacd_read_bits_buf(it_bit_buff, 2); in ixheaacd_qn_data()
[all …]
Dixheaacd_env_extr.c71 VOID ixheaacd_huffman_decode(WORD32 it_bit_buff, WORD16 *h_index, WORD16 *len, in ixheaacd_huffman_decode() argument
89 temp = (UWORD32)(it_bit_buff & mask); in ixheaacd_huffman_decode()
111 ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_esbr_pvc_envelope() argument
124 div_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_DIV_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
125 ns_mode = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_NS_MODE_BITS); in ixheaacd_read_esbr_pvc_envelope()
137 (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, PVC_REUSE_PVC_ID_BITS); in ixheaacd_read_esbr_pvc_envelope()
142 pvc_id[0] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
158 length = (UWORD8)ixheaacd_read_bits_buf(it_bit_buff, length_bits); in ixheaacd_read_esbr_pvc_envelope()
167 pvc_id[k++] = (UWORD16)ixheaacd_read_bits_buf(it_bit_buff, pvc_id_bits); in ixheaacd_read_esbr_pvc_envelope()
198 grid_info = ixheaacd_read_bits_buf(it_bit_buff, PVC_GRID_INFO_BITS); in ixheaacd_read_esbr_pvc_envelope()
[all …]
Dixheaacd_aacdecoder.c106 ia_bit_buf_struct *it_bit_buff; in ixheaacd_aacdec_decodeframe() local
136 it_bit_buff = p_state_enhaacplus_dec->ptr_bit_stream; in ixheaacd_aacdec_decodeframe()
138 ptr_adts_crc_info = it_bit_buff->pstr_adts_crc_info; in ixheaacd_aacdec_decodeframe()
302 cnt_bits = it_bit_buff->cnt_bits; in ixheaacd_aacdec_decodeframe()
307 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
308 ixheaacd_read_bidirection(it_bit_buff, -3); in ixheaacd_aacdec_decodeframe()
310 if (it_bit_buff->cnt_bits < 3) { in ixheaacd_aacdec_decodeframe()
311 it_bit_buff->cnt_bits = -1; in ixheaacd_aacdec_decodeframe()
318 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
324 ele_type = (WORD)ixheaacd_read_bits_buf(it_bit_buff, 3); in ixheaacd_aacdec_decodeframe()
[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_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.c105 VOID ixheaacd_huff_sfb_table(WORD32 it_bit_buff, WORD16 *huff_index, in ixheaacd_huff_sfb_table() argument
124 temp = (UWORD32)((it_bit_buff & mask)); in ixheaacd_huff_sfb_table()
160 ia_bit_buf_struct *it_bit_buff, WORD32 *spec_coef, WORD16 *offsets, in ixheaacd_huffman_dec_word1() argument
170 UWORD8 *ptr_read_next = it_bit_buff->ptr_read_next; in ixheaacd_huffman_dec_word1()
171 WORD32 bit_pos = it_bit_buff->bit_pos; in ixheaacd_huffman_dec_word1()
177 read_word = ixheaacd_aac_showbits_32(ptr_read_next, it_bit_buff->cnt_bits, in ixheaacd_huffman_dec_word1()
197 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
222 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
233 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
240 it_bit_buff->ptr_bit_buf_end); in ixheaacd_huffman_dec_word1()
[all …]
Dixheaacd_mps_dec.c335 static WORD32 ixheaacd_mps_pcm_decode(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_pcm_decode() argument
389 data = ixheaacd_read_bits_buf(it_bit_buff, pcm_chunk_size[grp_len]); in ixheaacd_mps_pcm_decode()
416 static WORD32 ixheaacd_mps_huff_read(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_huff_read() argument
423 next_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_huff_read()
432 static WORD32 ixheaacd_mps_huff_read_2d(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_huff_read_2d() argument
440 if (!ixheaacd_mps_huff_read(it_bit_buff, node_tab, &node)) return 0; in ixheaacd_mps_huff_read_2d()
455 static WORD32 ixheaacd_mps_sym_restore(ia_handle_bit_buf_struct it_bit_buff, in ixheaacd_mps_sym_restore() argument
472 sym_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_sym_restore()
480 sym_bit = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_mps_sym_restore()
491 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.c105 WORD32 ch_fac, WORD32 slot_element, ia_bit_buf_struct *it_bit_buff,
109 ia_bit_buf_struct *it_bit_buff, in ixheaacd_esbr_process() argument
132 &sbr_scratch_struct, 0, 1, 0, it_bit_buff, NULL, in ixheaacd_esbr_process()
141 ia_bit_buf_struct *it_bit_buff, in ixheaacd_sbr_ext_data_read() argument
148 cnt_bits_in = it_bit_buff->cnt_bits; in ixheaacd_sbr_ext_data_read()
149 count = (it_bit_buff->cnt_bits) >> 3; in ixheaacd_sbr_ext_data_read()
171 UWORD32 usac_ext_element_payload_frag, ia_bit_buf_struct *it_bit_buff, in ixheaacd_read_ext_element() argument
177 usac_ext_element_present = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_ext_element()
180 usac_ext_element_use_dft_length = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_ext_element()
185 pay_load_length = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_read_ext_element()
[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_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_spectrum_dec.c88 ia_bit_buf_struct *it_bit_buff) { in ixheaacd_read_tns_u() argument
117 ixheaacd_read_bits_buf(it_bit_buff, n_filt_bits))) in ixheaacd_read_tns_u()
121 ixheaacd_read_bits_buf(it_bit_buff, 1) + 3; in ixheaacd_read_tns_u()
128 top - ixheaacd_read_bits_buf(it_bit_buff, start_band_bits); in ixheaacd_read_tns_u()
129 tns_filt->order = ixheaacd_read_bits_buf(it_bit_buff, order_bits); in ixheaacd_read_tns_u()
132 tns_filt->direction = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_u()
133 compress = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_read_tns_u()
140 tmp = ixheaacd_read_bits_buf(it_bit_buff, resolution); in ixheaacd_read_tns_u()
337 ia_bit_buf_struct *it_bit_buff in ixheaacd_fd_channel_stream() argument
359 global_gain = ixheaacd_read_bits_buf(it_bit_buff, 8); in ixheaacd_fd_channel_stream()
[all …]

123