Tristan Matthews | 0a329cc | 2013-07-17 13:20:14 -0400 | [diff] [blame] | 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( |
| 22 | int *index /* (i/o) Codebook indexes */ |
| 23 | ); |
| 24 | |
| 25 | void index_conv_dec( |
| 26 | int *index /* (i/o) Codebook indexes */ |
| 27 | ); |
| 28 | |
| 29 | void iCBConstruct( |
| 30 | float *decvector, /* (o) Decoded vector */ |
| 31 | int *index, /* (i) Codebook indices */ |
| 32 | int *gain_index,/* (i) Gain quantization indices */ |
| 33 | float *mem, /* (i) Buffer for codevector construction */ |
| 34 | int lMem, /* (i) Length of buffer */ |
| 35 | int veclen, /* (i) Length of vector */ |
| 36 | int nStages /* (i) Number of codebook stages */ |
| 37 | ); |
| 38 | |
| 39 | #endif |
| 40 | |