Commit mode E (roughly 350kbps stereo)
authorMonty <xiphmont@xiph.org>
Tue, 15 Aug 2000 09:45:48 +0000 (09:45 +0000)
committerMonty <xiphmont@xiph.org>
Tue, 15 Aug 2000 09:45:48 +0000 (09:45 +0000)
svn path=/trunk/vorbis/; revision=587

15 files changed:
examples/encoder_example.c
include/vorbis/book/res0_1024a_350_1.vqh [new file with mode: 0644]
include/vorbis/book/res0_1024a_350_2.vqh [new file with mode: 0644]
include/vorbis/book/res0_1024a_350_3.vqh [new file with mode: 0644]
include/vorbis/book/res0_1024a_350_4.vqh [new file with mode: 0644]
include/vorbis/book/res0_1024a_350_5.vqh [new file with mode: 0644]
include/vorbis/book/res0_128a_350_1.vqh [new file with mode: 0644]
include/vorbis/book/res0_128a_350_2.vqh [new file with mode: 0644]
include/vorbis/book/res0_128a_350_3.vqh [new file with mode: 0644]
include/vorbis/book/res0_128a_350_4.vqh [new file with mode: 0644]
include/vorbis/book/res0_128a_350_5.vqh [new file with mode: 0644]
include/vorbis/book/resaux0_1024a_350.vqh [new file with mode: 0644]
include/vorbis/book/resaux0_128a_350.vqh [new file with mode: 0644]
include/vorbis/mode_E.h [new file with mode: 0644]
include/vorbis/modes.h

index 5fcaa86..4ef4d30 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: simple example encoder
  ********************************************************************
 
  function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.10 2000/08/15 09:09:31 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.11 2000/08/15 09:45:47 xiphmont Exp $
 
  ********************************************************************/
 
 
  ********************************************************************/
 
@@ -25,7 +25,7 @@
 #include <stdlib.h>
 #include <time.h>
 #include <math.h>
 #include <stdlib.h>
 #include <time.h>
 #include <math.h>
-#include "vorbis/mode_A.h"
+#include "vorbis/mode_E.h"
 
 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
 #include <io.h>
 
 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
 #include <io.h>
@@ -79,7 +79,7 @@ int main(){
 
   /* choose an encoding mode */
   /* (mode 0: 44kHz stereo uncoupled, roughly 128kbps VBR) */
 
   /* choose an encoding mode */
   /* (mode 0: 44kHz stereo uncoupled, roughly 128kbps VBR) */
-  vi=&info_A;
+  vi=&info_E;
 
   /* add a comment */
   vorbis_comment_init(&vc);
 
   /* add a comment */
   vorbis_comment_init(&vc);
diff --git a/include/vorbis/book/res0_1024a_350_1.vqh b/include/vorbis/book/res0_1024a_350_1.vqh
new file mode 100644 (file)
index 0000000..48fb9ec
--- /dev/null
@@ -0,0 +1,99 @@
+/********************************************************************
+ *                                                                  *
+ * 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_1024a_350_1_VQH_
+#define _V_res0_1024a_350_1_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_350_1[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_1024a_350_1[] = {
+        2, 5, 8, 5, 8, 5, 7, 9, 7, 9, 9,10,12,10,11, 5,
+        7, 9, 7, 9, 9,10,12,10,12, 5, 7, 9, 7,10, 7, 8,
+       10, 8,10,10,11,12,11,12, 7, 8,10, 8,10,10,10,12,
+       11,12, 9,10,12,10,12,10,11,12,11,13,12,13,14,13,
+       14,10,11,13,11,13,12,12,14,13,14, 6, 7, 9, 7,10,
+        7, 8,10, 8,10,10,11,12,10,12, 7, 8,10, 8,10,10,
+       11,12,11,12, 9,10,12,10,12,10,11,13,11,13,12,13,
+       14,13,14,10,11,13,11,13,13,13,15,13,14, 5, 7,10,
+        7,10, 7, 8,11, 8,10,10,11,13,11,13, 7, 8,10, 8,
+       11,10,11,12,11,12, 7, 8,11, 8,10, 8, 9,11, 9,11,
+       11,12,13,12,13, 8, 9,11, 9,11,11,11,13,12,13,10,
+       11,13,11,12,11,12,13,12,14,13,13,13,14,15,11,12,
+       13,12,13,13,13,15,13,15, 7, 8,11, 8,11, 8, 9,11,
+        9,11,11,12,13,12,13, 8, 9,11, 9,11,11,12,13,12,
+       13,10,11,13,11,13,11,12,13,12,13,13,14,15,13,14,
+       11,12,13,12,13,13,13,15,13,16, 9,10,12,10,12,10,
+       11,13,11,13,12,13,15,13,15,10,11,13,11,13,12,13,
+       14,13,14,10,11,13,11,13,11,12,14,12,13,13,14,15,
+       14,15,11,12,14,12,13,13,14,15,14,15,12,13,15,13,
+       14,13,13,16,13,15,14,13,14,15,16,13,14,16,14,14,
+       15,16,16,16,16,10,11,13,11,13,11,12,13,12,14,13,
+       14,15,13,14,11,12,13,12,13,13,13,15,13,15,12,13,
+       14,13,15,12,13,15,13,16,14,15,16,14,14,13,14,15,
+       14,15,15,15,16,16,17, 5, 7,10, 7,10, 7, 8,10, 8,
+       10,10,11,12,11,12, 7, 8,10, 8,11,10,11,13,11,13,
+        7, 8,11, 8,11, 9, 9,11, 9,11,11,11,13,12,13, 8,
+        9,11,10,11,11,12,13,12,13,10,11,13,11,13,11,12,
+       13,12,13,13,14,15,13,15,11,12,14,12,13,13,13,13,
+       14,15, 7, 8,11, 9,11, 9, 9,11,10,11,11,12,14,11,
+       13, 8,10,12, 9,11,11,12,13,12,12,10,11,12,11,13,
+       11,12,13,12,14,13,13,15,14,15,11,12,14,12,14,13,
+       13,15,13,14, 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,10,11,13,
+       11,13,11,12,14,12,13,13,13,15,13,15,11,12,13,12,
+       13,13,14,15,14,15,13,13,14,13,14,13,14,15,14,15,
+       15,16,16,16,16,12,13,15,13,16,15,14,15,15,17,10,
+       11,13,11,13,11,12,13,12,14,13,13,14,14,15,11,12,
+       14,12,13,13,14,15,14,15,12,13,14,13,15,13,14,15,
+       14,14,15,15,16,15,17,13,13,15,13,15,15,15,17,14,
+       14,
+};
+
+static double _vq_quantthresh_res0_1024a_350_1[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_1024a_350_1[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_350_1 = {
+       _vq_quantthresh_res0_1024a_350_1,
+       _vq_quantmap_res0_1024a_350_1,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_1024a_350_1 = {
+       4, 625,
+       _vq_lengthlist_res0_1024a_350_1,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_1024a_350_1,
+       NULL,
+       &_vq_auxt_res0_1024a_350_1,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_1024a_350_2.vqh b/include/vorbis/book/res0_1024a_350_2.vqh
new file mode 100644 (file)
index 0000000..52d243e
--- /dev/null
@@ -0,0 +1,75 @@
+/********************************************************************
+ *                                                                  *
+ * 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_1024a_350_2_VQH_
+#define _V_res0_1024a_350_2_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_350_2[] = {
+       6,
+       7,
+       8,
+       9,
+       10,
+       12,
+       5,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_1024a_350_2[] = {
+        4, 5, 6, 6, 7, 8, 5, 6, 6, 7, 8, 5, 5, 6, 7, 7,
+        8, 5, 6, 7, 7, 8, 6, 6, 7, 7, 7, 9, 6, 6, 7, 8,
+        9, 7, 7, 7, 8, 8, 9, 7, 7, 8, 8, 9, 7, 7, 8, 8,
+        8, 9, 7, 8, 8, 8, 9, 8, 8, 9, 9, 9,10, 8, 9, 9,
+        9,10, 5, 5, 6, 7, 7, 8, 5, 6, 7, 7, 8, 6, 6, 7,
+        7, 8, 9, 6, 7, 7, 8, 9, 7, 7, 7, 8, 8, 9, 7, 7,
+        8, 8, 9, 7, 7, 8, 8, 8, 9, 7, 8, 8, 8, 9, 8, 8,
+        9, 9, 9,10, 8, 9, 9, 9,10,
+};
+
+static double _vq_quantthresh_res0_1024a_350_2[] = {
+       -5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+       3.5, 5, 
+};
+
+static long _vq_quantmap_res0_1024a_350_2[] = {
+          10,    9,    8,    7,    6,    0,    1,    2,
+           3,    4,    5,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_350_2 = {
+       _vq_quantthresh_res0_1024a_350_2,
+       _vq_quantmap_res0_1024a_350_2,
+       11,
+       11
+};
+
+static static_codebook _vq_book_res0_1024a_350_2 = {
+       2, 121,
+       _vq_lengthlist_res0_1024a_350_2,
+       1, -531103744, 1611661312, 4, 0,
+       _vq_quantlist_res0_1024a_350_2,
+       NULL,
+       &_vq_auxt_res0_1024a_350_2,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_1024a_350_3.vqh b/include/vorbis/book/res0_1024a_350_3.vqh
new file mode 100644 (file)
index 0000000..08fa579
--- /dev/null
@@ -0,0 +1,86 @@
+/********************************************************************
+ *                                                                  *
+ * 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_1024a_350_3_VQH_
+#define _V_res0_1024a_350_3_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_350_3[] = {
+       11,
+       12,
+       13,
+       14,
+       15,
+       17,
+       19,
+       22,
+       10,
+       9,
+       8,
+       7,
+       5,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_1024a_350_3[] = {
+        5, 6, 6, 7, 7, 7, 8, 9, 6, 7, 7, 7, 7, 8, 9, 6,
+        6, 7, 7, 7, 8, 8,10, 6, 7, 7, 7, 8, 8, 9, 7, 7,
+        7, 7, 7, 8, 9,10, 7, 7, 7, 7, 8, 9,10, 7, 7, 7,
+        8, 8, 8, 9,10, 7, 7, 8, 8, 8, 9,10, 7, 7, 7, 8,
+        8, 8, 9,10, 7, 7, 8, 8, 8, 9,10, 7, 8, 8, 8, 8,
+        8, 9,10, 8, 8, 8, 8, 8, 9,10, 8, 8, 9, 9, 9, 9,
+       10,11, 8, 9, 9, 9, 9,10,11, 9,10,10,10,10,10,11,
+       12,10,10,10,10,10,11,12, 6, 6, 7, 7, 7, 8, 8, 9,
+        6, 7, 7, 7, 8, 8, 9, 7, 7, 7, 7, 7, 8, 9,10, 7,
+        7, 7, 7, 8, 9,10, 7, 7, 7, 8, 8, 8, 9,10, 7, 7,
+        8, 8, 8, 9,10, 7, 7, 7, 8, 8, 8, 9,10, 7, 7, 8,
+        8, 8, 9,10, 8, 8, 8, 8, 8, 8, 9,10, 8, 8, 8, 8,
+        8, 9,10, 8, 8, 9, 9, 9, 9,10,11, 8, 9, 9, 9, 9,
+       10,11, 9,10,10,10,10,10,11,12,10,10,10,10,10,11,
+       12,
+};
+
+static double _vq_quantthresh_res0_1024a_350_3[] = {
+       -9.5, -7, -5, -3.5, -2.5, -1.5, -0.5, 0.5, 
+       1.5, 2.5, 3.5, 5, 7, 9.5, 
+};
+
+static long _vq_quantmap_res0_1024a_350_3[] = {
+          14,   13,   12,   11,   10,    9,    8,    0,
+           1,    2,    3,    4,    5,    6,    7,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_350_3 = {
+       _vq_quantthresh_res0_1024a_350_3,
+       _vq_quantmap_res0_1024a_350_3,
+       15,
+       15
+};
+
+static static_codebook _vq_book_res0_1024a_350_3 = {
+       2, 225,
+       _vq_lengthlist_res0_1024a_350_3,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_1024a_350_3,
+       NULL,
+       &_vq_auxt_res0_1024a_350_3,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_1024a_350_4.vqh b/include/vorbis/book/res0_1024a_350_4.vqh
new file mode 100644 (file)
index 0000000..9ec3f25
--- /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_1024a_350_4_VQH_
+#define _V_res0_1024a_350_4_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_350_4[] = {
+       23,
+       24,
+       25,
+       26,
+       27,
+       29,
+       31,
+       34,
+       39,
+       46,
+       22,
+       21,
+       20,
+       19,
+       17,
+       15,
+       12,
+       7,
+       0,
+};
+
+static long _vq_lengthlist_res0_1024a_350_4[] = {
+        5, 6, 7, 7, 7, 8, 8, 8, 8,10, 6, 7, 7, 7, 7, 8,
+        8, 8,10, 6, 6, 7, 8, 8, 8, 8, 8, 9,11, 6, 7, 8,
+        8, 8, 8, 8, 9,11, 7, 7, 8, 8, 8, 8, 9, 9, 9,11,
+        7, 8, 8, 8, 8, 9, 9, 9,11, 7, 8, 8, 8, 8, 8, 9,
+        9,10,12, 8, 8, 9, 8, 9, 9, 9,10,12, 7, 8, 8, 8,
+        8, 8, 9, 9, 9,12, 8, 8, 8, 8, 8, 9, 9, 9,12, 8,
+        8, 8, 9, 8, 8, 9, 9,10,12, 8, 8, 9, 8, 8, 9, 9,
+       10,12, 8, 8, 9, 9, 9, 9, 9, 9,10,12, 8, 9, 9, 9,
+        9, 9, 9,10,12, 8, 9, 9, 9, 9, 9, 9,10,10,12, 9,
+        9, 9, 9, 9, 9,10,10,12, 9, 9, 9,10,10,10,10,10,
+       11,13, 9,10,10,10,10,10,10,11,13,10,11,12,12,12,
+       12,13,13,13,15,11,12,12,12,13,13,13,13,15, 6, 6,
+        7, 8, 8, 8, 8, 9, 9,11, 6, 7, 8, 8, 8, 8, 9, 9,
+       11, 7, 7, 8, 8, 8, 8, 9, 9, 9,11, 7, 8, 8, 8, 8,
+        9, 9, 9,11, 7, 8, 8, 8, 8, 9, 9, 9,10,12, 8, 8,
+        9, 8, 9, 9, 9,10,12, 7, 8, 8, 8, 8, 8, 9, 9, 9,
+       12, 8, 8, 8, 8, 8, 9, 9, 9,12, 8, 8, 8, 9, 8, 8,
+        9, 9,10,12, 8, 8, 9, 8, 8, 9, 9,10,12, 8, 8, 9,
+        9, 9, 9, 9, 9,10,12, 8, 9, 9, 9, 9, 9, 9,10,12,
+        8, 9, 9, 9, 9, 9, 9,10,10,12, 9, 9, 9, 9, 9, 9,
+       10,10,12, 9, 9, 9,10,10,10,10,10,11,13, 9, 9,10,
+       10,10,10,10,11,13,10,11,12,12,12,12,13,13,13,15,
+       11,12,12,12,12,13,13,13,15,
+};
+
+static double _vq_quantthresh_res0_1024a_350_4[] = {
+       -19.5, -13.5, -9.5, -7, -5, -3.5, -2.5, -1.5, 
+       -0.5, 0.5, 1.5, 2.5, 3.5, 5, 7, 9.5, 
+       13.5, 19.5, 
+};
+
+static long _vq_quantmap_res0_1024a_350_4[] = {
+          18,   17,   16,   15,   14,   13,   12,   11,
+          10,    0,    1,    2,    3,    4,    5,    6,
+           7,    8,    9,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_350_4 = {
+       _vq_quantthresh_res0_1024a_350_4,
+       _vq_quantmap_res0_1024a_350_4,
+       19,
+       19
+};
+
+static static_codebook _vq_book_res0_1024a_350_4 = {
+       2, 361,
+       _vq_lengthlist_res0_1024a_350_4,
+       1, -526974976, 1611661312, 6, 0,
+       _vq_quantlist_res0_1024a_350_4,
+       NULL,
+       &_vq_auxt_res0_1024a_350_4,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_1024a_350_5.vqh b/include/vorbis/book/res0_1024a_350_5.vqh
new file mode 100644 (file)
index 0000000..645956b
--- /dev/null
@@ -0,0 +1,133 @@
+/********************************************************************
+ *                                                                  *
+ * 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_1024a_350_5_VQH_
+#define _V_res0_1024a_350_5_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_350_5[] = {
+       88,
+       89,
+       90,
+       91,
+       92,
+       94,
+       96,
+       99,
+       104,
+       111,
+       120,
+       133,
+       151,
+       176,
+       87,
+       86,
+       85,
+       84,
+       82,
+       80,
+       77,
+       72,
+       65,
+       56,
+       43,
+       25,
+       0,
+};
+
+static long _vq_lengthlist_res0_1024a_350_5[] = {
+        4, 6, 7, 7, 7, 8, 8, 8, 8, 9, 9,10,11,10, 6, 7,
+        7, 7, 8, 8, 8, 8, 9, 9,10,11,10, 6, 7, 7, 8, 8,
+        8, 8, 8, 9,10, 9,11,12,11, 7, 8, 8, 8, 8, 8, 8,
+        9,10, 9,11,12,11, 7, 8, 8, 9, 9, 9, 9, 9, 9,10,
+       10,12,13,12, 8, 8, 9, 9, 9, 9, 9, 9,10,10,12,12,
+       12, 7, 8, 9, 9, 9, 9, 9, 9,10,11,11,12,13,12, 8,
+        9, 9, 9, 9, 9, 9,10,11,10,12,13,12, 7, 8, 9, 9,
+        9, 9, 9, 9, 9,10,10,12,13,12, 8, 9, 9, 9, 9, 9,
+        9, 9,10,10,12,12,12, 8, 8, 9, 9, 9, 9, 9, 9, 9,
+       10,10,12,13,12, 8, 9, 9, 9, 9, 9, 9, 9,10,10,11,
+       12,11, 8, 9, 9, 9, 9, 9, 9, 9, 9,11,10,12,13,13,
+        9, 9, 9, 9, 9, 9, 9, 9,11,10,12,12,12, 8, 9, 9,
+        9, 9, 9, 9, 9,10,10,10,12,13,13, 9, 9, 9, 9, 9,
+        9, 9, 9,11,10,11,12,12, 9, 9,10,10,10,10,10,10,
+       10,11,11,13,14,13, 9,10,10,10,10,10,10,10,11,11,
+       12,13,13,10,10,11,11,11,11,11,12,12,13,12,14,15,
+       14,10,11,11,11,11,11,12,12,13,13,14,14,14, 9,10,
+       11,12,12,12,12,12,12,13,14,15,17,15,10,11,12,12,
+       12,12,12,12,13,15,16,16,15,11,12,13,14,14,14,14,
+       15,15,15,17,18,18,15,12,13,14,14,15,15,15,15,16,
+       18,18,17,15,11,13,14,16,15,15,16,16,18,18,18,20,
+       18,16,13,14,15,15,15,17,17,17,20,19,20,20,15,10,
+       12,13,13,13,13,13,14,14,15,15,15,15,12,12,13,13,
+       13,13,13,14,15,15,15,15,16,12, 6, 7, 7, 8, 8, 8,
+        8, 8, 9,10, 9,11,12,11, 7, 8, 8, 8, 8, 8, 8, 9,
+       10, 9,11,12,11, 7, 8, 8, 9, 9, 9, 9, 9, 9,10,10,
+       12,13,12, 8, 8, 9, 8, 9, 9, 9, 9,10,10,12,12,12,
+        7, 8, 9, 9, 9, 9, 9, 9,10,11,11,12,13,12, 8, 9,
+        9, 9, 9, 9, 9,10,11,10,12,13,12, 8, 8, 9, 9, 9,
+        9, 9, 9, 9,10,10,12,13,12, 8, 9, 9, 9, 9, 9, 9,
+        9,11,10,11,12,12, 8, 8, 9, 9, 9, 9, 9, 9, 9,10,
+       10,12,13,12, 8, 9, 9, 9, 9, 9, 9, 9,10,10,11,12,
+       12, 8, 9, 9, 9, 9, 9, 9, 9, 9,10,10,12,13,13, 9,
+        9, 9, 9, 9, 9, 9, 9,11,10,12,12,12, 8, 9, 9, 9,
+        9, 9, 9, 9,10,11,10,12,13,13, 9, 9, 9, 9, 9, 9,
+        9,10,11,10,12,12,12, 9, 9,10,10,10,10,10,10,10,
+       11,11,13,13,13, 9,10,10,10,10,10,10,10,11,11,12,
+       13,13,10,10,11,11,11,11,11,12,12,13,13,14,15,14,
+       10,11,11,11,11,12,11,12,13,12,13,14,14, 9,10,11,
+       12,12,12,12,12,12,13,14,16,17,15,10,11,12,12,12,
+       12,12,12,13,15,16,16,15,11,12,13,14,14,14,14,15,
+       15,16,16,17,18,15,12,13,14,14,14,14,15,15,16,16,
+       18,20,15,12,13,15,15,15,15,16,17,18,18,18,18,19,
+       16,13,14,16,16,16,17,17,16,18, 0,19,20,15,10,11,
+       13,13,12,13,13,14,14,15,16,16,16,12,12,12,13,13,
+       13,13,14,14,15,15,16,16,12,
+};
+
+static double _vq_quantthresh_res0_1024a_350_5[] = {
+       -75.5, -54, -38.5, -27.5, -19.5, -13.5, -9.5, -7, 
+       -5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+       3.5, 5, 7, 9.5, 13.5, 19.5, 27.5, 38.5, 
+       54, 75.5, 
+};
+
+static long _vq_quantmap_res0_1024a_350_5[] = {
+          26,   25,   24,   23,   22,   21,   20,   19,
+          18,   17,   16,   15,   14,    0,    1,    2,
+           3,    4,    5,    6,    7,    8,    9,   10,
+          11,   12,   13,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_350_5 = {
+       _vq_quantthresh_res0_1024a_350_5,
+       _vq_quantmap_res0_1024a_350_5,
+       27,
+       27
+};
+
+static static_codebook _vq_book_res0_1024a_350_5 = {
+       2, 729,
+       _vq_lengthlist_res0_1024a_350_5,
+       1, -522846208, 1611661312, 8, 0,
+       _vq_quantlist_res0_1024a_350_5,
+       NULL,
+       &_vq_auxt_res0_1024a_350_5,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_128a_350_1.vqh b/include/vorbis/book/res0_128a_350_1.vqh
new file mode 100644 (file)
index 0000000..98660fe
--- /dev/null
@@ -0,0 +1,99 @@
+/********************************************************************
+ *                                                                  *
+ * 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_128a_350_1_VQH_
+#define _V_res0_128a_350_1_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_128a_350_1[] = {
+       2,
+       3,
+       4,
+       1,
+       0,
+};
+
+static long _vq_lengthlist_res0_128a_350_1[] = {
+        2, 5,10, 5,10, 5, 7, 0, 7, 9,10, 8, 0,10, 0, 5,
+        7, 8, 7,10, 8,10, 0,10, 0, 5, 8, 0, 9,10, 7, 0,
+       10, 8, 9,10, 0, 0,10, 0, 6, 7, 0,10,10, 8, 8, 0,
+       10, 0,10,10, 0, 9,10,10,10, 0, 0, 0,10, 0, 0, 0,
+        0, 0, 0, 0,10,10,10, 0, 0, 0, 0, 6, 7, 9, 8, 9,
+        6,10,10, 7,10, 9,10, 0,10, 0, 9, 8,10,10,10, 8,
+        0, 0,10, 0, 9,10,10, 0,10, 9, 0,10,10, 0,10, 0,
+        0, 0, 0,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 9, 9,
+        8, 0, 7, 8, 0, 0, 0, 9,10,10, 0, 0, 8,10, 0, 9,
+        0,10, 0, 0, 0, 0, 8,10, 0, 9, 0, 0, 0, 0,10, 0,
+        0, 0, 0, 0, 0, 8,10, 0, 7, 0,10, 0, 0, 9, 0, 0,
+        0, 0,10, 0, 0,10, 0, 9, 0, 0, 9, 0,10, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 6, 8, 0, 8, 0, 7, 0, 0,
+        8, 0,10,10, 0, 0, 0, 9,10, 8, 0, 0, 0, 0, 0, 0,
+        0, 0,10,10, 0, 0, 9, 8, 0, 0, 0,10, 0, 0, 0, 0,
+       10, 0,10, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 9,
+        0, 0, 0, 0, 0, 0, 0,10, 0, 9,10, 0, 0,10, 8, 9,
+        0, 0, 0, 9, 0, 0, 0, 0,10, 0, 0, 0, 0,10,10, 0,
+        0, 0, 0, 0, 0, 0, 0,10, 0, 0, 0, 0,10, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0,
+       10, 0, 0,10, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 5,10, 0, 8, 0, 8,10,10, 8,
+        0, 0, 0, 0, 0, 0, 9, 9, 0,10, 0, 0, 0, 9, 9, 0,
+        6, 8, 0, 9, 0, 7, 0, 0, 7, 9, 9, 0, 9, 8, 0, 7,
+        7, 0, 9, 9, 0, 0, 0, 9, 0, 9, 0, 0, 8, 9, 0, 9,
+        0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 8, 9, 0, 0, 0,
+        0, 0, 7, 0, 0, 0, 0, 8, 8, 0, 0, 0, 8, 0, 0, 0,
+        0, 0, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 9, 9, 8,
+        0, 0, 0, 0, 8, 9, 9, 0, 0, 9, 0, 0, 0, 0, 8, 0,
+        0, 8, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 9, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+        0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0,
+        0,
+};
+
+static double _vq_quantthresh_res0_128a_350_1[] = {
+       -1.5, -0.5, 0.5, 1.5, 
+};
+
+static long _vq_quantmap_res0_128a_350_1[] = {
+           4,    3,    0,    1,    2,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_128a_350_1 = {
+       _vq_quantthresh_res0_128a_350_1,
+       _vq_quantmap_res0_128a_350_1,
+       5,
+       5
+};
+
+static static_codebook _vq_book_res0_128a_350_1 = {
+       4, 625,
+       _vq_lengthlist_res0_128a_350_1,
+       1, -533725184, 1611661312, 3, 0,
+       _vq_quantlist_res0_128a_350_1,
+       NULL,
+       &_vq_auxt_res0_128a_350_1,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_128a_350_2.vqh b/include/vorbis/book/res0_128a_350_2.vqh
new file mode 100644 (file)
index 0000000..119727c
--- /dev/null
@@ -0,0 +1,75 @@
+/********************************************************************
+ *                                                                  *
+ * 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_128a_350_2_VQH_
+#define _V_res0_128a_350_2_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_128a_350_2[] = {
+       6,
+       7,
+       8,
+       9,
+       10,
+       12,
+       5,
+       4,
+       3,
+       2,
+       0,
+};
+
+static long _vq_lengthlist_res0_128a_350_2[] = {
+        5, 5, 5, 6, 6, 6, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7,
+        7, 6, 6, 6, 7, 7, 6, 6, 7, 7, 7, 8, 6, 7, 7, 7,
+        8, 7, 7, 8, 8, 8, 8, 7, 7, 8, 8, 8, 7, 7, 8, 8,
+        8, 8, 7, 8, 8, 8, 9, 8, 8, 8, 9, 9, 8, 8, 8, 9,
+        9, 9, 6, 6, 6, 6, 7, 7, 6, 6, 7, 7, 7, 6, 6, 7,
+        7, 7, 8, 7, 7, 7, 7, 8, 7, 7, 8, 8, 8, 8, 7, 7,
+        8, 8, 8, 7, 7, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8, 8,
+        9, 9, 9, 9, 8, 8, 9, 8, 9,
+};
+
+static double _vq_quantthresh_res0_128a_350_2[] = {
+       -5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+       3.5, 5, 
+};
+
+static long _vq_quantmap_res0_128a_350_2[] = {
+          10,    9,    8,    7,    6,    0,    1,    2,
+           3,    4,    5,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_128a_350_2 = {
+       _vq_quantthresh_res0_128a_350_2,
+       _vq_quantmap_res0_128a_350_2,
+       11,
+       11
+};
+
+static static_codebook _vq_book_res0_128a_350_2 = {
+       2, 121,
+       _vq_lengthlist_res0_128a_350_2,
+       1, -531103744, 1611661312, 4, 0,
+       _vq_quantlist_res0_128a_350_2,
+       NULL,
+       &_vq_auxt_res0_128a_350_2,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_128a_350_3.vqh b/include/vorbis/book/res0_128a_350_3.vqh
new file mode 100644 (file)
index 0000000..af4b921
--- /dev/null
@@ -0,0 +1,86 @@
+/********************************************************************
+ *                                                                  *
+ * 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_128a_350_3_VQH_
+#define _V_res0_128a_350_3_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_128a_350_3[] = {
+       11,
+       12,
+       13,
+       14,
+       15,
+       17,
+       19,
+       22,
+       10,
+       9,
+       8,
+       7,
+       5,
+       3,
+       0,
+};
+
+static long _vq_lengthlist_res0_128a_350_3[] = {
+        6, 6, 7, 7, 7, 7, 7, 8, 6, 7, 7, 7, 7, 7, 8, 7,
+        7, 7, 7, 7, 7, 8, 8, 7, 7, 7, 7, 7, 8, 8, 7, 7,
+        7, 8, 7, 7, 8, 9, 7, 7, 8, 7, 7, 8, 9, 8, 8, 8,
+        8, 8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 9, 7, 8, 8, 8,
+        7, 8, 8, 9, 7, 8, 8, 7, 8, 8, 9, 8, 8, 8, 8, 8,
+        8, 8, 9, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 9, 8, 8,
+        9,10, 8, 9, 9, 8, 8, 9,10, 9, 9,10,10, 9, 9,10,
+       10, 9,10,10, 9, 9,10,10, 7, 7, 7, 7, 7, 7, 8, 8,
+        7, 7, 7, 7, 7, 8, 8, 7, 7, 7, 8, 7, 7, 8, 9, 7,
+        7, 8, 7, 7, 8, 9, 8, 8, 8, 8, 8, 8, 8, 9, 8, 8,
+        8, 8, 8, 8, 9, 7, 8, 8, 8, 7, 8, 8, 9, 7, 8, 8,
+        8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 8,
+        8, 8, 9, 8, 8, 9, 9, 8, 8, 9,10, 8, 8, 9, 8, 8,
+        9,10, 9, 9,10,10, 9, 9,10,10, 9,10,10, 9, 9,10,
+       10,
+};
+
+static double _vq_quantthresh_res0_128a_350_3[] = {
+       -9.5, -7, -5, -3.5, -2.5, -1.5, -0.5, 0.5, 
+       1.5, 2.5, 3.5, 5, 7, 9.5, 
+};
+
+static long _vq_quantmap_res0_128a_350_3[] = {
+          14,   13,   12,   11,   10,    9,    8,    0,
+           1,    2,    3,    4,    5,    6,    7,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_128a_350_3 = {
+       _vq_quantthresh_res0_128a_350_3,
+       _vq_quantmap_res0_128a_350_3,
+       15,
+       15
+};
+
+static static_codebook _vq_book_res0_128a_350_3 = {
+       2, 225,
+       _vq_lengthlist_res0_128a_350_3,
+       1, -529137664, 1611661312, 5, 0,
+       _vq_quantlist_res0_128a_350_3,
+       NULL,
+       &_vq_auxt_res0_128a_350_3,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_128a_350_4.vqh b/include/vorbis/book/res0_128a_350_4.vqh
new file mode 100644 (file)
index 0000000..07ca74d
--- /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_128a_350_4_VQH_
+#define _V_res0_128a_350_4_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_128a_350_4[] = {
+       23,
+       24,
+       25,
+       26,
+       27,
+       29,
+       31,
+       34,
+       39,
+       46,
+       22,
+       21,
+       20,
+       19,
+       17,
+       15,
+       12,
+       7,
+       0,
+};
+
+static long _vq_lengthlist_res0_128a_350_4[] = {
+        7, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8,
+        8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8,
+        8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8, 9,10,
+        8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 9, 8, 8, 8,
+        8, 9,10, 8, 8, 9, 8, 8, 8, 8, 9,10, 8, 8, 8, 8,
+        8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8,
+        8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8,
+        8,10, 8, 9, 9, 9, 8, 8, 8, 8, 8,10, 9, 9, 9, 8,
+        8, 8, 8, 8,10, 9, 9, 9, 9, 9, 8, 8, 8, 9,10, 9,
+        9, 9, 9, 8, 8, 8, 9,10,10,10,10,10,10, 9, 9, 9,
+       10,11,10,10,10,10, 9, 9, 9,10,11,12,12,12,12,12,
+       12,12,12,12,13,12,12,12,12,12,12,12,12,13, 8, 8,
+        8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,
+       10, 8, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8,
+        8, 8, 8,10, 8, 8, 8, 9, 8, 8, 8, 8, 9,10, 8, 8,
+        9, 8, 8, 8, 8, 9,10, 8, 8, 8, 8, 8, 8, 8, 8, 8,
+       10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8,
+        8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 9, 9,
+        9, 8, 8, 8, 8, 8,10, 9, 9, 9, 8, 8, 8, 8, 8,10,
+        9, 9, 9, 9, 9, 8, 8, 8, 9,10, 9, 9, 9, 9, 8, 8,
+        8, 9,10,10,10,10,10,10, 9, 9, 9,10,11,10,10,10,
+       10,10, 9, 9,10,11,12,12,12,12,12,12,12,12,12,13,
+       12,12,12,12,12,12,12,12,13,
+};
+
+static double _vq_quantthresh_res0_128a_350_4[] = {
+       -19.5, -13.5, -9.5, -7, -5, -3.5, -2.5, -1.5, 
+       -0.5, 0.5, 1.5, 2.5, 3.5, 5, 7, 9.5, 
+       13.5, 19.5, 
+};
+
+static long _vq_quantmap_res0_128a_350_4[] = {
+          18,   17,   16,   15,   14,   13,   12,   11,
+          10,    0,    1,    2,    3,    4,    5,    6,
+           7,    8,    9,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_128a_350_4 = {
+       _vq_quantthresh_res0_128a_350_4,
+       _vq_quantmap_res0_128a_350_4,
+       19,
+       19
+};
+
+static static_codebook _vq_book_res0_128a_350_4 = {
+       2, 361,
+       _vq_lengthlist_res0_128a_350_4,
+       1, -526974976, 1611661312, 6, 0,
+       _vq_quantlist_res0_128a_350_4,
+       NULL,
+       &_vq_auxt_res0_128a_350_4,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/res0_128a_350_5.vqh b/include/vorbis/book/res0_128a_350_5.vqh
new file mode 100644 (file)
index 0000000..632c9cd
--- /dev/null
@@ -0,0 +1,133 @@
+/********************************************************************
+ *                                                                  *
+ * 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_128a_350_5_VQH_
+#define _V_res0_128a_350_5_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_128a_350_5[] = {
+       88,
+       89,
+       90,
+       91,
+       92,
+       94,
+       96,
+       99,
+       104,
+       111,
+       120,
+       133,
+       151,
+       176,
+       87,
+       86,
+       85,
+       84,
+       82,
+       80,
+       77,
+       72,
+       65,
+       56,
+       43,
+       25,
+       0,
+};
+
+static long _vq_lengthlist_res0_128a_350_5[] = {
+        7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9,11,11,11, 7, 8,
+        8, 8, 8, 8, 8, 8, 9, 9,11,13,12, 7, 8, 8, 9, 8,
+        8, 8, 8, 8,10,10,12,13,14, 8, 8, 8, 8, 8, 8, 8,
+        8, 9, 9,12,13,14, 8, 8, 9, 9, 8, 8, 8, 8, 8,10,
+       10,12,15,14, 8, 9, 9, 8, 8, 8, 8, 8,10,10,12,14,
+       13, 9, 9, 9, 9, 9, 8, 8, 8, 9,10,10,13,14,15, 9,
+        9, 9, 9, 8, 9, 8, 9,10,10,12,15,16, 8, 8, 9, 9,
+        8, 8, 8, 8, 8,10,10,12,14,14, 8, 9, 9, 8, 8, 8,
+        8, 8,10, 9,12,14,17, 8, 8, 9, 9, 8, 8, 8, 8, 8,
+       10,10,12,14,16, 9, 9, 9, 8, 8, 8, 8, 8,10, 9,12,
+       14, 0, 9, 9, 9, 9, 8, 8, 8, 8, 8,10,10,13,14,15,
+        9, 9, 9, 9, 8, 8, 8, 8,10, 9,12,15,16, 9, 9, 9,
+        9, 9, 9, 8, 8, 9,10,10,12,14,15, 9, 9, 9, 9, 8,
+        8, 8, 9,10,10,12,14, 0,10,10,10,10,10, 9,10, 9,
+       10,11,11,14, 0, 0,10,10,10,10, 9,10, 9,10,11,11,
+       13,17, 0,11,11,11,12,12,11,11,11,11,13,12,14,16,
+       17,11,12,11,12,11,12,11,12,12,12,15,17, 0,11,11,
+       11,12,12,11,12,11,12,13,14,16, 0, 0,11,12,12,12,
+       11,11,11,12,13,14,17, 0, 0,12,13,13,13,14,14,14,
+       14,14,14, 0, 0, 0, 0,13,13,13,14,13,14,14,13,15,
+       16,16, 0, 0,13,15,16,17,15,17,17,16, 0,17, 0, 0,
+        0, 0,13,15,15,15,15,16,15,16,17, 0,16, 0, 0,12,
+       14,15, 0, 0,17,16,15,16, 0, 0, 0, 0, 0,14,16,17,
+       16,16,15,15,15,17,17, 0, 0, 0, 8, 8, 8, 8, 8, 8,
+        8, 8, 8,10,10,12,13,14, 8, 8, 9, 8, 8, 8, 8, 8,
+        9, 9,12,14,14, 8, 8, 9, 9, 8, 8, 8, 8, 8,10,10,
+       12,14,14, 8, 9, 9, 8, 8, 8, 8, 8,10,10,12,14,15,
+        9, 9, 9, 9, 9, 9, 8, 8, 9,10,10,13,14,17, 9, 9,
+        9, 8, 8, 8, 8, 9,10,10,12,15,16, 8, 8, 9, 9, 8,
+        8, 8, 8, 8,10,10,12,14,16, 8, 9, 9, 8, 8, 8, 8,
+        8,10, 9,12,14,16, 8, 8, 9, 9, 8, 8, 8, 8, 8,10,
+       10,12,15,15, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9,11,14,
+       16, 9, 9, 9, 9, 9, 8, 8, 8, 8,10,10,12,15,16, 9,
+        9, 9, 9, 8, 8, 8, 8,10,10,12,14,15, 9, 9, 9, 9,
+        9, 8, 8, 8, 9,10,10,12,14,16, 9, 9, 9, 9, 8, 8,
+        8, 9,10,10,12,15,15,10,10,10,10,10, 9, 9, 9,10,
+       11,11,13,15,17,10,10,10,10, 9, 9, 9,10,11,11,13,
+       17,17,11,11,12,11,12,11,11,11,12,13,13,15,17, 0,
+       11,11,12,11,11,11,11,11,12,12,15,17,17,11,12,11,
+       12,11,11,11,11,12,13,15, 0, 0, 0,11,12,12,12,11,
+       12,12,12,12,14,16, 0, 0,13,13,13,13,15,14,14,14,
+       14,14,16,17, 0, 0,13,14,15,14,14,14,14,14,15,16,
+        0, 0, 0,13,14,16,15,15, 0,17,15,17,17, 0, 0, 0,
+        0,15,15,16,15,15,16,16,16,17,17,17, 0, 0,13,15,
+       17,17,16,15,17,16,16, 0, 0, 0, 0, 0,14,16,15,16,
+       16,15,15,14,17,16, 0, 0, 0,
+};
+
+static double _vq_quantthresh_res0_128a_350_5[] = {
+       -75.5, -54, -38.5, -27.5, -19.5, -13.5, -9.5, -7, 
+       -5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
+       3.5, 5, 7, 9.5, 13.5, 19.5, 27.5, 38.5, 
+       54, 75.5, 
+};
+
+static long _vq_quantmap_res0_128a_350_5[] = {
+          26,   25,   24,   23,   22,   21,   20,   19,
+          18,   17,   16,   15,   14,    0,    1,    2,
+           3,    4,    5,    6,    7,    8,    9,   10,
+          11,   12,   13,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_128a_350_5 = {
+       _vq_quantthresh_res0_128a_350_5,
+       _vq_quantmap_res0_128a_350_5,
+       27,
+       27
+};
+
+static static_codebook _vq_book_res0_128a_350_5 = {
+       2, 729,
+       _vq_lengthlist_res0_128a_350_5,
+       1, -522846208, 1611661312, 8, 0,
+       _vq_quantlist_res0_128a_350_5,
+       NULL,
+       &_vq_auxt_res0_128a_350_5,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/resaux0_1024a_350.vqh b/include/vorbis/book/resaux0_1024a_350.vqh
new file mode 100644 (file)
index 0000000..ead2c9d
--- /dev/null
@@ -0,0 +1,116 @@
+/********************************************************************
+ *                                                                  *
+ * 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_resaux0_1024a_350_VQH_
+#define _V_resaux0_1024a_350_VQH_
+#include "vorbis/codebook.h"
+
+static long _huff_lengthlist_resaux0_1024a_350[] = {
+        6,17,20,20,19,17,18,16,18,19,19,19,16,16,19,19,
+       19,19,17,17,19,19,19,19,19,17,19,19,19,19,19,15,
+       19,19,19,19,15,17,19,19,18,16,17,13,16,19,19,19,
+       17,14,16,19,19,18,19,18,19,19,19,19,19,16,19,19,
+       19,19,18,15,17,19,19,18,18,19,19,19,19,17,19,15,
+       17,18,18,16,19,17,18,18,19,18,19,19,19,19,19,19,
+       19,19,19,19,18,19,19,17,19,18,19,18,19,19,18,19,
+       19,18,19,18,18,18,19,17,19,18,19,19,19,19,19,18,
+       19,19,19,19,18,19,19,19,19,18,18,19,19,19,19,18,
+       18,18,17,19,19,19,17,17,18,19,18,19,17,19,19,19,
+       19,19,19,19,19,19,19,19,19,19,19,19,19,18,19,18,
+       19,19,18,18,16,14,17,19,19,19,18,16,18,19,19,19,
+       17,16,19,19,19,19,18,17,19,19,19,19,19,19,19,19,
+       19,19,19,19,19,19,19,19,14,15,17,19,18,15,18,15,
+       19,19,19,17,16,17,19,19,19,18,17,17,19,19,19,18,
+       19,18,19,19,19,18,19,16,17,19,19,18,14,15,18,18,
+       18,16,15,10,12,14,15,13,16,13,11,14,14,15,12,15,
+       15,15,16,17,11,13,15,17,17,19,15,13,14,17,17,16,
+       16,19,19,19,18,17,17,14,13,14,15,14,17,13,10,11,
+       12,15,16,15,12,12,13,18,15,14,13,14,15,19,16,15,
+       14,15,16,16,19,19,19,17,19,19,18,15,14,14,14,18,
+       17,14,12,13,15,19,18,14,13,12,14,19,15,15,15,14,
+       17,18,16,17,16,16,18,16,18,19,18,18,18,19,16,14,
+       14,14,16,19,16,15,13,14,16,19,18,16,14,14,16,19,
+       18,15,15,16,18,19,17,16,17,17,18,17,19,18,16,17,
+       18,19,16,14,14,18,18,19,15,15,16,16,19,19,16,16,
+       16,16,18,19,16,15,17,17,18,18,17,15,16,16,18,17,
+       17,16,17,19,17,19,19,17,17,18,18,19,18,19,19,19,
+       19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
+       19,19,19,19,17,17,19,18,19,16,16,12,13,14,14,13,
+       15,13,11,12,13,16,13,13,12,12,14,18,11,11,12,14,
+       16,18,16,12,14,17,19,16,14,16,19,18,19,19,13, 9,
+       11,13,14,13,14, 8, 5, 6, 9,12,16, 9, 6, 6, 9,15,
+       13,10, 8, 9,11,14,16,12,11,12,16,15,15,16,18,19,
+       18,18,13,10,12,12,14,16,14, 8, 6, 6,10,14,17,10,
+        6, 5, 8,15,18,13, 9, 9,10,15,18,15,13,14,17,17,
+       17,19,18,17,17,18,16,13,12,13,14,18,17,12, 9, 9,
+       11,15,19,13, 9, 8,10,15,19,14,11,11,12,16,18,16,
+       15,17,17,18,19,18,18,18,18,19,17,14,14,16,19,19,
+       16,15,13,14,15,18,18,15,15,14,15,18,19,15,16,16,
+       17,19,16,15,15,17,17,19,17,18,19,19,18,19,19,16,
+       18,18,18,19,18,19,19,19,19,19,19,19,19,19,19,19,
+       19,18,18,19,19,19,19,18,19,19,19,19,18,18,19,19,
+       19,17,16,12,13,14,15,15,19,14,12,12,14,16,18,14,
+       12,12,14,19,18,14,14,14,16,19,18,15,17,19,18,19,
+       12,15,19,19,19,17,11, 8,11,12,13,14,14, 7, 5, 6,
+       10,13,18,10, 6, 5, 9,14,19,12, 9, 9,11,15,17,14,
+       13,13,15,17,12,15,19,18,18,18,10, 8,11,11,13,16,
+       13, 7, 5, 5, 8,13,16, 9, 4, 3, 6,13,19,13, 8, 6,
+        8,14,17,15,12,13,14,16,14,19,19,18,18,19,12,12,
+       13,12,13,17,18,12, 8, 8,10,14,17,13, 8, 5, 7,14,
+       17,14, 9, 7, 8,14,19,15,13,13,14,16,19,19,19,19,
+       19,19,18,17,15,17,19,19,16,17,13,14,15,17,18,17,
+       14,14,14,16,18,18,14,13,13,17,17,16,15,15,14,18,
+       16,19,19,19,19,19,19,18,19,19,18,19,19,19,19,19,
+       18,19,19,18,18,19,19,19,19,19,19,19,19,19,19,19,
+       19,19,19,19,15,17,19,19,19,19,14,13,14,16,15,18,
+       15,14,13,13,15,19,19,15,13,14,15,19,19,17,15,14,
+       14,16,19,18,17,17,15,18,13,16,19,19,19,19,12,10,
+       13,13,13,18,15,11, 9, 9,11,16,18,13, 9, 8,10,16,
+       19,15,11,10,11,15,19,16,14,14,14,17,12,16,19,18,
+       17,18,10,10,13,12,13,16,15,11, 8, 8,10,13,18,12,
+        7, 5, 7,11,19,13, 9, 6, 7,12,19,14,12,11,12,15,
+       14,17,19,17,19,19,11,12,14,13,14,18,16,13,10, 9,
+       10,13,17,14, 9, 6, 6,11,17,13, 9, 6, 5, 9,18,15,
+       12,10, 9,13,19,19,19,19,19,19,17,15,17,18,18,19,
+       17,17,15,14,14,17,19,17,13,11,11,14,18,15,12,10,
+        8,12,19,15,14,12,11,14,14,17,19,19,19,19,17,17,
+       19,19,19,19,16,19,19,19,19,19,18,19,19,19,19,19,
+       19,19,19,19,19,19,19,19,19,19,19,19,14,16,19,19,
+       19,19,16,13,14,18,18,19,17,15,14,16,18,19,18,17,
+       17,16,17,19,19,19,18,16,15,16,19,17,16,18,17,17,
+       17,19,19,19,19,19,19,15,16,16,16,18,17,16,11,13,
+       16,18,18,17,13,11,14,17,17,16,14,12,13,16,19,18,
+       15,14,14,17,17,18,19,19,19,19,16,16,17,16,17,19,
+       18,16,13,13,14,15,18,17,12, 8,10,11,18,15,13, 9,
+        9,12,19,16,12,11,12,14,18,18,19,18,19,19,15,17,
+       17,17,18,19,19,17,16,14,13,14,19,17,13, 8, 8,11,
+       18,15,12, 7, 6,10,19,14,13,11, 9,12,17,16,19,18,
+       19,19,15,13,17,18,19,19,16,16,15,12,13,16,17,16,
+       13, 9,11,14,18,16,13,10, 9,11,17,15,14,13,11,14,
+};
+
+static static_codebook _huff_book_resaux0_1024a_350 = {
+       4, 1296,
+       _huff_lengthlist_resaux0_1024a_350,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/book/resaux0_128a_350.vqh b/include/vorbis/book/resaux0_128a_350.vqh
new file mode 100644 (file)
index 0000000..06cb1d7
--- /dev/null
@@ -0,0 +1,116 @@
+/********************************************************************
+ *                                                                  *
+ * 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_resaux0_128a_350_VQH_
+#define _V_resaux0_128a_350_VQH_
+#include "vorbis/codebook.h"
+
+static long _huff_lengthlist_resaux0_128a_350[] = {
+        7,16,16,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,13,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,13,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,14,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,14,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,14,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,14,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,14,12,15,15,15,15,15,13,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,14,14,15,
+       15,15,15,12,15,15,15,15,15,13,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,14,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,13,13,14,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,13, 9,11,15,15,15,
+        7, 3, 6,14,15,15, 7, 4, 6,13,15,14,11, 9,12,14,
+       15,15,15,15,15,15,15,15,15,15,15,13,15,15,13, 9,
+        9,13,15,15, 6, 3, 5,10,15,14, 5, 3, 5,10,14,12,
+        8, 7, 9,12,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,13,14,14,15,15,11, 8,10,13,15,14, 9, 7,
+        9,12,15,11, 9, 9,11,13, 9,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,14,14,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
+       15,15,15,15,15,15,15,14,15,15,15,15,15,15,14,15,
+       15,15,15,15,13,13,15,15,15,15,15,15,15,15,15,13,
+       14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,13,
+       15,15,12,10,12,13,15,15, 8, 4, 7,12,15,15, 8, 5,
+        8,14,14,12,11,11,12,15,15,15,15,15,15,15,15,15,
+       15,15,15,11,15,15,13,10,11,10,15,15, 8, 4, 6,11,
+       15,13, 7, 4, 6,11,13,10, 9, 9, 9,12,15,15,15,15,
+       15,15,15,15,15,15,15,13,15,15,15,12,14,11,15,15,
+       11, 9,11,14,15,15,10, 8,10,13,15,12, 9,10,11,13,
+};
+
+static static_codebook _huff_book_resaux0_128a_350 = {
+       4, 1296,
+       _huff_lengthlist_resaux0_128a_350,
+       0, 0, 0, 0, 0,
+       NULL,
+       NULL,
+       NULL,
+};
+
+
+#endif
diff --git a/include/vorbis/mode_E.h b/include/vorbis/mode_E.h
new file mode 100644 (file)
index 0000000..ad60f41
--- /dev/null
@@ -0,0 +1,163 @@
+/********************************************************************
+ *                                                                  *
+ * 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-2000             *
+ * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
+ * http://www.xiph.org/                                             *
+ *                                                                  *
+ ********************************************************************
+
+ function: predefined encoding modes
+ last mod: $Id: mode_E.h,v 1.1 2000/08/15 09:45:47 xiphmont Exp $
+
+ ********************************************************************/
+
+/* this is really a freeform VBR mode.  It roughly centers on 350 kbps stereo */
+
+#ifndef _V_MODES_E_H_
+#define _V_MODES_E_H_
+
+#include <stdio.h>
+#include "vorbis/codec.h"
+#include "vorbis/backends.h"
+
+#include "vorbis/book/lsp12_0.vqh"
+#include "vorbis/book/lsp30_0.vqh"
+
+#include "vorbis/book/resaux0_128a_350.vqh"
+#include "vorbis/book/resaux0_1024a_350.vqh"
+
+#include "vorbis/book/res0_128a_350_1.vqh"
+#include "vorbis/book/res0_128a_350_2.vqh"
+#include "vorbis/book/res0_128a_350_3.vqh"
+#include "vorbis/book/res0_128a_350_4.vqh"
+#include "vorbis/book/res0_128a_350_5.vqh"
+#include "vorbis/book/res0_1024a_350_1.vqh"
+#include "vorbis/book/res0_1024a_350_2.vqh"
+#include "vorbis/book/res0_1024a_350_3.vqh"
+#include "vorbis/book/res0_1024a_350_4.vqh"
+#include "vorbis/book/res0_1024a_350_5.vqh"
+
+static vorbis_info_psy _psy_set_E ={
+  1,/*athp*/
+  0,/*decayp*/
+  1,/*smoothp*/
+  0,.1,
+
+  -140.,
+  -180.,
+
+  /*     0  1  2   3   4   5   6   7   8   9  10  11  12  13  14  15   16   */
+  /* x: 63 88 125 175 250 350 500 700 1k 1.4k 2k 2.8k 4k 5.6k 8k 11.5k 16k Hz */
+  /* y: 0 10 20 30 40 50 60 70 80 90 100 dB */
+
+  0,/* tonemaskp */
+  /*  0   10   20   30   40   50   60   70   80   90   100 */
+  {0},
+
+  1,/* peakattp */
+  {{-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*63*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*88*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*125*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*175*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*250*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*350*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*500*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*700*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*1000*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*1400*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*2000*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*2800*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*4000*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*5600*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*8000*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*11500*/
+   {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-24.,-24.}, /*16000*/
+  },
+
+  0,/*noisemaskp */
+  /*  0   10   20   30   40   50   60    70    80    90   100 */
+  {0},
+  110.,
+
+  -0., -.004   /* attack/decay control */
+};
+
+/* with GNUisms, this could be short and readable. Oh well */
+static vorbis_info_time0 _time_set0_E={0};
+static vorbis_info_floor0 _floor_set0_E={12, 44100,  64, 12,150, 1, {0} };
+static vorbis_info_floor0 _floor_set1_E={30, 44100, 256, 12,150, 1, {1} };
+static vorbis_info_residue0 _residue_set0_E={0,128, 32,6,2,
+                                          {0,1,1,1,1,1},
+                                           {4,5,6,7,8},
+
+                                          {0,9999,9999,9999,9999},
+                                          {99,2.5,7,13.5,27.5},
+                                          {5,5,5,5,5},
+                                          {99,99,99,99,99}};
+
+static vorbis_info_residue0 _residue_set1_E={0,1024, 32,6,3,
+                                          {0,1,1,1,1,1},
+                                           {9,10,11,12,13},
+                                          
+                                          {0,9999,9999,9999,9999},
+                                          {99,2.5,7,13.5,27.5},
+                                          {5,5,5,5,5},
+                                          {99,99,99,99,99}};
+
+static vorbis_info_mapping0 _mapping_set0_E={1, {0,0}, {0}, {0}, {0}, {0}};
+static vorbis_info_mapping0 _mapping_set1_E={1, {0,0}, {0}, {1}, {1}, {0}};
+static vorbis_info_mode _mode_set0_E={0,0,0,0};
+static vorbis_info_mode _mode_set1_E={1,0,0,1};
+
+/* CD quality stereo, no channel coupling */
+vorbis_info info_E={
+  /* channels, sample rate, upperkbps, nominalkbps, lowerkbps */
+  0, 2, 44100, 0,0,0,
+  /* smallblock, largeblock */
+  {256, 2048}, 
+  /* modes,maps,times,floors,residues,books,psys */
+  2,          2,    1,     2,       2,   14,   1,
+  /* modes */
+  {&_mode_set0_E,&_mode_set1_E},
+  /* maps */
+  {0,0},{&_mapping_set0_E,&_mapping_set1_E},
+  /* times */
+  {0,0},{&_time_set0_E},
+  /* floors */
+  {0,0},{&_floor_set0_E,&_floor_set1_E},
+  /* residue */
+  {0,0},{&_residue_set0_E,&_residue_set1_E},
+  /* books */
+  {&_vq_book_lsp12_0,      /* 0 */
+   &_vq_book_lsp30_0,      /* 1 */
+
+   &_huff_book_resaux0_128a_350,
+   &_huff_book_resaux0_1024a_350,
+
+   &_vq_book_res0_128a_350_1,
+   &_vq_book_res0_128a_350_2,
+   &_vq_book_res0_128a_350_3,
+   &_vq_book_res0_128a_350_4,
+   &_vq_book_res0_128a_350_5,
+   &_vq_book_res0_1024a_350_1,
+   &_vq_book_res0_1024a_350_2,
+   &_vq_book_res0_1024a_350_3,
+   &_vq_book_res0_1024a_350_4,
+   &_vq_book_res0_1024a_350_5,
+
+  },
+  /* psy */
+  {&_psy_set_E},
+  /* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
+  256, 24, 6, -96.
+};
+
+#define PREDEF_INFO_MAX 0
+
+#endif
index 8d2a782..a9bc416 100644 (file)
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: predefined encoding modes
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: modes.h,v 1.18 2000/08/15 09:09:32 xiphmont Exp $
+ last mod: $Id: modes.h,v 1.19 2000/08/15 09:45:47 xiphmont Exp $
 
  ********************************************************************/
 
 
  ********************************************************************/
 
@@ -21,5 +21,6 @@
 
 #include "vorbis/mode_A.h"
 #include "vorbis/mode_D.h"
 
 #include "vorbis/mode_A.h"
 #include "vorbis/mode_D.h"
+#include "vorbis/mode_E.h"
 
 #endif
 
 #endif