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 * lpc_shape_swb16_tables.h 13 * 14 * This file declares tables used for entropy coding of LPC shape of 15 * upper-band signal if the bandwidth is 16 kHz. 16 * 17 */ 18 19 #ifndef MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB16_TABLES_H_ 20 #define MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB16_TABLES_H_ 21 22 #include <stdint.h> 23 24 #include "modules/audio_coding/codecs/isac/main/source/settings.h" 25 26 extern const double WebRtcIsac_kMeanLarUb16[UB_LPC_ORDER]; 27 28 extern const double WebRtcIsac_kIintraVecDecorrMatUb16[UB_LPC_ORDER] 29 [UB_LPC_ORDER]; 30 31 extern const double WebRtcIsac_kInterVecDecorrMatUb16[UB16_LPC_VEC_PER_FRAME] 32 [UB16_LPC_VEC_PER_FRAME]; 33 34 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub16[14]; 35 36 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec1Ub16[16]; 37 38 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec2Ub16[18]; 39 40 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec3Ub16[30]; 41 42 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec4Ub16[16]; 43 44 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec5Ub16[17]; 45 46 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec6Ub16[21]; 47 48 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec7Ub16[36]; 49 50 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec8Ub16[21]; 51 52 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub160[21]; 53 54 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub161[28]; 55 56 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub162[55]; 57 58 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub163[26]; 59 60 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub164[28]; 61 62 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub165[34]; 63 64 extern const uint16_t WebRtcIsac_kLpcShapeCdfVec01Ub166[71]; 65 66 extern const uint16_t* 67 WebRtcIsac_kLpcShapeCdfMatUb16[UB_LPC_ORDER * UB16_LPC_VEC_PER_FRAME]; 68 69 extern const double 70 WebRtcIsac_kLpcShapeLeftRecPointUb16[UB_LPC_ORDER * UB16_LPC_VEC_PER_FRAME]; 71 72 extern const int16_t 73 WebRtcIsac_kLpcShapeNumRecPointUb16[UB_LPC_ORDER * UB16_LPC_VEC_PER_FRAME]; 74 75 extern const uint16_t 76 WebRtcIsac_kLpcShapeEntropySearchUb16[UB_LPC_ORDER * 77 UB16_LPC_VEC_PER_FRAME]; 78 79 extern const double WebRtcIsac_kLpcShapeQStepSizeUb16; 80 81 #endif // MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_LPC_SHAPE_SWB16_TABLES_H_ 82