diff options
Diffstat (limited to 'apps/codecs/libtremor/codebook.h')
-rw-r--r-- | apps/codecs/libtremor/codebook.h | 18 |
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 | ||
57 | typedef struct codebook{ | 57 | typedef struct codebook{ |
@@ -87,14 +87,14 @@ extern int vorbis_staticbook_unpack(oggpack_buffer *b,static_codebook *c); | |||
87 | 87 | ||
88 | extern long vorbis_book_decode(codebook *book, oggpack_buffer *b); | 88 | extern long vorbis_book_decode(codebook *book, oggpack_buffer *b); |
89 | extern long vorbis_book_decodevs_add(codebook *book, ogg_int32_t *a, | 89 | extern 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); |
91 | extern long vorbis_book_decodev_set(codebook *book, ogg_int32_t *a, | 91 | extern 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); |
93 | extern long vorbis_book_decodev_add(codebook *book, ogg_int32_t *a, | 93 | extern 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); |
95 | extern long vorbis_book_decodevv_add(codebook *book, ogg_int32_t **a, | 95 | extern 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 | ||
99 | extern int _ilog(unsigned int v); | 99 | extern int _ilog(unsigned int v); |
100 | 100 | ||