comparison libtwamr/convolve.h @ 329:e230a4a87bd8

libtwamr: integrate convolve.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 22:02:04 +0000
parents
children
comparison
equal deleted inserted replaced
328:4614f1a97e1a 329:e230a4a87bd8
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 : convolve.h
11 * Purpose : Perform the convolution between two vectors x[]
12 * : and h[] and write the result in the vector y[].
13 * : All vectors are of length L and only the first
14 * : L samples of the convolution are computed.
15 *
16 ********************************************************************************
17 */
18 #ifndef convolve_h
19 #define convolve_h "$Id $"
20
21 /*
22 ********************************************************************************
23 * INCLUDE FILES
24 ********************************************************************************
25 */
26 #include "typedef.h"
27
28 /*
29 ********************************************************************************
30 * DEFINITION OF DATA TYPES
31 ********************************************************************************
32 */
33
34 /*
35 ********************************************************************************
36 * DECLARATION OF PROTOTYPES
37 ********************************************************************************
38 */
39 void Convolve (
40 Word16 x[], /* (i) : input vector */
41 Word16 h[], /* (i) : impulse response */
42 Word16 y[], /* (o) : output vector */
43 Word16 L /* (i) : vector size */
44 );
45
46 #endif