comparison libtwamr/pitch_ol.h @ 415:01c4becb9fda

libtwamr: integrate pitch_ol.c
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 May 2024 03:01:01 +0000
parents
children
comparison
equal deleted inserted replaced
414:028ed5114e52 415:01c4becb9fda
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 : pitch_ol.h
11 * Purpose : Compute the open loop pitch lag.
12 *
13 ********************************************************************************
14 */
15 #ifndef pitch_ol_h
16 #define pitch_ol_h "$Id $"
17
18 /*
19 ********************************************************************************
20 * INCLUDE FILES
21 ********************************************************************************
22 */
23 #include "tw_amr.h"
24 #include "typedef.h"
25 #include "vad.h"
26
27 /*
28 ********************************************************************************
29 * DEFINITION OF DATA TYPES
30 ********************************************************************************
31 */
32
33 /*
34 ********************************************************************************
35 * DECLARATION OF PROTOTYPES
36 ********************************************************************************
37 */
38 Word16 Pitch_ol ( /* o : open loop pitch lag */
39 vadState *vadSt, /* i/o : VAD state struct */
40 enum Mode mode, /* i : coder mode */
41 Word16 signal[], /* i : signal used to compute the open loop pitch */
42 /* signal[-pit_max] to signal[-1] should be known */
43 Word16 pit_min, /* i : minimum pitch lag */
44 Word16 pit_max, /* i : maximum pitch lag */
45 Word16 L_frame, /* i : length of frame to compute pitch */
46 Word16 idx, /* i : frame index */
47 Flag dtx /* i : dtx flag; use dtx=1, do not use dtx=0 */
48 );
49
50 #endif