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_AAC_CONFIG_H
21 #define IXHEAACD_AAC_CONFIG_H
22 
23 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_PCM_WDSZ 0x0000
24 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_SAMP_FREQ 0x0001
25 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_NUM_CHANNELS 0x0002
26 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_CHANNEL_MASK 0x0003
27 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_CHANNEL_MODE 0x0004
28 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_SBR_MODE 0x0005
29 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_EFFECT_TYPE 0x0006
30 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_TARGET_LOUDNESS 0x0007
31 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_LOUD_NORM 0x0008
32 
33 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DOWNMIX 0x0009
34 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_OUT08KHZ 0x000A
35 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_OUT16KHZ 0x000B
36 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_TOSTEREO 0x000C
37 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DSAMPLE 0x000D
38 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_FRAMEOK 0x000E
39 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_ISMP4 0x000F
40 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_MAX_CHANNEL 0x0010
41 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_COUP_CHANNEL 0x0011
42 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DOWNMIX_STEREO 0x0012
43 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DISABLE_SYNC 0x0013
44 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_AUTO_SBR_UPSAMPLE 0x0014
45 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_ISLOAS 0x0015
46 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_ENABLE 0x0016
47 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_CUT 0x0017
48 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_BOOST 0x0018
49 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_TARGET_LEVEL 0x0019
50 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_DRC_HEAVY_COMP 0x001A
51 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_FRAMESIZE 0x001B
52 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_ELD_SBR_PRESENT 0x001C
53 #define IA_ENHAACPLUS_DEC_CONFIG_PARAM_LD_TESTING 0x001D
54 
55 #define IA_ENHAACPLUS_DEC_CONFIG_EXT_ELE_PTR 0x001E
56 #define IA_ENHAACPLUS_DEC_CONFIG_EXT_ELE_BUF_SIZES 0x001F
57 #define IA_ENHAACPLUS_DEC_CONFIG_NUM_ELE 0x0020
58 #define IA_ENHAACPLUS_DEC_CONFIG_NUM_CONFIG_EXT 0x0021
59 #define IA_ENHAACPLUS_DEC_CONFIG_GAIN_PAYLOAD_LEN 0x0022
60 #define IA_ENHAACPLUS_DEC_CONFIG_GAIN_PAYLOAD_BUF 0x0023
61 #define IA_ENHAACPLUS_DEC_DRC_EFFECT_TYPE 0x0024
62 #define IA_ENHAACPLUS_DEC_DRC_TARGET_LOUDNESS 0x0025
63 
64 #endif /* IXHEAACD_AAC_CONFIG_H */
65