2
|
1
|
|
2 /******************************************************************
|
|
3
|
|
4 iLBC Speech Coder ANSI-C Source Code
|
|
5
|
|
6 LPC_decode.h
|
|
7
|
|
8 Copyright (C) The Internet Society (2004).
|
|
9 All Rights Reserved.
|
|
10
|
|
11 ******************************************************************/
|
|
12
|
|
13 #ifndef __iLBC_LPC_DECODE_H
|
|
14 #define __iLBC_LPC_DECODE_H
|
|
15
|
|
16 void LSFinterpolate2a_dec(float *a, /* (o) lpc coefficients for a sub-frame */
|
|
17 float *lsf1, /* (i) first lsf coefficient vector */
|
|
18 float *lsf2, /* (i) second lsf coefficient vector */
|
|
19 float coef, /* (i) interpolation weight */
|
|
20 int length /* (i) length of lsf vectors */
|
|
21 );
|
|
22
|
|
23 void SimplelsfDEQ(float *lsfdeq, /* (o) dequantized lsf coefficients */
|
|
24 int *index, /* (i) quantization index */
|
|
25 int lpc_n /* (i) number of LPCs */
|
|
26 );
|
|
27
|
|
28 void DecoderInterpolateLSF(float *syntdenum, /* (o) synthesis filter coefficients */
|
|
29 float *weightdenum, /* (o) weighting denumerator
|
|
30 coefficients */
|
|
31 float *lsfdeq, /* (i) dequantized lsf coefficients */
|
|
32 int length, /* (i) length of lsf coefficient vector */
|
|
33 iLBC_Dec_Inst_t * iLBCdec_inst
|
|
34 /* (i) the decoder state structure */
|
|
35 );
|
|
36
|
|
37 #endif
|