libvoipcodecs
0.0.1
iCBSearch.h
1
/*
2
* iLBC - a library for the iLBC codec
3
*
4
* iCBSearch.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: iCBSearch.h,v 1.2 2008/03/06 12:27:38 steveu Exp $
18
*/
19
20
#ifndef __iLBC_ICBSEARCH_H
21
#define __iLBC_ICBSEARCH_H
22
23
void
iCBSearch(
ilbc_encode_state_t
*iLBCenc_inst,
/* (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
#endif
ilbc_encode_state_t
Definition:
ilbc/ilbc.h:67
src
iCBSearch.h
Generated by
1.9.1