diff options
author | bmdivya100655 <89966460+bmdivya100655@users.noreply.github.com> | 2023-05-22 20:11:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 20:11:52 +0530 |
commit | 088122e74858fcefb74ada4e7f2cf20307cb0057 (patch) | |
tree | 8e7686fda2f4dfe0056970d6d9fc5a5fc48c91a5 /encoder/ixheaace_common_rom.h | |
parent | 48a1ff21ba386043aef45c233e9cac50ce3cbc86 (diff) | |
download | libxaac-088122e74858fcefb74ada4e7f2cf20307cb0057.tar.gz |
Combined Workspace for Encoder and Decoder (#33)
* Combined Workspace for Encoder and Decoder
* Addressed review comments and some minor edits
---------
Co-authored-by: Divya B M <100655@ittiam.com>
Diffstat (limited to 'encoder/ixheaace_common_rom.h')
-rw-r--r-- | encoder/ixheaace_common_rom.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/encoder/ixheaace_common_rom.h b/encoder/ixheaace_common_rom.h new file mode 100644 index 0000000..9765e4a --- /dev/null +++ b/encoder/ixheaace_common_rom.h @@ -0,0 +1,55 @@ +/****************************************************************************** + * * + * Copyright (C) 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ***************************************************************************** + * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore + */ + +#pragma once + +typedef struct { + const WORD32 sqrt_tab[513]; + const WORD32 sine_array[3]; + const WORD32 cosine_array[3]; + const FLOAT32 sin_arr[3]; + const FLOAT32 cos_arr[3]; + const WORD32 power_of_2_table_pos[256]; + const WORD32 power_of_2_table_neg[256]; + const WORD32 log_natural_Q25[128]; + const WORD32 sfb_width_pow_point_25_Q28[25]; + const short ia_enhaacplus_enc_w1024[768]; +} ixheaace_common_tables; + +extern + const ixheaace_common_tables ia_enhaacplus_enc_common_tab; + +typedef struct { + ixheaace_common_tables *pstr_common_tab; +} ixheaace_comm_tables; + +extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_3pr[1155]; + +extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_3pi[1155]; + +extern const FLOAT64 ia_enhaacplus_enc_twiddle_table_fft_32x32[514]; + +extern const WORD32 ia_enhaacplus_enc_fft240_table1[240]; + +extern const WORD32 ia_enhaacplus_enc_fft240_table2[240]; + +extern const UWORD32 ia_sampl_freq_table[16]; + +extern const UWORD32 ia_usac_sampl_freq_table[32]; |