libvoipcodecs
0.0.1
iCBConstruct.h
1
/*
2
* iLBC - a library for the iLBC codec
3
*
4
* iCBConstruct.h - The iLBC low bit rate speech codec.
5
*
6
* Adapted by Steve Underwood <steveu@coppice.org> from the reference
7
* iLBC code supplied in RFC3951.
8
*
9
* Original code Copyright (C) The Internet Society (2004).
10
* All changes to produce this version Copyright (C) 2008 by Steve Underwood
11
* All Rights Reserved.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
*
17
* $Id: iCBConstruct.h,v 1.2 2008/03/06 12:27:38 steveu Exp $
18
*/
19
20
#ifndef __iLBC_ICBCONSTRUCT_H
21
#define __iLBC_ICBCONSTRUCT_H
22
23
void
index_conv_enc(
int
*index);
/* (i/o) Codebook indexes */
24
25
void
index_conv_dec(
int
*index);
/* (i/o) Codebook indexes */
26
27
void
iCBConstruct(
float
*decvector,
/* (o) Decoded vector */
28
int
*index,
/* (i) Codebook indices */
29
int
*gain_index,
/* (i) Gain quantization indices */
30
float
*mem,
/* (i) Buffer for codevector construction */
31
int
lMem,
/* (i) Length of buffer */
32
int
veclen,
/* (i) Length of vector */
33
int
nStages);
/* (i) Number of codebook stages */
34
35
#endif
src
iCBConstruct.h
Generated by
1.9.1