summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/codebook.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/codebook.h')
-rw-r--r--apps/codecs/libtremor/codebook.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/codecs/libtremor/codebook.h b/apps/codecs/libtremor/codebook.h
index 0fc6834daa..b13334d8d7 100644
--- a/apps/codecs/libtremor/codebook.h
+++ b/apps/codecs/libtremor/codebook.h
@@ -40,8 +40,8 @@ typedef struct static_codebook{
40 40
41 /* mapping ***************************************************************/ 41 /* mapping ***************************************************************/
42 int maptype; /* 0=none 42 int maptype; /* 0=none
43 1=implicitly populated values from map column 43 1=implicitly populated values from map column
44 2=listed arbitrary values */ 44 2=listed arbitrary values */
45 45
46 /* The below does a linear, single monotonic sequence mapping. */ 46 /* The below does a linear, single monotonic sequence mapping. */
47 long q_min; /* packed 32 bit float; quant value 0 maps to minval */ 47 long q_min; /* packed 32 bit float; quant value 0 maps to minval */
@@ -50,8 +50,8 @@ typedef struct static_codebook{
50 int q_sequencep; /* bitflag */ 50 int q_sequencep; /* bitflag */
51 51
52 long *quantlist; /* map == 1: (int)(entries^(1/dim)) element column map 52 long *quantlist; /* map == 1: (int)(entries^(1/dim)) element column map
53 map == 2: list of dim*entries quantized entry vals 53 map == 2: list of dim*entries quantized entry vals
54 */ 54 */
55} static_codebook; 55} static_codebook;
56 56
57typedef struct codebook{ 57typedef struct codebook{
@@ -87,14 +87,14 @@ extern int vorbis_staticbook_unpack(oggpack_buffer *b,static_codebook *c);
87 87
88extern long vorbis_book_decode(codebook *book, oggpack_buffer *b); 88extern long vorbis_book_decode(codebook *book, oggpack_buffer *b);
89extern long vorbis_book_decodevs_add(codebook *book, ogg_int32_t *a, 89extern long vorbis_book_decodevs_add(codebook *book, ogg_int32_t *a,
90 oggpack_buffer *b,int n,int point); 90 oggpack_buffer *b,int n,int point);
91extern long vorbis_book_decodev_set(codebook *book, ogg_int32_t *a, 91extern long vorbis_book_decodev_set(codebook *book, ogg_int32_t *a,
92 oggpack_buffer *b,int n,int point); 92 oggpack_buffer *b,int n,int point);
93extern long vorbis_book_decodev_add(codebook *book, ogg_int32_t *a, 93extern long vorbis_book_decodev_add(codebook *book, ogg_int32_t *a,
94 oggpack_buffer *b,int n,int point); 94 oggpack_buffer *b,int n,int point);
95extern long vorbis_book_decodevv_add(codebook *book, ogg_int32_t **a, 95extern long vorbis_book_decodevv_add(codebook *book, ogg_int32_t **a,
96 long off,int ch, 96 long off,int ch,
97 oggpack_buffer *b,int n,int point); 97 oggpack_buffer *b,int n,int point);
98 98
99extern int _ilog(unsigned int v); 99extern int _ilog(unsigned int v);
100 100