comparison libtwamr/qua_gain_tab.h @ 356:5ccfe176bae1

libtwamr: integrate dec_gain.c
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 05 May 2024 22:24:42 +0000
parents
children
comparison
equal deleted inserted replaced
355:9beb01439a90 356:5ccfe176bae1
1 /*
2 * This header file contains constant definitions and extern declarations
3 * for tables that were originally in qua_gain.tab and qgain475.tab,
4 * included in both decoder and encoder modules.
5 */
6
7 #ifndef qua_gain_tab_h
8 #define qua_gain_tab_h
9
10 #include "typedef.h"
11
12 /* table used in 'high' rates: MR67 MR74 */
13 #define VQ_SIZE_HIGHRATES 128
14
15 extern const Word16 table_gain_highrates[VQ_SIZE_HIGHRATES*4];
16
17 /* table used in 'low' rates: MR475, MR515, MR59 */
18 #define VQ_SIZE_LOWRATES 64
19
20 extern const Word16 table_gain_lowrates[VQ_SIZE_LOWRATES*4];
21
22 /* table that was originally in qgain475.tab */
23
24 #define MR475_VQ_SIZE 256
25
26 extern const Word16 table_gain_MR475[MR475_VQ_SIZE*4];
27
28 #endif /* include guard */