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 23 typedef struct { 24 const WORD32 sqrt_tab[513]; 25 const WORD32 sine_array[3]; 26 const WORD32 cosine_array[3]; 27 const FLOAT32 sin_arr[3]; 28 const FLOAT32 cos_arr[3]; 29 const WORD32 power_of_2_table_pos[256]; 30 const WORD32 power_of_2_table_neg[256]; 31 const WORD32 log_natural_Q25[128]; 32 const WORD32 sfb_width_pow_point_25_Q28[25]; 33 const short ia_enhaacplus_enc_w1024[768]; 34 } ixheaace_common_tables; 35 36 extern const ixheaace_common_tables ia_enhaacplus_enc_common_tab; 37 38 typedef struct { 39 ixheaace_common_tables *pstr_common_tab; 40 } ixheaace_comm_tables; 41 42 extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_3pr[1155]; 43 44 extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_3pi[1155]; 45 46 extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_fft_32x32[514]; 47 48 extern const WORD32 ia_enhaacplus_enc_fft240_table1[240]; 49 50 extern const WORD32 ia_enhaacplus_enc_fft240_table2[240]; 51 52 extern const UWORD32 ia_sampl_freq_table[16]; 53 54 extern const UWORD32 ia_usac_sampl_freq_table[32]; 55