Make file access in cdr_custom similar to cdr_csv.
[asterisk-bristuff.git] / codecs / ilbc / gainquant.h
blobf613b356504616922b55547fb5b8cc43809208bf
2 /******************************************************************
4 iLBC Speech Coder ANSI-C Source Code
6 gainquant.h
8 Copyright (C) The Internet Society (2004).
9 All Rights Reserved.
11 ******************************************************************/
13 #ifndef __iLBC_GAINQUANT_H
14 #define __iLBC_GAINQUANT_H
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 */
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 */
29 #endif