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/****************************************************************************************
19Portions of this file are derived from the following 3GPP standard:
20
21    3GPP TS 26.073
22    ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
23    Available from http://www.3gpp.org
24
25(C) 2004, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC)
26Permission to distribute, modify and use this file under the standard license
27terms listed above has been obtained from the copyright holder.
28****************************************************************************************/
29/*
30
31 Filename: /audio/gsm_amr/c/src/q_plsf_3_tbl.h
32
33------------------------------------------------------------------------------
34 REVISION HISTORY
35
36 Description: Created this file from the reference, q_plsf_3_tbl.tab
37
38 Description: Added #ifdef __cplusplus and removed "extern" from table
39              definition.
40
41 Description: Put "extern" back.
42
43 Who:                       Date:
44 Description:
45
46------------------------------------------------------------------------------
47 MODULE DESCRIPTION
48
49------------------------------------------------------------------------------
50*/
51
52/*----------------------------------------------------------------------------
53; INCLUDES
54----------------------------------------------------------------------------*/
55#include "typedef.h"
56
57/*--------------------------------------------------------------------------*/
58#ifdef __cplusplus
59extern "C"
60{
61#endif
62
63    /*----------------------------------------------------------------------------
64    ; MACROS
65    ; [Define module specific macros here]
66    ----------------------------------------------------------------------------*/
67
68    /*----------------------------------------------------------------------------
69    ; DEFINES
70    ; [Include all pre-processor statements here. Include conditional
71    ; compile variables also.]
72    ----------------------------------------------------------------------------*/
73#define MR795_1_SIZE  512
74#define PAST_RQ_INIT_SIZE 8
75
76#define DICO1_SIZE  256
77#define DICO2_SIZE  512
78#define DICO3_SIZE  512
79
80#define MR515_3_SIZE  128
81
82    /*----------------------------------------------------------------------------
83    ; LOCAL FUNCTION DEFINITIONS
84    ; [List function prototypes here]
85    ----------------------------------------------------------------------------*/
86
87    /*----------------------------------------------------------------------------
88    ; LOCAL VARIABLE DEFINITIONS
89    ; [Variable declaration - defined here and used outside this module]
90    ----------------------------------------------------------------------------*/
91
92    /*----------------------------------------------------------------------------
93    ; EXTERNAL VARIABLES REFERENCES
94    ; Declare variables used in this module but defined elsewhere
95    ----------------------------------------------------------------------------*/
96
97    /* Codebooks of LSF prediction residual */
98    extern const Word16 mean_lsf_3[];
99
100    extern const Word16 pred_fac_3[];
101
102    extern const Word16 dico1_lsf_3[];
103    extern const Word16 dico2_lsf_3[];
104    extern const Word16 dico3_lsf_3[];
105
106    extern const Word16 mr515_3_lsf[];
107    extern const Word16 mr795_1_lsf[];
108
109    extern const Word16 past_rq_init[];
110    /*----------------------------------------------------------------------------
111    ; SIMPLE TYPEDEF'S
112    ----------------------------------------------------------------------------*/
113
114    /*----------------------------------------------------------------------------
115    ; ENUMERATED TYPEDEF'S
116    ----------------------------------------------------------------------------*/
117
118    /*----------------------------------------------------------------------------
119    ; STRUCTURES TYPEDEF'S
120    ----------------------------------------------------------------------------*/
121
122
123    /*----------------------------------------------------------------------------
124    ; GLOBAL FUNCTION DEFINITIONS
125    ; Function Prototype declaration
126    ----------------------------------------------------------------------------*/
127
128
129    /*----------------------------------------------------------------------------
130    ; END
131    ----------------------------------------------------------------------------*/
132
133#ifdef __cplusplus
134}
135#endif
136
137