Initialize Tizen 2.3
[external/opencore-amr.git] / opencore / codecs_v2 / audio / gsm_amr / amr_nb / common / include / get_const_tbls.h
1 /* ------------------------------------------------------------------
2  * Copyright (C) 1998-2009 PacketVideo
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18 #ifndef GET_CONST_TBLS_H
19 #define GET_CONST_TBLS_H
20
21 #include "typedef.h"
22
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27     typedef struct
28     {
29         const Word16* dgray_ptr;
30         const Word16* dico1_lsf_3_ptr;
31         const Word16* dico1_lsf_5_ptr;
32         const Word16* dico2_lsf_3_ptr;
33         const Word16* dico2_lsf_5_ptr;
34         const Word16* dico3_lsf_3_ptr;
35         const Word16* dico3_lsf_5_ptr;
36         const Word16* dico4_lsf_5_ptr;
37         const Word16* dico5_lsf_5_ptr;
38         const Word16* gray_ptr;
39         const Word16* lsp_init_data_ptr;
40         const Word16* mean_lsf_3_ptr;
41         const Word16* mean_lsf_5_ptr;
42         const Word16* mr515_3_lsf_ptr;
43         const Word16* mr795_1_lsf_ptr;
44         const Word16* past_rq_init_ptr;
45         const Word16* pred_fac_3_ptr;
46         const Word16* qua_gain_code_ptr;
47         const Word16* qua_gain_pitch_ptr;
48         const Word16* startPos_ptr;
49         const Word16* table_gain_lowrates_ptr;
50         const Word16* table_gain_highrates_ptr;
51         const Word16* prmno_ptr;
52         const Word16* const* bitno_ptr;
53         const Word16* numOfBits_ptr;
54         const Word16* const* reorderBits_ptr;
55         const Word16* numCompressedBytes_ptr;
56         const Word16* window_200_40_ptr;
57         const Word16* window_160_80_ptr;
58         const Word16* window_232_8_ptr;
59         const Word16* ph_imp_low_MR795_ptr;
60         const Word16* ph_imp_mid_MR795_ptr;
61         const Word16* ph_imp_low_ptr;
62         const Word16* ph_imp_mid_ptr;
63     } CommonAmrTbls;
64
65     OSCL_IMPORT_REF void get_const_tbls(CommonAmrTbls* tbl_struct_ptr);
66
67
68 #ifdef __cplusplus
69 }
70 #endif
71
72 #endif