Note: We no longer publish the latest version of our code here. We primarily use a kumc-bmi github organization. The heron ETL repository, in particular, is not public. Peers in the informatics community should see MultiSiteDev for details on requesting access.

source: webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_tables.h @ 0:4bda6873e34c

pub_scrub_3792 tip
Last change on this file since 0:4bda6873e34c was 0:4bda6873e34c, checked in by Michael Prittie <mprittie@…>, 6 years ago

Scrubbed password for publication.

File size: 3.1 KB
Line 
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_tables.h
13 *
14 * header file for coding tables for the LPC coefficients
15 *
16 */
17
18#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
19#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_
20
21#include "typedefs.h"
22
23
24/* indices of KLT coefficients used */
25extern const uint16_t WebRtcIsacfix_kSelIndGain[12];
26
27extern const uint16_t WebRtcIsacfix_kSelIndShape[108];
28
29/* cdf array for model indicator */
30extern const uint16_t WebRtcIsacfix_kModelCdf[KLT_NUM_MODELS+1];
31
32/* pointer to cdf array for model indicator */
33extern const uint16_t *WebRtcIsacfix_kModelCdfPtr[1];
34
35/* initial cdf index for decoder of model indicator */
36extern const uint16_t WebRtcIsacfix_kModelInitIndex[1];
37
38/* offset to go from rounded value to quantization index */
39extern const int16_t WebRtcIsacfix_kQuantMinGain[12];
40
41extern const int16_t WebRtcIsacfix_kQuantMinShape[108];
42
43/* maximum quantization index */
44extern const uint16_t WebRtcIsacfix_kMaxIndGain[12];
45
46extern const uint16_t WebRtcIsacfix_kMaxIndShape[108];
47
48/* index offset */
49extern const uint16_t WebRtcIsacfix_kOffsetGain[KLT_NUM_MODELS][12];
50
51extern const uint16_t WebRtcIsacfix_kOffsetShape[KLT_NUM_MODELS][108];
52
53/* initial cdf index for KLT coefficients */
54extern const uint16_t WebRtcIsacfix_kInitIndexGain[KLT_NUM_MODELS][12];
55
56extern const uint16_t WebRtcIsacfix_kInitIndexShape[KLT_NUM_MODELS][108];
57
58/* offsets for quantizer representation levels */
59extern const uint16_t WebRtcIsacfix_kOfLevelsGain[3];
60
61extern const uint16_t WebRtcIsacfix_kOfLevelsShape[3];
62
63/* quantizer representation levels */
64extern const int32_t WebRtcIsacfix_kLevelsGainQ17[1176];
65
66extern const int16_t WebRtcIsacfix_kLevelsShapeQ10[1735];
67
68/* cdf tables for quantizer indices */
69extern const uint16_t WebRtcIsacfix_kCdfGain[1212];
70
71extern const uint16_t WebRtcIsacfix_kCdfShape[2059];
72
73/* pointers to cdf tables for quantizer indices */
74extern const uint16_t *WebRtcIsacfix_kCdfGainPtr[KLT_NUM_MODELS][12];
75
76extern const uint16_t *WebRtcIsacfix_kCdfShapePtr[KLT_NUM_MODELS][108];
77
78/* code length for all coefficients using different models */
79extern const int16_t WebRtcIsacfix_kCodeLenGainQ11[392];
80
81extern const int16_t WebRtcIsacfix_kCodeLenShapeQ11[577];
82
83/* left KLT transforms */
84extern const int16_t WebRtcIsacfix_kT1GainQ15[KLT_NUM_MODELS][4];
85
86extern const int16_t WebRtcIsacfix_kT1ShapeQ15[KLT_NUM_MODELS][324];
87
88/* right KLT transforms */
89extern const int16_t WebRtcIsacfix_kT2GainQ15[KLT_NUM_MODELS][36];
90
91extern const int16_t WebRtcIsacfix_kT2ShapeQ15[KLT_NUM_MODELS][36];
92
93/* means of log gains and LAR coefficients */
94extern const int16_t WebRtcIsacfix_kMeansGainQ8[KLT_NUM_MODELS][12];
95
96extern const int32_t WebRtcIsacfix_kMeansShapeQ17[3][108];
97
98#endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_LPC_TABLES_H_ */
Note: See TracBrowser for help on using the repository browser.