comparison libgsmefr/vad.h @ 48:af4b075d0313

libgsmefr: encoder state structure finished in first pass
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 05:16:38 +0000
parents 36e1363ad885
children 988fd7ff514f
comparison
equal deleted inserted replaced
47:89945a3b576e 48:af4b075d0313
5 * Purpose: Contains the prototypes for all functions of voice activity 5 * Purpose: Contains the prototypes for all functions of voice activity
6 * detection. Also contains the type definition for the pseudo 6 * detection. Also contains the type definition for the pseudo
7 * floating point data type. 7 * floating point data type.
8 * 8 *
9 **************************************************************************/ 9 **************************************************************************/
10
11 /* Struct for storing pseudo floating point exponent and mantissa */
12 struct _fp
13 {
14 Word16 e; /* exponent */
15 Word16 m; /* mantissa */
16 };
17
18 typedef struct _fp Pfloat;
19 10
20 void vad_reset (void); 11 void vad_reset (void);
21 12
22 Word16 vad_computation ( 13 Word16 vad_computation (
23 Word16 r_h[], 14 Word16 r_h[],