gainquant.h 863 B

12345678910111213141516171819202122232425262728293031
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. gainquant.h
  4. Copyright (C) The Internet Society (2004).
  5. All Rights Reserved.
  6. ******************************************************************/
  7. #ifndef __iLBC_GAINQUANT_H
  8. #define __iLBC_GAINQUANT_H
  9. float gainquant(/* (o) quantized gain value */
  10. float in, /* (i) gain value */
  11. float maxIn,/* (i) maximum of gain value */
  12. int cblen, /* (i) number of quantization indices */
  13. int *index /* (o) quantization index */
  14. );
  15. float gaindequant( /* (o) quantized gain value */
  16. int index, /* (i) quantization index */
  17. float maxIn,/* (i) maximum of unquantized gain */
  18. int cblen /* (i) number of quantization indices */
  19. );
  20. #endif