comparison libtwamr/c1035pf.h @ 318:6fd6c5fc1aa4

libtwamr: integrate c1035pf.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 18:04:10 +0000
parents
children
comparison
equal deleted inserted replaced
317:675597e63fd8 318:6fd6c5fc1aa4
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 : c1035pf.h
11 * Purpose : Searches a 35 bit algebraic codebook containing
12 * : 10 pulses in a frame of 40 samples.
13 *
14 ********************************************************************************
15 */
16 #ifndef c1035pf_h
17 #define c1035pf_h "$Id $"
18
19 /*
20 ********************************************************************************
21 * INCLUDE FILES
22 ********************************************************************************
23 */
24 #include "typedef.h"
25
26 /*
27 ********************************************************************************
28 * DEFINITION OF DATA TYPES
29 ********************************************************************************
30 */
31
32 /*
33 ********************************************************************************
34 * DECLARATION OF PROTOTYPES
35 ********************************************************************************
36 */
37 void code_10i40_35bits (
38 Word16 x[], /* (i) : target vector */
39 Word16 cn[], /* (i) : residual after long term prediction */
40 Word16 h[], /* (i) : impulse response of weighted synthesis
41 filter */
42 Word16 cod[], /* (o) : algebraic (fixed) codebook excitation */
43 Word16 y[], /* (o) : filtered fixed codebook excitation */
44 Word16 indx[] /* (o) : index of 10 pulses (sign + position) */
45 );
46
47 #endif