Asterisk - The Open Source Telephony Project
GIT-master-f36a736
codecs
ilbc
gainquant.h
Go to the documentation of this file.
1
2
/******************************************************************
3
4
iLBC Speech Coder ANSI-C Source Code
5
6
gainquant.h
7
8
Copyright (C) The Internet Society (2004).
9
All Rights Reserved.
10
11
******************************************************************/
12
13
#ifndef __iLBC_GAINQUANT_H
14
#define __iLBC_GAINQUANT_H
15
16
float
gainquant
(
/* (o) quantized gain value */
17
float
in
,
/* (i) gain value */
18
float
maxIn,
/* (i) maximum of gain value */
19
int
cblen,
/* (i) number of quantization indices */
20
int
*index
/* (o) quantization index */
21
);
22
23
float
gaindequant
(
/* (o) quantized gain value */
24
int
index,
/* (i) quantization index */
25
float
maxIn,
/* (i) maximum of unquantized gain */
26
int
cblen
/* (i) number of quantization indices */
27
);
28
29
#endif
gaindequant
float gaindequant(int index, float maxIn, int cblen)
Definition:
gainquant.c:83
gainquant
float gainquant(float in, float maxIn, int cblen, int *index)
Definition:
gainquant.c:27
in
FILE * in
Definition:
utils/frame.c:33
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4