Home
last modified time | relevance | path

Searched refs:ixheaacd_drc_offset (Results 1 – 25 of 30) sorted by relevance

12

/external/libxaac/decoder/
Dixheaacd_basic_ops.c123 offset_lengths *ixheaacd_drc_offset, in ixheaacd_windowing_long2() argument
128 win_fwd += ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
133 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
138 for (i = ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->lfac; in ixheaacd_windowing_long2()
139 i < ixheaacd_drc_offset->n_flat_ls + ixheaacd_drc_offset->n_trans_ls; in ixheaacd_windowing_long2()
142 (ixheaacd_mult32_sh1(-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
143 ixheaacd_drc_offset->n_flat_ls + in ixheaacd_windowing_long2()
144 ixheaacd_drc_offset->lfac - i - 1], in ixheaacd_windowing_long2()
153 i < ixheaacd_drc_offset->n_flat_ls + (ixheaacd_drc_offset->lfac * 3); in ixheaacd_windowing_long2()
156 ixheaacd_add32_sat((-src1[ixheaacd_drc_offset->n_long / 2 + in ixheaacd_windowing_long2()
[all …]
Dixheaacd_imdct.c288 offset_lengths *ixheaacd_drc_offset, in ixheaacd_fd_imdct_short() argument
311 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
312 ixheaacd_normalize(p_in_ibuffer, max_shift, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
317 sizeof(WORD32) * ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
320 fp = overlap_data + ixheaacd_drc_offset->n_flat_ls; in ixheaacd_fd_imdct_short()
324 ixheaacd_acelp_imdct(p_in_ibuffer + (k * ixheaacd_drc_offset->n_short), in ixheaacd_fd_imdct_short()
325 2 * ixheaacd_drc_offset->n_short, &shiftp, in ixheaacd_fd_imdct_short()
330 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
331 ixheaacd_normalize(p_in_ibuffer, max_shift - 1, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
334 err_code = ixheaacd_calc_window(&window_short, ixheaacd_drc_offset->n_short, in ixheaacd_fd_imdct_short()
[all …]
Dixheaacd_common_lpfuncs.c100 WORD ixheaacd_drc_offset = 0, channel_mask = 0; in ixheaacd_get_channel_mask() local
111 ptr_slot_element[ch_idx] = ixheaacd_drc_offset; in ixheaacd_get_channel_mask()
112 ixheaacd_drc_offset += 2; in ixheaacd_get_channel_mask()
121 ptr_slot_element[ch_idx] = ixheaacd_drc_offset; in ixheaacd_get_channel_mask()
122 ixheaacd_drc_offset += 1; in ixheaacd_get_channel_mask()
130 ptr_slot_element[ch_idx] = ixheaacd_drc_offset; in ixheaacd_get_channel_mask()
131 ixheaacd_drc_offset += 1; in ixheaacd_get_channel_mask()
138 ptr_slot_element[ch_idx] = ixheaacd_drc_offset; in ixheaacd_get_channel_mask()
139 ixheaacd_drc_offset += 2; in ixheaacd_get_channel_mask()
147 ptr_slot_element[ch_idx] = ixheaacd_drc_offset; in ixheaacd_get_channel_mask()
[all …]
Dixheaacd_env_dec.c93 WORD32 ixheaacd_drc_offset, WORD32 index, in ixheaacd_map_res_energy() argument
96 if (ixheaacd_drc_offset >= 0) { in ixheaacd_map_res_energy()
97 if (index < ixheaacd_drc_offset) { in ixheaacd_map_res_energy()
101 index_2 = ((index + index) - ixheaacd_drc_offset); in ixheaacd_map_res_energy()
106 ixheaacd_drc_offset = -(ixheaacd_drc_offset); in ixheaacd_map_res_energy()
108 if (index < ixheaacd_drc_offset) { in ixheaacd_map_res_energy()
116 index_2 = ((index + index) + ixheaacd_drc_offset); in ixheaacd_map_res_energy()
137 WORD32 ixheaacd_drc_offset; in ixheaacd_process_del_cod_env_data() local
140 ixheaacd_drc_offset = in ixheaacd_process_del_cod_env_data()
151 ixheaacd_map_res_energy(*ptr_env_sf, ptr_prev_env_sf, ixheaacd_drc_offset, in ixheaacd_process_del_cod_env_data()
[all …]
Dixheaacd_acelp_decode.c67 WORD32 ixheaacd_drc_offset, in ixheaacd_acelp_decode_1sp_per_track() argument
74 sp_pos = (idx_1p & mask) + ixheaacd_drc_offset; in ixheaacd_acelp_decode_1sp_per_track()
87 WORD32 ixheaacd_drc_offset, in ixheaacd_acelp_decode_2sp_per_track() argument
95 sp_pos[0] = (((idx_2p >> M) & mask) + ixheaacd_drc_offset); in ixheaacd_acelp_decode_2sp_per_track()
96 sp_pos[1] = ((idx_2p & mask) + ixheaacd_drc_offset); in ixheaacd_acelp_decode_2sp_per_track()
124 WORD32 ixheaacd_drc_offset, in ixheaacd_acelp_decode_3sp_per_track() argument
131 j = ixheaacd_drc_offset; in ixheaacd_acelp_decode_3sp_per_track()
138 ixheaacd_acelp_decode_1sp_per_track(idx_1p, M, ixheaacd_drc_offset, track, in ixheaacd_acelp_decode_3sp_per_track()
144 WORD32 index, WORD32 ixheaacd_drc_offset, WORD32 track, in ixheaacd_d_acelp_decode_4sp_per_track_section() argument
149 j = ixheaacd_drc_offset; in ixheaacd_d_acelp_decode_4sp_per_track_section()
[all …]
Dixheaacd_stereo.c75 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_ms_stereo_process() local
79 ixheaacd_drc_offset += ptr_sfb_width[sfb]; in ixheaacd_ms_stereo_process()
99 l_spec = l_spec + 128 - ixheaacd_drc_offset; in ixheaacd_ms_stereo_process()
100 r_spec = r_spec + 128 - ixheaacd_drc_offset; in ixheaacd_ms_stereo_process()
145 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_intensity_stereo_process() local
150 ixheaacd_drc_offset += ptr_sfb_width[sfb]; in ixheaacd_intensity_stereo_process()
197 l_spec += 128 - ixheaacd_drc_offset; in ixheaacd_intensity_stereo_process()
198 r_spec += 128 - ixheaacd_drc_offset; in ixheaacd_intensity_stereo_process()
Dixheaacd_vec_baisc_ops.h34 offset_lengths *ixheaacd_drc_offset,
40 offset_lengths *ixheaacd_drc_offset,
44 offset_lengths *ixheaacd_drc_offset,
48 offset_lengths *ixheaacd_drc_offset,
Dixheaacd_common_initfuncs.c159 WORD32 ixheaacd_drc_offset) { in ixheaacd_read_bidirection() argument
160 if (ixheaacd_drc_offset != 0) { in ixheaacd_read_bidirection()
163 it_bit_buff->cnt_bits = it_bit_buff->cnt_bits - ixheaacd_drc_offset; in ixheaacd_read_bidirection()
164 it_bit_buff->bit_pos = it_bit_buff->bit_pos - ixheaacd_drc_offset; in ixheaacd_read_bidirection()
Dixheaacd_qmf_dec.c708 WORD32 ixheaacd_drc_offset; in ixheaacd_cplx_synt_qmffilt() local
822 ixheaacd_drc_offset = qmf_bank->ixheaacd_drc_offset; in ixheaacd_cplx_synt_qmffilt()
850 &filter_states[ixheaacd_drc_offset], qmf_bank, in ixheaacd_cplx_synt_qmffilt()
856 ixheaacd_drc_offset -= no_synthesis_channels << 1; in ixheaacd_cplx_synt_qmffilt()
858 if (ixheaacd_drc_offset < 0) in ixheaacd_cplx_synt_qmffilt()
859 ixheaacd_drc_offset += ((no_synthesis_channels << 1) * 10); in ixheaacd_cplx_synt_qmffilt()
919 qmf_real[i], t_qmf_imag, &filter_states[ixheaacd_drc_offset], in ixheaacd_cplx_synt_qmffilt()
926 qmf_real[i], t_qmf_imag, &filter_states[ixheaacd_drc_offset], in ixheaacd_cplx_synt_qmffilt()
944 ixheaacd_drc_offset -= 64; in ixheaacd_cplx_synt_qmffilt()
946 if (ixheaacd_drc_offset < 0) ixheaacd_drc_offset += 640; in ixheaacd_cplx_synt_qmffilt()
[all …]
Dixheaacd_mps_dec.c337 WORD32 ixheaacd_drc_offset, in ixheaacd_mps_pcm_decode() argument
398 out_data_1[idx] = next_val - ixheaacd_drc_offset; in ixheaacd_mps_pcm_decode()
400 out_data_2[idx] = next_val - ixheaacd_drc_offset; in ixheaacd_mps_pcm_decode()
403 out_data_2[idx / 2] = next_val - ixheaacd_drc_offset; in ixheaacd_mps_pcm_decode()
405 out_data_1[idx / 2] = next_val - ixheaacd_drc_offset; in ixheaacd_mps_pcm_decode()
534 WORD32 i = 0, node = 0, ixheaacd_drc_offset = 0; in ixheaacd_mps_huff_dec_cld_1d() local
544 ixheaacd_drc_offset = 1; in ixheaacd_mps_huff_dec_cld_1d()
547 for (i = ixheaacd_drc_offset; i < num_val; i++) { in ixheaacd_mps_huff_dec_cld_1d()
570 WORD32 i = 0, node = 0, ixheaacd_drc_offset = 0; in ixheaacd_mps_huff_dec_ipd_1d() local
579 ixheaacd_drc_offset = 1; in ixheaacd_mps_huff_dec_ipd_1d()
[all …]
Dixheaacd_ext_ch_ele.c141 WORD32 ixheaacd_drc_offset; in ixheaacd_usac_cplx_save_prev() local
143 ixheaacd_drc_offset = info->samp_per_bk - info->bins_per_sbk; in ixheaacd_usac_cplx_save_prev()
145 memcpy(l_spec_prev + ixheaacd_drc_offset, l_spec + ixheaacd_drc_offset, in ixheaacd_usac_cplx_save_prev()
147 memcpy(r_spec_prev + ixheaacd_drc_offset, r_spec + ixheaacd_drc_offset, in ixheaacd_usac_cplx_save_prev()
315 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_ms_stereo() local
319 ixheaacd_drc_offset = 0; in ixheaacd_ms_stereo()
321 ixheaacd_drc_offset += ptr_sfb_info->sfb_width[sfb]; in ixheaacd_ms_stereo()
337 l_spec = l_spec + ptr_sfb_info->bins_per_sbk - ixheaacd_drc_offset; in ixheaacd_ms_stereo()
338 r_spec = r_spec + ptr_sfb_info->bins_per_sbk - ixheaacd_drc_offset; in ixheaacd_ms_stereo()
Dixheaacd_tns.c57 WORD32 ixheaacd_drc_offset = 4; in ixheaacd_tns_dec_coef_usac() local
65 ixheaacd_drc_offset = ixheaacd_drc_offset << 1; in ixheaacd_tns_dec_coef_usac()
71 *ptr_par_coeff++ = tns_coeff_ptr[temp + ixheaacd_drc_offset]; in ixheaacd_tns_dec_coef_usac()
Dixheaacd_env_extr.c81 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_huffman_decode() local
94 ixheaacd_drc_offset = (idx_table[clo] >> 20) & 0xff; in ixheaacd_huffman_decode()
95 length = input_table[ixheaacd_drc_offset + 1] & 0x1f; in ixheaacd_huffman_decode()
99 ixheaacd_drc_offset = ixheaacd_drc_offset - (cwrd - temp1); in ixheaacd_huffman_decode()
106 *h_index = input_table[ixheaacd_drc_offset + 1] >> 5; in ixheaacd_huffman_decode()
1097 WORD32 j, i, ixheaacd_drc_offset = 0, in ixheaacd_read_env_data() local
1130 p_sbr_sf[ixheaacd_drc_offset] = in ixheaacd_read_env_data()
1132 p_sbr_sf_float[ixheaacd_drc_offset] = p_sbr_sf[ixheaacd_drc_offset]; in ixheaacd_read_env_data()
1152 p_sbr_sf[ixheaacd_drc_offset + i] = in ixheaacd_read_env_data()
1154 p_sbr_sf_float[ixheaacd_drc_offset + i] = in ixheaacd_read_env_data()
[all …]
Dixheaacd_pns_js_thumb.c202 WORD8 ixheaacd_drc_offset = 4; in ixheaacd_tns_decode_coef() local
210 ixheaacd_drc_offset = ixheaacd_drc_offset << 1; in ixheaacd_tns_decode_coef()
215 *ptr_par_coef++ = tns_coeff_ptr[temp + ixheaacd_drc_offset]; in ixheaacd_tns_decode_coef()
Dixheaacd_spectrum_dec.c63 WORD32 ixheaacd_drc_offset; in ixheaacd_calc_grp_offset() local
76 ixheaacd_drc_offset = 0; in ixheaacd_calc_grp_offset()
80 ixheaacd_drc_offset += ptr_sfb_info->sfb_width[sfb] * len; in ixheaacd_calc_grp_offset()
81 *group_offset_p++ = ixheaacd_drc_offset; in ixheaacd_calc_grp_offset()
Dixheaacd_aac_tns.c82 WORD8 ixheaacd_drc_offset; in ixheaacd_tns_decode_coefficients() local
87 ixheaacd_drc_offset = 4; in ixheaacd_tns_decode_coefficients()
91 ixheaacd_drc_offset = 8; in ixheaacd_tns_decode_coefficients()
95 *aptr++ = tns_coeff_ptr[filter->coef[i] + ixheaacd_drc_offset]; in ixheaacd_tns_decode_coefficients()
Dixheaacd_sbr_dec.c463 WORD32 ixheaacd_drc_offset; in ixheaacd_esbr_synthesis_filt_block() local
505 ixheaacd_drc_offset = qmf_bank->ixheaacd_drc_offset; in ixheaacd_esbr_synthesis_filt_block()
520 &ptr_filt_states[ixheaacd_drc_offset], in ixheaacd_esbr_synthesis_filt_block()
535 ixheaacd_drc_offset -= 128; in ixheaacd_esbr_synthesis_filt_block()
537 if (ixheaacd_drc_offset < 0) ixheaacd_drc_offset += 1280; in ixheaacd_esbr_synthesis_filt_block()
548 qmf_bank->ixheaacd_drc_offset = ixheaacd_drc_offset; in ixheaacd_esbr_synthesis_filt_block()
Dixheaacd_ps_dec.c732 WORD ixheaacd_drc_offset = in ixheaacd_init_rot_env() local
737 if (ixheaacd_drc_offset > usb_prev) { in ixheaacd_init_rot_env()
743 sizeof(WORD16) * (ixheaacd_drc_offset - usb_prev) * 2); in ixheaacd_init_rot_env()
754 if ((offset1 >= ixheaacd_drc_offset) && (offset1 <= SMALL_DEL_STRT)) { in ixheaacd_init_rot_env()
757 &ptr_ps_dec->delay_buf_qmf_ld_re_im[i][ixheaacd_drc_offset * 2]; in ixheaacd_init_rot_env()
760 sizeof(WORD16) * 2 * (offset1 - ixheaacd_drc_offset)); in ixheaacd_init_rot_env()
Dixheaacd_arith_dec.c2022 WORD32 ixheaacd_drc_offset = win * pstr_sfb_info->bins_per_sbk; in ixheaacd_apply_scfs_and_nf() local
2026 if (quant[ixheaacd_drc_offset + idx] != 0) { in ixheaacd_apply_scfs_and_nf()
2056 WORD32 ixheaacd_drc_offset = win * pstr_sfb_info->bins_per_sbk; in ixheaacd_apply_scfs_and_nf() local
2065 ixheaacd_esc_iquant(&quant[ixheaacd_drc_offset + start], in ixheaacd_apply_scfs_and_nf()
2066 &coef[ixheaacd_drc_offset + start], noise_level_fix, in ixheaacd_apply_scfs_and_nf()
Dixheaacd_block.c115 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_huff_sfb_table() local
129 ixheaacd_drc_offset = (idx_table[leading_ones] >> 20) & 0x1ff; in ixheaacd_huff_sfb_table()
130 length = code_book_tbl[ixheaacd_drc_offset + 1] & 0x1f; in ixheaacd_huff_sfb_table()
134 ixheaacd_drc_offset = ixheaacd_drc_offset - (code_word - temp1); in ixheaacd_huff_sfb_table()
141 *huff_index = code_book_tbl[ixheaacd_drc_offset + 1] >> 5; in ixheaacd_huff_sfb_table()
Dixheaacd_bitbuffer.h114 WORD32 ixheaacd_drc_offset);
Dixheaacd_sbr_rom.h130 WORD8 ixheaacd_drc_offset[7][16]; member
Dixheaacd_env_calc.h65 WORD32 ixheaacd_drc_offset);
Dixheaacd_drc_freq_dec.c796 static const WORD32 ixheaacd_drc_offset[2][16] = { variable
1035 ixheaacd_drc_offset[offset_value] in ixheaacd_drc_apply()
/external/libxaac/test/
Dixheaacd_main.c813 WORD32 ixheaacd_drc_offset = 0; in ixheaacd_main_process() local
1779 ixheaacd_drc_offset = i_out_bytes - bytes_to_write; in ixheaacd_main_process()
1784 ixheaacd_drc_offset = 0; in ixheaacd_main_process()
1804 ia_fwrite((pVOID)(pb_out_buf + ixheaacd_drc_offset), (i_pcm_wd_sz / 8), in ixheaacd_main_process()
1809 fwrite(pb_out_buf + ixheaacd_drc_offset, sizeof(WORD8), i_out_bytes, in ixheaacd_main_process()

12