Mercurial > hg > audiostuff
comparison intercom/ilbc/StateSearchW.h @ 2:13be24d74cd2
import intercom-0.4.1
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 09:57:52 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:9cadc470e3da | 2:13be24d74cd2 |
---|---|
1 | |
2 /****************************************************************** | |
3 | |
4 iLBC Speech Coder ANSI-C Source Code | |
5 | |
6 StateSearchW.h | |
7 | |
8 Copyright (C) The Internet Society (2004). | |
9 All Rights Reserved. | |
10 | |
11 ******************************************************************/ | |
12 | |
13 #ifndef __iLBC_STATESEARCHW_H | |
14 #define __iLBC_STATESEARCHW_H | |
15 | |
16 void AbsQuantW(iLBC_Enc_Inst_t * iLBCenc_inst, | |
17 /* (i) Encoder instance */ | |
18 float *in, /* (i) vector to encode */ | |
19 float *syntDenum, /* (i) denominator of synthesis filter */ | |
20 float *weightDenum, /* (i) denominator of weighting filter */ | |
21 int *out, /* (o) vector of quantizer indexes */ | |
22 int len, /* (i) length of vector to encode and | |
23 vector of quantizer indexes */ | |
24 int state_first /* (i) position of start state in the | |
25 80 vec */ | |
26 ); | |
27 | |
28 void StateSearchW(iLBC_Enc_Inst_t * iLBCenc_inst, | |
29 /* (i) Encoder instance */ | |
30 float *residual, /* (i) target residual vector */ | |
31 float *syntDenum, /* (i) lpc synthesis filter */ | |
32 float *weightDenum, /* (i) weighting filter denuminator */ | |
33 int *idxForMax, /* (o) quantizer index for maximum | |
34 amplitude */ | |
35 int *idxVec, /* (o) vector of quantization indexes */ | |
36 int len, /* (i) length of all vectors */ | |
37 int state_first /* (i) position of start state in the | |
38 80 vec */ | |
39 ); | |
40 | |
41 | |
42 #endif |