• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_DRC_DEC_H
21 
22 #define IXHEAACD_DRC_DEC_H
23 
24 #define DD_BLOCKSIZE (256)
25 
26 #define ININTERBUF_SIZE 256
27 
28 #define MAX_METADATA_SETS (32)
29 
30 VOID ixheaacd_drc_dec_create(ia_drc_dec_struct *pstr_hdrc_dec,
31                              WORD16 drc_ref_level, WORD16 drc_def_level);
32 
33 WORD32 ixheaacd_dec_drc_read_element(ia_drc_dec_struct *pstr_drc_dec,
34                                      ia_drc_dec_struct *drc_dummy,
35                                      ia_handle_bit_buf_struct bs);
36 
37 WORD32 ixheaacd_drc_map_channels(ia_drc_dec_struct *drc_dec, WORD32 num_ch,
38                                  WORD32 frame_size);
39 
40 VOID ixheaacd_drc_apply(ia_drc_dec_struct *pstr_drc_dec,
41                         WORD32 *ptr_spectral_coef, WORD32 win_seq,
42                         WORD32 channel, WORD32 frame_size);
43 #endif
44