comparison libtwamr/enc_lag3.h @ 363:0349de7c45b7

libtwamr: integrate enc_lag[36].c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 06 May 2024 02:46:19 +0000
parents
children
comparison
equal deleted inserted replaced
362:9cbd1b5d061f 363:0349de7c45b7
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 : enc_lag3.h
11 * Purpose : Encoding of fractional pitch lag with 1/3 resolution.
12 *
13 ********************************************************************************
14 */
15 #ifndef enc_lag3_h
16 #define enc_lag3_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
37 Enc_lag3( /* o : Return index of encoding */
38 Word16 T0, /* i : Pitch delay */
39 Word16 T0_frac, /* i : Fractional pitch delay */
40 Word16 T0_prev, /* i : Integer pitch delay of last subframe */
41 Word16 T0_min, /* i : minimum of search range */
42 Word16 T0_max, /* i : maximum of search range */
43 Word16 delta_flag, /* i : Flag for 1st (or 3rd) subframe */
44 Word16 flag4 /* i : Flag for encoding with 4 bits */
45 );
46
47 #endif