1 /* 2 * Copyright (c) 2012 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 * filterbank_tables.h 13 * 14 * Header file for variables that are defined in 15 * filterbank_tables.c. 16 * 17 */ 18 19 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_ 20 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_ 21 22 #include "webrtc/typedefs.h" 23 24 #if defined(__cplusplus) || defined(c_plusplus) 25 extern "C" { 26 #endif 27 28 /********************* Coefficient Tables ************************/ 29 30 /* HPstcoeff_in_Q14 = {a1, a2, b1 - b0 * a1, b2 - b0 * a2}; */ 31 /* [Q30lo Q30hi Q30lo Q30hi Q35lo Q35hi Q35lo Q35hi] */ 32 extern const int16_t WebRtcIsacfix_kHpStCoeffInQ30[8]; 33 34 /* HPstcoeff_out_1_Q14 = {a1, a2, b1 - b0 * a1, b2 - b0 * a2}; */ 35 /* [Q30lo Q30hi Q30lo Q30hi Q35lo Q35hi Q35lo Q35hi] */ 36 extern const int16_t WebRtcIsacfix_kHPStCoeffOut1Q30[8]; 37 38 /* HPstcoeff_out_2_Q14 = {a1, a2, b1 - b0 * a1, b2 - b0 * a2}; */ 39 /* [Q30lo Q30hi Q30lo Q30hi Q35lo Q35hi Q35lo Q35hi] */ 40 extern const int16_t WebRtcIsacfix_kHPStCoeffOut2Q30[8]; 41 42 /* The upper channel all-pass filter factors */ 43 extern const int16_t WebRtcIsacfix_kUpperApFactorsQ15[2]; 44 45 /* The lower channel all-pass filter factors */ 46 extern const int16_t WebRtcIsacfix_kLowerApFactorsQ15[2]; 47 48 #if defined(__cplusplus) || defined(c_plusplus) 49 } 50 #endif 51 52 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_FILTERBANK_TABLES_H_ */ 53