2
/******************************************************************
4
iLBC Speech Coder ANSI-C Source Code
8
Copyright (C) The Internet Society (2004).
11
******************************************************************/
13
#ifndef __iLBC_ICBSEARCH_H
14
#define __iLBC_ICBSEARCH_H
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 */