annotate libtwamr/syn_filt.h @ 496:af70bf42eb1b

libgsmhr1: implement DHF const array
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 18 Jun 2024 00:15:46 +0000
parents 2af94ba0c075
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
394
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 *
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 * R99 Version 3.3.0
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 * REL-4 Version 4.1.0
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 *
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 *
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 * File : syn_filt.h
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 * Purpose : Perform synthesis filtering through 1/A(z).
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 *
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 *
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 #ifndef syn_filt_h
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 #define syn_filt_h "$Id $"
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 /*
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 * INCLUDE FILES
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #include "typedef.h"
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 /*
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 * DEFINITION OF DATA TYPES
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 /*
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 * DECLARATION OF PROTOTYPES
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 ********************************************************************************
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 void Syn_filt (
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 Word16 a[], /* (i) : a[m+1] prediction coefficients (m=10) */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 Word16 x[], /* (i) : input signal */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 Word16 y[], /* (o) : output signal */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 Word16 lg, /* (i) : size of filtering */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 Word16 mem[], /* (i/o): memory associated with this filtering. */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 Word16 update /* (i) : 0=no update, 1=update of memory. */
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 );
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
2af94ba0c075 libtwamr: integrate syn_filt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #endif