diff options
author | Mark Spencer <markster@digium.com> | 2004-10-14 05:15:48 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-10-14 05:15:48 +0000 |
commit | d4ff9abc610add56b6c9e0ec193519f48689c0bd (patch) | |
tree | 0deebbd8647eb5799eef8ddc6f084ec945574299 /codecs/ilbc/gainquant.h | |
parent | 7c4337dc91408de2c013c29cd010db02c3524512 (diff) |
Update to new iLBC codec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/ilbc/gainquant.h')
-rwxr-xr-x | codecs/ilbc/gainquant.h | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/codecs/ilbc/gainquant.h b/codecs/ilbc/gainquant.h index 3768b93e1..f613b3565 100755 --- a/codecs/ilbc/gainquant.h +++ b/codecs/ilbc/gainquant.h @@ -1,32 +1,31 @@ - -/****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - gainquant.h - - Copyright (c) 2001, - Global IP Sound AB. - 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 - - + +/****************************************************************** + + 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 + + |