comparison libtwamr/inter_36.h @ 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.h
11 * Purpose : Interpolating the normalized correlation
12 * : with 1/3 or 1/6 resolution.
13 *
14 ********************************************************************************
15 */
16 #ifndef inter_36_h
17 #define inter_36_h "$Id $"
18
19 /*
20 ********************************************************************************
21 * INCLUDE FILES
22 ********************************************************************************
23 */
24 #include "typedef.h"
25
26 /*
27 ********************************************************************************
28 * DEFINITION OF DATA TYPES
29 ********************************************************************************
30 */
31
32 /*
33 ********************************************************************************
34 * DECLARATION OF PROTOTYPES
35 ********************************************************************************
36 */
37 Word16 Interpol_3or6 ( /* (o) : interpolated value */
38 Word16 *x, /* (i) : input vector */
39 Word16 frac, /* (i) : fraction (-2..2 for 3*, -3..3 for 6*) */
40 Word16 flag3 /* (i) : if set, upsampling rate = 3 (6 otherwise) */
41 );
42
43 #endif