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_FIX_SOURCE_PITCH_GAIN_TABLES_H_ 20 #define MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_ 21 22 #include <stdint.h> 23 24 /********************* Pitch Filter Gain Coefficient Tables 25 * ************************/ 26 /* cdf for quantized pitch filter gains */ 27 extern const uint16_t WebRtcIsacfix_kPitchGainCdf[255]; 28 29 /* index limits and ranges */ 30 extern const int16_t WebRtcIsacfix_kLowerlimiGain[3]; 31 extern const int16_t WebRtcIsacfix_kUpperlimitGain[3]; 32 extern const uint16_t WebRtcIsacfix_kMultsGain[2]; 33 34 /* mean values of pitch filter gains in Q12*/ 35 extern const int16_t WebRtcIsacfix_kPitchGain1[144]; 36 extern const int16_t WebRtcIsacfix_kPitchGain2[144]; 37 extern const int16_t WebRtcIsacfix_kPitchGain3[144]; 38 extern const int16_t WebRtcIsacfix_kPitchGain4[144]; 39 40 /* size of cdf table */ 41 extern const uint16_t WebRtcIsacfix_kCdfTableSizeGain[1]; 42 43 /* transform matrix */ 44 extern const int16_t WebRtcIsacfix_kTransform[4][4]; 45 46 #endif /* MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_ */ 47