diff options
author | David M. Lee <dlee@digium.com> | 2013-01-07 14:24:28 -0600 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-01-07 14:24:28 -0600 |
commit | f3ab456a17af1c89a6e3be4d20c5944853df1cb0 (patch) | |
tree | d00e1a332cd038a6d906a1ea0ac91e1a4458e617 /third_party/ilbc/gainquant.h |
Import pjproject-2.0.1
Diffstat (limited to 'third_party/ilbc/gainquant.h')
-rw-r--r-- | third_party/ilbc/gainquant.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/ilbc/gainquant.h b/third_party/ilbc/gainquant.h new file mode 100644 index 0000000..0d02424 --- /dev/null +++ b/third_party/ilbc/gainquant.h @@ -0,0 +1,30 @@ + + /****************************************************************** + + iLBC Speech Coder ANSI-C Source Code + + gainquant.h + + Copyright (C) The Internet Society (2004). + All Rights Reserved. + + ******************************************************************/ + + #ifndef __iLBC_GAINQUANT_H + #define __iLBC_GAINQUANT_H + + float gainquant(/* (o) quantized gain value */ + float in, /* (i) gain value */ + float maxIn,/* (i) maximum of gain value */ + int cblen, /* (i) number of quantization indices */ + int *index /* (o) quantization index */ + ); + + float gaindequant( /* (o) quantized gain value */ + int index, /* (i) quantization index */ + float maxIn,/* (i) maximum of unquantized gain */ + int cblen /* (i) number of quantization indices */ + ); + + #endif + |