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 coder. 15 * 16 */ 17 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_ 20 21 #include "webrtc/typedefs.h" 22 23 /********************* Pitch Filter Gain Coefficient Tables ************************/ 24 /* cdf for quantized pitch filter gains */ 25 extern const uint16_t WebRtcIsacfix_kPitchGainCdf[255]; 26 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]; 31 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]; 37 38 /* size of cdf table */ 39 extern const uint16_t WebRtcIsacfix_kCdfTableSizeGain[1]; 40 41 /* transform matrix */ 42 extern const int16_t WebRtcIsacfix_kTransform[4][4]; 43 44 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_PITCH_GAIN_TABLES_H_ */ 45