Asterisk - The Open Source Telephony Project GIT-master-1f1c5bb
StateSearchW.h
Go to the documentation of this file.
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
void StateSearchW(iLBC_Enc_Inst_t *iLBCenc_inst, float *residual, float *syntDenum, float *weightDenum, int *idxForMax, int *idxVec, int len, int state_first)
Definition: StateSearchW.c:121
void AbsQuantW(iLBC_Enc_Inst_t *iLBCenc_inst, float *in, float *syntDenum, float *weightDenum, int *out, int len, int state_first)
Definition: StateSearchW.c:26
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
FILE * out
Definition: utils/frame.c:33
FILE * in
Definition: utils/frame.c:33