1 /******************************************************************************
2  *                                                                            *
3  * Copyright (C) 2018 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************
18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20 #ifndef IXHEAACD_ESBR_ROM_H
21 #define IXHEAACD_ESBR_ROM_H
22 
23 extern const FLOAT32 ixheaacd_sub_samp_qmf_window_coeff[40 + 80 + 120 + 160 +
24                                                         200 + 240 + 320 + 400];
25 extern const FLOAT32 ixheaacd_random_phase[512][2];
26 extern const FLOAT32 ixheaacd_hphase_tbl[2][8];
27 
28 extern const FLOAT32 ixheaacd_g_lim_gains[4];
29 
30 typedef const FLOAT32 FIR_FILTER[5];
31 extern FIR_FILTER ixheaacd_fir_0;
32 extern FIR_FILTER ixheaacd_fir_1;
33 extern FIR_FILTER ixheaacd_fir_2;
34 extern FIR_FILTER ixheaacd_fir_3;
35 extern FIR_FILTER ixheaacd_fir_4;
36 extern FIR_FILTER *ixheaacd_fir_table[5];
37 extern const FLOAT32 ixheaacd_q_gamma_table[4];
38 extern const WORD32 ixheaacd_start_subband2kL_tbl[33];
39 extern const FLOAT32 ixheaacd_cos_table_trans_qmf[7][32 * 2];
40 
41 extern const FLOAT32 ixheaacd_phase_vocoder_cos_table[64];
42 extern const FLOAT32 ixheaacd_phase_vocoder_sin_table[64];
43 extern const FLOAT32 ixheaacd_hbe_post_anal_proc_interp_coeff[4][2];
44 
45 extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_2[2 * (128 + 128)];
46 extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_3[2 * (128 + 128)];
47 extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_4[2 * (128 + 128)];
48 extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_4_1[2 * (128 + 128)];
49 
50 extern const FLOAT32 ixheaacd_synth_cos_table_kl_4[8 * 4];
51 extern const FLOAT32 ixheaacd_synth_cos_table_kl_8[16 * 8];
52 extern const FLOAT32 ixheaacd_synth_cos_table_kl_12[24 * 12];
53 extern const FLOAT32 ixheaacd_synth_cos_table_kl_16[32 * 16];
54 extern const FLOAT32 ixheaacd_synth_cos_table_kl_20[40 * 20];
55 extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_8[8 * 8 * 2];
56 extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_16[16 * 16 * 2];
57 extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_24[24 * 24 * 2];
58 extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_32[32 * 32 * 2];
59 extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_40[40 * 80 * 2];
60 extern const FLOAT32 ixheaacd_sel_case[4][8];
61 #endif
62