xref: /aosp_15_r20/external/libxaac/encoder/ixheaace_mps_rom.h (revision 15dc779a375ca8b5125643b829a8aa4b70d7f451)
1 /******************************************************************************
2  *                                                                            *
3  * Copyright (C) 2023 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 
21 #pragma once
22 extern const UWORD8 freq_res_bin_table_ld[MAX_FREQ_RES_INDEX];
23 extern const UWORD8 freq_res_bin_table_usac[8];
24 extern const UWORD8 freq_res_stride_table_212[4];
25 extern const ixheaace_mps_sac_tree_description tree_config_table[];
26 extern const WORD32 freq_res_bin_table[];
27 extern const UWORD8 valid_bands_ld[10];
28 extern const WORD32 freq_res_stride_table[];
29 extern const WORD32 temp_shape_chan_table[][7];
30 extern const FLOAT32 p8_13[13];
31 extern const FLOAT32 p2_6[6];
32 extern const WORD32 kernels_20[];
33 
34 extern const UWORD8 lav_huff_val[4];
35 extern const UWORD8 lav_huff_len[4];
36 
37 extern const UWORD8 lav_step_cld[];
38 extern const UWORD8 lav_step_icc[];
39 
40 extern const ixheaace_mps_tree_setup tree_setup_table;
41 
42 extern const UWORD8 subband_2_parameter_ld[NUM_QMF_BANDS];
43 
44 extern const UWORD8 subband_2_parameter_usac[MAX_QMF_BANDS];
45 
46 extern const FLOAT32 cld_quant_table_fine_enc[IXHEAACE_MPS_MAX_CLD_QUANT_FINE];
47 
48 extern const FLOAT32 cld_quant_table_coarse_enc[IXHEAACE_MPS_MAX_CLD_QUANT_COARSE];
49 
50 extern const FLOAT32 icc_quant_table_fine[IXHEAACE_MPS_MAX_ICC_QUANT_FINE];
51 
52 extern const FLOAT32 icc_quant_table_coarse[IXHEAACE_MPS_MAX_ICC_QUANT_COARSE];
53 
54 extern const FLOAT32 pre_gain_factor_table_flt_new[41];
55 
56 extern const FLOAT32 dmx_gain_table_flt[];
57 
58 extern ixheaace_mps_sac_qmf_ana_filter_bank qmf_fltbank;
59 extern const FLOAT32 trig_data_fct4_8[8];
60 extern const FLOAT32 trig_data_fct4_16[16];
61 extern const FLOAT32 trig_data_fct4_32[32];
62 
63 extern const FLOAT32 ia_mps_enc_qmf_64_640[325];
64 
65 extern const FLOAT32 sbr_cos_twiddle[];
66 extern const FLOAT32 sbr_sin_twiddle[];
67 extern const FLOAT32 sbr_alt_sin_twiddle[];
68 extern const FLOAT32 fft_c[4];
69 
70 extern const FLOAT32 ia_qmf_anl_addt_cos[32];
71 extern const FLOAT32 ia_qmf_anl_addt_sin[32];
72