summaryrefslogtreecommitdiff
path: root/drivers/vorbis/codebook.h
diff options
context:
space:
mode:
authorJ08nY <johny@neuromancer.sk>2016-06-19 14:50:29 +0200
committerJ08nY <johny@neuromancer.sk>2016-06-19 15:37:49 +0200
commit644e9076bbb0daf5e137fae2acad774c6fd3dc49 (patch)
treec19280085b3c79e2e1c7ab1169937e53ea3406fd /drivers/vorbis/codebook.h
parent98f23d27a4ffda0828a72108c00178fe1d8d2c3f (diff)
libvorbis: New version 1.3.5
Diffstat (limited to 'drivers/vorbis/codebook.h')
-rw-r--r--drivers/vorbis/codebook.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/vorbis/codebook.h b/drivers/vorbis/codebook.h
index 94c30054cf..537d6c12d3 100644
--- a/drivers/vorbis/codebook.h
+++ b/drivers/vorbis/codebook.h
@@ -5,13 +5,13 @@
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
+ * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2015 *
* by the Xiph.Org Foundation http://www.xiph.org/ *
* *
********************************************************************
function: basic shared codebook operations
- last mod: $Id: codebook.h 17030 2010-03-25 06:52:55Z xiphmont $
+ last mod: $Id: codebook.h 19457 2015-03-03 00:15:29Z giles $
********************************************************************/
@@ -34,14 +34,14 @@
*/
typedef struct static_codebook{
- long dim; /* codebook dimensions (elements per vector) */
- long entries; /* codebook entries */
- long *lengthlist; /* codeword lengths in bits */
+ long dim; /* codebook dimensions (elements per vector) */
+ long entries; /* codebook entries */
+ char *lengthlist; /* codeword lengths in bits */
/* mapping ***************************************************************/
- int maptype; /* 0=none
- 1=implicitly populated values from map column
- 2=listed arbitrary values */
+ int maptype; /* 0=none
+ 1=implicitly populated values from map column
+ 2=listed arbitrary values */
/* The below does a linear, single monotonic sequence mapping. */
long q_min; /* packed 32 bit float; quant value 0 maps to minval */
@@ -89,7 +89,6 @@ extern float *_book_logdist(const static_codebook *b,float *vals);
extern float _float32_unpack(long val);
extern long _float32_pack(float val);
extern int _best(codebook *book, float *a, int step);
-extern int _ilog(unsigned int v);
extern long _book_maptype1_quantvals(const static_codebook *b);
extern int vorbis_book_besterror(codebook *book,float *a,int step,int addmul);