Mercurial > hg > audiostuff
comparison intercom/ilbc/iCBConstruct.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 iCBConstruct.h | |
| 7 | |
| 8 Copyright (C) The Internet Society (2004). | |
| 9 All Rights Reserved. | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 ******************************************************************/ | |
| 17 | |
| 18 #ifndef __iLBC_ICBCONSTRUCT_H | |
| 19 #define __iLBC_ICBCONSTRUCT_H | |
| 20 | |
| 21 void index_conv_enc(int *index /* (i/o) Codebook indexes */ | |
| 22 ); | |
| 23 | |
| 24 void index_conv_dec(int *index /* (i/o) Codebook indexes */ | |
| 25 ); | |
| 26 | |
| 27 void iCBConstruct(float *decvector, /* (o) Decoded vector */ | |
| 28 int *index, /* (i) Codebook indices */ | |
| 29 int *gain_index, /* (i) Gain quantization indices */ | |
| 30 float *mem, /* (i) Buffer for codevector construction */ | |
| 31 int lMem, /* (i) Length of buffer */ | |
| 32 int veclen, /* (i) Length of vector */ | |
| 33 int nStages /* (i) Number of codebook stages */ | |
| 34 ); | |
| 35 | |
| 36 #endif |
