comparison libtwamr/s10_8pf.h @ 316:ebd064c52fe3

libtwamr: integrate s10_8pf.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 17:49:02 +0000
parents
children
comparison
equal deleted inserted replaced
315:5401aaf7acb0 316:ebd064c52fe3
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 : s10_8pf.h
11 * Purpose : Searches a 35/31 bit algebraic codebook containing
12 * : 10/8 pulses in a frame of 40 samples.
13 *
14 ********************************************************************************
15 */
16 #ifndef s10_8pf_h
17 #define s10_8pf_h "$Id $"
18
19 /*
20 ********************************************************************************
21 * INCLUDE FILES
22 ********************************************************************************
23 */
24 #include "typedef.h"
25 #include "cnst.h"
26
27 /*
28 ********************************************************************************
29 * DEFINITION OF DATA TYPES
30 ********************************************************************************
31 */
32
33 /*
34 ********************************************************************************
35 * DECLARATION OF PROTOTYPES
36 ********************************************************************************
37 */
38
39 void search_10and8i40 (
40 Word16 nbPulse, /* i : nbpulses to find */
41 Word16 step, /* i : stepsize */
42 Word16 nbTracks, /* i : nbTracks */
43 Word16 dn[], /* i : correlation between target and h[] */
44 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */
45 Word16 ipos[], /* i : starting position for each pulse */
46 Word16 pos_max[], /* i : position of maximum of dn[] */
47 Word16 codvec[] /* o : algebraic codebook vector */
48 );
49
50 #endif