comparison libgsmefr/vad.h @ 52:988fd7ff514f

libgsmefr: add state pointers to ETSI function prototypes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 08:22:41 +0000
parents af4b075d0313
children 756605c4850f
comparison
equal deleted inserted replaced
51:722959d9410f 52:988fd7ff514f
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 10
11 void vad_reset (void); 11 void vad_reset (struct EFR_encoder_state *st);
12 12
13 Word16 vad_computation ( 13 Word16 vad_computation (
14 struct EFR_encoder_state *st,
14 Word16 r_h[], 15 Word16 r_h[],
15 Word16 r_l[], 16 Word16 r_l[],
16 Word16 scal_acf, 17 Word16 scal_acf,
17 Word16 rc[], 18 Word16 rc[],
18 Word16 ptch 19 Word16 ptch
90 Word16 vad_hangover ( 91 Word16 vad_hangover (
91 Word16 vvad 92 Word16 vvad
92 ); 93 );
93 94
94 void periodicity_update ( 95 void periodicity_update (
95 Word16 lags[], 96 struct EFR_encoder_state *st,
96 Word16 *ptch 97 Word16 lags[]
97 ); 98 );