blob: a61db15403215beedc47ef0957d0b3f110432d19 [file] [log] [blame]
Benny Prijonoc5859882006-07-31 15:25:14 +00001
2 /******************************************************************
3
4 iLBC Speech Coder ANSI-C Source Code
5
6 iCBSearch.h
7
8 Copyright (C) The Internet Society (2004).
9 All Rights Reserved.
10
11 ******************************************************************/
12
13 #ifndef __iLBC_ICBSEARCH_H
14 #define __iLBC_ICBSEARCH_H
15
16
17
18
19
20
21 void iCBSearch(
22 iLBC_Enc_Inst_t *iLBCenc_inst,
23 /* (i) the encoder state structure */
24 int *index, /* (o) Codebook indices */
25 int *gain_index,/* (o) Gain quantization indices */
26 float *intarget,/* (i) Target vector for encoding */
27 float *mem, /* (i) Buffer for codebook construction */
28 int lMem, /* (i) Length of buffer */
29 int lTarget, /* (i) Length of vector */
30 int nStages, /* (i) Number of codebook stages */
31 float *weightDenum, /* (i) weighting filter coefficients */
32 float *weightState, /* (i) weighting filter state */
33 int block /* (i) the sub-block number */
34 );
35
36 #endif
37