libvoipcodecs 0.0.1
LPCdecode.h
1/*
2 * iLBC - a library for the iLBC codec
3 *
4 * LPCdecode.h - The iLBC low bit rate speech codec.
5 *
6 * Adapted by Steve Underwood <steveu@coppice.org> from the reference
7 * iLBC code supplied in RFC3951.
8 *
9 * Original code Copyright (C) The Internet Society (2004).
10 * All changes to produce this version Copyright (C) 2008 by Steve Underwood
11 * All Rights Reserved.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 *
17 * $Id: LPCdecode.h,v 1.2 2008/03/06 12:27:37 steveu Exp $
18 */
19
20#ifndef __iLBC_LPCDECODE_H
21#define __iLBC_LPCDECODE_H
22
23void LSFinterpolate2a_dec(float *a, /* (o) lpc coefficients for a sub-frame */
24 float *lsf1, /* (i) first lsf coefficient vector */
25 float *lsf2, /* (i) second lsf coefficient vector */
26 float coef, /* (i) interpolation weight */
27 int length); /* (i) length of lsf vectors */
28
29void SimplelsfDEQ(float *lsfdeq, /* (o) dequantized lsf coefficients */
30 int *index, /* (i) quantization index */
31 int lpc_n); /* (i) number of LPCs */
32
33void DecoderInterpolateLSF(float *syntdenum, /* (o) synthesis filter coefficients */
34 float *weightdenum, /* (o) weighting denumerator coefficients */
35 float *lsfdeq, /* (i) dequantized lsf coefficients */
36 int length, /* (i) length of lsf coefficient vector */
37 ilbc_decode_state_t *iLBCdec_inst); /* (i) the decoder state structure */
38
39#endif
Definition ilbc/ilbc.h:96