• 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  * pitch_gain_tables.h
13  *
14  * This file contains tables for the pitch filter side-info in the entropy
15  * coder.
16  *
17  */
18 
19 #ifndef MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_GAIN_TABLES_H_
20 #define MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_GAIN_TABLES_H_
21 
22 #include <stdint.h>
23 
24 /* header file for coding tables for the pitch filter side-info in the entropy
25  * coder */
26 /********************* Pitch Filter Gain Coefficient Tables
27  * ************************/
28 /* cdf for quantized pitch filter gains */
29 extern const uint16_t WebRtcIsac_kQPitchGainCdf[255];
30 
31 /* index limits and ranges */
32 extern const int16_t WebRtcIsac_kIndexLowerLimitGain[3];
33 
34 extern const int16_t WebRtcIsac_kIndexUpperLimitGain[3];
35 extern const uint16_t WebRtcIsac_kIndexMultsGain[2];
36 
37 /* mean values of pitch filter gains */
38 //(Y)
39 extern const int16_t WebRtcIsac_kQMeanGain1Q12[144];
40 extern const int16_t WebRtcIsac_kQMeanGain2Q12[144];
41 extern const int16_t WebRtcIsac_kQMeanGain3Q12[144];
42 extern const int16_t WebRtcIsac_kQMeanGain4Q12[144];
43 //(Y)
44 
45 /* size of cdf table */
46 extern const uint16_t WebRtcIsac_kQCdfTableSizeGain[1];
47 
48 #endif /* MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_PITCH_GAIN_TABLES_H_ */
49