Asterisk - The Open Source Telephony Project  18.5.0
iCBSearch.h
Go to the documentation of this file.
1 
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
void iCBSearch(iLBC_Enc_Inst_t *iLBCenc_inst, int *index, int *gain_index, float *intarget, float *mem, int lMem, int lTarget, int nStages, float *weightDenum, float *weightState, int block)
Definition: iCBSearch.c:26