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
23extern const FLOAT32 ixheaacd_sub_samp_qmf_window_coeff[40 + 80 + 120 + 160 +
24                                                        200 + 240 + 320 + 400];
25extern const FLOAT32 ixheaacd_random_phase[512][2];
26extern const FLOAT32 ixheaacd_hphase_tbl[2][8];
27
28extern const FLOAT32 ixheaacd_g_lim_gains[4];
29
30typedef const FLOAT32 FIR_FILTER[5];
31extern FIR_FILTER ixheaacd_fir_0;
32extern FIR_FILTER ixheaacd_fir_1;
33extern FIR_FILTER ixheaacd_fir_2;
34extern FIR_FILTER ixheaacd_fir_3;
35extern FIR_FILTER ixheaacd_fir_4;
36extern FIR_FILTER *ixheaacd_fir_table[5];
37extern const FLOAT32 ixheaacd_q_gamma_table[4];
38extern const WORD32 ixheaacd_start_subband2kL_tbl[33];
39extern const FLOAT32 ixheaacd_cos_table_trans_qmf[7][32 * 2];
40
41extern const FLOAT32 ixheaacd_phase_vocoder_cos_table[64];
42extern const FLOAT32 ixheaacd_phase_vocoder_sin_table[64];
43extern const FLOAT32 ixheaacd_hbe_post_anal_proc_interp_coeff[4][2];
44
45extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_2[2 * (128 + 128)];
46extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_3[2 * (128 + 128)];
47extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_4[2 * (128 + 128)];
48extern const FLOAT32 ixheaacd_hbe_x_prod_cos_table_trans_4_1[2 * (128 + 128)];
49
50extern const FLOAT32 ixheaacd_synth_cos_table_kl_4[8 * 4];
51extern const FLOAT32 ixheaacd_synth_cos_table_kl_8[16 * 8];
52extern const FLOAT32 ixheaacd_synth_cos_table_kl_12[24 * 12];
53extern const FLOAT32 ixheaacd_synth_cos_table_kl_16[32 * 16];
54extern const FLOAT32 ixheaacd_synth_cos_table_kl_20[40 * 20];
55extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_8[8 * 8 * 2];
56extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_16[16 * 16 * 2];
57extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_24[24 * 24 * 2];
58extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_32[32 * 32 * 2];
59extern const FLOAT32 ixheaacd_analy_cos_sin_table_kl_40[40 * 80 * 2];
60extern const FLOAT32 ixheaacd_sel_case[4][8];
61#endif
62