xref: /aosp_15_r20/external/libxaac/encoder/ixheaace_config_params.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 /* Input Config Params default values */
23 
24 #define BITRESERVOIR_SIZE_CONFIG_PARAM_DEFAULT_VALUE_LD (384)
25 #define BITRESERVOIR_SIZE_CONFIG_PARAM_DEFAULT_VALUE_LC (768)
26 #define NUM_CHANNELS_CONFIG_PARAM_DEFAULT_VALUE (2)
27 #define AAC_SAMP_FREQ_CONFIG_PARAM_DEFAULT_VALUE (44100)
28 #define NUM_MEMTABS_CONFIG_PARAM_DEFAULT_VALUE (10)
29 #define AAC_CLASSIC_CONFIG_PARAM_DEFAULT_VALUE (0)
30 #define USE_PS_CONFIG_PARAM_DEFAULT_VALUE (0)
31 #define CHMODE_NUM_CHANNELS_CONFIG_PARAM_DEFAULT_VALUE (2)
32 #define CHMODE_CONFIG_PARAM_DEFAULT_VALUE (1)
33 #define ADTS_FLAG_CONFIG_PARAM_DEFAULT_VALUE (0)
34 #define ADIF_FLAG_CONFIG_PARAM_DEFAULT_VALUE (0)
35 #define CHANNEL_MASK_CONFIG_PARAM_DEFAULT_VALUE (0)
36 #define NUM_COUPLING_CHANNEL_CONFIG_PARAM_DEFAULT_VALUE (0)
37 #define ELEMENT_TYPE_CONFIG_PARAM_DEFAULT_VALUE (-1)
38 #define ELEMENT_SLOT_CONFIG_PARAM_DEFAULT_VALUE (0)
39 #define NUM_BS_ELEMENTS_CONFIG_PARAM_DEFAULT_VALUE (1)
40 #define ELEMENT_INSTANCE_TAG_CONFIG_PARAM_DEFAULT_VALUE (0)
41 #define AAC_CFG_CALC_CRC_CONFIG_PARAM_DEFAULT_VALUE (0)
42 #define AAC_CFG_FULL_BW_CONFIG_PARAM_DEFAULT_VALUE (0)
43 #define ELDSBR_FOUND_CONFIG_PARAM_DEFAULT_VALUE (0)
44 #define USE_MPS_PARAM_DEFAULT_VALUE (0)
45 #define USE_MPS_TREE_CONFIG_PARAM_DEFAULT_VALUE (0)
46 #define USE_FRAMELENGTH_SMALL_PARAM_DEFAULT_VALUE (0)
47 #define AAC_BITRATE_DEFAULT_VALUE (48000)
48 
49 #define USAC_SAMP_FREQ_CONFIG_PARAM_DEFAULT_VALUE (48000)
50 #define USAC_SBR_PVC_DEFAULT_VALUE (0)
51 #define USAC_SBR_INTER_TES_DEFAULT_VALUE (0)
52 #define USAC_SBR_HARMONIC_DEFAULT_VALUE (0)
53 #define USAC_FILL_ELEMENT_DEFAULT_VALUE (1)
54 #define USAC_DRC_DEFAULT_VALUE (0)
55 #define USAC_COMPLEX_PREDECTION_DEFAULT_VALUE (0)
56 #define USAC_TNS_DEFAULT_VALUE (0)
57 #define USAC_FLAG_NOISE_FILLING_DEFAULT_VALUE (0)
58 #define USAC_BITRATE_DEFAULT_VALUE (96000)
59 #define USAC_DEFAULT_ACELP_FLAG_VALUE (0)
60 #define USAC_DEFAULT_STREAM_ID_VALUE (0)
61