Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
codecs
ilbc
StateSearchW.h
1
2
/******************************************************************
3
4
iLBC Speech Coder ANSI-C Source Code
5
6
StateSearchW.h
7
8
Copyright (C) The Internet Society (2004).
9
All Rights Reserved.
10
11
******************************************************************/
12
13
#ifndef __iLBC_STATESEARCHW_H
14
#define __iLBC_STATESEARCHW_H
15
16
void
AbsQuantW(
17
iLBC_Enc_Inst_t
*iLBCenc_inst,
18
/* (i) Encoder instance */
19
float
*in,
/* (i) vector to encode */
20
float
*syntDenum,
/* (i) denominator of synthesis filter */
21
float
*weightDenum,
/* (i) denominator of weighting filter */
22
int
*out,
/* (o) vector of quantizer indexes */
23
int
len,
/* (i) length of vector to encode and
24
vector of quantizer indexes */
25
int
state_first
/* (i) position of start state in the
26
80 vec */
27
);
28
29
void
StateSearchW(
30
iLBC_Enc_Inst_t
*iLBCenc_inst,
31
/* (i) Encoder instance */
32
float
*residual,
/* (i) target residual vector */
33
float
*syntDenum,
/* (i) lpc synthesis filter */
34
float
*weightDenum,
/* (i) weighting filter denumerator */
35
int
*idxForMax,
/* (o) quantizer index for maximum
36
amplitude */
37
int
*idxVec,
/* (o) vector of quantization indexes */
38
int
len,
/* (i) length of all vectors */
39
int
state_first
/* (i) position of start state in the
40
80 vec */
41
);
42
43
44
#endif
iLBC_Enc_Inst_t_
Definition:
iLBC_define.h:137
Generated on Tue Jul 15 2025 11:50:50 for Asterisk - The Open Source Telephony Project by
1.8.10