Asterisk - The Open Source Telephony Project  18.5.0
iCBConstruct.h
Go to the documentation of this file.
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
void index_conv_dec(int *index)
Definition: iCBConstruct.c:45
void index_conv_enc(int *index)
Definition: iCBConstruct.c:28
void iCBConstruct(float *decvector, int *index, int *gain_index, float *mem, int lMem, int veclen, int nStages)
Definition: iCBConstruct.c:66