libvoipcodecs
0.0.1
Main Page
Related Pages
Classes
Files
File List
StateSearchW.h
1
/*
2
* iLBC - a library for the iLBC codec
3
*
4
* StateSearchW.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: StateSearchW.h,v 1.2 2008/03/06 12:27:37 steveu Exp $
18
*/
19
20
#ifndef __iLBC_STATESEARCHW_H
21
#define __iLBC_STATESEARCHW_H
22
23
void
AbsQuantW(
ilbc_encode_state_t
*iLBCenc_inst,
/* (i) Encoder instance */
24
float
*in,
/* (i) vector to encode */
25
float
*syntDenum,
/* (i) denominator of synthesis filter */
26
float
*weightDenum,
/* (i) denominator of weighting filter */
27
int
*out,
/* (o) vector of quantizer indexes */
28
int
len,
/* (i) length of vector to encode and
29
vector of quantizer indexes */
30
int
state_first);
/* (i) position of start state in the 80 vec */
31
32
void
StateSearchW(
ilbc_encode_state_t
*iLBCenc_inst,
/* (i) Encoder instance */
33
float
*residual,
/* (i) target residual vector */
34
float
*syntDenum,
/* (i) lpc synthesis filter */
35
float
*weightDenum,
/* (i) weighting filter denuminator */
36
int
*idxForMax,
/* (o) quantizer index for maximum
37
amplitude */
38
int
*idxVec,
/* (o) vector of quantization indexes */
39
int
len,
/* (i) length of all vectors */
40
int
state_first);
/* (i) position of start state in the 80 vec */
41
42
#endif
ilbc_encode_state_t
Definition:
ilbc/ilbc.h:66
src
StateSearchW.h
Generated by
1.8.5