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