Incremental commit toward b3. Optionally should still retrain mode E,
authorMonty <xiphmont@xiph.org>
Wed, 8 Nov 2000 13:16:33 +0000 (13:16 +0000)
committerMonty <xiphmont@xiph.org>
Wed, 8 Nov 2000 13:16:33 +0000 (13:16 +0000)
look for the problem with velvet.wav (DC offset) and remove old books.

svn path=/trunk/vorbis/; revision=1037

47 files changed:
include/vorbis/vorbisfile.h
lib/analysis.c
lib/books/res0_160_1024_1.vqh [new file with mode: 0644]
lib/books/res0_160_1024_2.vqh [new file with mode: 0644]
lib/books/res0_160_1024_3.vqh [new file with mode: 0644]
lib/books/res0_160_1024_4.vqh [new file with mode: 0644]
lib/books/res0_160_1024_5.vqh [new file with mode: 0644]
lib/books/res0_160_1024_6.vqh [new file with mode: 0644]
lib/books/res0_160_1024_7.vqh [new file with mode: 0644]
lib/books/res0_160_1024_8.vqh [new file with mode: 0644]
lib/books/res0_160_1024_9.vqh [new file with mode: 0644]
lib/books/res0_160_1024aux.vqh [new file with mode: 0644]
lib/books/res0_160_128_1.vqh [new file with mode: 0644]
lib/books/res0_160_128_2.vqh [new file with mode: 0644]
lib/books/res0_160_128_3.vqh [new file with mode: 0644]
lib/books/res0_160_128_4.vqh [new file with mode: 0644]
lib/books/res0_160_128_5.vqh [new file with mode: 0644]
lib/books/res0_160_128aux.vqh [new file with mode: 0644]
lib/books/res0_192_1024_1.vqh [new file with mode: 0644]
lib/books/res0_192_1024_2.vqh [new file with mode: 0644]
lib/books/res0_192_1024_3.vqh [new file with mode: 0644]
lib/books/res0_192_1024_4.vqh [new file with mode: 0644]
lib/books/res0_192_1024_5.vqh [new file with mode: 0644]
lib/books/res0_192_1024aux.vqh [new file with mode: 0644]
lib/books/res0_192_128_1.vqh [new file with mode: 0644]
lib/books/res0_192_128_2.vqh [new file with mode: 0644]
lib/books/res0_192_128_3.vqh [new file with mode: 0644]
lib/books/res0_192_128_4.vqh [new file with mode: 0644]
lib/books/res0_192_128_5.vqh [new file with mode: 0644]
lib/books/res0_192_128aux.vqh [new file with mode: 0644]
lib/books/res0_256_1024_1.vqh [new file with mode: 0644]
lib/books/res0_256_1024_2.vqh [new file with mode: 0644]
lib/books/res0_256_1024_3.vqh [new file with mode: 0644]
lib/books/res0_256_1024_4.vqh [new file with mode: 0644]
lib/books/res0_256_1024_5.vqh [new file with mode: 0644]
lib/books/res0_256_1024aux.vqh [new file with mode: 0644]
lib/books/res0_256_128_1.vqh [new file with mode: 0644]
lib/books/res0_256_128_2.vqh [new file with mode: 0644]
lib/books/res0_256_128_3.vqh [new file with mode: 0644]
lib/books/res0_256_128_4.vqh [new file with mode: 0644]
lib/books/res0_256_128_5.vqh [new file with mode: 0644]
lib/books/res0_256_128aux.vqh [new file with mode: 0644]
lib/modes/mode_B.h
lib/modes/mode_C.h
lib/modes/mode_D.h
lib/res0.c
lib/sharedbook.c

index 333dfe8..75d5a6d 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: stdio-based convenience library for opening/seeking/decoding
- last mod: $Id: vorbisfile.h,v 1.10 2000/11/06 00:06:56 xiphmont Exp $
+ last mod: $Id: vorbisfile.h,v 1.11 2000/11/08 13:16:26 xiphmont Exp $
 
  ********************************************************************/
 
@@ -45,7 +45,7 @@ typedef struct {
 } ov_callbacks;
 
 
-typedef struct {
+typedef struct OggVorbis_File {
   void             *datasource; /* Pointer to a FILE *, etc. */
   int              seekable;
   ogg_int64_t          offset;
index 716f798..6b94c83 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: single-block PCM analysis mode dispatch
- last mod: $Id: analysis.c,v 1.36 2000/11/08 06:08:11 xiphmont Exp $
+ last mod: $Id: analysis.c,v 1.37 2000/11/08 13:16:27 xiphmont Exp $
 
  ********************************************************************/
 
@@ -55,9 +55,9 @@ int vorbis_analysis(vorbis_block *vb,ogg_packet *op){
   if(vb->W){
     oggpack_write(&vb->opb,vb->lW,1);
     oggpack_write(&vb->opb,vb->nW,1);
-    fprintf(stderr,"*");
+    /*fprintf(stderr,"*");
   }else{
-    fprintf(stderr,".");
+  fprintf(stderr,".");*/
   }
 
   if((ret=_mapping_P[type]->forward(vb,b->mode[mode])))
diff --git a/lib/books/res0_160_1024_1.vqh b/lib/books/res0_160_1024_1.vqh
new file mode 100644 (file)
index 0000000..b460ca0
--- /dev/null
@@ -0,0 +1,64 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_1_VQH_
+#define _V_res0_160_1024_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_1[] = {
+       1,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_1[] = {
+        1, 4, 4, 4, 8, 8, 4, 8, 8, 4, 8, 8, 8,12,12, 8,
+       12,12, 5, 8, 8, 8,12,12, 9,12,12, 5, 8, 8, 8,12,
+       12, 8,12,12, 8,12,12,12,16,16,12,16,16, 9,12,12,
+       12,16,16,13,16,16, 5, 8, 8, 8,12,12, 9,12,12, 8,
+       12,12,12,16,16,12,16,16, 9,12,12,12,16,16,13,16,
+       16,
+};
+
+static float _vq_quantthresh_res0_160_1024_1[] = {
+       -0.5, 0.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_1[] = {
+           2,    0,    1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_1 = {
+       _vq_quantthresh_res0_160_1024_1,
+       _vq_quantmap_res0_160_1024_1,
+       3,
+       3
+};
+
+static static_codebook _vq_book_res0_160_1024_1 = {
+       4, 81,
+       _vq_lengthlist_res0_160_1024_1,
+       1, -535822336, 1611661312, 2, 0,
+       _vq_quantlist_res0_160_1024_1,
+       NULL,
+       &_vq_auxt_res0_160_1024_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_2.vqh b/lib/books/res0_160_1024_2.vqh
new file mode 100644 (file)
index 0000000..44b7e06
--- /dev/null
@@ -0,0 +1,64 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_2_VQH_
+#define _V_res0_160_1024_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_2[] = {
+       1,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_2[] = {
+        3, 4, 4, 4, 6, 6, 5, 6, 6, 5, 6, 6, 6, 8, 8, 6,
+        8, 8, 5, 6, 6, 6, 8, 8, 6, 8, 8, 5, 6, 6, 6, 8,
+        8, 6, 8, 8, 6, 8, 8, 8, 9, 9, 8, 9, 9, 6, 8, 8,
+        8, 9, 9, 8, 9, 9, 5, 6, 6, 6, 8, 8, 6, 8, 8, 6,
+        8, 8, 8, 9, 9, 8, 9, 9, 6, 8, 8, 8, 9, 9, 8, 9,
+        9,
+};
+
+static float _vq_quantthresh_res0_160_1024_2[] = {
+       -0.5, 0.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_2[] = {
+           2,    0,    1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_2 = {
+       _vq_quantthresh_res0_160_1024_2,
+       _vq_quantmap_res0_160_1024_2,
+       3,
+       3
+};
+
+static static_codebook _vq_book_res0_160_1024_2 = {
+       4, 81,
+       _vq_lengthlist_res0_160_1024_2,
+       1, -535822336, 1611661312, 2, 0,
+       _vq_quantlist_res0_160_1024_2,
+       NULL,
+       &_vq_auxt_res0_160_1024_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_3.vqh b/lib/books/res0_160_1024_3.vqh
new file mode 100644 (file)
index 0000000..4536587
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_3_VQH_
+#define _V_res0_160_1024_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_3[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_3[] = {
+        3, 5, 7, 5, 7, 5, 6, 9, 6, 9, 7, 9,12, 9,13, 5,
+        6, 9, 6, 9, 7, 9,12, 9,12, 5, 6, 9, 6, 9, 6, 8,
+       11, 8,11, 9,11,15,11,15, 7, 8,11, 8,11, 9,11,14,
+       11,14, 7, 9,12, 9,13, 9,11,14,11,15,13,15,19,15,
+       19, 9,11,15,11,15,13,15,18,16,18, 5, 6, 9, 7, 9,
+        7, 8,11, 8,11, 9,11,15,11,15, 7, 8,11, 8,11, 9,
+       11,15,11,15, 7, 9,13, 9,13, 9,11,15,11,15,13,15,
+       18,15,18, 9,11,15,11,15,13,15,17,16,17, 5, 7, 9,
+        7, 9, 6, 8,11, 8,11, 9,11,15,11,15, 7, 8,11, 8,
+       11, 9,11,15,11,15, 6, 8,11, 8,11, 8,10,13,10,13,
+       11,13,16,13,16, 8,10,13,10,13,11,13,17,13,17, 9,
+       11,15,11,15,11,13,17,13,17,15,17,19,17,19,11,13,
+       18,13,16,15,17,20,18,18, 7, 8,11, 8,11, 8,10,13,
+       10,13,11,13,17,13,16, 8,10,13,10,13,11,13,17,13,
+       17, 9,11,15,11,15,11,13,17,13,16,15,17,19,17,19,
+       11,13,16,13,18,15,17,19,18,20, 7, 9,13, 9,12, 9,
+       11,15,11,15,12,15,19,15,18, 9,11,15,11,15,13,15,
+       18,15,20, 9,11,15,11,15,11,13,17,13,17,15,18,19,
+       18,19,11,13,17,13,18,15,16,20,17,19,13,15,19,15,
+       19,15,17,19,17,19,18,19,19,19,20,15,17,19,18,20,
+       20,19,20,20,19, 9,11,15,11,15,11,13,17,13,17,15,
+       17,20,17,20,11,13,17,13,18,15,16,20,16,20,13,15,
+       18,15,18,14,17,20,17,19,19,20,20,20,20,15,17,19,
+       17,20,18,20,19,20,20, 5, 7, 9, 7, 9, 7, 8,11, 8,
+       11, 9,11,14,11,15, 7, 8,11, 8,11, 9,11,15,11,15,
+        7, 8,11, 8,11, 8,10,13,10,13,11,13,17,13,17, 8,
+       10,13,10,13,11,13,16,13,17, 9,11,15,11,15,11,13,
+       17,13,18,15,17,19,17,20,11,13,16,13,17,15,17,20,
+       17,19, 7, 8,11, 8,11, 8,10,13,10,13,11,13,17,13,
+       17, 8,10,13,10,13,11,13,17,13,16, 9,11,15,11,15,
+       11,13,17,13,18,16,17,19,17,20,11,13,17,13,17,15,
+       17,19,17,18, 7, 9,13, 9,13, 9,11,15,11,15,12,15,
+       18,15,19, 9,11,15,11,15,13,15,18,15,18, 9,11,15,
+       11,15,11,13,17,13,17,15,18,19,17,19,11,13,17,13,
+       17,15,17,20,17,20,13,15,19,15,19,15,17,20,17,20,
+       19,20,20,20,20,15,17,19,17,20,19,19,20,19,20, 9,
+       11,15,11,15,11,13,18,13,17,15,17,19,17,20,11,13,
+       17,13,17,15,17,19,17,20,13,15,17,15,18,15,17,20,
+       17,20,19,19,20,20,20,15,18,20,17,18,18,19,19,20,
+       20,
+};
+
+static float _vq_quantthresh_res0_160_1024_3[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_3[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_3 = {
+       _vq_quantthresh_res0_160_1024_3,
+       _vq_quantmap_res0_160_1024_3,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_160_1024_3 = {
+       4, 625,
+       _vq_lengthlist_res0_160_1024_3,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_160_1024_3,
+       NULL,
+       &_vq_auxt_res0_160_1024_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_4.vqh b/lib/books/res0_160_1024_4.vqh
new file mode 100644 (file)
index 0000000..a18edbd
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_4_VQH_
+#define _V_res0_160_1024_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_4[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_4[] = {
+        5, 6, 8, 6, 8, 6, 7, 9, 7, 9, 8, 9,11, 9,11, 6,
+        7, 9, 7, 9, 8, 9,11, 9,11, 6, 7, 9, 7, 9, 7, 7,
+        9, 7,10, 9, 9,12,10,12, 7, 7, 9, 7, 9, 9, 9,12,
+       10,12, 8, 9,11, 9,11, 9,10,12,10,12,11,12,14,12,
+       14, 9,10,12,10,12,11,12,14,12,14, 6, 7, 9, 7, 9,
+        7, 7, 9, 7, 9, 9,10,12, 9,12, 7, 7, 9, 7, 9, 9,
+       10,12,10,12, 8, 9,11, 9,11, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,11,12,14,12,14, 6, 7, 9,
+        7, 9, 7, 7,10, 7,10, 9,10,12,10,12, 7, 7, 9, 7,
+       10, 9,10,12,10,12, 7, 7,10, 7,10, 7, 8,10, 8,10,
+       10,10,12,10,12, 7, 8,10, 8,10,10,10,13,10,13, 9,
+       10,12,10,12,10,10,13,10,13,12,12,14,13,15,10,10,
+       13,10,13,12,13,15,13,15, 7, 7,10, 7,10, 7, 8,10,
+        8,10,10,10,13,10,12, 7, 8,10, 8,10,10,10,13,10,
+       13, 9,10,12,10,12,10,10,13,10,13,12,13,15,12,14,
+       10,10,13,11,13,12,13,15,13,15, 8, 9,11, 9,11, 9,
+       10,12,10,12,11,12,14,12,14, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,10,10,13,10,13,12,12,15,
+       13,15,10,10,13,10,13,12,13,15,13,14,11,12,14,12,
+       14,12,13,14,13,15,14,14,16,15,16,12,13,15,13,15,
+       14,15,17,15,17, 9,10,12,10,12,10,11,13,10,13,12,
+       13,15,13,14,10,10,13,10,13,12,13,15,13,15,11,12,
+       14,12,14,12,12,15,12,14,14,15,16,14,16,12,13,14,
+       13,15,14,15,17,14,17, 6, 7, 9, 7, 9, 7, 7, 9, 7,
+       10, 9,10,12,10,12, 7, 7,10, 7,10, 9,10,12,10,12,
+        7, 7,10, 7,10, 7, 8,10, 8,10,10,10,12,10,13, 7,
+        8,10, 8,10,10,10,12,10,13, 9,10,12,10,12,10,10,
+       13,10,13,12,13,15,13,15,10,10,13,10,13,12,12,14,
+       13,15, 7, 7,10, 7,10, 7, 8,10, 8,10,10,10,13,10,
+       13, 7, 8,10, 8,10,10,11,13,10,12, 9,10,12,10,12,
+       10,10,13,11,13,12,13,15,13,15,10,10,13,10,13,12,
+       13,15,12,14, 8, 9,11, 9,11, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,11,12,14,12,14, 9,10,12,
+       10,12,10,10,13,10,13,12,13,14,13,15,10,10,13,10,
+       13,12,13,15,13,15,11,12,14,12,14,12,13,15,13,15,
+       14,15,17,14,16,12,12,14,13,15,14,14,16,15,16, 9,
+       10,12,10,12,10,10,13,11,13,12,13,14,13,15,10,10,
+       13,10,13,12,13,15,13,15,11,12,14,12,14,12,13,15,
+       13,15,14,15,17,15,17,12,13,15,13,15,14,15,17,14,
+       16,
+};
+
+static float _vq_quantthresh_res0_160_1024_4[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_4[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_4 = {
+       _vq_quantthresh_res0_160_1024_4,
+       _vq_quantmap_res0_160_1024_4,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_160_1024_4 = {
+       4, 625,
+       _vq_lengthlist_res0_160_1024_4,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_160_1024_4,
+       NULL,
+       &_vq_auxt_res0_160_1024_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_5.vqh b/lib/books/res0_160_1024_5.vqh
new file mode 100644 (file)
index 0000000..6321997
--- /dev/null
@@ -0,0 +1,66 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_5_VQH_
+#define _V_res0_160_1024_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_5[] = {
+       3,
+       4,
+       5,
+       6,
+       2,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_5[] = {
+        1, 4, 6, 6, 4, 6, 6, 4, 5, 8, 8, 6, 8, 8, 6, 8,
+       11,11, 8,11,11, 7, 8,11,13, 9,12,13, 4, 6, 8, 8,
+        6, 8, 8, 6, 8,11,11, 8,11,11, 7, 9,11,13, 9,12,
+       13,
+};
+
+static float _vq_quantthresh_res0_160_1024_5[] = {
+       -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_5[] = {
+           6,    5,    4,    0,    1,    2,    3,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_5 = {
+       _vq_quantthresh_res0_160_1024_5,
+       _vq_quantmap_res0_160_1024_5,
+       7,
+       7
+};
+
+static static_codebook _vq_book_res0_160_1024_5 = {
+       2, 49,
+       _vq_lengthlist_res0_160_1024_5,
+       1, -533200896, 1611661312, 3, 0,
+       _vq_quantlist_res0_160_1024_5,
+       NULL,
+       &_vq_auxt_res0_160_1024_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_6.vqh b/lib/books/res0_160_1024_6.vqh
new file mode 100644 (file)
index 0000000..64637a4
--- /dev/null
@@ -0,0 +1,66 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_6_VQH_
+#define _V_res0_160_1024_6_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_6[] = {
+       3,
+       4,
+       5,
+       6,
+       2,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_6[] = {
+        3, 4, 5, 6, 4, 5, 6, 4, 4, 6, 7, 4, 6, 7, 5, 6,
+        7, 9, 6, 8, 9, 6, 7, 9,10, 7, 9,10, 4, 4, 6, 7,
+        5, 6, 7, 5, 6, 8, 9, 6, 8, 9, 7, 7, 9,10, 7, 9,
+       10,
+};
+
+static float _vq_quantthresh_res0_160_1024_6[] = {
+       -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_6[] = {
+           6,    5,    4,    0,    1,    2,    3,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_6 = {
+       _vq_quantthresh_res0_160_1024_6,
+       _vq_quantmap_res0_160_1024_6,
+       7,
+       7
+};
+
+static static_codebook _vq_book_res0_160_1024_6 = {
+       2, 49,
+       _vq_lengthlist_res0_160_1024_6,
+       1, -533200896, 1611661312, 3, 0,
+       _vq_quantlist_res0_160_1024_6,
+       NULL,
+       &_vq_auxt_res0_160_1024_6,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_7.vqh b/lib/books/res0_160_1024_7.vqh
new file mode 100644 (file)
index 0000000..04e7ea0
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_7_VQH_
+#define _V_res0_160_1024_7_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_7[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_7[] = {
+        2, 4, 5, 6, 6, 4, 5, 6, 7, 4, 5, 7, 7, 8, 5, 7,
+        7, 8, 6, 7, 8, 9, 9, 7, 8, 9, 9, 7, 8, 9,10,10,
+        8, 9,10,10, 7, 8,10,11,11, 8,10,11,11, 4, 5, 7,
+        7, 8, 5, 7, 7, 8, 6, 7, 8, 9, 9, 7, 8, 9, 9, 7,
+        8, 9,10,10, 8, 9,10,10, 7, 8,10,11,11, 8,10,11,
+       11,
+};
+
+static float _vq_quantthresh_res0_160_1024_7[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_160_1024_7[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_7 = {
+       _vq_quantthresh_res0_160_1024_7,
+       _vq_quantmap_res0_160_1024_7,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_160_1024_7 = {
+       2, 81,
+       _vq_lengthlist_res0_160_1024_7,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_160_1024_7,
+       NULL,
+       &_vq_auxt_res0_160_1024_7,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_8.vqh b/lib/books/res0_160_1024_8.vqh
new file mode 100644 (file)
index 0000000..1afe770
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_8_VQH_
+#define _V_res0_160_1024_8_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_8[] = {
+       11,
+       12,
+       13,
+       14,
+       16,
+       19,
+       22,
+       10,
+       9,
+       8,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_8[] = {
+        2, 4, 6, 6, 6, 7, 8, 4, 6, 6, 6, 7, 8, 5, 6, 7,
+        7, 7, 8,10, 6, 7, 7, 8, 8, 9, 6, 7, 8, 8, 9, 9,
+       11, 7, 8, 8, 9, 9,11, 7, 8, 9, 9, 9,10,11, 8, 9,
+        9, 9,10,11, 7, 8, 9, 9, 9,10,11, 8, 9, 9, 9,10,
+       11, 7, 9,10,10,10,11,12, 9,10,10,10,11,12, 9,11,
+       12,12,12,12,14,11,12,12,12,13,14, 5, 6, 7, 7, 8,
+        8,10, 6, 7, 7, 8, 8,10, 6, 7, 8, 8, 9, 9,11, 7,
+        8, 8, 9, 9,11, 7, 8, 9, 9, 9,10,11, 8, 9, 9, 9,
+       10,11, 7, 8, 9, 9, 9,10,11, 8, 9, 9, 9,10,11, 7,
+        9,10,10,10,11,12, 9,10,10,10,11,12, 9,11,12,12,
+       12,13,14,11,12,12,12,12,14,
+};
+
+static float _vq_quantthresh_res0_160_1024_8[] = {
+       -9.5, -6.5, -4, -2.5, -1.5, -0.5, 0.5, 1.5, 
+       2.5, 4, 6.5, 9.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_8[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_8 = {
+       _vq_quantthresh_res0_160_1024_8,
+       _vq_quantmap_res0_160_1024_8,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_160_1024_8 = {
+       2, 169,
+       _vq_lengthlist_res0_160_1024_8,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_160_1024_8,
+       NULL,
+       &_vq_auxt_res0_160_1024_8,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024_9.vqh b/lib/books/res0_160_1024_9.vqh
new file mode 100644 (file)
index 0000000..e3fb1c6
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024_9_VQH_
+#define _V_res0_160_1024_9_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_1024_9[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_1024_9[] = {
+        2, 3, 4, 4, 4, 5, 6, 6, 8,11,13,14,15,16,16,17,
+       18,19,20, 3, 4, 4, 4, 5, 7, 6, 9,10,13,14,16,16,
+       17,18,19,19,20,
+};
+
+static float _vq_quantthresh_res0_160_1024_9[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_160_1024_9[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_1024_9 = {
+       _vq_quantthresh_res0_160_1024_9,
+       _vq_quantmap_res0_160_1024_9,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_160_1024_9 = {
+       1, 37,
+       _vq_lengthlist_res0_160_1024_9,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_160_1024_9,
+       NULL,
+       &_vq_auxt_res0_160_1024_9,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_1024aux.vqh b/lib/books/res0_160_1024aux.vqh
new file mode 100644 (file)
index 0000000..154aebb
--- /dev/null
@@ -0,0 +1,43 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_1024aux_VQH_
+#define _V_res0_160_1024aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_160_1024aux[] = {
+        2, 7,12,11,15,11,14,11,12,15, 5, 4, 7, 7, 9, 9,
+       10,10,11,13,10, 6, 5, 6, 6, 9, 8,10,12,14, 9, 6,
+        6, 6, 6, 8, 7, 8,10,13,13, 8, 6, 6, 4, 8, 5, 8,
+       10,14, 9, 8, 9, 7, 8, 8, 8, 8,10,13,13, 9, 8, 7,
+        5, 8, 5, 6, 8,12,10, 9, 9, 7, 7, 7, 6, 5, 6,10,
+       10, 9,10, 9, 9, 8, 7, 6, 5, 8,12,11,13,11,12,11,
+       10, 8, 6, 9,
+};
+
+static static_codebook _huff_book_res0_160_1024aux = {
+       2, 100,
+       _huff_lengthlist_res0_160_1024aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128_1.vqh b/lib/books/res0_160_128_1.vqh
new file mode 100644 (file)
index 0000000..825b3dd
--- /dev/null
@@ -0,0 +1,64 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128_1_VQH_
+#define _V_res0_160_128_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_128_1[] = {
+       1,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_128_1[] = {
+        2, 4, 4, 4, 6, 6, 4, 6, 6, 5, 7, 6, 6, 8, 8, 6,
+        8, 8, 5, 6, 7, 6, 8, 8, 6, 8, 8, 5, 7, 7, 7, 9,
+        9, 7, 8, 8, 7, 9, 9, 8,10,11, 9,10,10, 7, 9, 9,
+        8,11,10, 9,10,10, 5, 7, 7, 7, 8, 8, 7, 9, 9, 7,
+        9, 8, 9,10,10, 8, 9,10, 7, 9, 9, 9,10,10, 9,10,
+       10,
+};
+
+static float _vq_quantthresh_res0_160_128_1[] = {
+       -0.5, 0.5, 
+};
+
+static long _vq_quantmap_res0_160_128_1[] = {
+           2,    0,    1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_128_1 = {
+       _vq_quantthresh_res0_160_128_1,
+       _vq_quantmap_res0_160_128_1,
+       3,
+       3
+};
+
+static static_codebook _vq_book_res0_160_128_1 = {
+       4, 81,
+       _vq_lengthlist_res0_160_128_1,
+       1, -535822336, 1611661312, 2, 0,
+       _vq_quantlist_res0_160_128_1,
+       NULL,
+       &_vq_auxt_res0_160_128_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128_2.vqh b/lib/books/res0_160_128_2.vqh
new file mode 100644 (file)
index 0000000..c15200c
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128_2_VQH_
+#define _V_res0_160_128_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_128_2[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_128_2[] = {
+        3, 5, 7, 5, 7, 5, 6, 8, 6, 8, 7, 9,12, 9,11, 5,
+        6, 8, 6, 8, 7, 9,11, 9,11, 5, 6, 9, 6, 9, 6, 7,
+       10, 8,10, 9,10,13,10,14, 7, 8,10, 8,10, 9,10,13,
+       10,13, 8, 9,13, 9,12, 9,11,13,11,13,12,13,17,13,
+       15, 9,11,13,10,13,12,14,15,14,16, 5, 6, 9, 7, 9,
+        6, 8,10, 8,10, 9,10,13,10,13, 6, 8,10, 8,10, 9,
+       10,13,10,12, 8, 9,12, 9,13, 9,11,13,11,13,12,14,
+       16,13,16, 9,11,14,11,13,12,14,16,13,15, 6, 7, 9,
+        7, 9, 7, 8,11, 8,11, 9,11,13,11,14, 7, 8,10, 8,
+       10, 9,10,13,10,13, 7, 8,11, 8,10, 8, 9,11, 9,12,
+       11,11,14,12,14, 8, 9,12, 9,12,11,12,14,12,15,10,
+       11,13,11,14,11,11,15,12,14,14,14,17,15,17,11,12,
+       15,12,15,13,15,17,15,17, 7, 8,10, 8,11, 8, 9,12,
+        9,11,11,12,15,11,13, 8, 9,11, 9,12,11,12,14,12,
+       14,10,10,13,11,14,11,12,15,12,14,14,14,17,14,16,
+       11,12,14,13,16,14,15,17,15,17, 8,10,13,10,13,10,
+       11,14,11,14,13,14,16,14,17,10,11,14,11,14,12,14,
+       15,15,16,10,11,14,11,15,11,12,16,13,15,15,16,17,
+       16,17,11,12,15,12,15,15,15,17,14,17,13,13,16,13,
+       16,13,14,17,14,17,17,16,17,16,16,14,15,17,15,16,
+       17,17,16,17,17,10,11,15,11,15,11,12,14,12,14,14,
+       17,16,15,16,11,12,14,12,15,15,15,16,17,16,13,14,
+       16,14,16,14,16,16,14,16,17,16,17,17,16,15,15,17,
+       15,17,16,17,17,16,17, 6, 7, 9, 7, 9, 7, 8,10, 8,
+       10, 9,10,13,10,13, 7, 8,11, 8,11, 9,11,13,11,14,
+        7, 8,10, 8,10, 8, 9,12, 9,12,11,12,14,12,15, 8,
+        9,12, 9,12,11,11,14,12,15,10,11,13,11,14,11,12,
+       15,12,16,13,16,16,14,17,10,12,16,13,15,14,14,15,
+       15,16, 7, 8,11, 8,11, 8, 9,11, 9,12,10,12,16,12,
+       15, 8, 9,12, 9,12,11,12,15,11,14,10,11,13,11,14,
+       11,12,15,12,14,13,14,16,15,17,11,12,16,12,15,14,
+       17,17,14,16, 8,10,13,10,13,10,11,14,11,13,13,14,
+       16,14,16,10,11,14,11,14,13,14,17,14,16,10,11,16,
+       11,14,11,12,16,12,15,14,16,17,15,17,11,12,15,12,
+       16,14,14,16,15,17,13,15,16,14,16,14,15,16,15,16,
+       17,16,16,16,16,14,15,17,16,17,15,17,17,16,17,10,
+       11,14,11,15,11,12,15,12,15,14,15,17,16,16,11,13,
+       15,12,16,13,16,17,15,17,13,15,16,13,15,14,15,16,
+       15,16,15,17,17,17,17,14,15,17,15,17,15,16,16,16,
+       17,
+};
+
+static float _vq_quantthresh_res0_160_128_2[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_160_128_2[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_128_2 = {
+       _vq_quantthresh_res0_160_128_2,
+       _vq_quantmap_res0_160_128_2,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_160_128_2 = {
+       4, 625,
+       _vq_lengthlist_res0_160_128_2,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_160_128_2,
+       NULL,
+       &_vq_auxt_res0_160_128_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128_3.vqh b/lib/books/res0_160_128_3.vqh
new file mode 100644 (file)
index 0000000..fc577b4
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128_3_VQH_
+#define _V_res0_160_128_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_128_3[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_128_3[] = {
+        2, 3, 6, 6, 8, 3, 6, 6, 7, 4, 5, 7, 8, 8, 5, 7,
+        8, 8, 6, 7, 9,10,10, 7, 9,10,11, 7, 8,10,11,12,
+        9,11,12,12, 9,11,13,14,13,11,13,14,14, 4, 5, 7,
+        8, 9, 5, 7, 8, 8, 6, 7, 9,10,10, 7, 9,10,10, 7,
+        9,10,11,12, 9,11,12,12, 9,11,13,15,14,11,13,14,
+       15,
+};
+
+static float _vq_quantthresh_res0_160_128_3[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_160_128_3[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_128_3 = {
+       _vq_quantthresh_res0_160_128_3,
+       _vq_quantmap_res0_160_128_3,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_160_128_3 = {
+       2, 81,
+       _vq_lengthlist_res0_160_128_3,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_160_128_3,
+       NULL,
+       &_vq_auxt_res0_160_128_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128_4.vqh b/lib/books/res0_160_128_4.vqh
new file mode 100644 (file)
index 0000000..b9f6439
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128_4_VQH_
+#define _V_res0_160_128_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_128_4[] = {
+       11,
+       12,
+       13,
+       14,
+       16,
+       19,
+       22,
+       10,
+       9,
+       8,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_128_4[] = {
+        3, 4, 5, 6, 6, 6, 7, 4, 5, 6, 6, 6, 7, 4, 5, 6,
+        7, 7, 7, 8, 5, 6, 6, 7, 7, 8, 7, 7, 8, 8, 8, 9,
+       10, 7, 8, 8, 8, 9,10, 9, 9,10,10,10,10,12, 9,10,
+       10,10,10,12,11,11,13,13,12,13,14,11,12,13,12,13,
+       14,12,14,15,15,14,15,17,13,14,16,16,16,17,14,17,
+       18,18,17,18,18,16,18,16,18,18,18, 4, 5, 6, 7, 7,
+        7, 8, 5, 6, 6, 7, 7, 8, 7, 7, 8, 8, 8, 9,10, 7,
+        8, 8, 8, 9,10, 9, 9,10,10,10,10,12, 9,10,10,10,
+       11,12,11,11,13,13,12,13,14,12,12,13,12,13,14,12,
+       14,15,16,15,15,18,13,15,15,15,15,17,14,15,16,18,
+       17,16,18,15,17,17,17,17,18,
+};
+
+static float _vq_quantthresh_res0_160_128_4[] = {
+       -9.5, -6.5, -4, -2.5, -1.5, -0.5, 0.5, 1.5, 
+       2.5, 4, 6.5, 9.5, 
+};
+
+static long _vq_quantmap_res0_160_128_4[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_128_4 = {
+       _vq_quantthresh_res0_160_128_4,
+       _vq_quantmap_res0_160_128_4,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_160_128_4 = {
+       2, 169,
+       _vq_lengthlist_res0_160_128_4,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_160_128_4,
+       NULL,
+       &_vq_auxt_res0_160_128_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128_5.vqh b/lib/books/res0_160_128_5.vqh
new file mode 100644 (file)
index 0000000..7f66b5f
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128_5_VQH_
+#define _V_res0_160_128_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_160_128_5[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_160_128_5[] = {
+        2, 2, 4, 5, 6, 7, 8, 7, 8,10,14,16,16,17,15,17,
+       16,16,16, 2, 4, 6, 6, 7, 8, 7, 9,11,13,14,16,16,
+       16,15,16,16,16,
+};
+
+static float _vq_quantthresh_res0_160_128_5[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_160_128_5[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_160_128_5 = {
+       _vq_quantthresh_res0_160_128_5,
+       _vq_quantmap_res0_160_128_5,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_160_128_5 = {
+       1, 37,
+       _vq_lengthlist_res0_160_128_5,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_160_128_5,
+       NULL,
+       &_vq_auxt_res0_160_128_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_160_128aux.vqh b/lib/books/res0_160_128aux.vqh
new file mode 100644 (file)
index 0000000..594bc88
--- /dev/null
@@ -0,0 +1,39 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_160_128aux_VQH_
+#define _V_res0_160_128aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_160_128aux[] = {
+        5,10,13,12,13,14, 3, 3, 5, 8,13,14, 4, 4, 6, 8,
+       14,14, 6, 6, 6, 7, 9,11, 8, 4, 2, 4, 8,11, 9, 5,
+        5, 5,10,13,
+};
+
+static static_codebook _huff_book_res0_160_128aux = {
+       2, 36,
+       _huff_lengthlist_res0_160_128aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024_1.vqh b/lib/books/res0_192_1024_1.vqh
new file mode 100644 (file)
index 0000000..60542f1
--- /dev/null
@@ -0,0 +1,64 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024_1_VQH_
+#define _V_res0_192_1024_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_1024_1[] = {
+       1,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_1024_1[] = {
+        1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 7, 7, 7, 9, 9, 7,
+        9, 9, 5, 7, 7, 7, 9, 9, 7, 9, 9, 5, 7, 7, 7, 9,
+        9, 7, 9, 9, 7, 9, 9, 9,11,11, 9,11,11, 7, 9, 9,
+        9,11,11, 9,11,11, 5, 7, 7, 7, 9, 9, 8, 9, 9, 7,
+        9, 9, 9,11,11, 9,11,11, 8, 9, 9, 9,11,11, 9,11,
+       11,
+};
+
+static float _vq_quantthresh_res0_192_1024_1[] = {
+       -0.5, 0.5, 
+};
+
+static long _vq_quantmap_res0_192_1024_1[] = {
+           2,    0,    1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_1024_1 = {
+       _vq_quantthresh_res0_192_1024_1,
+       _vq_quantmap_res0_192_1024_1,
+       3,
+       3
+};
+
+static static_codebook _vq_book_res0_192_1024_1 = {
+       4, 81,
+       _vq_lengthlist_res0_192_1024_1,
+       1, -535822336, 1611661312, 2, 0,
+       _vq_quantlist_res0_192_1024_1,
+       NULL,
+       &_vq_auxt_res0_192_1024_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024_2.vqh b/lib/books/res0_192_1024_2.vqh
new file mode 100644 (file)
index 0000000..e76fe7e
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024_2_VQH_
+#define _V_res0_192_1024_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_1024_2[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_1024_2[] = {
+        4, 5, 7, 5, 7, 5, 6, 9, 7, 9, 7, 9,11, 9,11, 5,
+        7, 9, 7, 9, 7, 9,11, 9,11, 5, 7, 9, 7, 9, 7, 8,
+       10, 8,10, 9,10,12,10,12, 7, 8,10, 8,10, 9,10,12,
+       10,12, 7, 9,11, 9,11, 9,10,12,10,12,11,12,14,12,
+       14, 9,10,12,10,12,11,12,14,12,14, 5, 7, 9, 7, 9,
+        7, 8,10, 8,10, 9,10,12,10,12, 7, 8,10, 8,10, 9,
+       10,12,10,12, 7, 9,11, 9,11, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,11,12,14,12,13, 5, 7, 9,
+        7, 9, 7, 8,10, 8,10, 9,10,12,10,12, 7, 8,10, 8,
+       10, 9,10,12,10,12, 7, 8,10, 8,10, 8, 8,10, 9,11,
+       10,11,13,11,13, 8, 9,11, 9,11,10,11,13,11,13, 9,
+       10,12,10,12,10,11,13,11,13,12,13,14,13,15,10,11,
+       13,11,13,12,13,15,13,15, 7, 8,10, 8,10, 8, 9,11,
+        9,11,10,11,13,11,12, 8, 9,11, 9,11,10,11,13,11,
+       13, 9,10,12,10,12,10,11,13,11,13,12,13,14,12,14,
+       10,11,13,11,13,12,13,15,13,15, 7, 9,11, 9,11, 9,
+       10,12,10,12,11,12,14,12,14, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,10,11,13,11,13,12,13,14,
+       13,15,10,11,13,11,13,12,13,15,13,14,11,12,14,12,
+       14,12,13,14,13,15,14,14,16,15,16,12,13,15,13,15,
+       14,15,16,15,16, 9,10,12,10,12,10,11,13,11,13,12,
+       13,15,13,14,10,11,13,11,13,12,13,15,13,14,11,12,
+       14,12,14,12,13,15,13,15,14,14,17,14,16,12,13,15,
+       13,15,14,15,16,15,16, 5, 7, 9, 7, 9, 7, 8,10, 8,
+       10, 9,10,12,10,12, 7, 8,10, 8,10, 9,10,12,10,12,
+        7, 8,10, 8,10, 8, 9,11, 9,11,10,11,13,11,13, 8,
+        9,11, 9,11,10,11,13,11,13, 9,10,12,10,12,10,11,
+       13,11,13,12,13,15,13,14,10,11,13,11,13,12,13,14,
+       13,15, 7, 8,10, 8,10, 8, 9,11, 9,11,10,11,13,11,
+       13, 8, 9,11, 9,11,10,11,13,11,13, 9,10,12,10,12,
+       10,11,13,11,13,12,13,14,13,15,10,11,13,11,13,12,
+       13,15,12,14, 7, 9,11, 9,11, 9,10,12,10,12,11,12,
+       14,12,14, 9,10,12,10,12,11,12,14,12,14, 9,10,12,
+       10,12,10,11,13,11,13,12,13,14,13,14,10,11,13,11,
+       13,12,13,14,13,15,11,12,14,12,14,12,13,15,13,15,
+       14,15,16,14,16,12,13,14,13,15,14,14,15,15,16, 9,
+       10,12,10,12,10,11,13,11,13,12,13,15,13,14,10,11,
+       13,11,13,12,13,15,13,15,11,12,14,12,14,12,13,15,
+       13,15,14,14,16,15,17,12,13,14,13,14,14,15,16,14,
+       16,
+};
+
+static float _vq_quantthresh_res0_192_1024_2[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_192_1024_2[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_1024_2 = {
+       _vq_quantthresh_res0_192_1024_2,
+       _vq_quantmap_res0_192_1024_2,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_192_1024_2 = {
+       4, 625,
+       _vq_lengthlist_res0_192_1024_2,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_192_1024_2,
+       NULL,
+       &_vq_auxt_res0_192_1024_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024_3.vqh b/lib/books/res0_192_1024_3.vqh
new file mode 100644 (file)
index 0000000..7c5eb70
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024_3_VQH_
+#define _V_res0_192_1024_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_1024_3[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_1024_3[] = {
+        3, 4, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7, 9, 5, 6,
+        7, 9, 5, 6, 7, 8,10, 6, 7, 8,10, 6, 7, 8, 9,10,
+        7, 8, 9,10, 8, 9,10,10,12, 9,10,11,12, 4, 5, 6,
+        7, 9, 5, 6, 7, 9, 5, 6, 7, 8,10, 6, 7, 8,10, 6,
+        7, 8, 9,10, 7, 8, 9,10, 8, 9,10,11,12, 9,10,10,
+       12,
+};
+
+static float _vq_quantthresh_res0_192_1024_3[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_192_1024_3[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_1024_3 = {
+       _vq_quantthresh_res0_192_1024_3,
+       _vq_quantmap_res0_192_1024_3,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_192_1024_3 = {
+       2, 81,
+       _vq_lengthlist_res0_192_1024_3,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_192_1024_3,
+       NULL,
+       &_vq_auxt_res0_192_1024_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024_4.vqh b/lib/books/res0_192_1024_4.vqh
new file mode 100644 (file)
index 0000000..56f516b
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024_4_VQH_
+#define _V_res0_192_1024_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_1024_4[] = {
+       11,
+       12,
+       13,
+       14,
+       16,
+       19,
+       22,
+       10,
+       9,
+       8,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_1024_4[] = {
+        3, 4, 6, 6, 6, 7, 8, 4, 6, 6, 6, 7, 8, 5, 6, 7,
+        7, 7, 8,10, 6, 7, 7, 7, 8,10, 6, 7, 7, 8, 8, 9,
+       11, 7, 7, 8, 8, 9,11, 6, 7, 8, 8, 8, 9,11, 7, 8,
+        8, 8, 9,11, 7, 8, 8, 8, 9, 9,11, 8, 8, 8, 9, 9,
+       11, 7, 8, 9, 9,10,11,12, 8, 9, 9,10,11,12, 9,10,
+       11,12,12,13,14,10,11,12,12,13,14, 5, 6, 7, 7, 7,
+        8,10, 6, 7, 7, 7, 8,10, 6, 7, 8, 8, 8, 9,11, 7,
+        7, 8, 8, 9,11, 6, 7, 8, 8, 8, 9,11, 7, 8, 8, 8,
+        9,11, 7, 8, 8, 8, 9, 9,11, 8, 8, 9, 9, 9,11, 7,
+        8, 9, 9,10,11,12, 8, 9, 9,10,11,12, 9,10,11,12,
+       12,12,14,10,11,12,12,12,14,
+};
+
+static float _vq_quantthresh_res0_192_1024_4[] = {
+       -9.5, -6.5, -4, -2.5, -1.5, -0.5, 0.5, 1.5, 
+       2.5, 4, 6.5, 9.5, 
+};
+
+static long _vq_quantmap_res0_192_1024_4[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_1024_4 = {
+       _vq_quantthresh_res0_192_1024_4,
+       _vq_quantmap_res0_192_1024_4,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_192_1024_4 = {
+       2, 169,
+       _vq_lengthlist_res0_192_1024_4,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_192_1024_4,
+       NULL,
+       &_vq_auxt_res0_192_1024_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024_5.vqh b/lib/books/res0_192_1024_5.vqh
new file mode 100644 (file)
index 0000000..de7b4ba
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024_5_VQH_
+#define _V_res0_192_1024_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_1024_5[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_1024_5[] = {
+        2, 3, 4, 4, 4, 5, 7, 6, 8,10,12,13,14,14,15,17,
+       19,20,20, 3, 4, 4, 4, 5, 7, 6, 7, 9,12,13,15,15,
+       17,18,19,18,19,
+};
+
+static float _vq_quantthresh_res0_192_1024_5[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_192_1024_5[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_1024_5 = {
+       _vq_quantthresh_res0_192_1024_5,
+       _vq_quantmap_res0_192_1024_5,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_192_1024_5 = {
+       1, 37,
+       _vq_lengthlist_res0_192_1024_5,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_192_1024_5,
+       NULL,
+       &_vq_auxt_res0_192_1024_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_1024aux.vqh b/lib/books/res0_192_1024aux.vqh
new file mode 100644 (file)
index 0000000..29a9adc
--- /dev/null
@@ -0,0 +1,39 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_1024aux_VQH_
+#define _V_res0_192_1024aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_192_1024aux[] = {
+        2, 7,11,10,13,15, 5, 3, 6, 7,11,15, 9, 5, 4, 5,
+       10,14, 9, 6, 4, 2, 6,11,10, 9, 9, 5, 5, 8,12,11,
+       11, 8, 7, 9,
+};
+
+static static_codebook _huff_book_res0_192_1024aux = {
+       2, 36,
+       _huff_lengthlist_res0_192_1024aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128_1.vqh b/lib/books/res0_192_128_1.vqh
new file mode 100644 (file)
index 0000000..65ef8f5
--- /dev/null
@@ -0,0 +1,64 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128_1_VQH_
+#define _V_res0_192_128_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_128_1[] = {
+       1,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_128_1[] = {
+        1, 4, 4, 5, 6, 6, 5, 6, 6, 5, 7, 7, 7, 8, 8, 7,
+        8, 8, 5, 7, 7, 7, 8, 8, 7, 8, 8, 7, 8, 8, 9,10,
+       10, 8, 9, 9, 9,10, 9,10,10,11,10,11,11, 9, 9,10,
+        9,11,10,10,11,11, 7, 8, 8, 8, 9, 9, 9,10,10, 9,
+       10, 9,11,11,10,10,10,11, 9, 9,10,10,11,11, 9,11,
+       10,
+};
+
+static float _vq_quantthresh_res0_192_128_1[] = {
+       -0.5, 0.5, 
+};
+
+static long _vq_quantmap_res0_192_128_1[] = {
+           2,    0,    1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_128_1 = {
+       _vq_quantthresh_res0_192_128_1,
+       _vq_quantmap_res0_192_128_1,
+       3,
+       3
+};
+
+static static_codebook _vq_book_res0_192_128_1 = {
+       4, 81,
+       _vq_lengthlist_res0_192_128_1,
+       1, -535822336, 1611661312, 2, 0,
+       _vq_quantlist_res0_192_128_1,
+       NULL,
+       &_vq_auxt_res0_192_128_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128_2.vqh b/lib/books/res0_192_128_2.vqh
new file mode 100644 (file)
index 0000000..1857df7
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128_2_VQH_
+#define _V_res0_192_128_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_128_2[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_128_2[] = {
+        4, 5, 6, 5, 6, 5, 6, 7, 6, 7, 7, 8,10, 8,10, 5,
+        6, 7, 6, 8, 8, 8,10, 8,10, 6, 7, 8, 7, 8, 7, 7,
+        9, 7, 9, 9, 9,11, 9,11, 7, 7, 9, 7, 9, 9, 9,11,
+       10,11, 9, 9,11, 9,11, 9,10,12,10,12,11,12,13,12,
+       13, 9,10,12,10,12,11,12,13,12,13, 6, 7, 8, 7, 8,
+        7, 7, 9, 7, 9, 9,10,12, 9,11, 7, 7, 9, 7, 9, 9,
+       10,11, 9,11, 8, 9,11, 9,11, 9,10,12,10,12,11,12,
+       13,12,13, 9,10,12,10,12,11,12,13,12,13, 7, 7, 9,
+        7, 9, 7, 8,10, 8,10, 9,10,12,10,12, 7, 8,10, 8,
+       10, 9,10,12,10,12, 7, 8,10, 8,10, 8, 8,10, 9,11,
+       10,10,12,11,13, 8, 9,10, 9,10,10,11,12,11,12,10,
+       10,12,10,12,10,10,12,11,13,12,11,13,12,14,10,11,
+       13,11,13,12,12,14,13,15, 8, 8,10, 8,10, 8, 9,11,
+        8,10,10,11,12,10,12, 8, 9,10, 9,10,10,11,13,11,
+       12,10,10,12,10,12,10,11,13,11,12,12,13,15,11,13,
+       10,11,13,11,13,12,12,14,12,15, 9,10,12,10,12,10,
+       11,13,11,12,12,12,14,12,13,10,10,12,11,12,11,12,
+       14,12,14,10,11,12,10,12,11,11,13,11,13,12,13,14,
+       13,14,11,11,13,11,12,13,13,14,13,14,12,12,14,12,
+       14,12,13,14,13,15,14,14,14,14,16,12,13,15,13,14,
+       13,14,16,15,16,10,11,12,11,12,11,11,13,11,12,12,
+       13,16,13,14,11,11,13,11,13,13,13,14,13,15,12,12,
+       14,12,14,12,13,15,12,14,14,14,15,14,17,13,13,14,
+       13,15,14,15,14,15,15, 7, 7, 9, 7, 9, 7, 8, 9, 8,
+       10, 9,10,12,10,12, 7, 8,10, 8,10, 9,10,11,10,12,
+        8, 8,10, 8,10, 8, 9,11, 9,10,10,11,13,10,12, 8,
+        8,10, 9,11,10,10,12,11,13,10,10,12,10,12,10,11,
+       13,11,12,12,12,15,12,15,10,10,12,11,12,12,12,13,
+       13,14, 8, 8,10, 8,10, 8, 9,10, 9,11,10,11,12,11,
+       12, 8, 9,10, 8,10,10,11,12,10,12,10,10,12,10,12,
+       11,11,12,11,13,12,13,14,12,14,10,11,12,10,12,12,
+       12,16,12,13, 9,10,12,10,12,10,10,12,10,12,12,12,
+       13,12,13,10,11,12,11,13,12,12,14,12,14,10,11,12,
+       10,12,11,11,13,11,13,12,13,14,13,15,11,11,13,11,
+       13,12,13,14,13,15,12,12,14,12,13,13,13,15,13,14,
+       14,15,16,15,17,12,12,14,13,14,14,14,15,14,16,10,
+       11,12,10,12,11,11,13,11,13,12,13,14,13,14,11,11,
+       13,11,13,12,13,14,13,14,12,13,14,13,14,13,13,14,
+       14,15,14,14,16,15,15,12,13,14,12,14,13,14,16,14,
+       15,
+};
+
+static float _vq_quantthresh_res0_192_128_2[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_192_128_2[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_128_2 = {
+       _vq_quantthresh_res0_192_128_2,
+       _vq_quantmap_res0_192_128_2,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_192_128_2 = {
+       4, 625,
+       _vq_lengthlist_res0_192_128_2,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_192_128_2,
+       NULL,
+       &_vq_auxt_res0_192_128_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128_3.vqh b/lib/books/res0_192_128_3.vqh
new file mode 100644 (file)
index 0000000..b08fabd
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128_3_VQH_
+#define _V_res0_192_128_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_128_3[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_128_3[] = {
+        3, 4, 5, 6, 8, 4, 5, 6, 8, 4, 4, 6, 7, 9, 4, 6,
+        7, 9, 5, 6, 7, 9,10, 6, 7, 9,10, 7, 7, 9,10,12,
+        7, 9,10,12, 9,10,11,13,14,10,11,12,14, 4, 5, 6,
+        7, 9, 5, 6, 7, 9, 5, 6, 7, 9,10, 6, 8, 9,10, 7,
+        7, 9,10,12, 7, 9,10,12, 9,10,11,13,14,10,11,12,
+       14,
+};
+
+static float _vq_quantthresh_res0_192_128_3[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_192_128_3[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_128_3 = {
+       _vq_quantthresh_res0_192_128_3,
+       _vq_quantmap_res0_192_128_3,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_192_128_3 = {
+       2, 81,
+       _vq_lengthlist_res0_192_128_3,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_192_128_3,
+       NULL,
+       &_vq_auxt_res0_192_128_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128_4.vqh b/lib/books/res0_192_128_4.vqh
new file mode 100644 (file)
index 0000000..975bdfd
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128_4_VQH_
+#define _V_res0_192_128_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_128_4[] = {
+       11,
+       12,
+       13,
+       14,
+       16,
+       19,
+       22,
+       10,
+       9,
+       8,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_128_4[] = {
+        5, 5, 5, 5, 6, 6, 8, 5, 5, 5, 6, 6, 8, 5, 6, 6,
+        6, 6, 7, 8, 6, 6, 6, 6, 6, 8, 6, 7, 7, 7, 7, 7,
+        8, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 7, 8, 9, 8, 8,
+        8, 8, 8, 9, 9, 9,10, 9, 9,10,11,10,10,10, 9,10,
+       11,11,11,12,12,12,12,14,11,12,12,12,13,14,13,14,
+       15,14,15,14,17,13,15,15,15,14,18, 5, 6, 6, 6, 6,
+        7, 8, 6, 6, 6, 6, 6, 8, 6, 7, 7, 7, 7, 7, 9, 7,
+        7, 7, 7, 7, 9, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 8,
+        8, 9, 9,10,10,10, 9,10,11,10,10,10, 9,10,11,11,
+       11,12,12,12,13,15,11,12,12,12,13,14,13,14,15,15,
+       16,16,16,14,15,15,15,15,18,
+};
+
+static float _vq_quantthresh_res0_192_128_4[] = {
+       -9.5, -6.5, -4, -2.5, -1.5, -0.5, 0.5, 1.5, 
+       2.5, 4, 6.5, 9.5, 
+};
+
+static long _vq_quantmap_res0_192_128_4[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_128_4 = {
+       _vq_quantthresh_res0_192_128_4,
+       _vq_quantmap_res0_192_128_4,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_192_128_4 = {
+       2, 169,
+       _vq_lengthlist_res0_192_128_4,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_192_128_4,
+       NULL,
+       &_vq_auxt_res0_192_128_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128_5.vqh b/lib/books/res0_192_128_5.vqh
new file mode 100644 (file)
index 0000000..07e4afc
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128_5_VQH_
+#define _V_res0_192_128_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_192_128_5[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_192_128_5[] = {
+        2, 3, 3, 4, 4, 6, 8, 7, 9,10,13,15,16,17,18,18,
+       17,18,18, 3, 4, 4, 4, 6, 8, 7, 8,11,13,14,15,15,
+       17,16,17,17,17,
+};
+
+static float _vq_quantthresh_res0_192_128_5[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_192_128_5[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_192_128_5 = {
+       _vq_quantthresh_res0_192_128_5,
+       _vq_quantmap_res0_192_128_5,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_192_128_5 = {
+       1, 37,
+       _vq_lengthlist_res0_192_128_5,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_192_128_5,
+       NULL,
+       &_vq_auxt_res0_192_128_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_192_128aux.vqh b/lib/books/res0_192_128aux.vqh
new file mode 100644 (file)
index 0000000..1aedd15
--- /dev/null
@@ -0,0 +1,39 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_192_128aux_VQH_
+#define _V_res0_192_128aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_192_128aux[] = {
+        9,12,12,12,16,16, 4, 6, 9,10,14,15, 3, 3, 4, 7,
+       14,14, 4, 4, 5, 5,11,12,10, 9, 4, 2, 7,10,12,11,
+        6, 4, 8,11,
+};
+
+static static_codebook _huff_book_res0_192_128aux = {
+       2, 36,
+       _huff_lengthlist_res0_192_128aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024_1.vqh b/lib/books/res0_256_1024_1.vqh
new file mode 100644 (file)
index 0000000..6d43e92
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024_1_VQH_
+#define _V_res0_256_1024_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_1024_1[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_1024_1[] = {
+        2, 4, 8, 4, 8, 5, 7,10, 7,10, 9,10,12,10,12, 5,
+        7,10, 7,10, 9,10,12,10,12, 5, 7,10, 7,10, 7, 8,
+       11, 8,11,10,11,13,11,13, 7, 8,11, 8,11,10,11,13,
+       11,13, 9,10,13,10,13,10,11,13,11,13,13,13,15,13,
+       15,10,11,13,11,13,13,13,15,14,15, 5, 7,10, 7,10,
+        7, 8,11, 8,11,10,11,13,11,13, 7, 8,11, 8,11,10,
+       11,13,11,13, 9,10,12,10,13,10,11,13,11,13,13,14,
+       15,13,15,10,11,13,11,13,13,14,15,14,15, 5, 7,10,
+        7,10, 7, 8,11, 8,11,10,11,13,11,13, 7, 8,11, 8,
+       11,10,11,13,11,13, 7, 9,11, 8,11, 8,10,12,10,12,
+       11,12,14,12,14, 9,10,12,10,12,11,12,14,12,14,10,
+       11,13,12,13,11,12,14,12,14,13,14,16,14,16,11,12,
+       14,12,14,14,14,16,14,16, 7, 9,11, 9,11, 9,10,12,
+       10,12,11,12,14,12,14, 9,10,12,10,12,11,12,14,12,
+       14,11,11,13,11,13,11,12,15,12,14,14,14,16,14,15,
+       12,12,14,12,14,14,14,16,14,16, 9,11,13,10,13,11,
+       12,14,12,14,13,14,15,14,15,10,11,14,12,13,13,14,
+       15,14,15,10,12,14,11,13,11,12,14,12,14,14,14,16,
+       14,16,12,12,14,12,14,14,14,16,14,16,13,14,15,14,
+       15,14,14,16,14,16,15,16,17,16,17,14,14,16,14,16,
+       16,16,17,16,17,11,11,13,11,14,11,12,14,12,14,13,
+       14,16,14,16,12,12,14,12,14,14,14,16,14,16,13,14,
+       15,14,16,14,14,16,14,16,16,16,17,16,17,14,14,16,
+       14,16,15,16,17,16,17, 5, 7,10, 7,10, 7, 8,11, 8,
+       11,10,11,13,11,13, 7, 9,11, 9,11,10,11,13,11,13,
+        7, 9,11, 9,11, 9,10,12,10,12,11,12,14,12,14, 9,
+       10,12,10,12,11,12,14,12,14,10,11,13,11,14,12,12,
+       14,12,14,14,14,15,14,16,11,12,14,12,14,14,14,16,
+       14,16, 7, 9,11, 9,11, 9,10,12,10,12,11,12,14,12,
+       14, 9,10,12,10,12,11,12,14,12,14,11,11,13,12,13,
+       12,12,14,12,14,14,14,16,14,16,11,12,14,12,14,13,
+       14,16,14,15, 9,10,13,11,13,11,11,13,11,14,13,14,
+       15,14,15,11,11,14,11,14,13,14,15,14,15,10,12,14,
+       12,14,11,12,15,12,14,14,14,16,14,16,12,12,14,12,
+       14,14,14,16,14,16,13,14,15,14,16,14,14,16,15,16,
+       15,16,18,16,17,14,14,16,14,17,16,16,17,16,17,10,
+       11,13,12,14,12,12,14,12,14,14,14,16,14,16,12,12,
+       14,12,14,14,14,16,14,16,13,14,15,14,15,14,14,16,
+       14,16,16,16,18,16,17,14,14,16,15,16,15,16,17,16,
+       17,
+};
+
+static float _vq_quantthresh_res0_256_1024_1[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_256_1024_1[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_1024_1 = {
+       _vq_quantthresh_res0_256_1024_1,
+       _vq_quantmap_res0_256_1024_1,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_256_1024_1 = {
+       4, 625,
+       _vq_lengthlist_res0_256_1024_1,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_256_1024_1,
+       NULL,
+       &_vq_auxt_res0_256_1024_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024_2.vqh b/lib/books/res0_256_1024_2.vqh
new file mode 100644 (file)
index 0000000..1e6c301
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024_2_VQH_
+#define _V_res0_256_1024_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_1024_2[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_1024_2[] = {
+        3, 4, 5, 6, 8, 4, 6, 6, 8, 4, 5, 6, 7, 8, 5, 6,
+        7, 8, 6, 6, 7, 7, 9, 6, 7, 7, 9, 6, 7, 8, 8, 9,
+        7, 8, 8, 9, 8, 8, 9, 9,10, 8, 9, 9,10, 4, 5, 6,
+        7, 8, 5, 6, 7, 8, 6, 6, 7, 7, 9, 6, 7, 8, 9, 6,
+        7, 8, 8, 9, 7, 8, 8, 9, 8, 8, 9, 9,10, 8, 9, 9,
+       10,
+};
+
+static float _vq_quantthresh_res0_256_1024_2[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_256_1024_2[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_1024_2 = {
+       _vq_quantthresh_res0_256_1024_2,
+       _vq_quantmap_res0_256_1024_2,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_256_1024_2 = {
+       2, 81,
+       _vq_lengthlist_res0_256_1024_2,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_256_1024_2,
+       NULL,
+       &_vq_auxt_res0_256_1024_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024_3.vqh b/lib/books/res0_256_1024_3.vqh
new file mode 100644 (file)
index 0000000..fe42009
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024_3_VQH_
+#define _V_res0_256_1024_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_1024_3[] = {
+       14,
+       15,
+       17,
+       19,
+       22,
+       25,
+       28,
+       13,
+       11,
+       9,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_1024_3[] = {
+        4, 5, 6, 7, 7, 9,10, 5, 6, 7, 7, 9,10, 5, 5, 6,
+        6, 7, 9,11, 5, 6, 6, 7, 9,11, 6, 6, 6, 7, 8, 9,
+       11, 6, 6, 7, 8, 9,11, 7, 6, 7, 7, 8,10,12, 7, 7,
+        7, 8,10,12, 8, 8, 8, 8, 9,11,13, 8, 8, 8, 9,11,
+       13, 9, 9,10,10,11,12,14, 9,10,10,11,12,14,11,11,
+       11,12,13,14,15,11,12,12,13,14,15, 5, 5, 6, 6, 7,
+        9,11, 5, 6, 6, 7, 9,11, 6, 6, 6, 7, 8, 9,11, 6,
+        6, 7, 8, 9,11, 7, 6, 7, 7, 8,10,12, 7, 7, 7, 8,
+       10,12, 8, 8, 8, 8, 9,11,12, 8, 8, 8, 9,11,13, 9,
+        9, 9,10,11,12,14, 9,10,10,11,12,14,11,11,12,12,
+       13,14,15,11,12,12,13,14,15,
+};
+
+static float _vq_quantthresh_res0_256_1024_3[] = {
+       -12.5, -9.5, -6.5, -4, -2, -0.5, 0.5, 2, 
+       4, 6.5, 9.5, 12.5, 
+};
+
+static long _vq_quantmap_res0_256_1024_3[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_1024_3 = {
+       _vq_quantthresh_res0_256_1024_3,
+       _vq_quantmap_res0_256_1024_3,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_256_1024_3 = {
+       2, 169,
+       _vq_lengthlist_res0_256_1024_3,
+       1, -528744448, 1611661312, 5, 0,
+       _vq_quantlist_res0_256_1024_3,
+       NULL,
+       &_vq_auxt_res0_256_1024_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024_4.vqh b/lib/books/res0_256_1024_4.vqh
new file mode 100644 (file)
index 0000000..a7f5306
--- /dev/null
@@ -0,0 +1,108 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024_4_VQH_
+#define _V_res0_256_1024_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_1024_4[] = {
+       28,
+       29,
+       31,
+       33,
+       36,
+       39,
+       42,
+       45,
+       48,
+       52,
+       56,
+       27,
+       25,
+       23,
+       20,
+       17,
+       14,
+       11,
+       8,
+       4,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_1024_4[] = {
+        4, 5, 6, 7, 7, 8, 9, 8, 9,11,13, 5, 6, 7, 7, 8,
+        9, 8, 9,11,12, 5, 5, 6, 7, 7, 8,10, 9,10,12,13,
+        5, 6, 7, 7, 8,10, 9,10,12,13, 6, 6, 7, 7, 8, 9,
+       10,10,11,13,15, 6, 7, 7, 8, 9,10,10,11,12,14, 7,
+        7, 8, 8, 9,10,11,10,12,13,15, 7, 7, 8, 9,10,11,
+       10,12,13,15, 7, 8, 8, 9, 9,10,11,11,12,14,15, 8,
+        8, 9, 9,10,11,11,12,14,15, 8, 9, 9,10,10,11,12,
+       12,13,14,16, 9, 9,10,10,11,12,12,13,14,16, 9,10,
+       11,11,12,13,14,13,14,16,17,10,11,11,12,13,14,13,
+       15,15,17, 9, 9,10,11,12,13,14,14,16,17,19, 9,10,
+       11,12,12,13,14,16,16,19,10,11,12,13,13,14,15,16,
+       17,18,20,11,12,13,13,14,15,16,17,17,19,11,13,14,
+       14,15,16,17,17,17,19,18,13,14,15,15,16,17,18,18,
+       18,20,13,15,16,17,17,19,19,19,21,21,20,15,16,18,
+       17,19,19,19,20,20,21, 5, 5, 6, 7, 7, 8,10, 9,10,
+       12,14, 5, 6, 7, 8, 8,10, 9,10,12,14, 6, 6, 7, 7,
+        8, 9,10,10,11,13,15, 6, 7, 7, 8, 9,10,10,11,13,
+       14, 7, 7, 7, 8, 9,10,11,10,12,14,16, 7, 8, 8, 9,
+       10,11,10,12,13,15, 7, 8, 8, 9, 9,10,11,11,12,14,
+       16, 8, 8, 9, 9,10,11,11,12,14,15, 8, 9, 9,10,10,
+       11,12,12,13,15,16, 9, 9,10,10,11,12,12,13,14,16,
+        9,10,11,11,12,13,14,13,14,16,17,10,11,11,12,13,
+       14,13,14,16,16, 9, 9,10,11,12,12,13,15,15,17,19,
+        9,10,11,11,12,13,14,15,16,18,10,11,12,13,13,14,
+       15,16,17,18,19,11,12,13,13,14,15,16,16,18,20,11,
+       13,14,15,15,16,17,17,19,19,19,13,14,15,15,15,17,
+       17,19,18,21,13,15,16,18,17,19,19,18,19,21,21,15,
+       16,17,17,19,19,20,19,20,20,
+};
+
+static float _vq_quantthresh_res0_256_1024_4[] = {
+       -26, -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, 
+       -2, -0.5, 0.5, 2, 4, 6.5, 9.5, 12.5, 
+       15.5, 18.5, 22, 26, 
+};
+
+static long _vq_quantmap_res0_256_1024_4[] = {
+          20,   19,   18,   17,   16,   15,   14,   13,
+          12,   11,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_1024_4 = {
+       _vq_quantthresh_res0_256_1024_4,
+       _vq_quantmap_res0_256_1024_4,
+       21,
+       21
+};
+
+static static_codebook _vq_book_res0_256_1024_4 = {
+       2, 441,
+       _vq_lengthlist_res0_256_1024_4,
+       1, -526647296, 1611661312, 6, 0,
+       _vq_quantlist_res0_256_1024_4,
+       NULL,
+       &_vq_auxt_res0_256_1024_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024_5.vqh b/lib/books/res0_256_1024_5.vqh
new file mode 100644 (file)
index 0000000..3c24b4d
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024_5_VQH_
+#define _V_res0_256_1024_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_1024_5[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_1024_5[] = {
+        1, 4, 4, 5, 5, 5, 6, 7, 9, 9,10,11, 7, 8, 9,10,
+       10,11, 9, 4, 5, 5, 5, 5, 6, 7, 9, 9,10,11, 7, 8,
+        9,10,10,11, 9,
+};
+
+static float _vq_quantthresh_res0_256_1024_5[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_256_1024_5[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_1024_5 = {
+       _vq_quantthresh_res0_256_1024_5,
+       _vq_quantmap_res0_256_1024_5,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_256_1024_5 = {
+       1, 37,
+       _vq_lengthlist_res0_256_1024_5,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_256_1024_5,
+       NULL,
+       &_vq_auxt_res0_256_1024_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_1024aux.vqh b/lib/books/res0_256_1024aux.vqh
new file mode 100644 (file)
index 0000000..83a62ed
--- /dev/null
@@ -0,0 +1,39 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_1024aux_VQH_
+#define _V_res0_256_1024aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_256_1024aux[] = {
+        3, 6,11,11,12,15, 5, 3, 6, 8,11,15, 9, 4, 3, 4,
+        9,15, 9, 7, 4, 2, 6,12,11,10, 7, 4, 6,12,12,13,
+       12,10,11,15,
+};
+
+static static_codebook _huff_book_res0_256_1024aux = {
+       2, 36,
+       _huff_lengthlist_res0_256_1024aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128_1.vqh b/lib/books/res0_256_128_1.vqh
new file mode 100644 (file)
index 0000000..2e7a799
--- /dev/null
@@ -0,0 +1,100 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128_1_VQH_
+#define _V_res0_256_128_1_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_128_1[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_128_1[] = {
+        1, 4, 7, 4, 7, 5, 6, 8, 6, 8, 9,10,11,10,11, 5,
+        6, 9, 6, 8, 9,10,11,10,11, 6, 7, 9, 7, 9, 8, 9,
+       10, 9,10,11,11,12,11,13, 8, 8,10, 9,10,11,11,12,
+       11,13,10,11,12,11,13,12,12,12,12,13,14,13,15,14,
+       15,11,12,14,12,13,13,13,16,14,15, 6, 7, 9, 7, 9,
+        8, 9,10, 9,10,10,11,12,11,13, 8, 9,11, 9,10,11,
+       11,12,11,12,11,11,13,11,12,11,12,14,12,13,14,13,
+       15,14,17,12,13,13,12,13,14,14,15,14,14, 8, 9,11,
+        9,11, 9,10,12,10,11,12,13,15,13,13, 9,10,12,10,
+       11,12,12,14,12,13,10,10,12,10,12,11,11,13,11,13,
+       13,13,14,14,14,11,12,13,11,12,13,13,14,14,14,13,
+       13,14,14,15,13,14,16,13,14,15,14,15,15,15,14,14,
+       15,13,15,14,17,15,14,17, 9,10,12,11,13,11,11,13,
+       11,12,13,13,14,13,13,11,11,13,11,13,13,14,14,13,
+       14,13,13,14,13,14,13,13,14,15,15,15,15,15,14,15,
+       13,13,17,13,15,15,14,15,16,15,11,13,15,13,13,14,
+       14,15,14,17,15,15,17,15,17,13,14,15,14,14,15,14,
+       16,15,16,13,14,15,14,15,14,15,15,15,15,15,17,17,
+       17,17,14,14,15,15,16,15,16,17,15,15,16,16,16,15,
+       16,14,14,15,15,16,17,16,17,16,17,16,17,16,17,17,
+       17,17,16,17,17,14,14,15,14,15,15,14,15,15,16,16,
+       15,16,17,16,14,14,15,14,16,15,16,16,17,16,15,15,
+       17,16,16,15,16,16,15,17,17,16,17,15,15,15,17,16,
+       16,16,17,17,17,17,17, 8, 9,11, 9,11, 9,10,11,10,
+       12,12,13,13,12,13,10,10,12,10,12,12,13,13,12,14,
+       10,11,12,10,12,11,11,13,11,13,13,13,14,13,14,11,
+       11,13,11,13,13,12,14,14,14,13,13,14,13,14,14,14,
+       14,13,15,14,16,16,16,15,13,14,15,14,15,14,14,15,
+       14,15,10,10,12,11,12,11,11,12,11,13,13,13,14,13,
+       15,11,12,13,11,13,13,14,15,13,14,13,13,14,13,14,
+       13,13,15,14,15,14,15,14,15,15,13,14,15,14,17,14,
+       15,17,14,15,12,13,15,13,15,14,14,15,14,15,15,16,
+       16,14,15,14,14,15,14,14,15,16,17,16,17,13,14,15,
+       14,15,14,16,15,14,15,15,15,17,16,16,15,15,15,15,
+       17,15,15,17,17,17,15,15,15,15,17,16,17,17,15,15,
+       17,17,15,16,17,15,17,17,15,15,17,15,15,17,17,13,
+       14,15,15,16,14,14,14,15,17,17,17,16,15,17,15,14,
+       16,15,16,17,16,16,16,17,15,16,17,15,16,15,15,15,
+       16,17,16,16,17,17,17,15,17,17,15,17,17,17,17,16,
+       17,
+};
+
+static float _vq_quantthresh_res0_256_128_1[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_256_128_1[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_128_1 = {
+       _vq_quantthresh_res0_256_128_1,
+       _vq_quantmap_res0_256_128_1,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_256_128_1 = {
+       4, 625,
+       _vq_lengthlist_res0_256_128_1,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_256_128_1,
+       NULL,
+       &_vq_auxt_res0_256_128_1,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128_2.vqh b/lib/books/res0_256_128_2.vqh
new file mode 100644 (file)
index 0000000..8d46713
--- /dev/null
@@ -0,0 +1,71 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128_2_VQH_
+#define _V_res0_256_128_2_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_128_2[] = {
+       5,
+       6,
+       7,
+       8,
+       10,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_128_2[] = {
+        3, 4, 5, 5, 6, 4, 4, 5, 6, 5, 5, 6, 6, 7, 5, 6,
+        6, 7, 6, 7, 7, 7, 8, 7, 7, 7, 8, 8, 8, 8, 8, 9,
+        8, 8, 8, 9, 9,10,10,10,11,10,10,10,11, 5, 5, 6,
+        6, 7, 5, 6, 6, 7, 6, 7, 7, 8, 8, 7, 7, 7, 8, 8,
+        8, 8, 8, 9, 8, 8, 8, 9, 9,10,10,10,10, 9,10,10,
+       10,
+};
+
+static float _vq_quantthresh_res0_256_128_2[] = {
+       -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
+};
+
+static long _vq_quantmap_res0_256_128_2[] = {
+           8,    7,    6,    5,    0,    1,    2,    3,
+           4,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_128_2 = {
+       _vq_quantthresh_res0_256_128_2,
+       _vq_quantmap_res0_256_128_2,
+       9,
+       9
+};
+
+static static_codebook _vq_book_res0_256_128_2 = {
+       2, 81,
+       _vq_lengthlist_res0_256_128_2,
+       1, -531365888, 1611661312, 4, 0,
+       _vq_quantlist_res0_256_128_2,
+       NULL,
+       &_vq_auxt_res0_256_128_2,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128_3.vqh b/lib/books/res0_256_128_3.vqh
new file mode 100644 (file)
index 0000000..c08372a
--- /dev/null
@@ -0,0 +1,81 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128_3_VQH_
+#define _V_res0_256_128_3_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_128_3[] = {
+       14,
+       15,
+       17,
+       19,
+       22,
+       25,
+       28,
+       13,
+       11,
+       9,
+       6,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_128_3[] = {
+        5, 5, 6, 6, 7, 8,10, 5, 6, 6, 7, 8,10, 6, 6, 6,
+        6, 7, 8,10, 6, 6, 6, 7, 8,10, 7, 6, 6, 6, 7, 8,
+       10, 6, 6, 6, 7, 8, 9, 7, 7, 7, 7, 7, 8,10, 7, 7,
+        7, 7, 8,10, 8, 8, 8, 8, 8, 9,10, 8, 8, 8, 8, 9,
+       10,10, 9, 9, 9, 9,10,11, 9, 9, 9, 9,10,12,11,11,
+       11,11,11,12,13,11,11,11,11,12,13, 6, 6, 6, 6, 7,
+        8, 9, 6, 6, 6, 7, 8, 9, 7, 6, 6, 6, 7, 8,10, 6,
+        6, 6, 7, 8, 9, 7, 7, 7, 7, 7, 8,10, 7, 7, 7, 7,
+        8,10, 8, 8, 8, 8, 8, 9,10, 8, 8, 8, 8, 9,10,10,
+        9, 9, 9, 9,10,12, 9, 9, 9, 9,10,11,11,11,11,11,
+       11,12,13,11,11,11,11,12,13,
+};
+
+static float _vq_quantthresh_res0_256_128_3[] = {
+       -12.5, -9.5, -6.5, -4, -2, -0.5, 0.5, 2, 
+       4, 6.5, 9.5, 12.5, 
+};
+
+static long _vq_quantmap_res0_256_128_3[] = {
+          12,   11,   10,    9,    8,    7,    0,    1,
+           2,    3,    4,    5,    6,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_128_3 = {
+       _vq_quantthresh_res0_256_128_3,
+       _vq_quantmap_res0_256_128_3,
+       13,
+       13
+};
+
+static static_codebook _vq_book_res0_256_128_3 = {
+       2, 169,
+       _vq_lengthlist_res0_256_128_3,
+       1, -528744448, 1611661312, 5, 0,
+       _vq_quantlist_res0_256_128_3,
+       NULL,
+       &_vq_auxt_res0_256_128_3,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128_4.vqh b/lib/books/res0_256_128_4.vqh
new file mode 100644 (file)
index 0000000..999bfef
--- /dev/null
@@ -0,0 +1,108 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128_4_VQH_
+#define _V_res0_256_128_4_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_128_4[] = {
+       28,
+       29,
+       31,
+       33,
+       36,
+       39,
+       42,
+       45,
+       48,
+       52,
+       56,
+       27,
+       25,
+       23,
+       20,
+       17,
+       14,
+       11,
+       8,
+       4,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_128_4[] = {
+        7, 7, 7, 7, 7, 8, 9, 9,10,12,14, 7, 7, 7, 7, 8,
+        9, 9,10,12,14, 7, 7, 6, 7, 7, 7, 8, 9,10,12,14,
+        6, 6, 7, 7, 7, 8, 9,10,12,14, 7, 7, 6, 7, 7, 7,
+        8, 9,10,12,14, 7, 7, 7, 7, 7, 8, 9,10,12,13, 7,
+        7, 7, 7, 7, 8, 9, 9,10,12,15, 7, 7, 7, 7, 8, 9,
+        9,10,12,14, 8, 8, 7, 7, 7, 8, 9,10,11,13,15, 8,
+        7, 7, 7, 8, 9, 9,11,13,14, 9, 8, 8, 8, 9, 9,10,
+       11,12,13,16, 9, 8, 8, 8, 9,10,11,12,14,16,10,10,
+       10,10,10,11,11,12,13,14,16,10,10,10,10,11,11,12,
+       13,15,16,11,10,10,10,10,11,12,13,14,16,17,10,10,
+       10,10,11,12,13,15,15,16,12,11,11,11,11,12,13,14,
+       15,17,18,11,12,11,12,12,13,14,15,16,19,13,12,13,
+       13,13,13,14,15,15,19,17,12,13,13,13,15,14,15,17,
+       17,19,14,14,14,15,14,15,17,17,18,19,19,14,14,14,
+       15,15,16,18,16,17,19, 7, 7, 7, 7, 7, 7, 9, 9,10,
+       12,14, 7, 6, 7, 7, 7, 8, 9,10,12,14, 7, 7, 7, 7,
+        7, 7, 9, 9,10,12,14, 7, 6, 6, 7, 7, 8, 9,10,12,
+       14, 7, 7, 7, 7, 7, 8, 9, 9,11,12,14, 7, 7, 7, 7,
+        8, 9, 9,10,12,14, 8, 7, 7, 7, 7, 8, 9,10,11,12,
+       15, 8, 7, 7, 7, 8, 9, 9,11,12,14, 9, 9, 8, 8, 8,
+        9,10,11,12,13,16, 9, 8, 8, 9, 9,10,10,12,13,14,
+       10,10,10,10,10,10,12,12,13,15,17,10,10,10,10,10,
+       12,12,13,14,16,11,10,10,10,10,11,12,13,14,17,18,
+       10,10,10,10,11,12,13,15,16,18,12,11,11,11,12,12,
+       13,14,15,15,17,11,11,11,12,12,13,14,16,16,19,13,
+       13,13,13,13,14,15,15,15,19,19,13,13,13,13,14,14,
+       15,16,17,17,14,13,14,14,14,15,17,18,16,19,18,14,
+       14,15,14,15,15,16,18,17,18,
+};
+
+static float _vq_quantthresh_res0_256_128_4[] = {
+       -26, -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, 
+       -2, -0.5, 0.5, 2, 4, 6.5, 9.5, 12.5, 
+       15.5, 18.5, 22, 26, 
+};
+
+static long _vq_quantmap_res0_256_128_4[] = {
+          20,   19,   18,   17,   16,   15,   14,   13,
+          12,   11,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_128_4 = {
+       _vq_quantthresh_res0_256_128_4,
+       _vq_quantmap_res0_256_128_4,
+       21,
+       21
+};
+
+static static_codebook _vq_book_res0_256_128_4 = {
+       2, 441,
+       _vq_lengthlist_res0_256_128_4,
+       1, -526647296, 1611661312, 6, 0,
+       _vq_quantlist_res0_256_128_4,
+       NULL,
+       &_vq_auxt_res0_256_128_4,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128_5.vqh b/lib/books/res0_256_128_5.vqh
new file mode 100644 (file)
index 0000000..fb8db4a
--- /dev/null
@@ -0,0 +1,103 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by vq/somethingorother
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128_5_VQH_
+#define _V_res0_256_128_5_VQH_
+#include "codebook.h"
+
+static long _vq_quantlist_res0_256_128_5[] = {
+       56,
+       57,
+       58,
+       59,
+       61,
+       64,
+       67,
+       70,
+       73,
+       76,
+       80,
+       84,
+       87,
+       91,
+       95,
+       99,
+       103,
+       107,
+       112,
+       55,
+       54,
+       53,
+       51,
+       48,
+       45,
+       42,
+       39,
+       36,
+       32,
+       28,
+       25,
+       21,
+       17,
+       13,
+       9,
+       5,
+       0,
+};
+
+static long _vq_lengthlist_res0_256_128_5[] = {
+        3, 3, 4, 4, 4, 5, 5, 6, 7, 8, 9,10, 7, 8, 9,10,
+       11,11,10, 3, 4, 4, 4, 4, 5, 6, 7, 8, 9,10, 7, 8,
+        9,11,10,11,10,
+};
+
+static float _vq_quantthresh_res0_256_128_5[] = {
+       -53.5, -49, -45, -41, -37, -33, -29.5, -26, 
+       -22, -18.5, -15.5, -12.5, -9.5, -6.5, -4, -2.5, 
+       -1.5, -0.5, 0.5, 1.5, 2.5, 4, 6.5, 9.5, 
+       12.5, 15.5, 18.5, 22, 26, 29.5, 33, 37, 
+       41, 45, 49, 53.5, 
+};
+
+static long _vq_quantmap_res0_256_128_5[] = {
+          36,   35,   34,   33,   32,   31,   30,   29,
+          28,   27,   26,   25,   24,   23,   22,   21,
+          20,   19,    0,    1,    2,    3,    4,    5,
+           6,    7,    8,    9,   10,   11,   12,   13,
+          14,   15,   16,   17,   18,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_256_128_5 = {
+       _vq_quantthresh_res0_256_128_5,
+       _vq_quantmap_res0_256_128_5,
+       37,
+       37
+};
+
+static static_codebook _vq_book_res0_256_128_5 = {
+       1, 37,
+       _vq_lengthlist_res0_256_128_5,
+       1, -524550144, 1611661312, 7, 0,
+       _vq_quantlist_res0_256_128_5,
+       NULL,
+       &_vq_auxt_res0_256_128_5,
+       NULL,
+       0
+};
+
+
+#endif
diff --git a/lib/books/res0_256_128aux.vqh b/lib/books/res0_256_128aux.vqh
new file mode 100644 (file)
index 0000000..ea308f6
--- /dev/null
@@ -0,0 +1,39 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
+ * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
+ * PLEASE READ THESE TERMS DISTRIBUTING.                            *
+ *                                                                  *
+ * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
+ * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: static codebook autogenerated by huff/huffbuld
+
+ ********************************************************************/
+
+#ifndef _V_res0_256_128aux_VQH_
+#define _V_res0_256_128aux_VQH_
+#include "codebook.h"
+
+static long _huff_lengthlist_res0_256_128aux[] = {
+        9,12,14,16,16,16, 6, 7,11,12,12,16, 5, 3, 5, 9,
+       11,14, 5, 3, 3, 3, 5,11, 9, 7, 7, 2, 4, 9,14,11,
+       11, 7, 8,11,
+};
+
+static static_codebook _huff_book_res0_256_128aux = {
+       2, 36,
+       _huff_lengthlist_res0_256_128aux,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+       0
+};
+
+
+#endif
index 3e8840e..4236648 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: mode_B.h,v 1.3 2000/11/08 06:08:16 xiphmont Exp $
+ last mod: $Id: mode_B.h,v 1.4 2000/11/08 13:16:33 xiphmont Exp $
 
  ********************************************************************/
 
 #include "books/lsp12_0.vqh"
 #include "books/lsp30_0.vqh"
 
-#include "books/resaux0_128a_160.vqh"
-#include "books/resaux0_1024a_160.vqh"
-
-#include "books/res0_128a_160_1.vqh"
-#include "books/res0_128a_160_2.vqh"
-#include "books/res0_128a_160_3.vqh"
-#include "books/res0_128a_160_4.vqh"
-#include "books/res0_128a_160_5.vqh"
-#include "books/res0_1024a_160_1.vqh"
-#include "books/res0_1024a_160_2.vqh"
-#include "books/res0_1024a_160_3.vqh"
-#include "books/res0_1024a_160_4.vqh"
-#include "books/res0_1024a_160_5.vqh"
-#include "books/res0_1024a_160_6.vqh"
-#include "books/res0_1024a_160_7.vqh"
-#include "books/res0_1024a_160_8.vqh"
-#include "books/res0_1024a_160_9.vqh"
+#include "books/res0_160_128aux.vqh"
+#include "books/res0_160_1024aux.vqh"
+
+#include "books/res0_160_128_1.vqh"
+#include "books/res0_160_128_2.vqh"
+#include "books/res0_160_128_3.vqh"
+#include "books/res0_160_128_4.vqh"
+#include "books/res0_160_128_5.vqh"
+
+#include "books/res0_160_1024_1.vqh"
+#include "books/res0_160_1024_2.vqh"
+#include "books/res0_160_1024_3.vqh"
+#include "books/res0_160_1024_4.vqh"
+#include "books/res0_160_1024_5.vqh"
+#include "books/res0_160_1024_6.vqh"
+#include "books/res0_160_1024_7.vqh"
+#include "books/res0_160_1024_8.vqh"
+#include "books/res0_160_1024_9.vqh"
 
 static vorbis_info_psy _psy_set_B={
   1,/*athp*/
@@ -122,7 +123,7 @@ static vorbis_info_psy _psy_set_B={
  
   110.,
 
-  -3., -.006   /* attack/decay control */
+  -0., -.005   /* attack/decay control */
 };
 
 /* with GNUisms, this could be short and readable. Oh well */
@@ -134,7 +135,7 @@ static vorbis_info_residue0 _residue_set0B={0,128, 32,6,2,
                                            {4,5,6,7,8},
                                            
                                            {0,99999,9999,9999,9999},
-                                           {99,1.5,2.5,3.5,5},
+                                           {99,1.5,2.5,6.5,12.5},
                                            {5,5,5,5,5},
                                            {99,99,99,99,99}};
 
@@ -142,9 +143,9 @@ static vorbis_info_residue0 _residue_set1B={0,1024, 32,10,3,
                                            {0,1,1,1,1,1,1,1,1,1},
                                            {9,10,11,12,13,14,15,16,17},
                                           
-                                           {0,9,9999,17,9999,
-                                            27,9999,9999,9999},
-                                           {99,1.5,1.5,2.5,2.5,3.5,3.5,7,13},
+                                           {0,8,9999,17,9999,
+                                            22,9999,9999,9999},
+                                           {99,1.5,1.5,2.5,2.5,4,4,6.5,12.5},
                                            {5,5,5,5,5,5,5,5,5},
                                            {99,99,99,99,99,99,99,99,99}};
 
@@ -174,23 +175,24 @@ codec_setup_info info_B={
   {&_vq_book_lsp12_0,      /* 0 */
    &_vq_book_lsp30_0,      /* 1 */
 
-   &_huff_book_resaux0_128a_160,
-   &_huff_book_resaux0_1024a_160,
-
-   &_vq_book_res0_128a_160_1,
-   &_vq_book_res0_128a_160_2,
-   &_vq_book_res0_128a_160_3,
-   &_vq_book_res0_128a_160_4,
-   &_vq_book_res0_128a_160_5,
-   &_vq_book_res0_1024a_160_1,
-   &_vq_book_res0_1024a_160_2,
-   &_vq_book_res0_1024a_160_3,
-   &_vq_book_res0_1024a_160_4,
-   &_vq_book_res0_1024a_160_5,
-   &_vq_book_res0_1024a_160_6,
-   &_vq_book_res0_1024a_160_7,
-   &_vq_book_res0_1024a_160_8,
-   &_vq_book_res0_1024a_160_9,
+   &_huff_book_res0_160_128aux,
+   &_huff_book_res0_160_1024aux,
+
+   &_vq_book_res0_160_128_1,
+   &_vq_book_res0_160_128_2,
+   &_vq_book_res0_160_128_3,
+   &_vq_book_res0_160_128_4,
+   &_vq_book_res0_160_128_5,
+
+   &_vq_book_res0_160_1024_1,
+   &_vq_book_res0_160_1024_2,
+   &_vq_book_res0_160_1024_3,
+   &_vq_book_res0_160_1024_4,
+   &_vq_book_res0_160_1024_5,
+   &_vq_book_res0_160_1024_6,
+   &_vq_book_res0_160_1024_7,
+   &_vq_book_res0_160_1024_8,
+   &_vq_book_res0_160_1024_9,
 
   },
   /* psy */
index 7cc09c7..083b295 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: mode_C.h,v 1.3 2000/11/08 06:08:17 xiphmont Exp $
+ last mod: $Id: mode_C.h,v 1.4 2000/11/08 13:16:33 xiphmont Exp $
 
  ********************************************************************/
 
 #include "books/lsp12_0.vqh"
 #include "books/lsp30_0.vqh"
 
-#include "books/resaux0_128a_192.vqh"
-#include "books/resaux0_1024a_192.vqh"
+#include "books/res0_192_128aux.vqh"
+#include "books/res0_192_1024aux.vqh"
 
-#include "books/res0_128a_192_1.vqh"
-#include "books/res0_128a_192_2.vqh"
-#include "books/res0_128a_192_3.vqh"
-#include "books/res0_128a_192_4.vqh"
-#include "books/res0_128a_192_5.vqh"
-#include "books/res0_1024a_192_1.vqh"
-#include "books/res0_1024a_192_2.vqh"
-#include "books/res0_1024a_192_3.vqh"
-#include "books/res0_1024a_192_4.vqh"
-#include "books/res0_1024a_192_5.vqh"
+#include "books/res0_192_128_1.vqh"
+#include "books/res0_192_128_2.vqh"
+#include "books/res0_192_128_3.vqh"
+#include "books/res0_192_128_4.vqh"
+#include "books/res0_192_128_5.vqh"
+
+#include "books/res0_192_1024_1.vqh"
+#include "books/res0_192_1024_2.vqh"
+#include "books/res0_192_1024_3.vqh"
+#include "books/res0_192_1024_4.vqh"
+#include "books/res0_192_1024_5.vqh"
 
 static vorbis_info_psy _psy_set_C={
   1,/*athp*/
@@ -130,7 +131,7 @@ static vorbis_info_residue0 _residue_set0C={0,128, 32,6,2,
                                            {4,5,6,7,8},
                                            
                                            {0,99999,9999,9999,9999},
-                                           {99,1.5,2.5,3.5,5},
+                                           {99,1.5,2.5,6.5,12.5},
                                            {5,5,5,5,5},
                                            {99,99,99,99,99}};
 
@@ -139,7 +140,7 @@ static vorbis_info_residue0 _residue_set1C={0,1024, 32,6,3,
                                            {9,10,11,12,13},
                                           
                                            {0,99999,9999,9999,9999},
-                                           {99,1.5,2.5,3.5,5},
+                                           {99,1.5,2.5,6.5,12.5},
                                            {5,5,5,5,5},
                                            {99,99,99,99,99}};
 
@@ -169,19 +170,20 @@ codec_setup_info info_C={
   {&_vq_book_lsp12_0,      /* 0 */
    &_vq_book_lsp30_0,      /* 1 */
 
-   &_huff_book_resaux0_128a_192,
-   &_huff_book_resaux0_1024a_192,
-
-   &_vq_book_res0_128a_192_1,
-   &_vq_book_res0_128a_192_2,
-   &_vq_book_res0_128a_192_3,
-   &_vq_book_res0_128a_192_4,
-   &_vq_book_res0_128a_192_5,
-   &_vq_book_res0_1024a_192_1,
-   &_vq_book_res0_1024a_192_2,
-   &_vq_book_res0_1024a_192_3,
-   &_vq_book_res0_1024a_192_4,
-   &_vq_book_res0_1024a_192_5,
+   &_huff_book_res0_192_128aux,
+   &_huff_book_res0_192_1024aux,
+
+   &_vq_book_res0_192_128_1,
+   &_vq_book_res0_192_128_2,
+   &_vq_book_res0_192_128_3,
+   &_vq_book_res0_192_128_4,
+   &_vq_book_res0_192_128_5,
+
+   &_vq_book_res0_192_1024_1,
+   &_vq_book_res0_192_1024_2,
+   &_vq_book_res0_192_1024_3,
+   &_vq_book_res0_192_1024_4,
+   &_vq_book_res0_192_1024_5,
 
   },
   /* psy */
index ef949c5..3e2b79c 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: mode_D.h,v 1.2 2000/11/06 00:07:24 xiphmont Exp $
+ last mod: $Id: mode_D.h,v 1.3 2000/11/08 13:16:33 xiphmont Exp $
 
  ********************************************************************/
 
 #include "books/lsp12_0.vqh"
 #include "books/lsp30_0.vqh"
 
-#include "books/resaux0_128a_256.vqh"
-#include "books/resaux0_1024a_256.vqh"
+#include "books/res0_256_128aux.vqh"
+#include "books/res0_256_1024aux.vqh"
 
-#include "books/res0_128a_256_1.vqh"
-#include "books/res0_128a_256_2.vqh"
-#include "books/res0_128a_256_3.vqh"
-#include "books/res0_128a_256_4.vqh"
-#include "books/res0_128a_256_5.vqh"
-#include "books/res0_1024a_256_1.vqh"
-#include "books/res0_1024a_256_2.vqh"
-#include "books/res0_1024a_256_3.vqh"
-#include "books/res0_1024a_256_4.vqh"
-#include "books/res0_1024a_256_5.vqh"
+#include "books/res0_256_128_1.vqh"
+#include "books/res0_256_128_2.vqh"
+#include "books/res0_256_128_3.vqh"
+#include "books/res0_256_128_4.vqh"
+#include "books/res0_256_128_5.vqh"
+
+#include "books/res0_256_1024_1.vqh"
+#include "books/res0_256_1024_2.vqh"
+#include "books/res0_256_1024_3.vqh"
+#include "books/res0_256_1024_4.vqh"
+#include "books/res0_256_1024_5.vqh"
 
 static vorbis_info_psy _psy_set_256 ={
   1,/*athp*/
@@ -113,7 +114,7 @@ static vorbis_info_residue0 _residue_set0_256={0,128, 32,6,2,
                                            {4,5,6,7,8},
 
                                           {0,9999,9999,9999,9999},
-                                          {99,2.5,7,13.5,27.5},
+                                          {99,2.5,6.5,15.5,29.5},
                                           {5,5,5,5,5},
                                           {99,99,99,99,99}};
 
@@ -122,7 +123,7 @@ static vorbis_info_residue0 _residue_set1_256={0,1024, 32,6,3,
                                            {9,10,11,12,13},
                                           
                                           {0,9999,9999,9999,9999},
-                                          {99,2.5,7,13.5,27.5},
+                                          {99,2.5,6.5,15.5,29.5},
                                           {5,5,5,5,5},
                                           {99,99,99,99,99}};
 
@@ -152,19 +153,20 @@ codec_setup_info info_D={
   {&_vq_book_lsp12_0,      /* 0 */
    &_vq_book_lsp30_0,      /* 1 */
 
-   &_huff_book_resaux0_128a_256,
-   &_huff_book_resaux0_1024a_256,
-
-   &_vq_book_res0_128a_256_1,
-   &_vq_book_res0_128a_256_2,
-   &_vq_book_res0_128a_256_3,
-   &_vq_book_res0_128a_256_4,
-   &_vq_book_res0_128a_256_5,
-   &_vq_book_res0_1024a_256_1,
-   &_vq_book_res0_1024a_256_2,
-   &_vq_book_res0_1024a_256_3,
-   &_vq_book_res0_1024a_256_4,
-   &_vq_book_res0_1024a_256_5,
+   &_huff_book_res0_256_128aux,
+   &_huff_book_res0_256_1024aux,
+
+   &_vq_book_res0_256_128_1,
+   &_vq_book_res0_256_128_2,
+   &_vq_book_res0_256_128_3,
+   &_vq_book_res0_256_128_4,
+   &_vq_book_res0_256_128_5,
+
+   &_vq_book_res0_256_1024_1,
+   &_vq_book_res0_256_1024_2,
+   &_vq_book_res0_256_1024_3,
+   &_vq_book_res0_256_1024_4,
+   &_vq_book_res0_256_1024_5,
 
   },
   /* psy */
index 95c14fb..5244bcf 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: residue backend 0 implementation
- last mod: $Id: res0.c,v 1.19 2000/11/06 00:07:02 xiphmont Exp $
+ last mod: $Id: res0.c,v 1.20 2000/11/08 13:16:27 xiphmont Exp $
 
  ********************************************************************/
 
@@ -213,7 +213,7 @@ static int _testhack(float *vec,int n,vorbis_look_residue0 *look,
 
 static int _encodepart(oggpack_buffer *opb,float *vec, int n,
                       int stages, codebook **books,int mode,int part){
-  int i,j,bits=0;
+  int i,j,bits=0,flag=0;
 
   for(j=0;j<stages;j++){
     int dim=books[j]->dim;
@@ -231,10 +231,12 @@ static int _encodepart(oggpack_buffer *opb,float *vec, int n,
       }
 #endif
       bits+=vorbis_book_encode(books[j],entry,opb);
+      if(entry!=books[j]->zeroentry)flag=1;
+
     }
   }
 
-  return(bits);
+  return(flag);
 }
 
 static int _decodepart(oggpack_buffer *opb,float *work,float *vec, int n,
@@ -273,6 +275,7 @@ int res0_forward(vorbis_block *vb,vorbis_look_residue *vl,
   int partvals=n/samples_per_partition;
   int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
   long **partword=_vorbis_block_alloc(vb,ch*sizeof(long *));
+  long lastbyte,lastbit;;
 
   partvals=partwords*partitions_per_word;
 
@@ -301,7 +304,10 @@ int res0_forward(vorbis_block *vb,vorbis_look_residue *vl,
      residual words for that partition word.  Then write the next
      partition channel words... */
   
+  lastbyte=vb->opb.endbyte;
+  lastbit=vb->opb.endbit;
   for(i=info->begin,l=0;i<info->end;){
+    
     /* first we encode a partition codeword for each channel */
     for(j=0;j<ch;j++){
       long val=partword[j][l];
@@ -312,16 +318,27 @@ int res0_forward(vorbis_block *vb,vorbis_look_residue *vl,
     /* now we encode interleaved residual values for the partitions */
     for(k=0;k<partitions_per_word;k++,l++,i+=samples_per_partition)
       for(j=0;j<ch;j++){
-       resbits[partword[j][l]]+=
-         _encodepart(&vb->opb,in[j]+i,samples_per_partition,
-                     info->secondstages[partword[j][l]],
-                     look->partbooks[partword[j][l]],look->map,partword[j][l]);
+       /*resbits[partword[j][l]]+=*/
+       int flag=_encodepart(&vb->opb,in[j]+i,samples_per_partition,
+                            info->secondstages[partword[j][l]],
+                            look->partbooks[partword[j][l]],look->map,partword[j][l]);
        resvals[partword[j][l]]+=samples_per_partition;
+       if(flag){
+         lastbyte=vb->opb.endbyte;
+         lastbit=vb->opb.endbit;
+       }
       }
       
   }
 
-  for(i=0;i<possible_partitions;i++)resbitsT+=resbits[i];
+  /* grab a free byte or two here and there */
+  if(lastbyte<vb->opb.endbyte){
+    vb->opb.endbyte=lastbyte;
+    vb->opb.endbit=lastbit;  /* yeah overengineered */
+  }
+
+
+  /*for(i=0;i<possible_partitions;i++)resbitsT+=resbits[i];*/
   /*fprintf(stderr,
          "Encoded %ld res vectors in %ld phrasing and %ld res bits\n\t",
          ch*(info->end-info->begin),phrasebits,resbitsT);
index f2e7f63..3b1a155 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: basic shared codebook operations
- last mod: $Id: sharedbook.c,v 1.10 2000/11/06 00:07:02 xiphmont Exp $
+ last mod: $Id: sharedbook.c,v 1.11 2000/11/08 13:16:27 xiphmont Exp $
 
  ********************************************************************/
 
@@ -273,7 +273,9 @@ float *_book_unquantize(const static_codebook *b){
          r[j*b->dim+k]=val;
        }
       }
+      break;
     }
+
     return(r);
   }
   return(NULL);
@@ -324,12 +326,30 @@ void vorbis_book_clear(codebook *b){
 }
 
 int vorbis_book_init_encode(codebook *c,const static_codebook *s){
+  long j,k;
   memset(c,0,sizeof(codebook));
   c->c=s;
   c->entries=s->entries;
   c->dim=s->dim;
   c->codelist=_make_words(s->lengthlist,s->entries);
   c->valuelist=_book_unquantize(s);
+
+  /* set the 'zero entry' */
+  c->zeroentry=-1;
+  if(c->valuelist){
+    for(j=0;j<s->entries;j++){
+      int flag=1;
+      for(k=0;k<s->dim;k++){
+       if(fabs(c->valuelist[j*s->dim+k])>1e-12){
+         flag=0;
+         break;
+       }
+      }
+      if(flag)
+       c->zeroentry=j;
+    }
+  }
+
   return(0);
 }