• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 /*
12  * lpc_shape_swb12_tables.h
13  *
14  * This file declares tables used for entropy coding of LPC shape of
15  * upper-band signal if the bandwidth is 12 kHz.
16  *
17  */
18 
19 #ifndef MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB12_TABLES_H_
20 #define MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB12_TABLES_H_
21 
22 #include <stdint.h>
23 
24 #include "modules/audio_coding/codecs/isac/main/source/settings.h"
25 
26 extern const double WebRtcIsac_kMeanLarUb12[UB_LPC_ORDER];
27 
28 extern const double WebRtcIsac_kMeanLpcGain;
29 
30 extern const double WebRtcIsac_kIntraVecDecorrMatUb12[UB_LPC_ORDER]
31                                                      [UB_LPC_ORDER];
32 
33 extern const double WebRtcIsac_kInterVecDecorrMatUb12[UB_LPC_VEC_PER_FRAME]
34                                                      [UB_LPC_VEC_PER_FRAME];
35 
36 extern const double WebRtcIsac_kLpcShapeQStepSizeUb12;
37 
38 extern const double
39     WebRtcIsac_kLpcShapeLeftRecPointUb12[UB_LPC_ORDER * UB_LPC_VEC_PER_FRAME];
40 
41 extern const int16_t
42     WebRtcIsac_kLpcShapeNumRecPointUb12[UB_LPC_ORDER * UB_LPC_VEC_PER_FRAME];
43 
44 extern const uint16_t
45     WebRtcIsac_kLpcShapeEntropySearchUb12[UB_LPC_ORDER * UB_LPC_VEC_PER_FRAME];
46 
47 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec0Ub12[14];
48 
49 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec1Ub12[16];
50 
51 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec2Ub12[20];
52 
53 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec3Ub12[28];
54 
55 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec4Ub12[20];
56 
57 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec5Ub12[25];
58 
59 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec6Ub12[33];
60 
61 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec7Ub12[49];
62 
63 extern const uint16_t*
64     WebRtcIsac_kLpcShapeCdfMatUb12[UB_LPC_ORDER * UB_LPC_VEC_PER_FRAME];
65 
66 #endif  // MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB12_TABLES_H_
67