2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
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.
14 * This file contains tables for the pitch filter side-info in the entropy coder.
18 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
19 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_
21 #include "webrtc/typedefs.h"
23 /********************* Pitch Filter Gain Coefficient Tables ************************/
24 /* cdf for quantized pitch filter gains */
25 extern const uint16_t WebRtcIsacfix_kPitchGainCdf[255];
27 /* index limits and ranges */
28 extern const int16_t WebRtcIsacfix_kLowerlimiGain[3];
29 extern const int16_t WebRtcIsacfix_kUpperlimitGain[3];
30 extern const uint16_t WebRtcIsacfix_kMultsGain[2];
32 /* mean values of pitch filter gains in Q12*/
33 extern const int16_t WebRtcIsacfix_kPitchGain1[144];
34 extern const int16_t WebRtcIsacfix_kPitchGain2[144];
35 extern const int16_t WebRtcIsacfix_kPitchGain3[144];
36 extern const int16_t WebRtcIsacfix_kPitchGain4[144];
38 /* size of cdf table */
39 extern const uint16_t WebRtcIsacfix_kCdfTableSizeGain[1];
41 /* transform matrix */
42 extern const int16_t WebRtcIsacfix_kTransform[4][4];
44 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_ */