FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/gmed_n.h @ 308:8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 16 Apr 2024 17:57:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
307:6b33f3ba4289 | 308:8dfb7cbe6b59 |
---|---|
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 : gmed_n.h | |
11 * Purpose : calculates N-point median. | |
12 * | |
13 ******************************************************************************** | |
14 */ | |
15 #ifndef gmed_n_h | |
16 #define gmed_n_h "$Id $" | |
17 | |
18 /* | |
19 ******************************************************************************** | |
20 * INCLUDE FILES | |
21 ******************************************************************************** | |
22 */ | |
23 #include "typedef.h" | |
24 | |
25 /* | |
26 ******************************************************************************** | |
27 * DEFINITION OF DATA TYPES | |
28 ******************************************************************************** | |
29 */ | |
30 | |
31 /* | |
32 ******************************************************************************** | |
33 * DECLARATION OF PROTOTYPES | |
34 ******************************************************************************** | |
35 */ | |
36 Word16 gmed_n ( /* o : index of the median value (0...N-1) */ | |
37 Word16 ind[], /* i : Past gain values */ | |
38 Word16 n /* i : The number of gains; this routine */ | |
39 /* is only valid for a odd number of gains */ | |
40 ); | |
41 | |
42 | |
43 #endif |