comparison libtwamr/inter_36.tab @ 383:838ed426bb76

libtwamr: integrate inter_36.c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 06 May 2024 05:49:47 +0000
parents
children
comparison
equal deleted inserted replaced
382:693ea1d5cf1e 383:838ed426bb76
1 /*
2 ********************************************************************************
3 *
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
5 * R99 Version 3.3.0
6 * REL-4 Version 4.1.0
7 *
8 ********************************************************************************
9 *
10 * File : inter_36.tab
11 * Purpose : Tables for interpolating the normalized correlation
12 * with 1/3 or 1/6 resolution.
13 * $Id $
14 *
15 ********************************************************************************
16 */
17 #define FIR_SIZE (UP_SAMP_MAX*L_INTER_SRCH+1)
18
19 /* 1/6 resolution interpolation filter (-3 dB at 3600 Hz) */
20 /* Note: The IS641 (7.4) 1/3 resolution filter is simply a subsampled
21 version of the 1/6 resolution filter, i.e. it uses
22 every second coefficient:
23
24 inter_3[k] = inter_6[2*k], 0 <= k <= 3*L_INTER_SRCH
25 */
26
27 static const Word16 inter_6[FIR_SIZE] =
28 {
29 29519,
30 28316, 24906, 19838, 13896, 7945, 2755,
31 -1127, -3459, -4304, -3969, -2899, -1561,
32 -336, 534, 970, 1023, 823, 516,
33 220, 0, -131, -194, -215, 0
34 };