summaryrefslogtreecommitdiff
path: root/lib/books/res0_1024a_192_1.vqh
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-11-03 10:06:08 +0000
committerMonty <xiphmont@xiph.org>2000-11-03 10:06:08 +0000
commitb58f0d442954f98a58b384a7c8bdfc723b421b27 (patch)
tree694039082bb7b1cd9cc42300de38cbf36c539297 /lib/books/res0_1024a_192_1.vqh
parentf9572aa5c9a74e1394e08b1282eb27d499f42257 (diff)
downloadlibvorbis-git-b58f0d442954f98a58b384a7c8bdfc723b421b27.tar.gz
Hid all the formerly exposed modes and codebooks behind the
libvorbisenc API. Libvorbisenc now exists. Caveats: It listens to bitrate_nominal, but only maps to one of the five modes we had before for now. bitrate_max and min are ignored. Bitrate is handled properly with differing channels, but not with differing sample rate. Monty svn path=/branches/branch_beta3/vorbis/; revision=956
Diffstat (limited to 'lib/books/res0_1024a_192_1.vqh')
-rw-r--r--lib/books/res0_1024a_192_1.vqh63
1 files changed, 63 insertions, 0 deletions
diff --git a/lib/books/res0_1024a_192_1.vqh b/lib/books/res0_1024a_192_1.vqh
new file mode 100644
index 00000000..1d9916d9
--- /dev/null
+++ b/lib/books/res0_1024a_192_1.vqh
@@ -0,0 +1,63 @@
+/********************************************************************
+ * *
+ * 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_192_1_VQH_
+#define _V_res0_1024a_192_1_VQH_
+#include "vorbis/codebook.h"
+
+static long _vq_quantlist_res0_1024a_192_1[] = {
+ 1,
+ 2,
+ 0,
+};
+
+static long _vq_lengthlist_res0_1024a_192_1[] = {
+ 1, 4, 5, 5, 7, 7, 5, 7, 7, 5, 7, 7, 7, 9, 9, 7,
+ 9, 9, 5, 7, 7, 7, 9, 9, 8, 9, 9, 5, 7, 7, 7, 9,
+ 9, 8, 9, 9, 8, 9, 9, 9,11,11, 9,11,11, 8, 9, 9,
+ 9,11,11,10,11,11, 5, 7, 7, 8, 9, 9, 8, 9, 9, 8,
+ 9,10,10,11,11,10,11,11, 8,10,10,10,11,11,10,11,
+ 11,
+};
+
+static float _vq_quantthresh_res0_1024a_192_1[] = {
+ -0.5, 0.5,
+};
+
+static long _vq_quantmap_res0_1024a_192_1[] = {
+ 2, 0, 1,
+};
+
+static encode_aux_threshmatch _vq_auxt_res0_1024a_192_1 = {
+ _vq_quantthresh_res0_1024a_192_1,
+ _vq_quantmap_res0_1024a_192_1,
+ 3,
+ 3
+};
+
+static static_codebook _vq_book_res0_1024a_192_1 = {
+ 4, 81,
+ _vq_lengthlist_res0_1024a_192_1,
+ 1, -535822336, 1611661312, 2, 0,
+ _vq_quantlist_res0_1024a_192_1,
+ NULL,
+ &_vq_auxt_res0_1024a_192_1,
+ NULL,
+};
+
+
+#endif