diff options
author | Monty <xiphmont@xiph.org> | 2001-12-16 04:15:57 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2001-12-16 04:15:57 +0000 |
commit | b836dfde4262a1e71774b67df40947b3fc3557ae (patch) | |
tree | 66b119a662bd34979c2a5e72df5970ec76691afd /lib | |
parent | ccde1560a262e8b5fbe7bb383027dc3bfdd200a0 (diff) | |
download | libvorbis-git-b836dfde4262a1e71774b67df40947b3fc3557ae.tar.gz |
Mono and > stereo modes (uncoupled polyphonic) committed
svn path=/trunk/vorbis/; revision=2618
Diffstat (limited to 'lib')
56 files changed, 4269 insertions, 82 deletions
diff --git a/lib/Makefile b/lib/Makefile index 79a2059b..46461db8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -123,7 +123,7 @@ CONFIG_CLEAN_FILES = LTLIBRARIES = $(lib_LTLIBRARIES) -DEFS = -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0rc2\" -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1 -DHAVE_EXPF=1 -DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 -DHAVE_RINTF=1 -I. -I$(srcdir) +DEFS = -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0rc2\" -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1 -DHAVE_EXPF=1 -DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 -DHAVE_RINTF=1 -I. -I$(srcdir) -DTRAIN_RES CPPFLAGS = LDFLAGS = libvorbis_la_LIBADD = diff --git a/lib/books/Makefile.am b/lib/books/Makefile.am index dc1dab47..1bae988d 100644 --- a/lib/books/Makefile.am +++ b/lib/books/Makefile.am @@ -2,4 +2,4 @@ AUTOMAKE_OPTIONS = foreign -EXTRA_DIST = floor/*.vqh coupled/*.vqh +EXTRA_DIST = floor/*.vqh coupled/*.vqh uncoupled/*.vqh diff --git a/lib/books/uncoupled/_44u0_p0_r0.vqh b/lib/books/uncoupled/_44u0_p0_r0.vqh new file mode 100644 index 00000000..6164e0c7 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p0_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p0_r0_VQH_ +#define _V__44u0_p0_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p0_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p0_r0[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u0_p0_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u0_p0_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p0_r0 = { + _vq_quantthresh__44u0_p0_r0, + _vq_quantmap__44u0_p0_r0, + 3, + 3 +}; + +static static_codebook _44u0_p0_r0 = { + 2, 9, + _vq_lengthlist__44u0_p0_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u0_p0_r0, + NULL, + &_vq_auxt__44u0_p0_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p0_r1.vqh b/lib/books/uncoupled/_44u0_p0_r1.vqh new file mode 100644 index 00000000..c3bc9065 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p0_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p0_r1_VQH_ +#define _V__44u0_p0_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p0_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p0_r1[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u0_p0_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u0_p0_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p0_r1 = { + _vq_quantthresh__44u0_p0_r1, + _vq_quantmap__44u0_p0_r1, + 3, + 3 +}; + +static static_codebook _44u0_p0_r1 = { + 2, 9, + _vq_lengthlist__44u0_p0_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u0_p0_r1, + NULL, + &_vq_auxt__44u0_p0_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p1_0.vqh b/lib/books/uncoupled/_44u0_p1_0.vqh new file mode 100644 index 00000000..1e2634bc --- /dev/null +++ b/lib/books/uncoupled/_44u0_p1_0.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p1_0_VQH_ +#define _V__44u0_p1_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p1_0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p1_0[] = { + 2, 4, 4, 5, 7, 6, 5, 6, 7, 5, 7, 7, 7, 8, 8, 6, + 8, 8, 5, 7, 7, 6, 8, 8, 7, 8, 8, 4, 7, 7, 7, 9, + 8, 7, 8, 8, 7, 9, 8, 8, 9,10, 8,10,10, 6, 8, 8, + 8,10, 8, 8,10,10, 4, 7, 7, 7, 8, 8, 7, 8, 9, 6, + 8, 8, 8,10,10, 8, 8,10, 7, 8, 9, 8,10,10, 8,10, + 9, +}; + +static float _vq_quantthresh__44u0_p1_0[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u0_p1_0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p1_0 = { + _vq_quantthresh__44u0_p1_0, + _vq_quantmap__44u0_p1_0, + 3, + 3 +}; + +static static_codebook _44u0_p1_0 = { + 4, 81, + _vq_lengthlist__44u0_p1_0, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u0_p1_0, + NULL, + &_vq_auxt__44u0_p1_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p1_r0.vqh b/lib/books/uncoupled/_44u0_p1_r0.vqh new file mode 100644 index 00000000..0c4d559c --- /dev/null +++ b/lib/books/uncoupled/_44u0_p1_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p1_r0_VQH_ +#define _V__44u0_p1_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p1_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p1_r0[] = { + 2, 3, 3, 3, 4, 4, 3, 4, 4, +}; + +static float _vq_quantthresh__44u0_p1_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u0_p1_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p1_r0 = { + _vq_quantthresh__44u0_p1_r0, + _vq_quantmap__44u0_p1_r0, + 3, + 3 +}; + +static static_codebook _44u0_p1_r0 = { + 2, 9, + _vq_lengthlist__44u0_p1_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u0_p1_r0, + NULL, + &_vq_auxt__44u0_p1_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p1_r1.vqh b/lib/books/uncoupled/_44u0_p1_r1.vqh new file mode 100644 index 00000000..a3d4fb38 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p1_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p1_r1_VQH_ +#define _V__44u0_p1_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p1_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p1_r1[] = { + 2, 3, 3, 3, 4, 4, 3, 4, 4, +}; + +static float _vq_quantthresh__44u0_p1_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u0_p1_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p1_r1 = { + _vq_quantthresh__44u0_p1_r1, + _vq_quantmap__44u0_p1_r1, + 3, + 3 +}; + +static static_codebook _44u0_p1_r1 = { + 2, 9, + _vq_lengthlist__44u0_p1_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u0_p1_r1, + NULL, + &_vq_auxt__44u0_p1_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p2_0.vqh b/lib/books/uncoupled/_44u0_p2_0.vqh new file mode 100644 index 00000000..dd60b2e2 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p2_0.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p2_0_VQH_ +#define _V__44u0_p2_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p2_0[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u0_p2_0[] = { + 3, 5, 5, 8, 8, 5, 7, 7, 9, 9, 5, 6, 7, 9, 9, 8, + 9, 9,11,11, 8, 9, 9,11,11, 5, 7, 7, 9, 9, 7, 8, + 8,10,10, 7, 8, 8,10,10, 9,10,10,12,12, 9,10,10, + 11,12, 5, 7, 7, 9, 9, 7, 8, 8,10,10, 7, 8, 8,10, + 10, 9,10,10,12,11, 9,10,10,12,12, 8,10,10,12,12, + 9,11,10,13,12, 9,10,10,13,12,11,12,12,14,14,11, + 12,12,13,14, 8,10,10,12,12, 9,10,10,12,12, 9,10, + 11,12,13,11,12,12,14,13,11,12,12,14,14, 5, 7, 7, + 10,10, 7, 8, 8,10,10, 7, 8, 8,10,10,10,11,10,12, + 12,10,10,11,12,12, 7, 8, 8,11,11, 8, 9, 9,11,11, + 8, 9, 9,11,11,11,11,11,12,13,10,11,11,13,13, 7, + 8, 8,10,10, 8, 9, 8,11,11, 8, 9, 9,11,11,10,11, + 10,13,12,10,11,11,13,13, 9,11,11,13,13,10,11,11, + 13,13,10,11,11,14,13,12,12,13,13,14,12,13,13,15, + 15, 9,10,10,13,13,10,11,10,13,13,10,11,11,13,14, + 12,13,12,14,13,12,13,13,15,15, 5, 7, 7,10,10, 7, + 8, 8,10,10, 7, 8, 8,10,11,10,11,10,12,12,10,10, + 11,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11, 8, 8, 9, + 11,11,10,11,11,13,13,10,10,11,12,13, 7, 8, 8,11, + 11, 8, 9, 9,11,11, 8, 9, 9,11,11,10,11,11,13,13, + 11,11,11,13,12, 9,10,10,13,13,10,11,11,14,13,10, + 10,11,13,13,12,13,13,15,15,12,12,13,13,15, 9,11, + 11,13,13,10,11,11,13,13,10,11,11,13,13,12,13,13, + 15,15,12,13,12,14,13, 8,10,10,12,12, 9,11,10,13, + 13, 9,10,11,13,13,12,13,13,15,14,12,13,13,14,14, + 9,11,11,13,13,10,11,12,13,14,10,11,11,14,13,13, + 13,14,15,15,13,13,13,15,15, 9,10,10,13,13,10,11, + 11,14,13,10,11,11,13,14,12,14,13,15,14,12,13,13, + 15,15,11,13,12,15,14,12,12,13,15,15,12,13,13,15, + 15,14,13,15,13,17,14,14,15,16,17,11,12,12,14,15, + 11,13,12,15,14,12,13,13,15,16,13,15,13,16,14,14, + 15,15,16,17, 8,10,10,12,12, 9,11,10,13,13, 9,11, + 11,13,13,12,13,13,14,14,12,13,13,14,14, 9,10,10, + 13,13,10,11,11,14,13,10,11,11,13,14,12,13,13,15, + 15,13,13,14,14,15, 9,10,11,13,13,10,11,11,13,14, + 10,12,11,14,14,12,13,13,15,15,13,14,13,15,15,11, + 12,12,15,14,12,13,13,15,15,11,12,13,14,15,14,15, + 14,16,17,14,13,15,14,16,11,12,13,14,15,12,13,13, + 15,15,12,13,12,15,14,14,15,14,17,17,14,15,13,16, + 13, +}; + +static float _vq_quantthresh__44u0_p2_0[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u0_p2_0[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p2_0 = { + _vq_quantthresh__44u0_p2_0, + _vq_quantmap__44u0_p2_0, + 5, + 5 +}; + +static static_codebook _44u0_p2_0 = { + 4, 625, + _vq_lengthlist__44u0_p2_0, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u0_p2_0, + NULL, + &_vq_auxt__44u0_p2_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p3_0.vqh b/lib/books/uncoupled/_44u0_p3_0.vqh new file mode 100644 index 00000000..91381e1c --- /dev/null +++ b/lib/books/uncoupled/_44u0_p3_0.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p3_0_VQH_ +#define _V__44u0_p3_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p3_0[] = { + 4, + 3, + 5, + 2, + 6, + 1, + 7, + 0, + 8, +}; + +static long _vq_lengthlist__44u0_p3_0[] = { + 2, 4, 3, 6, 6, 7, 7, 9, 9, 4, 5, 5, 6, 6, 8, 7, + 9, 9, 4, 5, 5, 6, 6, 8, 8, 9, 9, 6, 7, 6, 8, 8, + 9, 9,10,10, 6, 6, 7, 8, 8, 8, 9,10,10, 7, 8, 8, + 9, 9,10, 9,11,11, 7, 8, 8, 9, 9,10,10,11,11, 9, + 9, 9,10,10,11,11,12,12, 9, 9, 9,10,10,11,11,12, + 12, +}; + +static float _vq_quantthresh__44u0_p3_0[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap__44u0_p3_0[] = { + 7, 5, 3, 1, 0, 2, 4, 6, + 8, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p3_0 = { + _vq_quantthresh__44u0_p3_0, + _vq_quantmap__44u0_p3_0, + 9, + 9 +}; + +static static_codebook _44u0_p3_0 = { + 2, 81, + _vq_lengthlist__44u0_p3_0, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist__44u0_p3_0, + NULL, + &_vq_auxt__44u0_p3_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p4_0.vqh b/lib/books/uncoupled/_44u0_p4_0.vqh new file mode 100644 index 00000000..907ccd98 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p4_0.vqh @@ -0,0 +1,100 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p4_0_VQH_ +#define _V__44u0_p4_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p4_0[] = { + 9, + 8, + 10, + 7, + 11, + 6, + 12, + 5, + 13, + 4, + 14, + 3, + 15, + 2, + 16, + 1, + 17, + 0, + 18, +}; + +static long _vq_lengthlist__44u0_p4_0[] = { + 1, 4, 4, 6, 6, 8, 8, 9, 9,10,10,11,11,12,12,12, + 13,13,13, 4, 6, 6, 8, 7, 9, 9,10, 9,11,10,12,11, + 13,12,13,13,14,13, 4, 6, 6, 8, 8, 9, 9,10,10,10, + 11,11,12,12,13,13,13,13,14, 7, 8, 8, 9, 9,10,10, + 11,11,12,12,13,12,13,13,14,14,14,14, 7, 8, 8, 9, + 9,10,10,11,11,11,12,12,12,13,13,14,14,14,14, 8, + 9, 9,10,10,11,10,11,11,12,12,13,13,14,14,14,14, + 15,15, 8, 9, 9,10,10,11,11,11,11,12,12,13,13,14, + 14,14,14,15,15, 9,10,10,11,11,12,11,12,12,13,13, + 14,14,15,14,15,15,15,15, 9,10,10,11,11,12,12,12, + 12,13,13,14,14,14,14,15,15,15,15,10,11,11,12,12, + 13,13,13,13,14,14,15,14,15,15,16,16,16,16,10,11, + 11,12,12,13,13,13,13,14,14,14,15,15,15,15,16,16, + 16,11,12,12,13,13,13,13,14,14,15,14,15,15,15,15, + 16,16,16,16,11,12,12,13,13,13,13,14,14,14,15,15, + 15,15,15,16,16,16,16,12,13,13,14,13,14,14,15,15, + 15,15,15,15,16,16,16,16,16,16,12,13,13,13,14,14, + 14,14,15,15,15,15,15,16,16,16,16,16,16,13,13,13, + 14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16, + 13,14,13,14,14,14,15,15,15,15,15,16,16,16,16,16, + 16,16,16,13,14,14,15,14,15,15,15,15,15,16,16,16, + 16,16,16,17,17,17,14,14,14,15,15,15,15,15,15,16, + 16,16,16,16,16,16,16,17,16, +}; + +static float _vq_quantthresh__44u0_p4_0[] = { + -25.5, -22.5, -19.5, -16.5, -13.5, -10.5, -7.5, -4.5, + -1.5, 1.5, 4.5, 7.5, 10.5, 13.5, 16.5, 19.5, + 22.5, 25.5, +}; + +static long _vq_quantmap__44u0_p4_0[] = { + 17, 15, 13, 11, 9, 7, 5, 3, + 1, 0, 2, 4, 6, 8, 10, 12, + 14, 16, 18, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p4_0 = { + _vq_quantthresh__44u0_p4_0, + _vq_quantmap__44u0_p4_0, + 19, + 19 +}; + +static static_codebook _44u0_p4_0 = { + 2, 361, + _vq_lengthlist__44u0_p4_0, + 1, -526712832, 1614282752, 5, 0, + _vq_quantlist__44u0_p4_0, + NULL, + &_vq_auxt__44u0_p4_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p4_1.vqh b/lib/books/uncoupled/_44u0_p4_1.vqh new file mode 100644 index 00000000..09846d44 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p4_1.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p4_1_VQH_ +#define _V__44u0_p4_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p4_1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p4_1[] = { + 3, 5, 5, 5, 6, 6, 5, 6, 6, 6, 7, 7, 6, 7, 7, 6, + 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, 5, 7, 7, 7, 7, + 7, 7, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, + 7, 7, 7, 7, 7, 7, 5, 7, 7, 7, 7, 7, 7, 7, 7, 6, + 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, + 7, +}; + +static float _vq_quantthresh__44u0_p4_1[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u0_p4_1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p4_1 = { + _vq_quantthresh__44u0_p4_1, + _vq_quantmap__44u0_p4_1, + 3, + 3 +}; + +static static_codebook _44u0_p4_1 = { + 4, 81, + _vq_lengthlist__44u0_p4_1, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u0_p4_1, + NULL, + &_vq_auxt__44u0_p4_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p5_0.vqh b/lib/books/uncoupled/_44u0_p5_0.vqh new file mode 100644 index 00000000..1ba82b2e --- /dev/null +++ b/lib/books/uncoupled/_44u0_p5_0.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p5_0_VQH_ +#define _V__44u0_p5_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p5_0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p5_0[] = { + 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,10,11, 9,11,11, 7, 9, 9, + 9,11,10, 9,11,11, 5, 7, 8, 7, 9, 9, 8, 9,10, 7, + 9, 9, 9,11,11, 9,10,11, 7, 9,10, 9,11,11, 9,11, + 10, +}; + +static float _vq_quantthresh__44u0_p5_0[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u0_p5_0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p5_0 = { + _vq_quantthresh__44u0_p5_0, + _vq_quantmap__44u0_p5_0, + 3, + 3 +}; + +static static_codebook _44u0_p5_0 = { + 4, 81, + _vq_lengthlist__44u0_p5_0, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u0_p5_0, + NULL, + &_vq_auxt__44u0_p5_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p6_0.vqh b/lib/books/uncoupled/_44u0_p6_0.vqh new file mode 100644 index 00000000..c8cb4b0a --- /dev/null +++ b/lib/books/uncoupled/_44u0_p6_0.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p6_0_VQH_ +#define _V__44u0_p6_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p6_0[] = { + 4, + 3, + 5, + 2, + 6, + 1, + 7, + 0, + 8, +}; + +static long _vq_lengthlist__44u0_p6_0[] = { + 1, 4, 4, 7, 7, 9, 9,12,11, 4, 5, 5, 7, 7,10,10, + 12,12, 4, 5, 5, 7, 7,10,10,12,12, 7, 7, 7, 9, 9, + 11,11,13,13, 7, 7, 7, 9, 9,11,11,13,13,10,10,10, + 11,11,12,12,14,14,10,10,10,11,11,12,12,14,13,12, + 12,12,13,13,14,14,14,15,12,12,12,13,13,14,14,15, + 14, +}; + +static float _vq_quantthresh__44u0_p6_0[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap__44u0_p6_0[] = { + 7, 5, 3, 1, 0, 2, 4, 6, + 8, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p6_0 = { + _vq_quantthresh__44u0_p6_0, + _vq_quantmap__44u0_p6_0, + 9, + 9 +}; + +static static_codebook _44u0_p6_0 = { + 2, 81, + _vq_lengthlist__44u0_p6_0, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist__44u0_p6_0, + NULL, + &_vq_auxt__44u0_p6_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p7_0.vqh b/lib/books/uncoupled/_44u0_p7_0.vqh new file mode 100644 index 00000000..5b6c3317 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p7_0.vqh @@ -0,0 +1,61 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p7_0_VQH_ +#define _V__44u0_p7_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p7_0[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u0_p7_0[] = { + 1, 3, 3, 7, 6, 3, 7, 7,10,10, 4, 7, 7,11,10, 9, + 11,12,14,14,10,12,12,14,14, +}; + +static float _vq_quantthresh__44u0_p7_0[] = { + -100.5, -33.5, 33.5, 100.5, +}; + +static long _vq_quantmap__44u0_p7_0[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p7_0 = { + _vq_quantthresh__44u0_p7_0, + _vq_quantmap__44u0_p7_0, + 5, + 5 +}; + +static static_codebook _44u0_p7_0 = { + 2, 25, + _vq_lengthlist__44u0_p7_0, + 1, -521093120, 1624293376, 3, 0, + _vq_quantlist__44u0_p7_0, + NULL, + &_vq_auxt__44u0_p7_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p7_1.vqh b/lib/books/uncoupled/_44u0_p7_1.vqh new file mode 100644 index 00000000..cc4a27ec --- /dev/null +++ b/lib/books/uncoupled/_44u0_p7_1.vqh @@ -0,0 +1,115 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p7_1_VQH_ +#define _V__44u0_p7_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p7_1[] = { + 11, + 10, + 12, + 9, + 13, + 8, + 14, + 7, + 15, + 6, + 16, + 5, + 17, + 4, + 18, + 3, + 19, + 2, + 20, + 1, + 21, + 0, + 22, +}; + +static long _vq_lengthlist__44u0_p7_1[] = { + 1, 4, 5, 6, 6, 8, 8, 9, 9,10,10,11,10,11,11,11, + 11,11,11,10,11,11,11, 5, 6, 6, 7, 7, 9, 9,10, 9, + 10,10,11,10,11,11,11,12,12,12,11,11,12,11, 5, 6, + 6, 7, 7, 9, 9, 9,10,10,10,11,11,11,11,12,12,12, + 12,11,11,12,12, 7, 8, 7, 9, 9,10, 9,10,10,11,11, + 11,11,12,12,12,12,12,12,11,11,12,12, 7, 7, 8, 9, + 9, 9,10,10,10,11,11,11,11,12,12,12,12,12,12,11, + 11,12,12, 8, 9, 9,10,10,10,10,11,11,11,11,12,12, + 12,12,12,12,13,13,12,12,12,13, 8, 9, 9,10,10,10, + 10,11,11,11,11,12,12,12,12,12,12,13,12,12,12,12, + 12, 9,10,10,11,10,11,11,11,11,12,12,12,12,13,13, + 13,13,13,13,12,12,13,13,10,10,10,10,11,11,11,11, + 11,12,12,12,12,12,12,12,13,13,13,12,12,13,13,10, + 11,11,11,11,12,12,12,12,13,12,13,13,13,13,13,13, + 13,13,12,12,13,13,10,11,11,11,11,12,12,12,12,12, + 12,13,13,13,13,13,13,13,13,12,12,13,13,11,12,12, + 12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13, + 13,12,13,13,11,11,12,12,12,12,12,12,13,13,13,13, + 13,13,13,13,13,13,13,13,13,13,13,12,12,12,12,12, + 13,12,13,13,13,13,13,13,13,13,14,14,13,13,13,13, + 13,13,12,12,12,12,12,13,13,13,13,13,13,13,13,13, + 14,13,13,13,13,13,13,13,13,12,12,12,13,13,13,13, + 13,13,13,13,13,13,14,13,14,14,14,14,13,13,13,14, + 12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13, + 13,14,14,13,13,14,13,12,12,12,13,13,13,13,13,13, + 13,14,13,13,14,14,14,13,14,14,13,13,13,14,12,12, + 12,13,13,13,13,13,13,13,13,13,13,14,14,13,14,14, + 14,13,13,14,14,11,11,11,12,12,12,12,12,13,13,13, + 13,13,13,13,13,13,13,13,13,13,14,14,11,11,12,12, + 12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13, + 13,14,14,12,12,12,13,12,13,13,13,13,13,13,13,13, + 14,14,14,14,14,14,14,14,14,14,12,12,12,13,12,13, + 13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14, + 14, +}; + +static float _vq_quantthresh__44u0_p7_1[] = { + -31.5, -28.5, -25.5, -22.5, -19.5, -16.5, -13.5, -10.5, + -7.5, -4.5, -1.5, 1.5, 4.5, 7.5, 10.5, 13.5, + 16.5, 19.5, 22.5, 25.5, 28.5, 31.5, +}; + +static long _vq_quantmap__44u0_p7_1[] = { + 21, 19, 17, 15, 13, 11, 9, 7, + 5, 3, 1, 0, 2, 4, 6, 8, + 10, 12, 14, 16, 18, 20, 22, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p7_1 = { + _vq_quantthresh__44u0_p7_1, + _vq_quantmap__44u0_p7_1, + 23, + 23 +}; + +static static_codebook _44u0_p7_1 = { + 2, 529, + _vq_lengthlist__44u0_p7_1, + 1, -525303808, 1614282752, 5, 0, + _vq_quantlist__44u0_p7_1, + NULL, + &_vq_auxt__44u0_p7_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u0_p7_2.vqh b/lib/books/uncoupled/_44u0_p7_2.vqh new file mode 100644 index 00000000..48891755 --- /dev/null +++ b/lib/books/uncoupled/_44u0_p7_2.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u0_p7_2_VQH_ +#define _V__44u0_p7_2_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u0_p7_2[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u0_p7_2[] = { + 2, 5, 5, 6, 7, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, + 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, + 7, 7, 7, 7, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, +}; + +static float _vq_quantthresh__44u0_p7_2[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u0_p7_2[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u0_p7_2 = { + _vq_quantthresh__44u0_p7_2, + _vq_quantmap__44u0_p7_2, + 3, + 3 +}; + +static static_codebook _44u0_p7_2 = { + 4, 81, + _vq_lengthlist__44u0_p7_2, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u0_p7_2, + NULL, + &_vq_auxt__44u0_p7_2, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p0_r0.vqh b/lib/books/uncoupled/_44u4_p0_r0.vqh new file mode 100644 index 00000000..8031c4e0 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p0_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p0_r0_VQH_ +#define _V__44u4_p0_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p0_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p0_r0[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u4_p0_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u4_p0_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p0_r0 = { + _vq_quantthresh__44u4_p0_r0, + _vq_quantmap__44u4_p0_r0, + 3, + 3 +}; + +static static_codebook _44u4_p0_r0 = { + 2, 9, + _vq_lengthlist__44u4_p0_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u4_p0_r0, + NULL, + &_vq_auxt__44u4_p0_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p0_r1.vqh b/lib/books/uncoupled/_44u4_p0_r1.vqh new file mode 100644 index 00000000..76c631ea --- /dev/null +++ b/lib/books/uncoupled/_44u4_p0_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p0_r1_VQH_ +#define _V__44u4_p0_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p0_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p0_r1[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u4_p0_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u4_p0_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p0_r1 = { + _vq_quantthresh__44u4_p0_r1, + _vq_quantmap__44u4_p0_r1, + 3, + 3 +}; + +static static_codebook _44u4_p0_r1 = { + 2, 9, + _vq_lengthlist__44u4_p0_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u4_p0_r1, + NULL, + &_vq_auxt__44u4_p0_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p1_0.vqh b/lib/books/uncoupled/_44u4_p1_0.vqh new file mode 100644 index 00000000..cc3e52ba --- /dev/null +++ b/lib/books/uncoupled/_44u4_p1_0.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p1_0_VQH_ +#define _V__44u4_p1_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p1_0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p1_0[] = { + 1, 5, 5, 6, 7, 7, 6, 7, 7, 5, 7, 7, 7, 9, 9, 7, + 8, 9, 5, 7, 7, 7, 9, 8, 7, 9, 9, 5, 7, 7, 7, 9, + 9, 7, 8, 9, 7, 9, 9, 9, 9,10, 9,10,10, 7, 8, 9, + 8,10, 9, 9,10,10, 5, 7, 7, 7, 9, 9, 7, 9, 9, 7, + 9, 9, 9,10,10, 8, 9,10, 7, 9, 9, 9,10,10, 9,10, + 9, +}; + +static float _vq_quantthresh__44u4_p1_0[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u4_p1_0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p1_0 = { + _vq_quantthresh__44u4_p1_0, + _vq_quantmap__44u4_p1_0, + 3, + 3 +}; + +static static_codebook _44u4_p1_0 = { + 4, 81, + _vq_lengthlist__44u4_p1_0, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u4_p1_0, + NULL, + &_vq_auxt__44u4_p1_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p1_r0.vqh b/lib/books/uncoupled/_44u4_p1_r0.vqh new file mode 100644 index 00000000..7a5e6175 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p1_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p1_r0_VQH_ +#define _V__44u4_p1_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p1_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p1_r0[] = { + 3, 3, 3, 3, 4, 3, 3, 3, 4, +}; + +static float _vq_quantthresh__44u4_p1_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u4_p1_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p1_r0 = { + _vq_quantthresh__44u4_p1_r0, + _vq_quantmap__44u4_p1_r0, + 3, + 3 +}; + +static static_codebook _44u4_p1_r0 = { + 2, 9, + _vq_lengthlist__44u4_p1_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u4_p1_r0, + NULL, + &_vq_auxt__44u4_p1_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p1_r1.vqh b/lib/books/uncoupled/_44u4_p1_r1.vqh new file mode 100644 index 00000000..8c2e907e --- /dev/null +++ b/lib/books/uncoupled/_44u4_p1_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p1_r1_VQH_ +#define _V__44u4_p1_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p1_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p1_r1[] = { + 2, 3, 3, 3, 4, 4, 3, 4, 4, +}; + +static float _vq_quantthresh__44u4_p1_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u4_p1_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p1_r1 = { + _vq_quantthresh__44u4_p1_r1, + _vq_quantmap__44u4_p1_r1, + 3, + 3 +}; + +static static_codebook _44u4_p1_r1 = { + 2, 9, + _vq_lengthlist__44u4_p1_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u4_p1_r1, + NULL, + &_vq_auxt__44u4_p1_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p2_0.vqh b/lib/books/uncoupled/_44u4_p2_0.vqh new file mode 100644 index 00000000..851a84c7 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p2_0.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p2_0_VQH_ +#define _V__44u4_p2_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p2_0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p2_0[] = { + 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, 8, 9, + 9, 7, 9, 9, 7, 9, 9, 9,10,11, 9,11,11, 7, 9, 9, + 9,11,10, 9,10,11, 5, 7, 8, 7, 9, 9, 8, 9, 9, 7, + 9, 9, 9,11,10, 9, 9,11, 7, 9, 9, 9,11,11, 9,11, + 10, +}; + +static float _vq_quantthresh__44u4_p2_0[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u4_p2_0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p2_0 = { + _vq_quantthresh__44u4_p2_0, + _vq_quantmap__44u4_p2_0, + 3, + 3 +}; + +static static_codebook _44u4_p2_0 = { + 4, 81, + _vq_lengthlist__44u4_p2_0, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u4_p2_0, + NULL, + &_vq_auxt__44u4_p2_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p3_0.vqh b/lib/books/uncoupled/_44u4_p3_0.vqh new file mode 100644 index 00000000..5b600a31 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p3_0.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p3_0_VQH_ +#define _V__44u4_p3_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p3_0[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u4_p3_0[] = { + 3, 5, 5, 8, 8, 6, 7, 7, 9, 9, 6, 7, 7, 9, 9, 8, + 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8, + 8,10,10, 7, 7, 8, 9,10, 9,10,10,11,12, 9, 9,10, + 11,12, 6, 7, 7, 9, 9, 7, 8, 7,10,10, 7, 8, 8,10, + 10, 9,10, 9,12,11, 9,10,10,12,11, 8, 9, 9,12,11, + 9,10,10,12,12, 9,10,10,12,12,11,12,12,13,13,11, + 11,12,13,13, 8, 9, 9,11,12, 9,10,10,12,12, 9,10, + 10,12,12,11,12,11,13,13,11,12,12,13,13, 5, 7, 7, + 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12, + 12, 9,10,10,12,12, 7, 8, 8,10,10, 8, 8, 9,11,11, + 8, 9, 9,11,11,10,11,11,12,13,10,11,11,12,13, 7, + 8, 8,10,10, 7, 9, 8,11,10, 8, 9, 9,11,11,10,11, + 10,13,11,10,11,11,12,12, 9,10,10,12,12,10,11,11, + 12,13,10,11,11,13,13,12,12,13,13,14,12,12,12,14, + 14, 9,10,10,12,12, 9,11,10,13,12,10,11,11,13,13, + 11,12,11,14,12,12,12,13,14,14, 5, 7, 7, 9, 9, 7, + 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12,12, 9,10, + 10,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11, 7, 8, 9, + 10,11,10,11,11,12,12,10,10,11,11,13, 7, 8, 8,10, + 10, 8, 9, 9,11,11, 8, 9, 9,11,11,10,11,11,13,12, + 10,11,11,13,12, 9,10,10,12,12,10,11,11,13,12,10, + 10,11,12,13,12,13,13,14,14,11,11,12,12,14, 9,10, + 10,12,12,10,11,11,13,13,10,11,11,13,12,12,13,12, + 14,14,12,12,12,14,12, 8, 9, 9,12,12, 9,10,10,12, + 12, 9,10,10,12,12,12,12,12,14,14,11,12,12,13,13, + 9,10,10,12,12,10,11,11,13,13,10,11,11,13,12,12, + 13,13,14,14,12,12,13,14,14, 9,10,10,12,12,10,11, + 10,13,12,10,11,11,12,13,12,13,12,15,13,12,12,13, + 14,14,11,12,12,14,14,11,12,12,14,14,12,13,13,14, + 14,13,13,14,13,15,13,14,14,15,15,11,12,12,13,14, + 11,12,11,14,13,12,12,13,14,14,13,14,12,15,13,13, + 14,14,15,16, 8, 9, 9,12,12, 9,10,10,12,12, 9,10, + 10,12,12,11,12,12,13,13,12,12,12,13,14, 9,10,10, + 12,12,10,11,11,13,12,10,10,11,12,13,12,13,13,14, + 14,12,12,13,13,14, 9,10,10,12,12,10,11,11,13,13, + 10,11,11,13,13,12,13,13,14,14,12,13,12,14,14,11, + 12,12,14,13,12,12,12,14,14,11,11,12,13,14,14,14, + 14,15,15,13,12,14,13,15,11,12,12,13,14,12,13,13, + 14,14,11,12,12,14,14,13,14,14,15,16,13,14,13,15, + 13, +}; + +static float _vq_quantthresh__44u4_p3_0[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u4_p3_0[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p3_0 = { + _vq_quantthresh__44u4_p3_0, + _vq_quantmap__44u4_p3_0, + 5, + 5 +}; + +static static_codebook _44u4_p3_0 = { + 4, 625, + _vq_lengthlist__44u4_p3_0, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u4_p3_0, + NULL, + &_vq_auxt__44u4_p3_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p4_0.vqh b/lib/books/uncoupled/_44u4_p4_0.vqh new file mode 100644 index 00000000..3efdc701 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p4_0.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p4_0_VQH_ +#define _V__44u4_p4_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p4_0[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u4_p4_0[] = { + 3, 5, 5, 8, 8, 5, 7, 7, 9, 9, 5, 7, 7, 9, 9, 8, + 9, 9,11,11, 8, 9, 9,11,11, 5, 7, 7, 9, 9, 7, 8, + 8,10,10, 7, 8, 8,10,10,10,10,10,12,12, 9,10,10, + 11,12, 5, 7, 7, 9, 9, 7, 8, 8,10,10, 7, 8, 8,10, + 10, 9,10,10,12,11, 9,10,10,12,12, 9,10,10,12,12, + 10,10,10,13,12, 9,10,10,12,12,12,12,12,14,14,11, + 12,12,13,14, 8,10,10,12,12, 9,10,10,12,12,10,10, + 10,12,13,11,12,12,14,13,12,12,12,14,14, 5, 7, 7, + 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,10,10,11,10,12, + 12,10,10,10,12,12, 7, 8, 8,11,10, 8, 9, 9,11,11, + 8, 9, 9,11,11,10,11,11,12,13,10,11,11,13,13, 7, + 8, 8,10,10, 8, 9, 8,11,10, 8, 9, 9,11,11,10,11, + 10,13,12,10,11,11,13,13,10,11,10,13,12,10,11,11, + 13,13,10,11,11,13,13,12,12,13,13,15,12,13,13,14, + 15, 9,10,10,12,13,10,11,10,13,12,10,11,11,13,13, + 12,13,12,14,13,12,13,13,15,15, 5, 7, 7, 9, 9, 7, + 8, 8,10,10, 7, 8, 8,10,10,10,10,10,12,12,10,10, + 11,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11, 8, 8, 9, + 10,11,10,11,11,13,13,10,10,11,12,13, 7, 8, 8,10, + 11, 8, 9, 9,11,11, 8, 9, 9,11,11,10,11,11,13,13, + 11,11,11,13,12, 9,10,10,13,12,10,11,11,13,13,10, + 10,11,12,13,12,13,13,15,14,12,12,13,13,14,10,10, + 11,12,13,10,11,11,13,13,10,11,11,13,13,12,13,13, + 15,14,12,13,12,15,13, 8,10,10,12,12,10,11,10,13, + 13, 9,10,10,13,13,12,13,13,14,14,12,12,12,14,14, + 9,10,10,13,13,10,11,11,13,13,10,11,11,13,13,13, + 13,13,14,15,12,13,13,15,14, 9,10,10,13,13,10,11, + 11,13,13,10,11,11,13,13,12,13,12,15,14,12,13,13, + 14,15,12,13,12,14,14,12,12,13,14,15,12,13,13,15, + 14,14,13,15,13,16,14,15,15,16,16,11,12,12,14,14, + 11,13,12,15,14,12,13,13,14,15,13,14,13,16,14,14, + 15,15,16,16, 8, 9,10,12,12, 9,10,10,13,12,10,10, + 11,13,13,12,13,12,14,14,12,13,13,14,14, 9,10,10, + 13,13,10,11,11,13,13,10,11,11,13,13,12,13,13,15, + 14,12,13,13,14,15, 9,10,10,13,13,10,11,11,13,13, + 10,11,11,13,13,13,13,13,14,15,13,13,13,15,14,11, + 12,12,14,14,12,13,13,15,14,11,12,13,14,15,14,15, + 15,16,16,13,13,14,13,16,12,12,12,14,14,12,13,13, + 14,15,12,13,12,15,14,14,15,14,16,16,14,15,13,16, + 13, +}; + +static float _vq_quantthresh__44u4_p4_0[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u4_p4_0[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p4_0 = { + _vq_quantthresh__44u4_p4_0, + _vq_quantmap__44u4_p4_0, + 5, + 5 +}; + +static static_codebook _44u4_p4_0 = { + 4, 625, + _vq_lengthlist__44u4_p4_0, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u4_p4_0, + NULL, + &_vq_auxt__44u4_p4_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p5_0.vqh b/lib/books/uncoupled/_44u4_p5_0.vqh new file mode 100644 index 00000000..b032c97e --- /dev/null +++ b/lib/books/uncoupled/_44u4_p5_0.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p5_0_VQH_ +#define _V__44u4_p5_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p5_0[] = { + 4, + 3, + 5, + 2, + 6, + 1, + 7, + 0, + 8, +}; + +static long _vq_lengthlist__44u4_p5_0[] = { + 3, 4, 4, 5, 5, 7, 7, 9, 9, 4, 5, 4, 6, 6, 7, 7, + 9, 9, 4, 4, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 7, + 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8,10,10, 7, 7, 7, + 8, 8, 9, 9,11,10, 7, 7, 7, 8, 8, 9, 9,10,11, 9, + 9, 9,10,10,11,10,11,11, 9, 9, 9,10,10,10,11,11, + 11, +}; + +static float _vq_quantthresh__44u4_p5_0[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap__44u4_p5_0[] = { + 7, 5, 3, 1, 0, 2, 4, 6, + 8, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p5_0 = { + _vq_quantthresh__44u4_p5_0, + _vq_quantmap__44u4_p5_0, + 9, + 9 +}; + +static static_codebook _44u4_p5_0 = { + 2, 81, + _vq_lengthlist__44u4_p5_0, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist__44u4_p5_0, + NULL, + &_vq_auxt__44u4_p5_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p6_0.vqh b/lib/books/uncoupled/_44u4_p6_0.vqh new file mode 100644 index 00000000..ab1e962e --- /dev/null +++ b/lib/books/uncoupled/_44u4_p6_0.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p6_0_VQH_ +#define _V__44u4_p6_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p6_0[] = { + 4, + 3, + 5, + 2, + 6, + 1, + 7, + 0, + 8, +}; + +static long _vq_lengthlist__44u4_p6_0[] = { + 2, 4, 4, 6, 6, 7, 7, 9, 9, 4, 5, 5, 6, 6, 8, 7, + 9, 9, 4, 5, 5, 6, 6, 7, 7, 9, 9, 6, 6, 6, 7, 7, + 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8,10,10, 7, 8, 7, + 8, 8, 9, 9,11,11, 7, 7, 8, 8, 8, 9, 9,11,11, 9, + 9, 9,10,10,11,11,12,12, 9, 9,10,10,10,11,11,12, + 12, +}; + +static float _vq_quantthresh__44u4_p6_0[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap__44u4_p6_0[] = { + 7, 5, 3, 1, 0, 2, 4, 6, + 8, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p6_0 = { + _vq_quantthresh__44u4_p6_0, + _vq_quantmap__44u4_p6_0, + 9, + 9 +}; + +static static_codebook _44u4_p6_0 = { + 2, 81, + _vq_lengthlist__44u4_p6_0, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist__44u4_p6_0, + NULL, + &_vq_auxt__44u4_p6_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p7_0.vqh b/lib/books/uncoupled/_44u4_p7_0.vqh new file mode 100644 index 00000000..7a562160 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p7_0.vqh @@ -0,0 +1,75 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p7_0_VQH_ +#define _V__44u4_p7_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p7_0[] = { + 5, + 4, + 6, + 3, + 7, + 2, + 8, + 1, + 9, + 0, + 10, +}; + +static long _vq_lengthlist__44u4_p7_0[] = { + 1, 4, 4, 7, 6, 9, 9,10,10,11,11, 4, 6, 5, 7, 7, + 10, 9,11,11,12,12, 4, 5, 6, 7, 7, 9, 9,11,11,12, + 12, 7, 7, 7, 9, 9,10,10,12,12,13,13, 7, 7, 7, 9, + 9,10,10,12,12,13,13, 9,10, 9,11,10,11,11,13,13, + 14,13, 9, 9,10,10,10,11,11,13,13,13,14,10,11,11, + 12,12,13,12,13,13,14,14,10,11,11,12,12,13,13,13, + 13,14,14,12,12,12,13,13,14,13,14,14,15,15,12,12, + 12,13,13,13,14,14,14,15,15, +}; + +static float _vq_quantthresh__44u4_p7_0[] = { + -13.5, -10.5, -7.5, -4.5, -1.5, 1.5, 4.5, 7.5, + 10.5, 13.5, +}; + +static long _vq_quantmap__44u4_p7_0[] = { + 9, 7, 5, 3, 1, 0, 2, 4, + 6, 8, 10, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p7_0 = { + _vq_quantthresh__44u4_p7_0, + _vq_quantmap__44u4_p7_0, + 11, + 11 +}; + +static static_codebook _44u4_p7_0 = { + 2, 121, + _vq_lengthlist__44u4_p7_0, + 1, -528613376, 1614282752, 4, 0, + _vq_quantlist__44u4_p7_0, + NULL, + &_vq_auxt__44u4_p7_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p7_1.vqh b/lib/books/uncoupled/_44u4_p7_1.vqh new file mode 100644 index 00000000..aefa6c3c --- /dev/null +++ b/lib/books/uncoupled/_44u4_p7_1.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p7_1_VQH_ +#define _V__44u4_p7_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p7_1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u4_p7_1[] = { + 4, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 6, + 7, 7, 6, 6, 6, 6, 7, 7, 6, 7, 7, 5, 6, 6, 6, 7, + 7, 6, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, + 7, 7, 7, 7, 7, 7, 5, 6, 6, 6, 7, 7, 6, 7, 7, 6, + 7, 7, 7, 7, 7, 7, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, + 7, +}; + +static float _vq_quantthresh__44u4_p7_1[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u4_p7_1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p7_1 = { + _vq_quantthresh__44u4_p7_1, + _vq_quantmap__44u4_p7_1, + 3, + 3 +}; + +static static_codebook _44u4_p7_1 = { + 4, 81, + _vq_lengthlist__44u4_p7_1, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u4_p7_1, + NULL, + &_vq_auxt__44u4_p7_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p8_0.vqh b/lib/books/uncoupled/_44u4_p8_0.vqh new file mode 100644 index 00000000..c3477ad6 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p8_0.vqh @@ -0,0 +1,93 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p8_0_VQH_ +#define _V__44u4_p8_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p8_0[] = { + 8, + 7, + 9, + 6, + 10, + 5, + 11, + 4, + 12, + 3, + 13, + 2, + 14, + 1, + 15, + 0, + 16, +}; + +static long _vq_lengthlist__44u4_p8_0[] = { + 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,11,12, + 12, 4, 6, 6, 8, 7, 9, 9, 9, 9,10,10,11,11,11,11, + 12,12, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,11,11, + 11,12,12, 7, 8, 8, 9, 9,10, 9,10,10,11,11,11,11, + 12,12,13,13, 7, 8, 8, 9, 9,10,10,10,10,11,11,11, + 11,12,12,13,13, 8, 9, 9,10,10,10,10,11,11,11,11, + 12,12,13,12,13,13, 8, 9, 9,10,10,10,10,11,11,11, + 11,12,12,12,13,13,13, 8, 9, 9,10,10,11,11,12,11, + 12,12,13,13,13,13,14,14, 8, 9, 9,10,10,11,11,11, + 11,12,12,13,13,13,13,13,14,10,10,10,11,11,12,11, + 12,12,13,13,13,13,13,14,14,14,10,10,10,11,11,11, + 11,12,12,13,13,13,13,14,14,14,14,10,11,11,12,12, + 12,12,13,13,13,13,14,14,14,14,14,14,10,11,11,12, + 12,12,12,13,13,13,13,14,14,14,14,14,14,11,12,12, + 12,12,13,13,13,13,14,14,14,14,14,14,14,14,11,12, + 12,12,12,13,13,13,13,13,14,14,14,14,14,14,14,12, + 12,12,13,13,13,13,14,14,14,14,14,14,14,15,15,15, + 12,12,12,13,13,13,13,14,14,14,14,14,14,15,14,15, + 15, +}; + +static float _vq_quantthresh__44u4_p8_0[] = { + -37.5, -32.5, -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, + 2.5, 7.5, 12.5, 17.5, 22.5, 27.5, 32.5, 37.5, +}; + +static long _vq_quantmap__44u4_p8_0[] = { + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p8_0 = { + _vq_quantthresh__44u4_p8_0, + _vq_quantmap__44u4_p8_0, + 17, + 17 +}; + +static static_codebook _44u4_p8_0 = { + 2, 289, + _vq_lengthlist__44u4_p8_0, + 1, -525074432, 1616117760, 5, 0, + _vq_quantlist__44u4_p8_0, + NULL, + &_vq_auxt__44u4_p8_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p8_1.vqh b/lib/books/uncoupled/_44u4_p8_1.vqh new file mode 100644 index 00000000..de38bed4 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p8_1.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p8_1_VQH_ +#define _V__44u4_p8_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p8_1[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u4_p8_1[] = { + 4, 7, 7, 8, 8, 7, 8, 8, 9, 9, 7, 8, 8, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 8, 8, 9, 9, 8, 9, + 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 7, 8, 8, 9, 9, 8, 9, 9, 9, 9, 8, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 9, 9,10,10, + 9, 9, 9,10,10, 9, 9, 9,10,10, 9,10,10,10,10, 9, + 10,10,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9, 9, + 9,10,10, 9,10,10,10,10, 9,10,10,10,10, 7, 8, 8, + 9, 9, 8, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9,10,10,10, + 10, 9,10,10,10,10, 8, 9, 9,10,10, 9, 9, 9,10,10, + 9, 9, 9,10,10, 9,10,10,10,10, 9,10,10,10,10, 8, + 9, 9, 9, 9, 9, 9, 9,10,10, 9, 9, 9,10,10, 9,10, + 10,10,10, 9,10,10,10,10, 9,10,10,10,10, 9,10,10, + 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10, 9,10, 9,10,10, 9,10,10,10,10, 9,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10, 7, 8, 8, 9, 9, 8, + 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9,10,10, 9, 9, + 10,10,10, 8, 9, 9, 9,10, 9, 9, 9,10,10, 9, 9, 9, + 10,10, 9,10,10,10,10, 9,10,10,10,10, 8, 9, 9, 9, + 10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9,10,10,10,10, + 9,10,10,10,10, 9,10, 9,10,10, 9,10,10,10,10, 9, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,10, + 9,10,10, 9,10,10,10,10, 9,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10, 8, 9, 9,10,10, 9,10,10,10, + 10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 9, 9, 9,10,10, 9,10,10,10,10, 9,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10, 9, 9, 9,10,10, 9,10, + 10,10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10, 9,10,10,10,10, + 9,10,10,10,10, 9,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10, 8, 9, 9,10,10, 9,10,10,10,10, 9, 9, + 10,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9, + 10,10, 9,10,10,10,10, 9,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10, 9, 9,10,10,10, 9,10,10,10,10, + 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, 9,10,10,10,10,10,10,10, + 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10, +}; + +static float _vq_quantthresh__44u4_p8_1[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u4_p8_1[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p8_1 = { + _vq_quantthresh__44u4_p8_1, + _vq_quantmap__44u4_p8_1, + 5, + 5 +}; + +static static_codebook _44u4_p8_1 = { + 4, 625, + _vq_lengthlist__44u4_p8_1, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u4_p8_1, + NULL, + &_vq_auxt__44u4_p8_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p9_0.vqh b/lib/books/uncoupled/_44u4_p9_0.vqh new file mode 100644 index 00000000..4b43fd1a --- /dev/null +++ b/lib/books/uncoupled/_44u4_p9_0.vqh @@ -0,0 +1,65 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p9_0_VQH_ +#define _V__44u4_p9_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p9_0[] = { + 3, + 2, + 4, + 1, + 5, + 0, + 6, +}; + +static long _vq_lengthlist__44u4_p9_0[] = { + 1, 3, 2, 9,11,11,11, 4,11,10,11,11,11,11, 5, 8, + 11,11,11, 9,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10, + 10, +}; + +static float _vq_quantthresh__44u4_p9_0[] = { + -1592.5, -955.5, -318.5, 318.5, 955.5, 1592.5, +}; + +static long _vq_quantmap__44u4_p9_0[] = { + 5, 3, 1, 0, 2, 4, 6, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p9_0 = { + _vq_quantthresh__44u4_p9_0, + _vq_quantmap__44u4_p9_0, + 7, + 7 +}; + +static static_codebook _44u4_p9_0 = { + 2, 49, + _vq_lengthlist__44u4_p9_0, + 1, -513942528, 1630791680, 3, 0, + _vq_quantlist__44u4_p9_0, + NULL, + &_vq_auxt__44u4_p9_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p9_1.vqh b/lib/books/uncoupled/_44u4_p9_1.vqh new file mode 100644 index 00000000..a4433798 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p9_1.vqh @@ -0,0 +1,80 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p9_1_VQH_ +#define _V__44u4_p9_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p9_1[] = { + 6, + 5, + 7, + 4, + 8, + 3, + 9, + 2, + 10, + 1, + 11, + 0, + 12, +}; + +static long _vq_lengthlist__44u4_p9_1[] = { + 1, 3, 4, 6, 6, 8, 8, 8, 9, 9, 9,10,10, 4, 6, 6, + 8, 8,10, 9,11,10,12,11,12,11, 4, 6, 6, 8, 8, 9, + 9,10,11,11,12,12,12, 7, 8, 9,10,10,12,11,13,13, + 14,14,15,14, 7, 8, 9,10,10,11,12,13,13,14,13,14, + 14, 9,10,10,12,12,14,14,15,15,15,15,18,16, 9,11, + 10,12,12,13,13,15,14,16,16,16,16,11,12,13,14,14, + 15,14,17,16,16,17,17,17,11,13,13,14,14,14,15,17, + 16,16,17,18,17,13,14,14,14,15,15,16,16,17,18,18, + 19,19,13,14,14,15,15,16,16,16,16,18,17,18,17,14, + 14,15,15,16,16,16,18,17,18,18,18,18,14,14,15,17, + 15,16,16,16,17,18,18,17,17, +}; + +static float _vq_quantthresh__44u4_p9_1[] = { + -269.5, -220.5, -171.5, -122.5, -73.5, -24.5, 24.5, 73.5, + 122.5, 171.5, 220.5, 269.5, +}; + +static long _vq_quantmap__44u4_p9_1[] = { + 11, 9, 7, 5, 3, 1, 0, 2, + 4, 6, 8, 10, 12, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p9_1 = { + _vq_quantthresh__44u4_p9_1, + _vq_quantmap__44u4_p9_1, + 13, + 13 +}; + +static static_codebook _44u4_p9_1 = { + 2, 169, + _vq_lengthlist__44u4_p9_1, + 1, -518889472, 1622704128, 4, 0, + _vq_quantlist__44u4_p9_1, + NULL, + &_vq_auxt__44u4_p9_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u4_p9_2.vqh b/lib/books/uncoupled/_44u4_p9_2.vqh new file mode 100644 index 00000000..3c764990 --- /dev/null +++ b/lib/books/uncoupled/_44u4_p9_2.vqh @@ -0,0 +1,118 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u4_p9_2_VQH_ +#define _V__44u4_p9_2_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u4_p9_2[] = { + 24, + 23, + 25, + 22, + 26, + 21, + 27, + 20, + 28, + 19, + 29, + 18, + 30, + 17, + 31, + 16, + 32, + 15, + 33, + 14, + 34, + 13, + 35, + 12, + 36, + 11, + 37, + 10, + 38, + 9, + 39, + 8, + 40, + 7, + 41, + 6, + 42, + 5, + 43, + 4, + 44, + 3, + 45, + 2, + 46, + 1, + 47, + 0, + 48, +}; + +static long _vq_lengthlist__44u4_p9_2[] = { + 2, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, + 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, +}; + +static float _vq_quantthresh__44u4_p9_2[] = { + -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5, + -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5, + -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, + 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, + 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, + 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, +}; + +static long _vq_quantmap__44u4_p9_2[] = { + 47, 45, 43, 41, 39, 37, 35, 33, + 31, 29, 27, 25, 23, 21, 19, 17, + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, 18, 20, 22, 24, 26, 28, 30, + 32, 34, 36, 38, 40, 42, 44, 46, + 48, +}; + +static encode_aux_threshmatch _vq_auxt__44u4_p9_2 = { + _vq_quantthresh__44u4_p9_2, + _vq_quantmap__44u4_p9_2, + 49, + 49 +}; + +static static_codebook _44u4_p9_2 = { + 1, 49, + _vq_lengthlist__44u4_p9_2, + 1, -526909440, 1611661312, 6, 0, + _vq_quantlist__44u4_p9_2, + NULL, + &_vq_auxt__44u4_p9_2, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p0_r0.vqh b/lib/books/uncoupled/_44u7_p0_r0.vqh new file mode 100644 index 00000000..8337effb --- /dev/null +++ b/lib/books/uncoupled/_44u7_p0_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p0_r0_VQH_ +#define _V__44u7_p0_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p0_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p0_r0[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u7_p0_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u7_p0_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p0_r0 = { + _vq_quantthresh__44u7_p0_r0, + _vq_quantmap__44u7_p0_r0, + 3, + 3 +}; + +static static_codebook _44u7_p0_r0 = { + 2, 9, + _vq_lengthlist__44u7_p0_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u7_p0_r0, + NULL, + &_vq_auxt__44u7_p0_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p0_r1.vqh b/lib/books/uncoupled/_44u7_p0_r1.vqh new file mode 100644 index 00000000..1a3bc5f7 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p0_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p0_r1_VQH_ +#define _V__44u7_p0_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p0_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p0_r1[] = { + 1, 3, 3, 4, 5, 5, 4, 5, 5, +}; + +static float _vq_quantthresh__44u7_p0_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u7_p0_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p0_r1 = { + _vq_quantthresh__44u7_p0_r1, + _vq_quantmap__44u7_p0_r1, + 3, + 3 +}; + +static static_codebook _44u7_p0_r1 = { + 2, 9, + _vq_lengthlist__44u7_p0_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u7_p0_r1, + NULL, + &_vq_auxt__44u7_p0_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p1_0.vqh b/lib/books/uncoupled/_44u7_p1_0.vqh new file mode 100644 index 00000000..24b070fd --- /dev/null +++ b/lib/books/uncoupled/_44u7_p1_0.vqh @@ -0,0 +1,93 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p1_0_VQH_ +#define _V__44u7_p1_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p1_0[] = { + 8, + 7, + 9, + 6, + 10, + 5, + 11, + 4, + 12, + 3, + 13, + 2, + 14, + 1, + 15, + 0, + 16, +}; + +static long _vq_lengthlist__44u7_p1_0[] = { + 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9, 9,10,10,11, + 11, 5, 6, 5, 6, 6, 7, 7, 8, 8, 9, 9,10, 9,10,10, + 11,11, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 9,10,10, + 10,11,11, 6, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9,10,10, + 11,10,11,11, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9,10, + 10,10,11,11,11, 7, 7, 7, 8, 7, 8, 8, 9, 8, 9, 9, + 10,10,11,11,12,11, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, + 9,10,10,11,11,11,12, 8, 8, 8, 8, 8, 9, 8, 9, 9, + 10,10,11,10,11,11,12,12, 8, 8, 8, 8, 8, 8, 9, 9, + 9,10,10,10,11,11,11,12,12, 8, 9, 9, 9, 9, 9, 9, + 10,10,10,10,11,11,12,12,13,12, 8, 9, 9, 9, 9, 9, + 9,10,10,10,10,11,11,11,12,12,12, 9,10, 9,10,10, + 10,10,11,10,11,11,12,11,12,12,13,12, 9, 9,10,10, + 10,10,10,10,11,11,11,11,12,12,12,13,13,10,10,10, + 11,10,11,11,11,11,12,11,12,12,13,12,13,13,10,10, + 10,10,11,11,11,11,11,11,12,12,12,12,13,13,13,11, + 11,11,11,11,12,12,12,12,12,12,13,12,13,13,14,13, + 11,11,11,11,12,11,12,12,12,12,12,13,13,13,13,13, + 14, +}; + +static float _vq_quantthresh__44u7_p1_0[] = { + -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, + 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, +}; + +static long _vq_quantmap__44u7_p1_0[] = { + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p1_0 = { + _vq_quantthresh__44u7_p1_0, + _vq_quantmap__44u7_p1_0, + 17, + 17 +}; + +static static_codebook _44u7_p1_0 = { + 2, 289, + _vq_lengthlist__44u7_p1_0, + 1, -529530880, 1611661312, 5, 0, + _vq_quantlist__44u7_p1_0, + NULL, + &_vq_auxt__44u7_p1_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p1_r0.vqh b/lib/books/uncoupled/_44u7_p1_r0.vqh new file mode 100644 index 00000000..cadb31d3 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p1_r0.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p1_r0_VQH_ +#define _V__44u7_p1_r0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p1_r0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p1_r0[] = { + 3, 3, 3, 3, 4, 3, 3, 3, 4, +}; + +static float _vq_quantthresh__44u7_p1_r0[] = { + -0.16667, 0.16667, +}; + +static long _vq_quantmap__44u7_p1_r0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p1_r0 = { + _vq_quantthresh__44u7_p1_r0, + _vq_quantmap__44u7_p1_r0, + 3, + 3 +}; + +static static_codebook _44u7_p1_r0 = { + 2, 9, + _vq_lengthlist__44u7_p1_r0, + 1, -539667115, 1607816533, 2, 0, + _vq_quantlist__44u7_p1_r0, + NULL, + &_vq_auxt__44u7_p1_r0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p1_r1.vqh b/lib/books/uncoupled/_44u7_p1_r1.vqh new file mode 100644 index 00000000..18de2654 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p1_r1.vqh @@ -0,0 +1,58 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p1_r1_VQH_ +#define _V__44u7_p1_r1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p1_r1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p1_r1[] = { + 2, 3, 3, 3, 4, 4, 3, 4, 4, +}; + +static float _vq_quantthresh__44u7_p1_r1[] = { + -0.055556, 0.055556, +}; + +static long _vq_quantmap__44u7_p1_r1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p1_r1 = { + _vq_quantthresh__44u7_p1_r1, + _vq_quantmap__44u7_p1_r1, + 3, + 3 +}; + +static static_codebook _44u7_p1_r1 = { + 2, 9, + _vq_lengthlist__44u7_p1_r1, + 1, -543395385, 1604088263, 2, 0, + _vq_quantlist__44u7_p1_r1, + NULL, + &_vq_auxt__44u7_p1_r1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p2_0.vqh b/lib/books/uncoupled/_44u7_p2_0.vqh new file mode 100644 index 00000000..33fb57c5 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p2_0.vqh @@ -0,0 +1,93 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p2_0_VQH_ +#define _V__44u7_p2_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p2_0[] = { + 8, + 7, + 9, + 6, + 10, + 5, + 11, + 4, + 12, + 3, + 13, + 2, + 14, + 1, + 15, + 0, + 16, +}; + +static long _vq_lengthlist__44u7_p2_0[] = { + 2, 4, 4, 6, 6, 7, 7, 9, 9,10,10,10,11,11,11,12, + 12, 4, 5, 5, 6, 6, 8, 8, 9, 9,10,10,11,11,12,12, + 12,12, 4, 5, 5, 6, 6, 8, 8, 9, 9,10,10,11,11,12, + 12,12,12, 6, 6, 6, 8, 8, 9, 9,10,10,11,11,12,11, + 12,12,13,13, 6, 6, 6, 8, 8, 9, 9,10,10,11,11,11, + 12,12,12,13,13, 7, 8, 8, 9, 9,10,10,11,10,11,11, + 12,12,13,12,13,13, 7, 8, 8, 9, 9,10,10,10,11,11, + 11,12,12,13,13,13,13, 9, 9, 9,10,10,11,10,11,11, + 12,12,13,12,13,13,14,14, 9, 9, 9,10,10,11,11,11, + 11,12,12,13,13,13,13,14,14,10,10,10,11,11,11,11, + 12,12,13,12,13,13,14,14,14,14,10,10,10,11,11,11, + 11,12,12,12,13,13,13,14,14,14,14,11,11,11,12,12, + 12,12,13,13,13,13,14,14,14,14,14,14,11,11,11,11, + 12,12,12,13,13,13,13,14,14,14,14,14,14,11,12,12, + 12,12,13,13,13,13,14,14,14,14,14,14,15,15,11,12, + 12,12,12,13,13,13,13,14,14,14,14,14,14,14,15,12, + 13,12,13,13,13,13,14,14,14,14,14,14,15,15,15,15, + 12,12,12,13,13,13,13,14,14,14,14,14,15,15,15,15, + 15, +}; + +static float _vq_quantthresh__44u7_p2_0[] = { + -37.5, -32.5, -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, + 2.5, 7.5, 12.5, 17.5, 22.5, 27.5, 32.5, 37.5, +}; + +static long _vq_quantmap__44u7_p2_0[] = { + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p2_0 = { + _vq_quantthresh__44u7_p2_0, + _vq_quantmap__44u7_p2_0, + 17, + 17 +}; + +static static_codebook _44u7_p2_0 = { + 2, 289, + _vq_lengthlist__44u7_p2_0, + 1, -525074432, 1616117760, 5, 0, + _vq_quantlist__44u7_p2_0, + NULL, + &_vq_auxt__44u7_p2_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p2_1.vqh b/lib/books/uncoupled/_44u7_p2_1.vqh new file mode 100644 index 00000000..fb3a1d66 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p2_1.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p2_1_VQH_ +#define _V__44u7_p2_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p2_1[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u7_p2_1[] = { + 5, 7, 7, 8, 8, 8, 9, 8, 9, 9, 8, 8, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, + 9, 9, 9,10,10, 9, 9, 9,10,10, 9,10,10,10,10, 9, + 10,10,10,10, 9, 9, 9,10, 9, 9, 9, 9,10,10, 9, 9, + 9,10,10, 9, 9,10,10,10, 9, 9,10,10,10, 7, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, + 10, 9, 9, 9,10,10, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9,10,10, 9, 9, 9,10,10, 8, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9, 9,10, + 10,10, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10, + 10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9,10, 9,10,10, + 10,10,10,10,10, 9,10,10,10,10, 7, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10, 9, 9, + 9,10, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9,10, 9, 9, 9,10,10, 9, 9, 9,10,10, 8, 9, 9, 9, + 9, 9, 9, 9,10, 9, 9, 9, 9,10, 9, 9, 9,10,10,10, + 9,10,10,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9, + 9, 9,10,10, 9,10,10,10,10,10,10,10,10,10, 9, 9, + 9,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10,10,10,10, + 10,10,10,10,10,10,10, 9, 9, 9,10,10, 9, 9, 9,10, + 10, 9, 9, 9,10,10,10,10,10,10,10, 9,10,10,10,10, + 9, 9, 9,10,10, 9, 9,10,10,10, 9,10, 9,10,10,10, + 10,10,10,10,10,10,10,10,10, 9, 9, 9,10,10, 9, 9, + 9,10,10, 9, 9, 9,10,10,10,10,10,10,10,10,10,10, + 10,10, 9,10,10,10,10, 9,10,10,10,10, 9,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10, 9,10,10,10,10, + 9,10,10,10,10, 9,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10, 9, 9, + 9,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9, + 10,10, 9,10, 9,10,10, 9, 9,10,10,10,10,10,10,10, + 10,10,10,10,10,10, 9, 9, 9,10,10, 9, 9, 9,10,10, + 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10,10, 9, + 10,10,10,10, 9,10,10,10,10, 9,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, 9,10,10,10,10, 9,10,10, + 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10, +}; + +static float _vq_quantthresh__44u7_p2_1[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u7_p2_1[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p2_1 = { + _vq_quantthresh__44u7_p2_1, + _vq_quantmap__44u7_p2_1, + 5, + 5 +}; + +static static_codebook _44u7_p2_1 = { + 4, 625, + _vq_lengthlist__44u7_p2_1, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u7_p2_1, + NULL, + &_vq_auxt__44u7_p2_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p3_0.vqh b/lib/books/uncoupled/_44u7_p3_0.vqh new file mode 100644 index 00000000..0416aecb --- /dev/null +++ b/lib/books/uncoupled/_44u7_p3_0.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p3_0_VQH_ +#define _V__44u7_p3_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p3_0[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p3_0[] = { + 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, 8,10, + 9, 7, 9, 9, 7,10, 9, 9,10,11, 9,11,11, 7, 9, 9, + 9,11,10, 9,11,11, 5, 7, 7, 7, 9, 9, 8, 9, 9, 7, + 9, 9, 9,11,11, 9,10,11, 7, 9, 9, 9,11,11, 9,11, + 10, +}; + +static float _vq_quantthresh__44u7_p3_0[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u7_p3_0[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p3_0 = { + _vq_quantthresh__44u7_p3_0, + _vq_quantmap__44u7_p3_0, + 3, + 3 +}; + +static static_codebook _44u7_p3_0 = { + 4, 81, + _vq_lengthlist__44u7_p3_0, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u7_p3_0, + NULL, + &_vq_auxt__44u7_p3_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p4_0.vqh b/lib/books/uncoupled/_44u7_p4_0.vqh new file mode 100644 index 00000000..5e7dab4c --- /dev/null +++ b/lib/books/uncoupled/_44u7_p4_0.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p4_0_VQH_ +#define _V__44u7_p4_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p4_0[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist__44u7_p4_0[] = { + 3, 5, 5, 8, 8, 5, 7, 7, 9, 9, 6, 7, 7, 9, 9, 8, + 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8, + 8,10,10, 7, 8, 8,10,10, 9,10,10,11,12, 9,10,10, + 11,12, 6, 7, 7, 9, 9, 7, 8, 8,10,10, 7, 8, 8,10, + 10, 9,10,10,12,11, 9,10,10,12,11, 8, 9, 9,11,11, + 9,10,10,12,12, 9,10,10,12,12,11,12,12,13,13,11, + 11,12,13,13, 8, 9, 9,11,11, 9,10,10,12,12, 9,10, + 10,12,12,11,12,11,13,13,11,12,12,13,13, 5, 7, 7, + 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12, + 12, 9,10,10,12,12, 7, 8, 8,10,10, 8, 9, 9,10,11, + 8, 9, 9,11,11,10,10,11,12,12,10,11,11,12,12, 7, + 8, 8,10,10, 8, 9, 8,11,10, 8, 9, 9,11,11,10,11, + 10,12,11,10,11,11,12,12, 9,10,10,12,12,10,11,11, + 12,12,10,11,11,13,13,12,12,12,13,14,12,12,12,14, + 14, 9,10,10,12,12,10,11,10,12,12,10,11,11,12,13, + 11,12,11,14,12,12,12,12,14,14, 5, 7, 7, 9, 9, 7, + 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12,12, 9,10, + 10,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11, 8, 8, 9, + 10,11,10,11,11,12,12,10,10,11,11,12, 7, 8, 8,10, + 10, 8, 9, 9,11,11, 8, 9, 9,11,10,10,11,11,12,12, + 10,11,11,12,12, 9,10,10,12,12,10,11,11,13,12,10, + 10,11,12,12,12,13,12,14,14,11,11,12,12,14, 9,10, + 10,12,12,10,11,11,12,12,10,11,11,13,13,12,12,12, + 14,14,12,13,12,14,13, 8, 9, 9,11,11, 9,10,10,12, + 12, 9,10,10,12,12,11,12,12,14,13,11,12,12,13,13, + 9,10,10,12,12,10,11,11,13,13,10,11,11,13,12,12, + 12,13,14,14,12,12,12,14,14, 9,10,10,12,12,10,11, + 10,13,12,10,11,11,12,13,12,13,12,14,13,12,12,13, + 14,14,11,12,12,14,13,12,12,12,14,14,12,13,12,14, + 14,13,13,14,13,15,13,14,14,15,15,11,12,12,13,13, + 11,12,12,14,13,12,12,12,13,14,13,14,13,15,13,14, + 14,14,15,15, 8, 9, 9,11,11, 9,10,10,12,12, 9,10, + 10,12,12,11,12,12,13,13,11,12,12,13,14, 9,10,10, + 12,12,10,11,11,13,12,10,10,11,12,13,12,13,12,14, + 14,12,12,13,13,14, 9,10,10,12,12,10,11,11,12,13, + 10,11,11,13,13,12,12,12,14,14,12,13,12,14,14,11, + 12,12,13,13,12,12,12,14,14,11,11,12,13,14,13,14, + 14,15,15,13,12,14,13,15,11,12,12,13,14,12,13,12, + 14,14,11,12,12,14,14,13,14,14,15,15,13,14,13,15, + 13, +}; + +static float _vq_quantthresh__44u7_p4_0[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap__44u7_p4_0[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p4_0 = { + _vq_quantthresh__44u7_p4_0, + _vq_quantmap__44u7_p4_0, + 5, + 5 +}; + +static static_codebook _44u7_p4_0 = { + 4, 625, + _vq_lengthlist__44u7_p4_0, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist__44u7_p4_0, + NULL, + &_vq_auxt__44u7_p4_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p5_0.vqh b/lib/books/uncoupled/_44u7_p5_0.vqh new file mode 100644 index 00000000..4afb1605 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p5_0.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p5_0_VQH_ +#define _V__44u7_p5_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p5_0[] = { + 4, + 3, + 5, + 2, + 6, + 1, + 7, + 0, + 8, +}; + +static long _vq_lengthlist__44u7_p5_0[] = { + 3, 4, 4, 5, 5, 7, 7, 8, 8, 4, 5, 4, 6, 6, 7, 7, + 9, 9, 4, 5, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 7, + 8, 8, 9, 9, 5, 6, 6, 7, 7, 8, 8, 9, 9, 7, 7, 7, + 8, 8, 9, 9,10,10, 7, 7, 7, 8, 8, 9, 9,10,10, 8, + 9, 9, 9, 9,10,10,11,11, 9, 9, 9, 9, 9,10,10,11, + 11, +}; + +static float _vq_quantthresh__44u7_p5_0[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap__44u7_p5_0[] = { + 7, 5, 3, 1, 0, 2, 4, 6, + 8, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p5_0 = { + _vq_quantthresh__44u7_p5_0, + _vq_quantmap__44u7_p5_0, + 9, + 9 +}; + +static static_codebook _44u7_p5_0 = { + 2, 81, + _vq_lengthlist__44u7_p5_0, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist__44u7_p5_0, + NULL, + &_vq_auxt__44u7_p5_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p6_0.vqh b/lib/books/uncoupled/_44u7_p6_0.vqh new file mode 100644 index 00000000..18fe60d5 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p6_0.vqh @@ -0,0 +1,93 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p6_0_VQH_ +#define _V__44u7_p6_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p6_0[] = { + 8, + 7, + 9, + 6, + 10, + 5, + 11, + 4, + 12, + 3, + 13, + 2, + 14, + 1, + 15, + 0, + 16, +}; + +static long _vq_lengthlist__44u7_p6_0[] = { + 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11, + 11, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8,10, 9,11,11, + 12,12, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9,10,11, + 11,12,12, 6, 6, 6, 6, 6, 7, 7, 8, 8, 9, 9,10,10, + 11,11,12,12, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9,10, + 10,11,11,12,12, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, + 10,10,11,11,12,12, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, + 9,10,10,11,11,12,12, 8, 8, 8, 8, 8, 9, 9, 9, 9, + 10,10,11,10,12,11,12,12, 8, 8, 8, 8, 8, 9, 9, 9, + 9,10,10,10,11,11,12,12,12, 8, 8, 8, 9, 9, 9, 9, + 10,10,10,10,11,11,12,12,13,13, 8, 8, 8, 9, 9, 9, + 9,10,10,10,10,11,11,12,12,13,13, 9,10, 9,10,10, + 10,10,11,10,11,11,12,12,12,12,13,13, 9, 9,10,10, + 10,10,10,10,11,11,11,12,12,12,12,13,13,10,11,11, + 11,11,11,11,12,11,12,12,12,12,13,13,14,14,11,11, + 11,11,11,11,11,11,12,12,12,12,12,13,13,14,14,12, + 12,12,12,12,12,12,13,12,13,13,13,13,14,14,14,14, + 12,12,12,12,12,12,12,12,13,13,13,13,13,14,14,14, + 14, +}; + +static float _vq_quantthresh__44u7_p6_0[] = { + -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, + 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, +}; + +static long _vq_quantmap__44u7_p6_0[] = { + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p6_0 = { + _vq_quantthresh__44u7_p6_0, + _vq_quantmap__44u7_p6_0, + 17, + 17 +}; + +static static_codebook _44u7_p6_0 = { + 2, 289, + _vq_lengthlist__44u7_p6_0, + 1, -529530880, 1611661312, 5, 0, + _vq_quantlist__44u7_p6_0, + NULL, + &_vq_auxt__44u7_p6_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p7_0.vqh b/lib/books/uncoupled/_44u7_p7_0.vqh new file mode 100644 index 00000000..15a0ba30 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p7_0.vqh @@ -0,0 +1,75 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p7_0_VQH_ +#define _V__44u7_p7_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p7_0[] = { + 5, + 4, + 6, + 3, + 7, + 2, + 8, + 1, + 9, + 0, + 10, +}; + +static long _vq_lengthlist__44u7_p7_0[] = { + 2, 4, 4, 6, 6, 7, 7, 9, 9,10,10, 4, 5, 5, 6, 6, + 8, 8, 9, 9,11,10, 4, 5, 5, 6, 6, 8, 8, 9, 9,10, + 11, 6, 6, 6, 7, 7, 8, 8,10, 9,11,11, 6, 6, 7, 7, + 7, 8, 8, 9,10,11,11, 7, 8, 8, 8, 8, 9, 9,10,10, + 11,11, 7, 8, 8, 8, 8, 9, 9,10,10,11,12, 9, 9, 9, + 10,10,10,10,11,11,12,12, 9, 9, 9,10,10,10,10,11, + 11,12,12,10,11,10,11,11,12,11,12,12,13,13,10,10, + 11,11,11,11,11,12,12,13,13, +}; + +static float _vq_quantthresh__44u7_p7_0[] = { + -13.5, -10.5, -7.5, -4.5, -1.5, 1.5, 4.5, 7.5, + 10.5, 13.5, +}; + +static long _vq_quantmap__44u7_p7_0[] = { + 9, 7, 5, 3, 1, 0, 2, 4, + 6, 8, 10, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p7_0 = { + _vq_quantthresh__44u7_p7_0, + _vq_quantmap__44u7_p7_0, + 11, + 11 +}; + +static static_codebook _44u7_p7_0 = { + 2, 121, + _vq_lengthlist__44u7_p7_0, + 1, -528613376, 1614282752, 4, 0, + _vq_quantlist__44u7_p7_0, + NULL, + &_vq_auxt__44u7_p7_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p7_1.vqh b/lib/books/uncoupled/_44u7_p7_1.vqh new file mode 100644 index 00000000..430e4c88 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p7_1.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p7_1_VQH_ +#define _V__44u7_p7_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p7_1[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist__44u7_p7_1[] = { + 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 6, + 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 7, 6, 6, 6, 6, 7, + 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, + 6, 7, 7, 7, 7, 7, 6, 6, 6, 6, 7, 7, 6, 7, 7, 6, + 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, 7, 6, 7, + 7, +}; + +static float _vq_quantthresh__44u7_p7_1[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap__44u7_p7_1[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p7_1 = { + _vq_quantthresh__44u7_p7_1, + _vq_quantmap__44u7_p7_1, + 3, + 3 +}; + +static static_codebook _44u7_p7_1 = { + 4, 81, + _vq_lengthlist__44u7_p7_1, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist__44u7_p7_1, + NULL, + &_vq_auxt__44u7_p7_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p8_0.vqh b/lib/books/uncoupled/_44u7_p8_0.vqh new file mode 100644 index 00000000..3ebe834a --- /dev/null +++ b/lib/books/uncoupled/_44u7_p8_0.vqh @@ -0,0 +1,93 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p8_0_VQH_ +#define _V__44u7_p8_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p8_0[] = { + 8, + 7, + 9, + 6, + 10, + 5, + 11, + 4, + 12, + 3, + 13, + 2, + 14, + 1, + 15, + 0, + 16, +}; + +static long _vq_lengthlist__44u7_p8_0[] = { + 2, 4, 4, 6, 6, 7, 7, 9, 9,10,10,11,11,11,11,12, + 12, 4, 5, 5, 7, 7, 8, 8, 9, 9,10,10,11,11,11,11, + 12,12, 4, 5, 5, 7, 7, 8, 8, 9, 9,10,10,11,11,11, + 11,12,12, 6, 7, 7, 7, 7, 8, 8, 9, 9,10,10,11,11, + 12,12,12,12, 6, 7, 7, 7, 7, 8, 8, 9, 9,10,10,11, + 11,12,12,12,12, 7, 8, 8, 8, 8, 9, 9,10,10,11,11, + 12,11,12,12,13,13, 7, 8, 8, 8, 8, 9, 9,10,10,11, + 11,11,12,12,12,13,13, 9, 9, 9, 9, 9,10,10,11,11, + 11,11,12,12,12,12,13,13, 9, 9, 9, 9, 9,10,10,10, + 11,11,11,12,12,12,12,13,13,10,10,10,10,10,11,11, + 11,11,12,12,12,12,13,13,13,13,10,10,10,10,10,11, + 11,11,11,12,12,12,12,13,13,13,13,11,11,11,11,11, + 12,11,12,12,12,12,13,13,13,13,14,14,11,11,11,11, + 11,11,12,12,12,12,12,13,13,13,13,14,14,11,11,11, + 12,12,12,12,13,12,13,13,13,13,14,14,14,14,11,11, + 11,12,12,12,12,12,12,13,13,13,13,14,14,14,14,12, + 12,12,13,12,13,13,13,13,13,13,14,14,14,14,14,15, + 12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14, + 15, +}; + +static float _vq_quantthresh__44u7_p8_0[] = { + -52.5, -45.5, -38.5, -31.5, -24.5, -17.5, -10.5, -3.5, + 3.5, 10.5, 17.5, 24.5, 31.5, 38.5, 45.5, 52.5, +}; + +static long _vq_quantmap__44u7_p8_0[] = { + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p8_0 = { + _vq_quantthresh__44u7_p8_0, + _vq_quantmap__44u7_p8_0, + 17, + 17 +}; + +static static_codebook _44u7_p8_0 = { + 2, 289, + _vq_lengthlist__44u7_p8_0, + 1, -524550144, 1616642048, 5, 0, + _vq_quantlist__44u7_p8_0, + NULL, + &_vq_auxt__44u7_p8_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p8_1.vqh b/lib/books/uncoupled/_44u7_p8_1.vqh new file mode 100644 index 00000000..54ea53de --- /dev/null +++ b/lib/books/uncoupled/_44u7_p8_1.vqh @@ -0,0 +1,65 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p8_1_VQH_ +#define _V__44u7_p8_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p8_1[] = { + 3, + 2, + 4, + 1, + 5, + 0, + 6, +}; + +static long _vq_lengthlist__44u7_p8_1[] = { + 4, 5, 5, 5, 5, 6, 6, 5, 5, 5, 6, 6, 6, 6, 5, 5, + 5, 6, 6, 6, 6, 5, 6, 6, 6, 6, 6, 6, 5, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, + 6, +}; + +static float _vq_quantthresh__44u7_p8_1[] = { + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, +}; + +static long _vq_quantmap__44u7_p8_1[] = { + 5, 3, 1, 0, 2, 4, 6, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p8_1 = { + _vq_quantthresh__44u7_p8_1, + _vq_quantmap__44u7_p8_1, + 7, + 7 +}; + +static static_codebook _44u7_p8_1 = { + 2, 49, + _vq_lengthlist__44u7_p8_1, + 1, -533200896, 1611661312, 3, 0, + _vq_quantlist__44u7_p8_1, + NULL, + &_vq_auxt__44u7_p8_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p9_0.vqh b/lib/books/uncoupled/_44u7_p9_0.vqh new file mode 100644 index 00000000..3a830a77 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p9_0.vqh @@ -0,0 +1,86 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p9_0_VQH_ +#define _V__44u7_p9_0_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p9_0[] = { + 7, + 6, + 8, + 5, + 9, + 4, + 10, + 3, + 11, + 2, + 12, + 1, + 13, + 0, + 14, +}; + +static long _vq_lengthlist__44u7_p9_0[] = { + 1, 3, 3, 5, 5, 9, 7,13,12,17,17,17,17,17,17, 4, + 7, 6,10, 9,14,13,17,17,17,17,17,17,17,17, 4, 7, + 7,10, 9,14,14,17,17,17,17,17,17,17,17, 9,13,12, + 15,15,17,17,17,17,17,17,17,17,17,17, 9,12,12,14, + 15,17,17,17,17,17,17,17,17,17,17,13,14,15,17,17, + 17,17,17,17,17,17,17,17,17,17,12,16,13,17,17,17, + 17,17,17,17,17,17,17,17,17,14,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,14,17,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17, + 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17, + 17,17,17,16,16,16,16,16,16,16,16,16,16,16,16,16, + 16, +}; + +static float _vq_quantthresh__44u7_p9_0[] = { + -12110, -10246, -8383.5, -6520.5, -4657.5, -2794.5, -931.5, 931.5, + 2794.5, 4657.5, 6520.5, 8383.5, 10246, 12110, +}; + +static long _vq_quantmap__44u7_p9_0[] = { + 13, 11, 9, 7, 5, 3, 1, 0, + 2, 4, 6, 8, 10, 12, 14, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p9_0 = { + _vq_quantthresh__44u7_p9_0, + _vq_quantmap__44u7_p9_0, + 15, + 15 +}; + +static static_codebook _44u7_p9_0 = { + 2, 225, + _vq_lengthlist__44u7_p9_0, + 1, -507938688, 1633491968, 4, 0, + _vq_quantlist__44u7_p9_0, + NULL, + &_vq_auxt__44u7_p9_0, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p9_1.vqh b/lib/books/uncoupled/_44u7_p9_1.vqh new file mode 100644 index 00000000..9f6290cd --- /dev/null +++ b/lib/books/uncoupled/_44u7_p9_1.vqh @@ -0,0 +1,115 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p9_1_VQH_ +#define _V__44u7_p9_1_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p9_1[] = { + 11, + 10, + 12, + 9, + 13, + 8, + 14, + 7, + 15, + 6, + 16, + 5, + 17, + 4, + 18, + 3, + 19, + 2, + 20, + 1, + 21, + 0, + 22, +}; + +static long _vq_lengthlist__44u7_p9_1[] = { + 1, 4, 4, 7, 7, 8, 8,10,10,11,11,12,12,13,13,13, + 13,13,14,14,14,14,14, 4, 5, 5, 8, 8,10, 9,11,10, + 11,11,12,12,13,13,14,14,14,14,14,14,14,14, 4, 5, + 6, 8, 8, 9, 9,10,11,11,12,12,12,13,13,13,14,14, + 14,14,14,14,14, 7, 8, 8, 9, 9,10,10,11,11,12,12, + 13,13,14,13,14,14,14,14,14,15,15,15, 7, 8, 8, 9, + 9,10,10,11,11,12,12,13,13,13,14,14,14,14,14,14, + 14,15,15, 9,10,10,11,10,11,11,12,12,13,13,14,13, + 14,14,15,15,15,15,15,15,15,15, 9,10,10,10,10,11, + 11,12,12,13,13,13,13,14,14,14,15,15,15,15,15,15, + 15,10,11,11,11,11,12,12,13,13,13,14,14,14,15,15, + 15,15,15,15,16,15,16,15,10,11,11,12,11,12,12,13, + 13,13,13,14,14,15,15,15,15,15,15,15,15,16,15,11, + 12,12,12,12,13,13,14,13,14,14,15,15,15,15,16,16, + 16,16,16,16,16,15,12,12,12,12,13,13,13,14,14,15, + 14,15,15,15,15,16,16,16,16,16,16,16,16,13,13,13, + 13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16, + 16,16,16,16,13,13,13,13,14,14,14,14,14,15,15,16, + 16,16,16,16,16,16,16,16,16,17,16,13,14,14,14,14, + 15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,17, + 17,17,13,13,14,14,14,15,14,15,15,15,15,16,16,16, + 16,16,16,16,17,16,16,17,16,14,14,14,14,14,15,15, + 15,15,16,16,16,16,16,16,16,17,17,17,17,16,17,17, + 14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16, + 16,17,16,17,17,16,17,14,14,15,15,15,15,15,16,15, + 16,16,16,16,16,17,16,17,17,17,17,17,17,16,14,14, + 14,15,15,15,16,16,16,16,16,16,16,16,16,17,17,17, + 16,17,17,17,17,14,15,15,15,15,15,16,16,16,16,16, + 16,16,17,17,16,17,16,17,17,17,17,17,14,15,15,15, + 15,16,15,16,16,16,16,16,16,16,16,17,16,16,17,17, + 17,16,17,15,15,15,15,15,16,15,16,16,16,16,17,16, + 17,17,16,17,16,16,17,17,17,17,15,15,15,15,15,16, + 16,16,16,16,16,17,16,16,16,17,16,17,17,17,17,16, + 17, +}; + +static float _vq_quantthresh__44u7_p9_1[] = { + -850.5, -769.5, -688.5, -607.5, -526.5, -445.5, -364.5, -283.5, + -202.5, -121.5, -40.5, 40.5, 121.5, 202.5, 283.5, 364.5, + 445.5, 526.5, 607.5, 688.5, 769.5, 850.5, +}; + +static long _vq_quantmap__44u7_p9_1[] = { + 21, 19, 17, 15, 13, 11, 9, 7, + 5, 3, 1, 0, 2, 4, 6, 8, + 10, 12, 14, 16, 18, 20, 22, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p9_1 = { + _vq_quantthresh__44u7_p9_1, + _vq_quantmap__44u7_p9_1, + 23, + 23 +}; + +static static_codebook _44u7_p9_1 = { + 2, 529, + _vq_lengthlist__44u7_p9_1, + 1, -516171776, 1624522752, 5, 0, + _vq_quantlist__44u7_p9_1, + NULL, + &_vq_auxt__44u7_p9_1, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/uncoupled/_44u7_p9_2.vqh b/lib/books/uncoupled/_44u7_p9_2.vqh new file mode 100644 index 00000000..eee35175 --- /dev/null +++ b/lib/books/uncoupled/_44u7_p9_2.vqh @@ -0,0 +1,160 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V__44u7_p9_2_VQH_ +#define _V__44u7_p9_2_VQH_ +#include "codebook.h" + +static long _vq_quantlist__44u7_p9_2[] = { + 40, + 39, + 41, + 38, + 42, + 37, + 43, + 36, + 44, + 35, + 45, + 34, + 46, + 33, + 47, + 32, + 48, + 31, + 49, + 30, + 50, + 29, + 51, + 28, + 52, + 27, + 53, + 26, + 54, + 25, + 55, + 24, + 56, + 23, + 57, + 22, + 58, + 21, + 59, + 20, + 60, + 19, + 61, + 18, + 62, + 17, + 63, + 16, + 64, + 15, + 65, + 14, + 66, + 13, + 67, + 12, + 68, + 11, + 69, + 10, + 70, + 9, + 71, + 8, + 72, + 7, + 73, + 6, + 74, + 5, + 75, + 4, + 76, + 3, + 77, + 2, + 78, + 1, + 79, + 0, + 80, +}; + +static long _vq_lengthlist__44u7_p9_2[] = { + 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, + 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, +}; + +static float _vq_quantthresh__44u7_p9_2[] = { + -39.5, -38.5, -37.5, -36.5, -35.5, -34.5, -33.5, -32.5, + -31.5, -30.5, -29.5, -28.5, -27.5, -26.5, -25.5, -24.5, + -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5, + -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5, + -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, + 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, + 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, + 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, + 24.5, 25.5, 26.5, 27.5, 28.5, 29.5, 30.5, 31.5, + 32.5, 33.5, 34.5, 35.5, 36.5, 37.5, 38.5, 39.5, +}; + +static long _vq_quantmap__44u7_p9_2[] = { + 79, 77, 75, 73, 71, 69, 67, 65, + 63, 61, 59, 57, 55, 53, 51, 49, + 47, 45, 43, 41, 39, 37, 35, 33, + 31, 29, 27, 25, 23, 21, 19, 17, + 15, 13, 11, 9, 7, 5, 3, 1, + 0, 2, 4, 6, 8, 10, 12, 14, + 16, 18, 20, 22, 24, 26, 28, 30, + 32, 34, 36, 38, 40, 42, 44, 46, + 48, 50, 52, 54, 56, 58, 60, 62, + 64, 66, 68, 70, 72, 74, 76, 78, + 80, +}; + +static encode_aux_threshmatch _vq_auxt__44u7_p9_2 = { + _vq_quantthresh__44u7_p9_2, + _vq_quantmap__44u7_p9_2, + 81, + 81 +}; + +static static_codebook _44u7_p9_2 = { + 1, 81, + _vq_lengthlist__44u7_p9_2, + 1, -525074432, 1611661312, 7, 0, + _vq_quantlist__44u7_p9_2, + NULL, + &_vq_auxt__44u7_p9_2, + NULL, + 0 +}; + + +#endif diff --git a/lib/codebook.c b/lib/codebook.c index 4049f3c1..3b00681d 100644 --- a/lib/codebook.c +++ b/lib/codebook.c @@ -11,7 +11,7 @@ ******************************************************************** function: basic codebook pack/unpack/code/decode operations - last mod: $Id: codebook.c,v 1.31 2001/12/12 09:45:24 xiphmont Exp $ + last mod: $Id: codebook.c,v 1.32 2001/12/16 04:15:46 xiphmont Exp $ ********************************************************************/ @@ -196,7 +196,7 @@ int vorbis_staticbook_unpack(oggpack_buffer *opb,static_codebook *s){ for(i=0;i<s->entries;){ long num=oggpack_read(opb,_ilog(s->entries-i)); if(num==-1)goto _eofout; - for(j=0;j<num;j++,i++) + for(j=0;j<num && i<s->entries;j++,i++) s->lengthlist[i]=length; length++; } diff --git a/lib/mapping0.c b/lib/mapping0.c index 8257e7a3..620ec6e3 100644 --- a/lib/mapping0.c +++ b/lib/mapping0.c @@ -11,7 +11,7 @@ ******************************************************************** function: channel mapping 0 implementation - last mod: $Id: mapping0.c,v 1.38 2001/12/12 09:45:25 xiphmont Exp $ + last mod: $Id: mapping0.c,v 1.39 2001/12/16 04:15:46 xiphmont Exp $ ********************************************************************/ @@ -315,19 +315,6 @@ static int mapping0_forward(vorbis_block *vb,vorbis_look_mapping *l){ long block (run of the mill long block) */ - if(seq%10==0)fprintf(stderr,"%d",seq); - if(!vb->W){ - if(blocktype==BLOCKTYPE_IMPULSE) - fprintf(stderr,"|"); - else - fprintf(stderr,"."); - }else{ - if(blocktype==BLOCKTYPE_TRANSITION) - fprintf(stderr,"-"); - else - fprintf(stderr,"_"); - } - for(i=0;i<vi->channels;i++){ float scale=4.f/n; diff --git a/lib/modes/residue_44.h b/lib/modes/residue_44.h index e5aceb68..951021e6 100644 --- a/lib/modes/residue_44.h +++ b/lib/modes/residue_44.h @@ -11,7 +11,7 @@ ******************************************************************** function: toplevel residue templates for 32/44.1/48kHz - last mod: $Id: residue_44.h,v 1.3 2001/12/14 07:21:29 xiphmont Exp $ + last mod: $Id: residue_44.h,v 1.4 2001/12/16 04:15:56 xiphmont Exp $ ********************************************************************/ @@ -56,6 +56,16 @@ static vorbis_info_residue0 _residue_44_low={ {0}, { 99, -1, -1, -1, -1, 99, 99} }; +/* 26 doesn't cascade well; use 28 instead */ +static vorbis_info_residue0 _residue_44_low_un={ + 0,-1, -1, 8,-1, + {0}, + {-1}, + {9999, 9999, 9999, 9999, 9999, 9999, 9999}, + { .5, 1.5, 2.5, 4.5, 28.5, 1.5, 4.5}, + {0}, + { 99, -1, -1, -1, -1, 99, 99} +}; /* 0 1 2 4 1 2 4 16 42 + 0 0 0 @@ -97,6 +107,17 @@ static vorbis_info_residue0 _residue_44_high={ {0}, { 99, -1, -1, 99, 99, 99, 99, 99, 99} }; +/* 56 doesn't cascade well; use 59 */ +static vorbis_info_residue0 _residue_44_high_un={ + 0,-1, -1, 10,-1, + /* 0 1 2 3 4 5 6 7 8 9 */ + {0}, + {-1}, + {9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999}, + { .5, 8.5, 42.5, 1.5, 2.5, 4.5, 8.5, 16.5, 59.5}, + {0}, + { 99, -1, -1, 99, 99, 99, 99, 99, 99} +}; #include "books/coupled/_44c0_short.vqh" #include "books/coupled/_44c0_long.vqh" @@ -494,7 +515,7 @@ static vorbis_residue_template _residue_template_44_stereo[11]={ {&_huff_book__44c7_short,&_huff_book__44c7_long}, { {{0},{&_44c7_s0_p1_0,&_44c7_s0_p1_1}, {&_44c7_s0_p2_0,&_44c7_s0_p2_1}, - {0,0,&_44c6_s0_p3_0},{0,0,&_44c6_s0_p4_0},{0,0,&_44c6_s0_p5_0}, + {0,0,&_44c7_s0_p3_0},{0,0,&_44c7_s0_p4_0},{0,0,&_44c7_s0_p5_0}, {&_44c7_s0_p6_0,&_44c7_s0_p6_1}, {&_44c7_s0_p7_0,&_44c7_s0_p7_1}, {&_44c7_s0_p8_0,&_44c7_s0_p8_1}, @@ -529,7 +550,7 @@ static vorbis_residue_template _residue_template_44_stereo[11]={ {&_huff_book__44c8_short,&_huff_book__44c8_long}, { {{0},{&_44c8_s0_p1_0,&_44c8_s0_p1_1}, {&_44c8_s0_p2_0,&_44c8_s0_p2_1}, - {0,0,&_44c6_s0_p3_0},{0,0,&_44c6_s0_p4_0},{0,0,&_44c6_s0_p5_0}, + {0,0,&_44c8_s0_p3_0},{0,0,&_44c8_s0_p4_0},{0,0,&_44c8_s0_p5_0}, {&_44c8_s0_p6_0,&_44c8_s0_p6_1}, {&_44c8_s0_p7_0,&_44c8_s0_p7_1}, {&_44c8_s0_p8_0,&_44c8_s0_p8_1}, @@ -563,7 +584,7 @@ static vorbis_residue_template _residue_template_44_stereo[11]={ {&_huff_book__44c9_short,&_huff_book__44c9_long}, { {{0},{&_44c9_s0_p1_0,&_44c9_s0_p1_1}, {&_44c9_s0_p2_0,&_44c9_s0_p2_1}, - {0,0,&_44c6_s0_p3_0},{0,0,&_44c6_s0_p4_0},{0,0,&_44c6_s0_p5_0}, + {0,0,&_44c9_s0_p3_0},{0,0,&_44c9_s0_p4_0},{0,0,&_44c9_s0_p5_0}, {&_44c9_s0_p6_0,&_44c9_s0_p6_1}, {&_44c9_s0_p7_0,&_44c9_s0_p7_1}, {&_44c9_s0_p8_0,&_44c9_s0_p8_1}, @@ -595,12 +616,321 @@ static vorbis_residue_template _residue_template_44_stereo[11]={ }; - - - - - - +#include "books/uncoupled/_44u0_p1_0.vqh" +#include "books/uncoupled/_44u0_p2_0.vqh" +#include "books/uncoupled/_44u0_p3_0.vqh" +#include "books/uncoupled/_44u0_p4_0.vqh" +#include "books/uncoupled/_44u0_p4_1.vqh" +#include "books/uncoupled/_44u0_p5_0.vqh" +#include "books/uncoupled/_44u0_p6_0.vqh" +#include "books/uncoupled/_44u0_p7_0.vqh" +#include "books/uncoupled/_44u0_p7_1.vqh" +#include "books/uncoupled/_44u0_p7_2.vqh" + +#include "books/uncoupled/_44u0_p0_r0.vqh" +#include "books/uncoupled/_44u0_p1_r0.vqh" + +#include "books/uncoupled/_44u0_p0_r1.vqh" +#include "books/uncoupled/_44u0_p1_r1.vqh" + +#include "books/uncoupled/_44u4_p1_0.vqh" +#include "books/uncoupled/_44u4_p2_0.vqh" +#include "books/uncoupled/_44u4_p3_0.vqh" +#include "books/uncoupled/_44u4_p4_0.vqh" +#include "books/uncoupled/_44u4_p5_0.vqh" +#include "books/uncoupled/_44u4_p6_0.vqh" +#include "books/uncoupled/_44u4_p7_0.vqh" +#include "books/uncoupled/_44u4_p7_1.vqh" +#include "books/uncoupled/_44u4_p8_0.vqh" +#include "books/uncoupled/_44u4_p8_1.vqh" +#include "books/uncoupled/_44u4_p9_0.vqh" +#include "books/uncoupled/_44u4_p9_1.vqh" +#include "books/uncoupled/_44u4_p9_2.vqh" + +#include "books/uncoupled/_44u4_p0_r0.vqh" +#include "books/uncoupled/_44u4_p1_r0.vqh" + +#include "books/uncoupled/_44u4_p0_r1.vqh" +#include "books/uncoupled/_44u4_p1_r1.vqh" + +#include "books/uncoupled/_44u7_p1_0.vqh" +#include "books/uncoupled/_44u7_p2_0.vqh" +#include "books/uncoupled/_44u7_p2_1.vqh" +#include "books/uncoupled/_44u7_p3_0.vqh" +#include "books/uncoupled/_44u7_p4_0.vqh" +#include "books/uncoupled/_44u7_p5_0.vqh" +#include "books/uncoupled/_44u7_p6_0.vqh" +#include "books/uncoupled/_44u7_p7_0.vqh" +#include "books/uncoupled/_44u7_p7_1.vqh" +#include "books/uncoupled/_44u7_p8_0.vqh" +#include "books/uncoupled/_44u7_p8_1.vqh" +#include "books/uncoupled/_44u7_p9_0.vqh" +#include "books/uncoupled/_44u7_p9_1.vqh" +#include "books/uncoupled/_44u7_p9_2.vqh" + +#include "books/uncoupled/_44u7_p0_r0.vqh" +#include "books/uncoupled/_44u7_p1_r0.vqh" + +#include "books/uncoupled/_44u7_p0_r1.vqh" +#include "books/uncoupled/_44u7_p1_r1.vqh" + + +static vorbis_residue_template _residue_template_44_uncoupled[11]={ + /* mode 0; 40/c-ish */ + {{&_residue_44_low_un, &_residue_44_low_un}, + {&_huff_book__44c0_short,&_huff_book__44c0_long}, + { {{0}, + {0,0,&_44u0_p1_0}, + {0,0,&_44u0_p2_0}, + {0,0,&_44u0_p3_0}, + {&_44u0_p4_0,&_44u0_p4_1}, + {0,0,&_44u0_p5_0}, + {0,0,&_44u0_p6_0}, + {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u0_p0_r0,&_44u0_p0_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}}, + } + }, + /* mode 1; 50-ish */ + {{&_residue_44_low_un, &_residue_44_low_un}, + {&_huff_book__44c1_short,&_huff_book__44c1_long}, + { {{0}, + {0,0,&_44u0_p1_0}, + {0,0,&_44u0_p2_0}, + {0,0,&_44u0_p3_0}, + {&_44u0_p4_0,&_44u0_p4_1}, + {0,0,&_44u0_p5_0}, + {0,0,&_44u0_p6_0}, + {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u0_p0_r0,&_44u0_p0_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}}, + } + }, + /* mode 2; 60-ish */ + {{&_residue_44_low_un, &_residue_44_low_un}, + {&_huff_book__44c2_short,&_huff_book__44c2_long}, + { {{0}, + {0,0,&_44u0_p1_0}, + {0,0,&_44u0_p2_0}, + {0,0,&_44u0_p3_0}, + {&_44u0_p4_0,&_44u0_p4_1}, + {0,0,&_44u0_p5_0}, + {0,0,&_44u0_p6_0}, + {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u0_p0_r0,&_44u0_p0_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}}, + } + }, + /* mode 3; 70-ish */ + {{&_residue_44_low_un, &_residue_44_low_un}, + {&_huff_book__44c3_short,&_huff_book__44c3_long}, + { {{0}, + {0,0,&_44u0_p1_0}, + {0,0,&_44u0_p2_0}, + {0,0,&_44u0_p3_0}, + {&_44u0_p4_0,&_44u0_p4_1}, + {0,0,&_44u0_p5_0}, + {0,0,&_44u0_p6_0}, + {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u0_p0_r0,&_44u0_p0_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}, + {&_44u0_p1_r0,&_44u0_p1_r1}}, + } + }, + /* mode 4; 80-ish */ + {{&_residue_44_mid, &_residue_44_mid}, + {&_huff_book__44c4_short,&_huff_book__44c4_long}, + { {{0}, + {0,0,&_44u4_p1_0}, + {0,0,&_44u4_p2_0}, + {0,0,&_44u4_p3_0}, + {0,0,&_44u4_p4_0}, + {0,0,&_44u4_p5_0}, + {0,0,&_44u4_p6_0}, + {&_44u4_p7_0,&_44u4_p7_1}, + {&_44u4_p8_0,&_44u4_p8_1}, + {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u4_p0_r0,&_44u4_p0_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}}, + } + }, + /* mode 5; 90-ish */ + {{&_residue_44_mid, &_residue_44_mid}, + {&_huff_book__44c5_short,&_huff_book__44c5_long}, + { {{0}, + {0,0,&_44u4_p1_0}, + {0,0,&_44u4_p2_0}, + {0,0,&_44u4_p3_0}, + {0,0,&_44u4_p4_0}, + {0,0,&_44u4_p5_0}, + {0,0,&_44u4_p6_0}, + {&_44u4_p7_0,&_44u4_p7_1}, + {&_44u4_p8_0,&_44u4_p8_1}, + {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u4_p0_r0,&_44u4_p0_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}}, + } + }, + /* mode 6; 100-ish */ + {{&_residue_44_mid, &_residue_44_mid}, + {&_huff_book__44c6_short,&_huff_book__44c6_long}, + { {{0}, + {0,0,&_44u4_p1_0}, + {0,0,&_44u4_p2_0}, + {0,0,&_44u4_p3_0}, + {0,0,&_44u4_p4_0}, + {0,0,&_44u4_p5_0}, + {0,0,&_44u4_p6_0}, + {&_44u4_p7_0,&_44u4_p7_1}, + {&_44u4_p8_0,&_44u4_p8_1}, + {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u4_p0_r0,&_44u4_p0_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}, + {&_44u4_p1_r0,&_44u4_p1_r1}}, + } + }, + /* mode 7 */ + {{&_residue_44_high_un, &_residue_44_high_un}, + {&_huff_book__44c7_short,&_huff_book__44c7_long}, + { {{0}, + {0,0,&_44u7_p1_0}, + {&_44u7_p2_0,&_44u7_p2_1}, + {0,0,&_44u7_p3_0}, + {0,0,&_44u7_p4_0}, + {0,0,&_44u7_p5_0}, + {0,0,&_44u7_p6_0}, + {&_44u7_p7_0,&_44u7_p7_1}, + {&_44u7_p8_0,&_44u7_p8_1}, + {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u7_p0_r0,&_44u7_p0_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}}, + } + }, + /* mode 8 */ + {{&_residue_44_high_un, &_residue_44_high_un}, + {&_huff_book__44c8_short,&_huff_book__44c8_long}, + { {{0}, + {0,0,&_44u7_p1_0}, + {&_44u7_p2_0,&_44u7_p2_1}, + {0,0,&_44u7_p3_0}, + {0,0,&_44u7_p4_0}, + {0,0,&_44u7_p5_0}, + {0,0,&_44u7_p6_0}, + {&_44u7_p7_0,&_44u7_p7_1}, + {&_44u7_p8_0,&_44u7_p8_1}, + {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u7_p0_r0,&_44u7_p0_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}}, + } + }, + /* mode 9 */ + {{&_residue_44_high_un, &_residue_44_high_un}, + {&_huff_book__44c9_short,&_huff_book__44c9_long}, + { {{0}, + {0,0,&_44u7_p1_0}, + {&_44u7_p2_0,&_44u7_p2_1}, + {0,0,&_44u7_p3_0}, + {0,0,&_44u7_p4_0}, + {0,0,&_44u7_p5_0}, + {0,0,&_44u7_p6_0}, + {&_44u7_p7_0,&_44u7_p7_1}, + {&_44u7_p8_0,&_44u7_p8_1}, + {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}}, + }, + { {0} }, /* no stereo backfill in uncoupled modes */ + { {{&_44u7_p0_r0,&_44u7_p0_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}, + {&_44u7_p1_r0,&_44u7_p1_r1}}, + } + }, +}; @@ -11,7 +11,7 @@ ******************************************************************** function: residue backend 0, 1 and 2 implementation - last mod: $Id: res0.c,v 1.38 2001/12/12 09:45:25 xiphmont Exp $ + last mod: $Id: res0.c,v 1.39 2001/12/16 04:15:47 xiphmont Exp $ ********************************************************************/ @@ -23,7 +23,6 @@ #include <stdlib.h> #include <string.h> #include <math.h> -#include <stdio.h> #include <ogg/ogg.h> #include "vorbis/codec.h" #include "codec_internal.h" @@ -32,6 +31,10 @@ #include "misc.h" #include "os.h" +#ifdef TRAIN_RES +#include <stdio.h> +#endif + typedef struct { vorbis_info_residue0 *info; int map; @@ -51,6 +54,13 @@ typedef struct { int qoffsets[BITTRACK_DIVISOR+1]; +#ifdef TRAIN_RES + long *training_data[8][64]; + int longp; + double tmin; + double tmax; +#endif + } vorbis_look_residue0; vorbis_info_residue *res0_copy_info(vorbis_info_residue *vr){ @@ -74,10 +84,37 @@ void res0_free_look(vorbis_look_residue *i){ vorbis_look_residue0 *look=(vorbis_look_residue0 *)i; +#ifdef TRAIN_RES + { + int j,k,l; + for(j=0;j<look->parts;j++){ + for(k=0;k<8;k++) + if(look->training_data[k][j]){ + char buffer[80]; + FILE *of; + codebook *statebook=look->partbooks[j][k]; + + /* long and short into the same bucket by current convention */ + sprintf(buffer,"res_part%d_pass%d.vqd",j,k); + of=fopen(buffer,"a"); + + for(l=0;l<statebook->entries;l++) + fprintf(of,"%d:%ld\n",l,look->training_data[k][j][l]); + + fclose(of); + + _ogg_free(look->training_data[k][j]); + } + } + } + fprintf(stderr,"min/max residue: %g::%g\n",look->tmin,look->tmax); + fprintf(stderr,"residue bit usage %f:%f (%f total)\n", (float)look->phrasebits/look->frames, (float)look->postbits/look->frames, (float)(look->postbits+look->phrasebits)/look->frames); +#endif + /*vorbis_info_residue0 *info=look->info; @@ -107,6 +144,7 @@ void res0_free_look(vorbis_look_residue *i){ for(j=0;j<look->partvals;j++) _ogg_free(look->decodemap[j]); _ogg_free(look->decodemap); + memset(look,0,sizeof(*look)); _ogg_free(look); } @@ -218,8 +256,13 @@ vorbis_look_residue *res0_look(vorbis_dsp_state *vd,vorbis_info_mode *vm, if(stages>maxstage)maxstage=stages; look->partbooks[j]=_ogg_calloc(stages,sizeof(*look->partbooks[j])); for(k=0;k<stages;k++) - if(info->secondstages[j]&(1<<k)) + if(info->secondstages[j]&(1<<k)){ look->partbooks[j][k]=be->fullbooks+info->booklist[acc++]; +#ifdef TRAIN_RES + look->training_data[k][j]=calloc(look->partbooks[j][k]->entries, + sizeof(***look->training_data)); +#endif + } } } @@ -325,7 +368,8 @@ static int _testhack(float *vec,int n,vorbis_look_residue0 *look, } static int _interleaved_encodepart(oggpack_buffer *opb,float *vec, int n, - codebook *book,vorbis_look_residue0 *look){ + codebook *book,vorbis_look_residue0 *look, + long *acc){ int i,bits=0; int dim=book->dim; int step=n/dim; @@ -333,6 +377,10 @@ static int _interleaved_encodepart(oggpack_buffer *opb,float *vec, int n, for(i=0;i<step;i++){ int entry=vorbis_book_besterror(book,vec+i,step,0); +#ifdef TRAIN_RES + acc[entry]++; +#endif + bits+=vorbis_book_encode(book,entry,opb); } @@ -340,7 +388,8 @@ static int _interleaved_encodepart(oggpack_buffer *opb,float *vec, int n, } static int _encodepart(oggpack_buffer *opb,float *vec, int n, - codebook *book,vorbis_look_residue0 *look){ + codebook *book,vorbis_look_residue0 *look, + long *acc){ int i,bits=0; int dim=book->dim; int step=n/dim; @@ -348,6 +397,10 @@ static int _encodepart(oggpack_buffer *opb,float *vec, int n, for(i=0;i<step;i++){ int entry=vorbis_book_besterror(book,vec+i*dim,1,0); +#ifdef TRAIN_RES + acc[entry]++; +#endif + bits+=vorbis_book_encode(book,entry,opb); } @@ -390,6 +443,7 @@ static long **_01class(vorbis_block *vb,vorbis_look_residue *vl, } #ifdef TRAIN_RES + look->longp=vb->W; { FILE *of; char buffer[80]; @@ -451,6 +505,7 @@ static long **_2class(vorbis_block *vb,vorbis_look_residue *vl, } #ifdef TRAIN_RES + look->longp=vb->W; sprintf(buffer,"resaux_%s.vqd",(vb->mode?"long":"short")); of=fopen(buffer,"a"); for(i=0;i<partvals;i++) @@ -468,7 +523,7 @@ static int _01forward(vorbis_block *vb,vorbis_look_residue *vl, float **in,int ch, int pass,long **partword, int (*encode)(oggpack_buffer *,float *,int, - codebook *,vorbis_look_residue0 *), + codebook *,vorbis_look_residue0 *,long *), ogg_uint32_t *stats){ long i,j,k,s; vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl; @@ -490,24 +545,12 @@ static int _01forward(vorbis_block *vb,vorbis_look_residue *vl, long resvals[128]; #ifdef TRAIN_RES - FILE *of; - char buffer[80]; - int m; - - for(i=0;i<ch;i++){ - for(j=0;j<partvals;j++){ - int class=partword[i][j]; - float *ptr=in[i]+info->begin+j*samples_per_partition; - sprintf(buffer,"res_%s_part%d_it%d.vqd",(vb->mode?"long":"short"), - class,pass); - of=fopen(buffer,"a"); - for(k=0;k<samples_per_partition;k++) - fprintf(of,"%.3f, ",ptr[k]); - fprintf(of,"\n"); - fclose(of); + for(i=0;i<ch;i++) + for(j=info->begin;j<info->end;j++){ + if(in[i][j]>look->tmax)look->tmax=in[i][j]; + if(in[i][j]<look->tmin)look->tmin=in[i][j]; } - } -#endif +#endif memset(resbits,0,sizeof(resbits)); memset(resvals,0,sizeof(resvals)); @@ -538,9 +581,10 @@ static int _01forward(vorbis_block *vb,vorbis_look_residue *vl, /* training hack */ if(val<look->phrasebook->entries) ret=vorbis_book_encode(look->phrasebook,val,&vb->opb); +#ifdef TRAIN_RES else fprintf(stderr,"!"); - +#endif look->phrasebits+=ret; } @@ -558,8 +602,17 @@ static int _01forward(vorbis_block *vb,vorbis_look_residue *vl, if(info->secondstages[partword[j][i]]&(1<<s)){ codebook *statebook=look->partbooks[partword[j][i]][s]; if(statebook){ - int ret=encode(&vb->opb,in[j]+offset,samples_per_partition, - statebook,look); + int fn=-1; + int ret; + long *accumulator=NULL; + +#ifdef TRAIN_RES + accumulator=look->training_data[s][partword[j][i]]; +#endif + + ret=encode(&vb->opb,in[j]+offset,samples_per_partition, + statebook,look,accumulator); + look->postbits+=ret; resbits[partword[j][i]]+=ret; } @@ -792,12 +845,8 @@ int res2_forward(vorbis_block *vb,vorbis_look_residue *vl, float *pcm=in[i]; float *sofar=out[i]; for(j=0,k=i;j<n;j++,k+=ch) -#ifdef TRAIN_RES - sofar[j]+=pcm[j]; /* when training, our previous stage books - might be dummies */ -#else sofar[j]+=pcm[j]-work[k]; -#endif + } return(ret); }else{ diff --git a/lib/vorbisenc.c b/lib/vorbisenc.c index eeba9415..f8db212e 100644 --- a/lib/vorbisenc.c +++ b/lib/vorbisenc.c @@ -11,7 +11,7 @@ ******************************************************************** function: simple programmatic interface for encoder mode setup - last mod: $Id: vorbisenc.c,v 1.22 2001/12/14 09:37:58 xiphmont Exp $ + last mod: $Id: vorbisenc.c,v 1.23 2001/12/16 04:15:47 xiphmont Exp $ ********************************************************************/ @@ -356,6 +356,15 @@ static int vorbis_encode_ath_init(vorbis_info *vi,double q,int block, return(0); } + +static int book_dup_or_new(codec_setup_info *ci,static_codebook *book){ + int i; + for(i=0;i<ci->books;i++) + if(ci->book_param[i]==book)return(i); + + return(ci->books++); +} + static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, int coupled_p, int stereo_backfill_p, @@ -365,11 +374,11 @@ static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, int i,iq=q*10; int a[11]; double c[11]; - int n; + int n,k; int partition_position; int res_position; int iterations=1; - int amplitude_select; + int amplitude_select=0; codec_setup_info *ci=vi->codec_setup; vorbis_info_residue0 *r; @@ -420,9 +429,16 @@ static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, for(i=0;i<r->partitions;i++) if(r->blimit[i]<0)r->blimit[i]=partition_position; + + for(i=0;i<r->partitions;i++) + for(k=0;k<3;k++) + if(in[iq].books_base[a[iq]][i][k]) + r->secondstages[i]|=(1<<k); + + ci->passlimit[0]=3; + if(coupled_p){ - int k; vorbis_info_mapping0 *map=ci->map_param[block]; map->coupling_steps=1; @@ -442,13 +458,6 @@ static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, psy->couple_pass[0].couple_pass[1].amppost_point=stereo_threshholds[a[iq]]; amplitude_select=a[iq]; - for(i=0;i<r->partitions;i++) - for(k=0;k<3;k++) - if(in[iq].books_base[a[iq]][i][k]) - r->secondstages[i]|=(1<<k); - - ci->passlimit[0]=3; - if(stereo_backfill_p && a[iq]){ memcpy(psy->couple_pass+iterations,psy->couple_pass+iterations-1, sizeof(*psy->couple_pass)); @@ -485,13 +494,12 @@ static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, ci->coupling_passes=iterations; }else{ - ci->passlimit[0]=3; if(residue_backfill_p){ for(i=0;i<r->partitions;i++){ - if(in[iq].books_residue_backfill[amplitude_select][i][0]) + if(in[iq].books_residue_backfill[0][i][0]) r->secondstages[i]|=8; - if(in[iq].books_residue_backfill[amplitude_select][i][1]) + if(in[iq].books_residue_backfill[0][i][1]) r->secondstages[i]|=16; } ci->passlimit[1]=4; @@ -513,19 +521,23 @@ static int vorbis_encode_residue_init(vorbis_info *vi,double q,int block, for(i=0;i<r->partitions;i++){ for(k=0;k<3;k++){ if(in[iq].books_base[a[iq]][i][k]){ - r->booklist[booklist++]=ci->books; - ci->book_param[ci->books++]=in[iq].books_base[a[iq]][i][k]; + int bookid=book_dup_or_new(ci,in[iq].books_base[a[iq]][i][k]); + r->booklist[booklist++]=bookid; + ci->book_param[bookid]=in[iq].books_base[a[iq]][i][k]; + } } if(coupled_p && stereo_backfill_p && a[iq] && in[iq].books_stereo_backfill[a[iq]][i]){ - r->booklist[booklist++]=ci->books; - ci->book_param[ci->books++]=in[iq].books_stereo_backfill[a[iq]][i]; + int bookid=book_dup_or_new(ci,in[iq].books_stereo_backfill[a[iq]][i]); + r->booklist[booklist++]=bookid; + ci->book_param[bookid]=in[iq].books_stereo_backfill[a[iq]][i]; } - if(residue_backfill_p) + if(residue_backfill_p){ for(k=0;k<2;k++){ if(in[iq].books_residue_backfill[amplitude_select][i][k]){ - r->booklist[booklist++]=ci->books; - ci->book_param[ci->books++]=in[iq].books_residue_backfill[amplitude_select][i][k]; + int bookid=book_dup_or_new(ci,in[iq].books_residue_backfill[amplitude_select][i][k]); + r->booklist[booklist++]=bookid; + ci->book_param[bookid]=in[iq].books_residue_backfill[amplitude_select][i][k]; } } } @@ -686,10 +698,32 @@ int vorbis_encode_init_vbr(vorbis_info *vi, default: /* setup specific to non-stereo (mono or uncoupled polyphonic) coupling */ + + /* unmanaged, one iteration residue setup */ + ret|=vorbis_encode_residue_init(vi,base_quality,0, + 0, /* uncoupled */ + 0, /* no mid stereo backfill */ + 0, /* residue backfill */ + _residue_template_44_uncoupled, + 0,0,0,0,0,0,0,0,0,0,0, + 4.,4.,4.,6.,6.,6.,6.,4.,4.,4.,4.); + + ret|=vorbis_encode_residue_init(vi,base_quality,1, + 0, /* uncoupled */ + 0, /* no mid stereo backfill */ + 0, /* residue backfill */ + _residue_template_44_uncoupled, + 0,0,0,0,0,0,0,0,0,0,0, + 4.,4.,4.,6.,6.,6.,6.,4.,4.,4.,4.); - - return(OV_EIMPL); + ret|=vorbis_encode_lowpass_init(vi,base_quality,0, + 15.1,15.8,16.5,17.9,20.5, + 999.,999.,999.,999.,999.,999.); + ret|=vorbis_encode_lowpass_init(vi,base_quality,1, + 15.1,15.8,16.5,17.9,20.5, + 999.,999.,999.,999.,999.,999.); + return(ret); break; } return(0); |