From 68be5b6549294fffc473c8c37c47745710441bcf Mon Sep 17 00:00:00 2001 From: Monty Date: Tue, 15 Aug 2000 11:53:18 +0000 Subject: [PATCH] Add mode B svn path=/trunk/vorbis/; revision=588 --- examples/Makefile.in | 4 +- examples/encoder_example.c | 6 +- include/vorbis/book/res0_1024a_160_1.vqh | 63 +++++++++ include/vorbis/book/res0_1024a_160_2.vqh | 63 +++++++++ include/vorbis/book/res0_1024a_160_3.vqh | 99 ++++++++++++++ include/vorbis/book/res0_1024a_160_4.vqh | 99 ++++++++++++++ include/vorbis/book/res0_1024a_160_5.vqh | 212 ++++++++++++++++++++++++++++++ include/vorbis/book/res0_1024a_160_6.vqh | 212 ++++++++++++++++++++++++++++++ include/vorbis/book/res0_1024a_160_7.vqh | 75 +++++++++++ include/vorbis/book/res0_1024a_160_8.vqh | 86 ++++++++++++ include/vorbis/book/res0_1024a_160_9.vqh | 115 ++++++++++++++++ include/vorbis/book/res0_128a_160_1.vqh | 63 +++++++++ include/vorbis/book/res0_128a_160_2.vqh | 99 ++++++++++++++ include/vorbis/book/res0_128a_160_3.vqh | 212 ++++++++++++++++++++++++++++++ include/vorbis/book/res0_128a_160_4.vqh | 70 ++++++++++ include/vorbis/book/res0_128a_160_5.vqh | 115 ++++++++++++++++ include/vorbis/book/resaux0_1024a_160.vqh | 42 ++++++ include/vorbis/book/resaux0_128a_160.vqh | 116 ++++++++++++++++ include/vorbis/mode_B.h | 205 +++++++++++++++++++++++++++++ include/vorbis/modes.h | 4 +- lib/psy.c | 4 +- 21 files changed, 1956 insertions(+), 8 deletions(-) create mode 100644 include/vorbis/book/res0_1024a_160_1.vqh create mode 100644 include/vorbis/book/res0_1024a_160_2.vqh create mode 100644 include/vorbis/book/res0_1024a_160_3.vqh create mode 100644 include/vorbis/book/res0_1024a_160_4.vqh create mode 100644 include/vorbis/book/res0_1024a_160_5.vqh create mode 100644 include/vorbis/book/res0_1024a_160_6.vqh create mode 100644 include/vorbis/book/res0_1024a_160_7.vqh create mode 100644 include/vorbis/book/res0_1024a_160_8.vqh create mode 100644 include/vorbis/book/res0_1024a_160_9.vqh create mode 100644 include/vorbis/book/res0_128a_160_1.vqh create mode 100644 include/vorbis/book/res0_128a_160_2.vqh create mode 100644 include/vorbis/book/res0_128a_160_3.vqh create mode 100644 include/vorbis/book/res0_128a_160_4.vqh create mode 100644 include/vorbis/book/res0_128a_160_5.vqh create mode 100644 include/vorbis/book/resaux0_1024a_160.vqh create mode 100644 include/vorbis/book/resaux0_128a_160.vqh create mode 100644 include/vorbis/mode_B.h diff --git a/examples/Makefile.in b/examples/Makefile.in index 5960add..8683e27 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -1,6 +1,6 @@ # vorbis makefile configured for use with gcc on any platform -# $Id: Makefile.in,v 1.12 2000/07/07 01:20:46 xiphmont Exp $ +# $Id: Makefile.in,v 1.13 2000/08/15 11:53:18 xiphmont Exp $ ############################################################################### # # @@ -46,7 +46,7 @@ profile: target: $(BINFILES) -encoder_example.o: ../include/vorbis/modes.h +encoder_example.o: ../include/vorbis/modes.h encoder_example: $(OFILES) ../lib/libvorbis.a $(CC) $(CFLAGS) $(LDFLAGS) encoder_example.o ../lib/libvorbis.a -o \ diff --git a/examples/encoder_example.c b/examples/encoder_example.c index 4ef4d30..1e179ae 100644 --- a/examples/encoder_example.c +++ b/examples/encoder_example.c @@ -12,7 +12,7 @@ ******************************************************************** function: simple example encoder - last mod: $Id: encoder_example.c,v 1.11 2000/08/15 09:45:47 xiphmont Exp $ + last mod: $Id: encoder_example.c,v 1.12 2000/08/15 11:53:18 xiphmont Exp $ ********************************************************************/ @@ -25,7 +25,7 @@ #include #include #include -#include "vorbis/mode_E.h" +#include "vorbis/mode_C.h" #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */ #include @@ -79,7 +79,7 @@ int main(){ /* choose an encoding mode */ /* (mode 0: 44kHz stereo uncoupled, roughly 128kbps VBR) */ - vi=&info_E; + vi=&info_C; /* add a comment */ vorbis_comment_init(&vc); diff --git a/include/vorbis/book/res0_1024a_160_1.vqh b/include/vorbis/book/res0_1024a_160_1.vqh new file mode 100644 index 0000000..74e5e31 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_1.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_1_VQH_ +#define _V_res0_1024a_160_1_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_1[] = { + 1, + 2, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_1[] = { + 1, 4, 4, 4, 7, 7, 4, 7, 7, 5, 8, 8, 8,11,11, 8, + 11,11, 5, 8, 8, 8,11,11, 8,11,11, 5, 8, 8, 8,11, + 11, 8,11,11, 8,11,11,11,15,15,11,15,15, 8,11,11, + 11,15,15,12,15,15, 5, 8, 8, 8,11,11, 8,11,11, 8, + 11,11,11,15,15,11,15,15, 8,11,11,12,15,15,11,15, + 15, +}; + +static double _vq_quantthresh_res0_1024a_160_1[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap_res0_1024a_160_1[] = { + 2, 0, 1, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_1 = { + _vq_quantthresh_res0_1024a_160_1, + _vq_quantmap_res0_1024a_160_1, + 3, + 3 +}; + +static static_codebook _vq_book_res0_1024a_160_1 = { + 4, 81, + _vq_lengthlist_res0_1024a_160_1, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res0_1024a_160_1, + NULL, + &_vq_auxt_res0_1024a_160_1, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_2.vqh b/include/vorbis/book/res0_1024a_160_2.vqh new file mode 100644 index 0000000..493fc7c --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_2.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_2_VQH_ +#define _V_res0_1024a_160_2_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_2[] = { + 1, + 2, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_2[] = { + 3, 4, 5, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 7, 7, 6, + 7, 8, 5, 6, 6, 6, 7, 7, 6, 7, 7, 5, 6, 6, 6, 8, + 8, 6, 7, 7, 6, 8, 7, 7, 9, 9, 8, 9, 9, 6, 8, 8, + 7, 9, 9, 8, 9, 9, 5, 6, 6, 6, 7, 7, 6, 8, 8, 6, + 8, 8, 8, 9, 9, 8, 9, 9, 6, 7, 8, 8, 9, 9, 7, 9, + 9, +}; + +static double _vq_quantthresh_res0_1024a_160_2[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap_res0_1024a_160_2[] = { + 2, 0, 1, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_2 = { + _vq_quantthresh_res0_1024a_160_2, + _vq_quantmap_res0_1024a_160_2, + 3, + 3 +}; + +static static_codebook _vq_book_res0_1024a_160_2 = { + 4, 81, + _vq_lengthlist_res0_1024a_160_2, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res0_1024a_160_2, + NULL, + &_vq_auxt_res0_1024a_160_2, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_3.vqh b/include/vorbis/book/res0_1024a_160_3.vqh new file mode 100644 index 0000000..d5d0510 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_3.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_3_VQH_ +#define _V_res0_1024a_160_3_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_3[] = { + 2, + 3, + 4, + 1, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_3[] = { + 2, 5, 7, 5, 7, 5, 6, 9, 7, 9, 7, 9,13, 9,13, 5, + 6, 9, 7, 9, 7, 9,13, 9,13, 5, 7, 9, 7, 9, 7, 8, + 11, 8,11, 9,11,15,11,15, 7, 8,11, 8,11,10,11,14, + 11,15, 7, 9,13, 9,13, 9,12,15,11,15,13,15,18,15, + 18,10,11,15,12,15,13,16,19,16,18, 5, 7, 9, 7, 9, + 7, 8,11, 8,11,10,11,15,11,15, 7, 9,11, 8,11,10, + 11,15,11,15, 7, 9,13, 9,13,10,11,15,11,15,13,16, + 18,15,18,10,11,15,12,15,13,15,19,15,18, 5, 7, 9, + 7, 9, 7, 8,11, 9,11, 9,11,15,11,15, 7, 9,11, 9, + 11, 9,11,15,11,15, 7, 9,11, 9,11, 8,10,13,10,13, + 11,13,17,13,17, 9,11,13,10,13,12,14,18,13,17, 9, + 11,15,12,15,11,13,17,13,17,15,17,19,18, 0,12,14, + 18,13,17,16,17, 0,18,20, 7, 9,11, 9,11, 9,10,13, + 10,13,11,13,18,13,16, 9,11,13,11,13,11,13,19,13, + 17, 9,11,15,12,15,12,14,17,13,18,15,17,20,17,19, + 12,13,17,14,17,16,18,19,18, 0, 7, 9,13, 9,13, 9, + 12,15,11,15,13,16, 0,15,19, 9,12,15,12,15,13,15, + 19,15,20, 9,11,16,11,15,11,13,18,13,19,15,17, 0, + 17, 0,11,14,18,14,17,15,17, 0,17, 0,13,15,20,15, + 19,15,18,19,17,20,19,19, 0,20, 0,15,18,19,18,20, + 18, 0, 0, 0,20, 9,12,15,11,15,11,13,18,13,16,15, + 18, 0,17, 0,12,13,18,14,18,16,17, 0,17, 0,13,16, + 18,15,19,15,18, 0,18, 0,18, 0, 0,20, 0,16,18, 0, + 19, 0,19, 0, 0,20, 0, 5, 7, 9, 7, 9, 7, 8,11, 9, + 11, 9,11,15,12,15, 7, 9,11, 9,11, 9,12,15,11,15, + 7, 9,11, 9,11, 9,10,13,10,13,11,13,17,13,17, 9, + 10,13,11,13,11,13,17,14,18, 9,12,16,12,15,12,14, + 17,13,18,15,18, 0,17, 0,12,13,18,14,17,15,17, 0, + 17,20, 7, 9,11, 9,11, 9,10,13,11,13,12,13,17,14, + 17, 9,11,13,10,13,12,13,17,13,16,10,11,15,12,16, + 12,14,17,14,17,15,18,20,18, 0,11,14,17,14,18,16, + 18,20,17,20, 7, 9,13,10,13, 9,11,15,11,15,13,15, + 19,15, 0, 9,11,16,12,16,13,16, 0,16,18, 9,11,15, + 11,16,11,13,18,13,18,16,18, 0,17, 0,11,13,17,14, + 17,15,18,20,17, 0,13,16,20,16,18,15,19, 0,18, 0, + 19, 0, 0, 0, 0,15,17,20,16, 0,19,19, 0,20, 0, 9, + 11,15,11,16,11,13,17,14,19,16,17,20,18, 0,11,14, + 17,13,17,15,17,20,18,20,13,15,18,16,20,15,17, 0, + 18, 0, 0,20, 0, 0, 0,15,18, 0,17,19,19,20, 0,20, + 20, +}; + +static double _vq_quantthresh_res0_1024a_160_3[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap_res0_1024a_160_3[] = { + 4, 3, 0, 1, 2, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_3 = { + _vq_quantthresh_res0_1024a_160_3, + _vq_quantmap_res0_1024a_160_3, + 5, + 5 +}; + +static static_codebook _vq_book_res0_1024a_160_3 = { + 4, 625, + _vq_lengthlist_res0_1024a_160_3, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist_res0_1024a_160_3, + NULL, + &_vq_auxt_res0_1024a_160_3, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_4.vqh b/include/vorbis/book/res0_1024a_160_4.vqh new file mode 100644 index 0000000..685c260 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_4.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_4_VQH_ +#define _V_res0_1024a_160_4_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_4[] = { + 2, + 3, + 4, + 1, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_4[] = { + 6, 6, 8, 6, 8, 6, 7, 9, 7, 9, 8, 9,11, 9,11, 6, + 7, 9, 7, 9, 8, 9,11, 9,11, 6, 7, 9, 7, 9, 7, 7, + 9, 7, 9, 9, 9,11,10,12, 7, 7, 9, 7, 9, 9,10,11, + 10,12, 8, 9,11, 9,11, 9,10,12,10,12,11,12,14,12, + 14, 9,10,12,10,12,11,12,14,12,14, 6, 7, 9, 7, 9, + 7, 7, 9, 7, 9, 9,10,12, 9,11, 7, 7,10, 7, 9, 9, + 10,12, 9,11, 8, 9,11, 9,11, 9,10,12,10,12,11,12, + 14,12,14, 9,10,12,10,12,11,12,14,12,13, 6, 7, 9, + 7, 9, 7, 7, 9, 7,10, 9,10,12,10,12, 7, 7, 9, 7, + 10, 9,10,12,10,12, 7, 7,10, 7, 9, 7, 8,10, 8,10, + 10,10,12,10,12, 7, 8,10, 8,10,10,10,12,10,12, 9, + 10,12,10,12, 9,10,12,10,13,12,12,14,12,14,10,10, + 12,10,12,12,12,14,12,14, 7, 7, 9, 7,10, 7, 8,10, + 8,10,10,10,12,10,12, 7, 8,10, 8,10,10,10,12,10, + 12, 9,10,12,10,12,10,10,12,10,12,12,12,14,12,14, + 10,10,12,10,13,12,13,14,13,14, 8, 9,11, 9,11, 9, + 10,12,10,12,11,12,14,12,14, 9,10,12,10,12,11,12, + 14,12,14, 9,10,12,10,12,10,10,12,10,12,12,12,14, + 13,15,10,10,12,10,12,12,13,14,13,14,11,12,14,12, + 14,12,12,14,12,15,14,14,16,15,16,12,12,15,12,14, + 14,15,17,15,16, 9,10,12,10,12,10,10,12,10,12,12, + 12,15,12,14,10,10,12,10,12,12,12,14,12,14,11,12, + 14,12,14,12,12,14,12,14,13,14,17,14,16,12,12,14, + 12,15,14,15,16,14,16, 6, 7, 9, 7, 9, 7, 7, 9, 7, + 10, 9,10,12,10,12, 7, 7,10, 7,10, 9,10,12,10,12, + 7, 7,10, 7,10, 7, 8,10, 8,10,10,10,12,10,12, 7, + 8,10, 8,10,10,10,12,10,13, 9,10,12,10,12,10,10, + 12,10,12,12,12,14,12,14,10,10,12,10,12,12,12,14, + 12,15, 7, 7,10, 7,10, 7, 8,10, 8,10,10,10,12,10, + 12, 7, 8,10, 8,10,10,10,12,10,12, 9,10,12,10,12, + 10,10,12,10,13,12,13,14,13,14,10,10,13,10,12,12, + 12,14,12,14, 8, 9,11, 9,11, 9,10,12,10,12,11,12, + 14,12,14, 9,10,12,10,12,11,12,14,12,14, 9,10,12, + 10,12,10,10,13,10,12,12,13,14,12,15,10,10,12,10, + 13,12,12,14,13,14,11,12,14,12,14,12,13,14,12,14, + 13,15,16,14,16,12,12,14,13,14,14,14,16,15,16, 9, + 10,12,10,12,10,10,12,10,13,12,12,14,12,15,10,10, + 13,10,12,12,13,15,13,14,11,12,14,12,14,12,12,14, + 13,15,14,14,17,15,16,12,12,14,12,14,14,14,17,14, + 16, +}; + +static double _vq_quantthresh_res0_1024a_160_4[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap_res0_1024a_160_4[] = { + 4, 3, 0, 1, 2, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_4 = { + _vq_quantthresh_res0_1024a_160_4, + _vq_quantmap_res0_1024a_160_4, + 5, + 5 +}; + +static static_codebook _vq_book_res0_1024a_160_4 = { + 4, 625, + _vq_lengthlist_res0_1024a_160_4, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist_res0_1024a_160_4, + NULL, + &_vq_auxt_res0_1024a_160_4, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_5.vqh b/include/vorbis/book/res0_1024a_160_5.vqh new file mode 100644 index 0000000..8e4db71 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_5.vqh @@ -0,0 +1,212 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_5_VQH_ +#define _V_res0_1024a_160_5_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_5[] = { + 3, + 4, + 5, + 6, + 2, + 1, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_5[] = { + 4, 5, 7, 8, 6, 8, 8, 5, 7, 9,10, 7, 9,10, 8, 9, + 11,12, 9,11,12, 8,10,12,15,10,12,15, 6, 7, 9,10, + 7, 9,10, 8, 9,11,12, 9,11,12, 8,10,12,14,10,12, + 15, 6, 7, 9,10, 7, 9,10, 7, 8,10,11, 8,10,11, 9, + 10,12,13,10,12,14,10,11,14,16,11,14,16, 7, 8,10, + 11, 8,10,11, 9,10,12,13,10,13,14,10,11,14,16,11, + 14,17, 8, 9,11,12, 9,11,12, 9,10,13,13,10,12,14, + 11,12,15,16,13,15,16,13,14,15,19,14,17,20, 9,10, + 12,14,10,13,14,11,13,15,16,13,15,16,13,14,16,18, + 14,17, 0, 8,10,12,14,10,12,14,10,11,14,16,11,14, + 16,13,14,16,18,14,16,19,15,16,20,20,17,18, 0,10, + 11,14,16,11,14,16,13,14,16,18,14,16,19,16,16,20, + 20,17,19,20, 6, 7, 9,10, 7, 9,10, 7, 8,10,11, 8, + 10,11, 9,10,13,14,10,12,13,10,11,13,16,11,13,16, + 7, 8,10,11, 8,10,11, 9,10,13,14,10,13,14,10,11, + 13,16,11,14,17, 8, 9,11,12, 9,11,12, 9,10,12,14, + 10,13,13,12,13,15,17,13,15,16,13,14,16,19,14,16, + 19, 9,10,13,14,10,13,14,11,13,15,16,13,15,16,13, + 14,16,20,14,16,18, 8,10,12,14,10,12,14,10,11,14, + 16,12,14,16,13,14,16,19,14,17,20,16,16,19, 0,17, + 18, 0,10,12,14,16,11,14,16,13,14,16,19,14,16,19, + 15,16,19, 0,16, 0, 0, 6, 7, 9,10, 7, 9,10, 7, 8, + 10,11, 8,10,11, 9,10,13,14,10,13,14,10,11,14,16, + 12,14,16, 7, 8,10,11, 8,10,11, 9,10,13,14,10,12, + 14,10,11,14,16,11,14,17, 7, 8,10,11, 8,10,11, 8, + 9,11,12, 9,11,12,10,12,14,15,12,14,15,11,12,15, + 19,13,15,18, 8, 9,11,12, 9,11,12,10,11,14,15,12, + 14,15,11,13,15,18,13,15,18, 9,10,13,14,10,13,14, + 10,12,14,15,12,14,15,13,14,16,17,14,17,17,14,15, + 17,20,15,18,20,10,11,14,15,12,14,15,13,14,17,20, + 14,16,18,14,15,17,20,15,18, 0,10,12,14,16,12,14, + 16,11,13,16,18,13,15,18,14,15,16,19,15,17,20,16, + 17,20,20,20, 0, 0,11,13,15,19,13,16,17,14,15,18, + 19,15,17,19,16,18, 0, 0,17,18, 0, 7, 8,10,11, 8, + 10,11, 8, 9,12,12, 9,11,12,10,12,14,15,11,14,15, + 11,13,15,17,12,15,18, 8, 9,11,12, 9,12,13,10,12, + 14,15,11,14,15,11,13,15,18,13,16,19, 9,10,13,14, + 10,13,14,10,12,14,15,11,14,15,13,14,16,17,14,16, + 17,14,15,18, 0,15,16, 0,10,12,14,15,12,14,15,13, + 14,17,17,14,17,17,14,15,18,20,15,18, 0,10,12,14, + 16,12,14,16,11,13,15,18,13,15,18,14,15,17,19,15, + 17, 0,17,18,20, 0,18,19, 0,11,13,15,17,13,16,18, + 14,15,18,20,15,17, 0,17,17, 0, 0,18,20, 0, 8, 9, + 11,12, 9,11,12, 9,10,13,14,10,13,14,11,13,15,17, + 13,15,16,12,14,16,18,14,16,20, 9,10,13,14,10,13, + 14,11,13,15,17,13,16,16,12,14,17,18,14,16,20, 9, + 10,13,14,10,13,14,10,11,14,15,12,14,14,13,14,17, + 18,14,17,17,14,15,17,20,15,18, 0,10,12,14,15,12, + 14,15,13,14,17,18,14,17,18,14,15,18, 0,15,18, 0, + 11,13,15,16,13,15,16,13,14,16,19,14,16,18,15,16, + 19,19,16,19,20,16,17,18,20,17,19, 0,13,14,16,17, + 14,17,17,15,17,18, 0,17,19, 0,17,18, 0, 0,17,19, + 20,12,14,16,18,14,16,19,14,15,17,18,15,18, 0,16, + 17,20, 0,18, 0, 0,18,20,20, 0, 0, 0, 0,14,16,18, + 0,15,18, 0,16,18,19, 0,18,18, 0,19,20,20, 0, 0, + 0, 0, 9,10,13,13,10,13,14,10,12,14,15,12,14,15, + 13,14,17,18,14,17,18,14,16,18,20,15,18, 0,10,12, + 14,15,12,14,15,13,14,16,18,14,17,18,14,15,18,19, + 15,17,19,11,13,15,16,13,15,16,12,14,17,18,14,17, + 17,15,16,18,19,16,20,20,16,18,20, 0,18,19, 0,13, + 14,16,18,14,17,18,15,17,18,19,16,18,19,17,18,20, + 0,18,19, 0,13,14,16,19,14,17,18,14,15,17, 0,15, + 18,20,16,17,19, 0,16,20, 0,19,20, 0, 0,20, 0, 0, + 14,15,17, 0,15,18, 0,16,19,19, 0,19, 0, 0,18, 0, + 0, 0,20, 0, 0, 8,10,12,14,10,12,14,10,12,14,16, + 12,14,17,12,14,17,20,14,16,20,14,16,20, 0,16,20, + 0,10,12,14,16,11,14,16,12,14,16,18,14,17,19,14, + 17,19, 0,16,18, 0,10,11,14,16,11,14,17,11,13,15, + 17,13,16,19,14,15,18, 0,15,18,20,17,18,20, 0,19, + 20, 0,11,13,15,18,13,15,17,14,16,18, 0,15,18,20, + 17,18, 0, 0,18,19, 0,12,14,16,18,14,16,18,13,15, + 17, 0,15,18,20,16,16, 0, 0,17,19, 0,20,19, 0, 0, + 0, 0, 0,14,15,18, 0,15,18, 0,16,18,20, 0,18,20, + 0,19, 0, 0, 0,20,20,20,15,16,19,20,17,19,20,16, + 18,20, 0,17,20, 0,18, 0, 0, 0,20, 0, 0,20, 0, 0, + 0, 0, 0, 0,17,17, 0, 0,18,20, 0, 0, 0,20, 0, 0, + 0, 0, 0, 0, 0, 0,20, 0, 0,10,11,14,16,11,14,16, + 11,13,15,18,13,15,17,14,15,17,20,16,18, 0,17,18, + 0, 0,17,19, 0,11,13,15,18,13,15,18,14,15,17, 0, + 16,17,20,16,18, 0,20,19,20, 0,13,14,17,19,14,16, + 18,14,15,17,20,15,18,19,16,17,18, 0,17, 0,20,19, + 0,20, 0,20,20, 0,14,15,18, 0,15,17,20,16,18,19, + 0,18,20, 0,18,20, 0, 0,19, 0, 0,15,17,19, 0,17, + 18, 0,16,19,19, 0,17, 0, 0,18,20, 0, 0,20, 0, 0, + 0, 0, 0, 0,19, 0, 0,17,19,20, 0,18,19, 0,20, 0, + 0, 0,20, 0,20, 0, 0, 0, 0, 0, 0, 0, 6, 7, 9,10, + 7, 9,10, 7, 8,10,11, 8,10,11, 9,10,13,13,10,13, + 14,10,11,14,17,11,14,17, 7, 8,10,11, 8,10,11, 9, + 10,13,14,10,13,14,10,11,14,16,11,14,17, 7, 8,10, + 11, 8,10,11, 8, 9,12,12, 9,11,12,10,12,14,15,12, + 14,15,11,13,15,17,13,15,18, 8, 9,11,12, 9,12,12, + 10,12,14,15,12,14,15,11,13,15,18,13,15,18, 9,10, + 13,14,10,13,14,10,12,14,15,12,14,15,13,14,16,17, + 14,16,17,14,15,19,20,15,18,19,10,12,14,15,12,14, + 15,13,14,16,17,14,17,18,14,15,17,20,15,17, 0,10, + 11,14,16,12,14,16,11,13,15,18,13,15,18,14,16,18, + 19,15,18,19,16,18,20, 0,18, 0, 0,12,13,15,18,13, + 15,18,14,15,17,19,15,18,19,16,17,20, 0,19,19, 0, + 7, 8,10,11, 8,10,11, 8, 9,11,12, 9,12,12,10,11, + 13,15,12,14,15,11,13,15,17,12,15,17, 8, 9,12,13, + 9,12,12,10,12,14,15,12,14,15,12,13,15,18,13,15, + 18, 9,10,13,14,10,13,14,10,12,14,15,12,14,15,13, + 14,17,18,14,17,19,14,15,18,19,15,18, 0,10,12,14, + 15,12,14,15,13,14,18,17,14,16,18,14,16,18,20,15, + 17,20,10,12,14,17,12,14,16,11,13,15,18,13,16,18, + 14,16,17,20,15,17,20,17,19,20, 0,18, 0, 0,12,13, + 15, 0,13,15,17,14,15,18,20,15,17,19,17,18, 0, 0, + 18,19,20, 8, 9,11,12, 9,11,12, 9,10,13,14,11,13, + 14,11,13,15,16,13,15,17,12,14,17,20,14,16,18, 9, + 10,13,14,11,13,14,11,13,15,17,13,15,16,12,14,16, + 18,14,16,19, 9,10,13,14,10,13,14,10,12,14,15,12, + 14,15,13,14,17,18,14,17,18,14,15,17, 0,15,18,19, + 10,12,14,15,12,14,15,13,14,17,18,14,17,18,14,15, + 18,20,15,18,20,11,13,15,16,13,15,17,13,14,16,18, + 14,17,17,15,17,19, 0,17,19, 0,16,17, 0, 0,18,20, + 0,13,14,16,19,14,17,18,15,16,19,20,17,19, 0,16, + 17,19, 0,18,19, 0,13,13,16,20,14,16,19,14,15,17, + 20,15,18,19,17,19,20, 0,17,19,20,19, 0,20, 0,20, + 0, 0,14,15,18,20,15,18, 0,16,17,20, 0,18,20, 0, + 19, 0,20, 0, 0, 0, 0, 9,10,13,14,10,13,14,10,11, + 14,15,12,14,15,13,14,16,18,14,17,18,14,16,18, 0, + 15,18,19,10,12,14,15,12,14,15,13,14,16,18,14,16, + 18,14,15,18,19,15,18,19,11,13,15,16,13,15,16,13, + 14,17,17,14,17,18,15,16,18,20,17,20,19,17,18,20, + 0,19,20, 0,13,14,17,18,14,17,17,15,17,19,20,17, + 0,19,16,18,19, 0,18,20, 0,13,14,17,20,14,17,19, + 14,15,18,19,15,18,20,17,17,20, 0,18,19, 0,19, 0, + 0, 0, 0, 0, 0,14,15,18,19,15,17,19,16,18,20, 0, + 18,20, 0,20,20, 0, 0,20, 0, 0, 8,10,12,14,10,12, + 14,10,12,14,17,11,14,17,12,14,17,18,14,17,19,14, + 16,18, 0,17,20, 0,10,11,14,16,12,14,17,12,14,17, + 0,14,17,19,14,17,20,20,17,19, 0,10,11,14,16,11, + 14,16,11,13,15,18,13,15,18,14,15,18, 0,15,19,20, + 16,19,20, 0,18, 0, 0,11,12,15,18,13,15,18,14,15, + 17, 0,16,18,19,16,18,19, 0,18, 0, 0,12,14,17,18, + 14,16,20,14,15,18, 0,15,18, 0,16,18, 0, 0,18,20, + 0,18,20, 0, 0,20, 0, 0,14,15,18,20,15,18,20,16, + 18,18, 0,18,20, 0,19,20, 0, 0, 0,20, 0,15,17,19, + 0,16,19, 0,17,18,20, 0,18, 0, 0,18, 0,20, 0,20, + 0, 0, 0, 0, 0, 0, 0, 0, 0,16,18,20,19,18, 0, 0, + 20,19, 0, 0,20, 0, 0, 0, 0, 0, 0, 0, 0, 0,10,11, + 14,17,12,14,17,11,13,15,17,13,16,18,14,15,18, 0, + 15,18,20,16,17,19, 0,18,19, 0,11,13,15,18,13,15, + 19,14,15,18, 0,15,19,20,17,18,20, 0,18,18, 0,13, + 14,16, 0,14,16,20,14,15,17,19,15,18,19,16,18,19, + 0,19, 0, 0, 0, 0, 0, 0,20, 0, 0,14,15,17, 0,15, + 17,20,16,17,20, 0,18,18,20,19,20, 0, 0,20, 0, 0, + 15,16,19,20,16,20, 0,16,18, 0,20,18,20, 0,18, 0, + 0, 0, 0, 0, 0, 0, 0,20, 0, 0, 0, 0,16,18, 0, 0, + 19,20, 0,18,20, 0, 0,19,20, 0, 0, 0, 0, 0,20, 0, + 0, +}; + +static double _vq_quantthresh_res0_1024a_160_5[] = { + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, +}; + +static long _vq_quantmap_res0_1024a_160_5[] = { + 6, 5, 4, 0, 1, 2, 3, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_5 = { + _vq_quantthresh_res0_1024a_160_5, + _vq_quantmap_res0_1024a_160_5, + 7, + 7 +}; + +static static_codebook _vq_book_res0_1024a_160_5 = { + 4, 2401, + _vq_lengthlist_res0_1024a_160_5, + 1, -533200896, 1611661312, 3, 0, + _vq_quantlist_res0_1024a_160_5, + NULL, + &_vq_auxt_res0_1024a_160_5, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_6.vqh b/include/vorbis/book/res0_1024a_160_6.vqh new file mode 100644 index 0000000..403a803 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_6.vqh @@ -0,0 +1,212 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_6_VQH_ +#define _V_res0_1024a_160_6_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_6[] = { + 3, + 4, + 5, + 6, + 2, + 1, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_6[] = { + 7, 8, 9,10, 8, 9,10, 8, 8, 9,10, 8, 9,10, 9, 9, + 10,12, 9,10,11,10,10,12,13,10,12,13, 8, 8, 9,10, + 8, 9,10, 9, 9,10,12, 9,10,11,10,10,12,13,10,12, + 13, 8, 8, 9,10, 8, 9,10, 8, 8, 9,11, 8, 9,11, 9, + 9,11,12, 9,11,12,10,11,12,14,11,12,14, 8, 8, 9, + 11, 8, 9,11, 9, 9,11,12, 9,11,12,10,11,12,14,11, + 12,14, 9, 9,10,12, 9,10,12, 9, 9,11,12, 9,11,12, + 10,11,12,13,11,12,13,12,12,13,15,12,13,15, 9, 9, + 11,12, 9,11,12,10,11,12,13,11,12,14,12,12,13,15, + 12,14,16,10,11,12,13,10,12,13,10,11,12,14,11,12, + 14,12,12,14,15,12,14,15,13,14,15,17,14,16,17,10, + 11,12,14,11,12,14,12,12,14,15,12,13,16,13,14,15, + 18,14,15,17, 8, 8, 9,10, 8, 9,10, 8, 8, 9,11, 8, + 9,11, 9, 9,11,12, 9,11,12,10,11,12,14,11,12,14, + 8, 8, 9,11, 8, 9,11, 9, 9,11,12, 9,11,12,10,11, + 12,14,11,12,13, 9, 9,10,11, 9,10,12, 9, 9,11,12, + 9,11,12,10,11,12,14,11,12,14,12,12,14,15,12,13, + 15, 9, 9,11,12, 9,11,12,10,11,12,14,11,12,13,12, + 12,14,15,12,13,15,10,10,12,13,11,12,13,10,11,12, + 14,11,12,14,12,12,13,15,12,14,16,13,14,16,17,14, + 15,17,11,11,12,14,11,12,14,12,12,14,16,12,13,15, + 13,14,16,17,14,15,17, 8, 8, 9,10, 8, 9,10, 8, 8, + 10,11, 8, 9,11, 9, 9,11,12, 9,11,12,10,11,12,14, + 11,12,14, 8, 8, 9,11, 8, 9,11, 9, 9,11,12, 9,11, + 12,10,11,12,14,11,12,14, 8, 8, 9,11, 8, 9,11, 8, + 9,10,11, 9,10,11, 9,10,11,13,10,11,13,11,11,13, + 14,11,13,15, 8, 9,10,11, 9,10,11,10,10,11,12,10, + 11,13,11,11,13,14,11,13,14, 9, 9,11,12, 9,11,12, + 9,10,11,13,10,11,13,11,11,13,14,11,13,14,12,13, + 14,15,13,15,15, 9,10,11,13,10,11,13,11,11,13,14, + 11,13,14,12,13,14,16,13,14,15,11,11,12,14,11,12, + 14,11,11,13,15,11,13,15,12,13,14,15,13,14,16,14, + 15,16,16,15,16,18,11,11,13,15,11,13,14,12,13,14, + 16,13,15,16,14,15,16,18,15,16,18, 8, 8, 9,11, 8, + 10,11, 8, 9,10,11, 9,10,11, 9,10,11,13,10,11,12, + 11,11,13,14,11,13,14, 8, 9,10,11, 9,10,11,10,10, + 11,13,10,11,13,11,11,13,14,11,13,14, 9, 9,11,12, + 10,11,12, 9,10,11,13,10,11,13,11,11,13,14,11,12, + 14,12,13,14,16,13,14,15, 9,10,11,13,10,11,13,11, + 11,12,14,11,13,14,12,13,14,16,13,15,16,10,11,12, + 14,11,13,14,11,12,13,14,11,13,14,12,13,14,16,13, + 14,15,14,14,17,18,14,15,16,11,12,13,15,12,13,15, + 12,13,14,17,13,14,16,14,14,16,17,15,16,17, 9, 9, + 10,12, 9,10,12, 9,10,11,12,10,11,12,10,11,12,13, + 11,12,14,12,12,14,15,12,14,16, 9, 9,11,12, 9,11, + 12,10,11,12,13,11,12,13,12,12,14,16,12,14,15, 9, + 10,11,12,10,11,12,10,10,11,13,10,11,13,11,11,13, + 14,11,13,14,12,13,14,16,13,14,16,10,10,11,13,10, + 11,13,11,11,13,14,11,13,14,12,13,15,16,13,14,16, + 10,11,12,14,11,12,14,11,11,13,14,11,13,15,12,12, + 14,16,13,14,16,13,14,15,17,14,16,17,11,11,13,14, + 11,13,14,12,13,14,16,13,14,16,13,15,16,18,14,15, + 18,12,12,14,16,12,14,16,12,13,14,16,13,14,16,13, + 14,15,17,15,15,18,15,15,17,18,16,16,20,12,13,14, + 17,13,14,16,14,14,15,18,14,15,18,16,16,18,20,17, + 19,18, 9,10,11,12,10,11,12, 9,10,11,13,10,11,13, + 11,12,13,14,11,13,14,12,13,14,16,13,14,16,10,10, + 11,13,10,11,13,11,11,13,14,11,13,14,12,13,14,16, + 13,14,16,10,11,12,14,11,12,14,11,11,13,14,11,13, + 14,12,13,14,16,12,14,15,13,14,15,17,14,15,16,11, + 11,13,14,11,13,14,12,13,14,16,13,14,15,14,14,16, + 17,14,15,17,12,12,14,16,13,14,15,12,13,14,16,13, + 14,16,13,14,15,17,14,15,17,15,16,18,18,15,17,18, + 12,13,14,16,13,14,16,14,14,15,18,15,16,17,16,17, + 17,20,16,17,19,10,10,12,14,11,12,13,11,11,12,14, + 11,12,15,12,12,14,16,12,14,16,13,14,16,17,14,16, + 18,10,11,12,14,11,12,15,12,12,14,15,12,14,16,14, + 14,15,17,14,16,18,11,11,12,14,11,12,14,11,11,13, + 15,12,13,15,12,13,14,16,13,14,16,14,15,16,17,15, + 16,18,11,11,13,15,12,13,15,12,13,14,16,13,14,16, + 14,15,16,20,15,16,18,12,12,14,15,12,14,15,12,13, + 14,16,13,14,16,14,14,16,17,14,15,18,15,16,18,18, + 17,17,20,12,13,14,16,13,14,16,14,15,17,17,14,16, + 18,16,17,18,18,17,18,19,14,14,16,17,14,16,17,14, + 15,15,17,15,15,20,15,16,17,18,16,18, 0,16,18,18, + 0,17,18,20,14,15,16,18,14,16,18,15,16,19,20,16, + 17,18,17,19,20,20,18,19, 0,10,11,12,14,11,12,14, + 11,12,13,15,11,13,15,12,13,14,16,13,14,17,15,15, + 16,17,15,16,20,11,11,13,15,11,13,14,12,13,14,17, + 13,14,16,14,15,16,18,15,17,17,12,12,14,16,12,14, + 15,12,13,14,17,13,14,16,14,14,15,17,14,16,17,15, + 16,19,20,16,17,17,12,13,14,16,13,14,16,13,14,15, + 18,15,15,17,16,16,18,20,16,18,19,14,14,15,18,14, + 16,18,14,15,15,17,15,16,18,15,16,17,20,16,17,18, + 17,19,19, 0,17,17, 0,14,14,16,18,15,17,17,15,16, + 19,18,16,19,18,18,17,19, 0,17,19,20, 8, 8, 9,10, + 8, 9,10, 8, 8, 9,11, 8, 9,11, 9, 9,11,12, 9,11, + 12,10,11,12,14,11,12,13, 8, 8, 9,11, 8, 9,11, 9, + 9,11,12, 9,11,12,11,11,12,14,11,12,14, 8, 8, 9, + 11, 8,10,11, 8, 9,10,11, 9,10,11, 9,10,11,13,10, + 11,12,11,11,13,14,11,13,14, 8, 9,10,11, 9,10,11, + 9,10,11,13,10,11,13,11,11,13,14,11,13,15, 9,10, + 11,12, 9,11,12, 9,10,11,13,10,11,13,11,11,13,15, + 11,13,14,12,13,14,16,13,14,15, 9,10,11,13,10,11, + 13,11,11,12,14,11,13,14,12,13,14,15,13,14,16,11, + 11,12,15,11,12,14,11,12,13,14,11,13,15,12,13,14, + 16,13,14,16,14,15,15,18,15,16,17,11,11,13,15,11, + 13,15,12,13,14,16,13,14,16,14,14,16,17,15,17,17, + 8, 8, 9,11, 8,10,11, 8, 9,10,11, 9,10,11, 9,10, + 11,13,10,11,13,11,11,13,15,11,13,15, 8, 9,10,11, + 9,10,11, 9,10,11,13,10,11,12,11,12,13,14,11,12, + 14, 9, 9,11,12,10,11,12,10,10,11,13,10,11,13,11, + 11,13,14,11,13,14,12,13,14,15,13,14,15, 9,10,11, + 13,10,11,13,11,11,13,14,11,13,14,12,13,14,16,12, + 14,16,10,11,12,14,11,12,14,11,11,13,15,12,13,15, + 12,13,14,16,13,15,16,14,15,17,17,14,17,17,11,12, + 13,15,11,13,15,12,13,14,16,13,14,16,14,15,16,18, + 14,15,17, 9, 9,10,12, 9,10,12, 9, 9,11,12,10,11, + 12,10,11,12,14,11,12,13,12,12,14,15,12,14,16, 9, + 10,11,12,10,11,12,10,11,12,14,11,12,13,12,12,14, + 15,13,14,16, 9,10,11,12, 9,11,12,10,10,11,13,10, + 11,13,11,11,13,14,11,13,14,12,13,14,16,13,14,16, + 10,10,11,13,10,11,13,11,11,13,14,11,13,14,12,13, + 14,15,13,14,17,10,11,12,14,11,12,13,11,11,13,14, + 11,12,14,12,13,14,16,13,14,15,14,14,15,17,14,16, + 17,11,11,13,14,11,13,14,12,13,14,15,13,14,16,14, + 14,15,17,14,16,18,12,12,14,16,12,14,15,12,13,14, + 17,13,14,17,14,14,16,17,14,16,18,16,16,17,20,16, + 17,17,12,13,14,16,13,14,16,14,14,15,16,14,15,17, + 16,15,17,17,16,17,18, 9,10,11,12,10,11,12,10,10, + 11,13,10,11,13,11,11,13,14,11,13,14,12,13,14,16, + 13,14,16,10,10,11,13,10,11,13,11,11,13,14,11,13, + 14,13,13,14,17,13,14,16,10,11,12,14,11,12,14,11, + 11,13,14,11,13,14,12,13,14,15,13,14,16,14,15,15, + 17,14,15,16,11,11,13,14,11,13,14,12,13,14,16,13, + 14,16,13,14,16,17,14,15,17,12,12,14,16,12,14,15, + 12,13,14,16,13,14,16,14,14,15,17,15,16,17,16,17, + 18,19,17,18,18,13,13,14,16,12,14,16,13,14,15,17, + 14,15,17,15,16,17,17,16,17,17,10,11,12,14,10,12, + 14,10,11,12,14,11,12,14,12,12,14,16,12,14,15,14, + 14,16,18,14,15,17,11,11,13,14,11,12,14,12,12,14, + 16,13,14,15,14,14,16,17,14,16,17,11,11,12,14,11, + 12,14,11,11,13,15,11,13,15,12,13,15,16,13,14,16, + 14,15,16,18,15,16,18,11,11,13,15,11,13,15,13,13, + 14,16,13,14,16,14,15,17,17,15,18,18,12,12,14,15, + 12,14,16,12,13,14,16,13,14,16,13,15,16,17,14,16, + 17,16,16,18,20,16,17,20,12,13,14,16,13,14,16,14, + 14,15,18,15,15,17,16,16,18, 0,16,17,20,13,14,15, + 17,14,15,17,14,14,17,18,15,16,17,15,16,18, 0,16, + 17,19,17,18,20,20,18,20, 0,14,14,17,19,15,16,18, + 16,16,17,20,16,18,18,17,18,18,20,18, 0, 0,11,11, + 12,14,11,12,14,11,11,13,15,11,13,15,12,13,14,16, + 13,14,16,14,15,15,18,15,16,17,11,11,13,14,11,13, + 15,12,13,15,16,13,14,16,14,15,16,18,15,16,17,12, + 12,14,15,12,14,16,12,13,14,17,13,14,16,14,14,16, + 17,14,16,17,16,17,18,18,16,17, 0,12,13,14,16,13, + 14,16,13,14,16,19,14,15,17,16,16,20, 0,16,17,18, + 13,14,15,17,14,16,18,14,14,16,19,15,16,20,16,16, + 18,18,16,17,20,18,18, 0,20,18,18,20,14,15,16,18, + 15,16,18,15,16,17,20,16,17,19,17,17, 0,19,17,17, + 18, +}; + +static double _vq_quantthresh_res0_1024a_160_6[] = { + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, +}; + +static long _vq_quantmap_res0_1024a_160_6[] = { + 6, 5, 4, 0, 1, 2, 3, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_6 = { + _vq_quantthresh_res0_1024a_160_6, + _vq_quantmap_res0_1024a_160_6, + 7, + 7 +}; + +static static_codebook _vq_book_res0_1024a_160_6 = { + 4, 2401, + _vq_lengthlist_res0_1024a_160_6, + 1, -533200896, 1611661312, 3, 0, + _vq_quantlist_res0_1024a_160_6, + NULL, + &_vq_auxt_res0_1024a_160_6, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_7.vqh b/include/vorbis/book/res0_1024a_160_7.vqh new file mode 100644 index 0000000..c5b5a77 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_7.vqh @@ -0,0 +1,75 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_7_VQH_ +#define _V_res0_1024a_160_7_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_7[] = { + 6, + 7, + 8, + 9, + 10, + 12, + 5, + 4, + 3, + 2, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_7[] = { + 2, 4, 5, 7, 7, 8, 4, 6, 7, 7, 8, 4, 5, 6, 8, 8, + 9, 5, 6, 8, 8, 9, 6, 7, 8, 9, 9,11, 7, 8, 9,10, + 11, 7, 8, 9,11,11,12, 8, 9,11,11,12, 7, 8,10,11, + 12,13, 8,10,11,12,13, 9,10,11,13,13,14,10,11,12, + 13,14, 4, 5, 6, 8, 8, 9, 5, 6, 8, 8, 9, 6, 7, 8, + 9, 9,11, 7, 8, 9,10,11, 7, 8, 9,11,11,12, 8, 9, + 11,11,12, 7, 8,10,11,12,13, 8,10,11,12,13, 9,10, + 11,13,13,14,10,11,12,13,14, +}; + +static double _vq_quantthresh_res0_1024a_160_7[] = { + -5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, + 3.5, 5, +}; + +static long _vq_quantmap_res0_1024a_160_7[] = { + 10, 9, 8, 7, 6, 0, 1, 2, + 3, 4, 5, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_7 = { + _vq_quantthresh_res0_1024a_160_7, + _vq_quantmap_res0_1024a_160_7, + 11, + 11 +}; + +static static_codebook _vq_book_res0_1024a_160_7 = { + 2, 121, + _vq_lengthlist_res0_1024a_160_7, + 1, -531103744, 1611661312, 4, 0, + _vq_quantlist_res0_1024a_160_7, + NULL, + &_vq_auxt_res0_1024a_160_7, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_8.vqh b/include/vorbis/book/res0_1024a_160_8.vqh new file mode 100644 index 0000000..219c490 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_8.vqh @@ -0,0 +1,86 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_8_VQH_ +#define _V_res0_1024a_160_8_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_8[] = { + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 22, + 10, + 9, + 8, + 7, + 5, + 3, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_8[] = { + 3, 4, 6, 6, 7, 7, 7, 8, 4, 6, 6, 6, 7, 7, 8, 4, + 6, 7, 7, 8, 8, 8, 9, 5, 7, 7, 8, 8, 8, 9, 6, 7, + 8, 9, 9, 9, 9,10, 7, 8, 9, 9, 9, 9,10, 7, 8, 9, + 10,10,10,10,11, 8, 9,10,10,10,10,11, 7, 8, 9,10, + 10,10,10,11, 8, 9,10,10,10,10,11, 8, 9,10,10,10, + 10,11,11, 9,10,10,10,10,11,11, 8, 9,10,11,11,11, + 11,12, 9,10,11,11,11,11,12, 9,10,11,12,12,12,12, + 13,10,11,12,12,12,12,13, 4, 6, 7, 7, 8, 8, 8, 9, + 6, 7, 7, 8, 8, 8, 9, 6, 7, 8, 9, 9, 9, 9,10, 7, + 8, 9, 9, 9, 9,10, 7, 8, 9,10,10,10,10,11, 8, 9, + 10,10,10,10,11, 7, 8, 9,10,10,10,10,11, 8, 9,10, + 10,10,10,11, 8, 9,10,10,10,10,10,11, 9,10,10,10, + 10,11,11, 8, 9,10,11,11,11,11,12, 9,10,11,11,11, + 11,12, 9,10,11,12,12,12,12,13,10,11,12,12,12,12, + 13, +}; + +static double _vq_quantthresh_res0_1024a_160_8[] = { + -9.5, -7, -5, -3.5, -2.5, -1.5, -0.5, 0.5, + 1.5, 2.5, 3.5, 5, 7, 9.5, +}; + +static long _vq_quantmap_res0_1024a_160_8[] = { + 14, 13, 12, 11, 10, 9, 8, 0, + 1, 2, 3, 4, 5, 6, 7, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_8 = { + _vq_quantthresh_res0_1024a_160_8, + _vq_quantmap_res0_1024a_160_8, + 15, + 15 +}; + +static static_codebook _vq_book_res0_1024a_160_8 = { + 2, 225, + _vq_lengthlist_res0_1024a_160_8, + 1, -529137664, 1611661312, 5, 0, + _vq_quantlist_res0_1024a_160_8, + NULL, + &_vq_auxt_res0_1024a_160_8, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_1024a_160_9.vqh b/include/vorbis/book/res0_1024a_160_9.vqh new file mode 100644 index 0000000..745f2f6 --- /dev/null +++ b/include/vorbis/book/res0_1024a_160_9.vqh @@ -0,0 +1,115 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_9_VQH_ +#define _V_res0_1024a_160_9_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_9[] = { + 45, + 46, + 47, + 48, + 49, + 51, + 53, + 56, + 61, + 68, + 77, + 90, + 44, + 43, + 42, + 41, + 39, + 37, + 34, + 29, + 22, + 13, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_9[] = { + 3, 4, 6, 6, 7, 7, 7, 8, 7,11,14,18, 5, 6, 6, 7, + 7, 7, 8, 7,11,15,18, 5, 6, 7, 8, 8, 8, 8, 9, 9, + 13,16,19, 6, 7, 8, 8, 8, 8, 9, 9,13,16,19, 6, 7, + 8, 9, 9, 9, 9,10,10,13,17, 0, 7, 8, 9, 8, 9, 9, + 10,10,13,16, 0, 7, 8, 9, 9, 9, 9,10,10,11,15,17, + 0, 8, 9, 9, 9, 9,10,10,11,14,19, 0, 7, 8, 9, 9, + 9, 9,10,10,11,15,17, 0, 8, 9, 9, 9, 9,10,10,11, + 15,17,19, 7, 8, 9,10,10,10,10,11,11,15,19,19, 8, + 9,10,10,10,10,11,11,16,18, 0, 8, 9,10,10,10,10, + 11,11,12,16,18, 0, 9,10,10,10,10,11,11,12,16,19, + 18, 8, 9,10,11,11,11,11,12,12,16,19, 0, 9,10,11, + 11,11,11,12,12,15,19,19, 8,10,11,11,11,11,12,12, + 14,18, 0, 0,10,11,11,11,12,12,12,14,17,19, 0,11, + 13,15,16,15,15,16,16,17, 0, 0, 0,14,15,15,15,15, + 16,17,17, 0, 0, 0,15,18, 0,19,19, 0, 0, 0, 0, 0, + 0, 0,18, 0,19,19, 0, 0, 0, 0, 0, 0, 0,18, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 6, 7, 8, 8, 8, 8, 9, 9,12,15,19, + 6, 7, 8, 8, 8, 8, 9, 9,13,17, 0, 6, 7, 8, 9, 9, + 9, 9,10,10,13,16,19, 7, 8, 9, 9, 9, 9,10,10,13, + 18, 0, 7, 8, 9, 9, 9, 9,10,10,11,14,16,19, 8, 9, + 9, 9, 9,10,10,11,14,17, 0, 7, 8, 9, 9, 9, 9,10, + 10,11,14,16, 0, 8, 9, 9, 9, 9,10,10,11,15,19, 0, + 7, 8, 9,10,10,10,10,11,11,15,19,19, 8, 9,10,10, + 10,10,11,11,16,18, 0, 8, 9,10,10,10,10,11,11,12, + 16,18,18, 9,10,10,10,10,11,11,12,16,18, 0, 8, 9, + 10,11,11,11,11,12,12,16,19,19, 9,10,11,11,11,11, + 12,12,16,17,18, 8,10,11,12,11,11,12,12,14,18, 0, + 0,10,11,11,11,11,12,12,14,18, 0, 0,11,13,15,16, + 15,16,16,16,18, 0, 0, 0,13,15,15,15,15,16,16,17, + 0, 0, 0,15,18, 0, 0,18, 0, 0, 0, 0, 0, 0, 0,19, + 18, 0,19, 0, 0, 0, 0, 0, 0, 0,17, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0,19, 0, 0, 0, 0, 0, 0, 0, 0, + 0, +}; + +static double _vq_quantthresh_res0_1024a_160_9[] = { + -38.5, -27.5, -19.5, -13.5, -9.5, -7, -5, -3.5, + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 5, + 7, 9.5, 13.5, 19.5, 27.5, 38.5, +}; + +static long _vq_quantmap_res0_1024a_160_9[] = { + 22, 21, 20, 19, 18, 17, 16, 15, + 14, 13, 12, 0, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_9 = { + _vq_quantthresh_res0_1024a_160_9, + _vq_quantmap_res0_1024a_160_9, + 23, + 23 +}; + +static static_codebook _vq_book_res0_1024a_160_9 = { + 2, 529, + _vq_lengthlist_res0_1024a_160_9, + 1, -524910592, 1611661312, 7, 0, + _vq_quantlist_res0_1024a_160_9, + NULL, + &_vq_auxt_res0_1024a_160_9, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_128a_160_1.vqh b/include/vorbis/book/res0_128a_160_1.vqh new file mode 100644 index 0000000..92e63d9 --- /dev/null +++ b/include/vorbis/book/res0_128a_160_1.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_128a_160_1_VQH_ +#define _V_res0_128a_160_1_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_128a_160_1[] = { + 1, + 2, + 0, +}; + +static long _vq_lengthlist_res0_128a_160_1[] = { + 2, 4, 4, 4, 6, 6, 4, 6, 6, 5, 7, 6, 6, 7, 8, 6, + 7, 8, 5, 6, 7, 6, 8, 7, 6, 8, 7, 6, 7, 7, 7, 8, + 9, 7, 8, 8, 7, 9, 8, 8, 9,10, 9,10, 9, 7, 8, 9, + 8,10, 9, 9,10,10, 6, 7, 7, 7, 8, 8, 7, 9, 9, 7, + 9, 8, 9,10, 9, 8, 9,10, 7, 8, 9, 9,10,10, 8,10, + 9, +}; + +static double _vq_quantthresh_res0_128a_160_1[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap_res0_128a_160_1[] = { + 2, 0, 1, +}; + +static encode_aux_threshmatch _vq_auxt_res0_128a_160_1 = { + _vq_quantthresh_res0_128a_160_1, + _vq_quantmap_res0_128a_160_1, + 3, + 3 +}; + +static static_codebook _vq_book_res0_128a_160_1 = { + 4, 81, + _vq_lengthlist_res0_128a_160_1, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res0_128a_160_1, + NULL, + &_vq_auxt_res0_128a_160_1, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_128a_160_2.vqh b/include/vorbis/book/res0_128a_160_2.vqh new file mode 100644 index 0000000..193259d --- /dev/null +++ b/include/vorbis/book/res0_128a_160_2.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_128a_160_2_VQH_ +#define _V_res0_128a_160_2_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_128a_160_2[] = { + 2, + 3, + 4, + 1, + 0, +}; + +static long _vq_lengthlist_res0_128a_160_2[] = { + 4, 5, 7, 5, 7, 5, 6, 8, 6, 8, 7, 9,11, 9,11, 5, + 6, 8, 6, 8, 8, 9,11, 9,11, 5, 6, 9, 6, 9, 6, 7, + 10, 8,10, 9,10,13,10,13, 6, 7,10, 7,10, 9,10,13, + 10,13, 8, 9,12, 9,12, 9,10,13,10,13,12,13, 0,13, + 16, 9,10,13,10,13,12,13,17,13,16, 5, 6, 9, 6, 9, + 6, 7,10, 7,10, 9,10,13,10,12, 6, 7,10, 8,10, 9, + 10,13,10,12, 8, 9,12, 9,12, 9,10,13,10,13,12,13, + 16,13,14, 9,10,14,10,13,12,13,17,13,15, 6, 7, 9, + 7, 9, 7, 8,11, 8,10, 9,10,13,10,14, 7, 8,10, 8, + 10, 9,10,12,10,13, 7, 8,10, 8,10, 8, 9,11, 9,12, + 11,11,13,11,13, 8, 9,11, 9,11,10,12,14,11,14, 9, + 11,13,11,13,10,11,14,12,14,13,13,17,15, 0,11,12, + 15,12,16,13,15,17,14,17, 7, 8,10, 8,10, 8, 9,11, + 9,11,10,12,15,11,13, 8, 9,11, 9,12,10,11,14,11, + 14, 9,10,13,10,14,10,11,14,11,14,13,14,17,13,16, + 10,12,14,12,15,13,14,16,14, 0, 8,10,13, 9,12,10, + 11,13,11,14,13,14, 0,14,17,10,10,13,11,13,12,14, + 15,13,15,10,11,13,11,14,11,11,16,12,14,15,14,17, + 15, 0,11,12,14,12,13,13,16,17,14, 0,13,14,17,13, + 16,13,14,16,14,16,17,15, 0,16,17,13,14, 0,16,16, + 17,16,17,17, 0,10,11,14,11,14,11,12,14,11,14,14, + 15, 0,14,16,11,12,15,11,15,15,15,17,15,15,13,13, + 16,13,16,13,15,16,14,17,17,17, 0,16,17,14,16, 0, + 14, 0,17,17, 0,17, 0, 6, 7, 9, 7, 9, 7, 8,10, 8, + 10, 9,10,13,10,13, 7, 8,10, 8,10, 9,10,13,10,13, + 7, 8,10, 8,10, 8, 9,12, 9,11,10,11,14,12,14, 8, + 9,11, 9,12,10,11,13,11,14, 9,11,13,10,13,11,11, + 14,12,16,13,15,17,14,17,11,11,14,12,14,13,13,16, + 15,16, 7, 8,10, 8,10, 8, 9,11, 9,12,10,12,13,12, + 14, 8, 9,12, 9,11,10,12,15,11,14, 9,10,14,11,14, + 11,12,14,12,14,13,14,17,14,17,10,12,15,11,14,13, + 14,16,13,15, 9,10,12, 9,13,10,11,14,11,14,12,13, + 16,13,15,10,11,14,10,14,13,13,16,14,17, 9,11,14, + 10,14,11,12,15,12,15,13,15,17,15, 0,11,12,14,12, + 15,14,14, 0,15, 0,12,14,16,13,16,14,14,17,15,16, + 17,16, 0,16,17,13,15, 0,16,16,16,15, 0,16, 0,10, + 11,13,11,13,11,12,15,12,14,13,15, 0,15,17,11,12, + 14,12,14,13,16,17,14, 0,13,14,15,13,16,14,14,16, + 14,15,17,17, 0, 0, 0,13,15, 0,14, 0,14, 0,17,15, + 17, +}; + +static double _vq_quantthresh_res0_128a_160_2[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap_res0_128a_160_2[] = { + 4, 3, 0, 1, 2, +}; + +static encode_aux_threshmatch _vq_auxt_res0_128a_160_2 = { + _vq_quantthresh_res0_128a_160_2, + _vq_quantmap_res0_128a_160_2, + 5, + 5 +}; + +static static_codebook _vq_book_res0_128a_160_2 = { + 4, 625, + _vq_lengthlist_res0_128a_160_2, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist_res0_128a_160_2, + NULL, + &_vq_auxt_res0_128a_160_2, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_128a_160_3.vqh b/include/vorbis/book/res0_128a_160_3.vqh new file mode 100644 index 0000000..af1fae6 --- /dev/null +++ b/include/vorbis/book/res0_128a_160_3.vqh @@ -0,0 +1,212 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_128a_160_3_VQH_ +#define _V_res0_128a_160_3_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_128a_160_3[] = { + 3, + 4, + 5, + 6, + 2, + 1, + 0, +}; + +static long _vq_lengthlist_res0_128a_160_3[] = { + 4, 5, 7, 7, 5, 7, 7, 5, 7, 9, 9, 7, 9, 9, 7, 9, + 11,11, 9,10,13, 8,10,12,15,10,12, 0, 6, 7, 9, 9, + 7, 9, 9, 8, 9,11,11, 9,11,13, 8,10,12,14,10,11, + 14, 6, 7, 9,10, 7, 9,10, 7, 8,10,11, 8,10,11, 9, + 10,13,12,10,13,13,10,11,14,15,11,13,14, 7, 8,10, + 11, 8,10,11, 9,10,12,12,10,13, 0,10,11,12,15,11, + 13,15, 8, 9,11,13, 9,12,13, 9,10,13,14,10,14,13, + 11,12,15, 0,12,15,14,13,13,15,15,13,15, 0, 9,10, + 13,14,11,12,14,11,12,13,15,14,14, 0,13,14,14, 0, + 15, 0, 0, 9,10,13,15,10,14,15,10,11,13, 0,12,14, + 0,13,15, 0,15,13, 0, 0,15,15, 0, 0, 0, 0, 0,10, + 11,14,15,11,14,14,12,14,15, 0,13,15, 0,15,15, 0, + 0, 0, 0, 0, 6, 7, 9,10, 7, 9, 9, 7, 8,10,11, 8, + 10,11, 9,11,12,13,10,12,13,10,11,13,14,11,14,14, + 7, 8,10,11, 8,10,11, 9,10,13,13,10,12,13,10,11, + 13,15,11,13,15, 8, 9,12,12, 9,11,13, 9,11,13,14, + 11,12,14,11,12,14, 0,12,14, 0,12,14, 0, 0,14,14, + 15, 9,10,14,15,10,13,14,12,13,15,15,13, 0, 0,12, + 14, 0, 0,14,15,15, 9,10,13,14,10,13, 0,10,12,15, + 0,11,13, 0,12,14, 0, 0,14,15, 0,15,15, 0, 0,14, + 15, 0,10,12,14, 0,11,13, 0,12,13,15, 0,14,15,15, + 0,15, 0, 0,14, 0, 0, 6, 7, 9,10, 7,10,10, 7, 8, + 10,11, 8,11,11, 9,10,12,14,10,13,13,10,11,14,14, + 11,13, 0, 7, 8,10,11, 8,10,11, 9,11,12,13,11,13, + 13,10,11,15, 0,11,13, 0, 7, 8,10,12, 8,10,11, 8, + 9,11,13, 9,12,13,10,12,14,13,12,12,15,12,12,15, + 0,12,15,15, 8, 9,12,13, 9,12,12,11,12,14,14,11, + 13,13,11,12, 0,14,12, 0,14, 9,11,12,14,10,13,13, + 10,11,13,15,12,14, 0,13,13,15,15,13,14, 0,14,14, + 14, 0, 0, 0, 0,10,11,13,15,12,13,15,13,14,15, 0, + 0,15, 0,13, 0, 0, 0,15, 0, 0,10,11,14, 0,11,13, + 15,11,12, 0, 0,12,15, 0,13,14, 0, 0,13, 0, 0, 0, + 0, 0, 0,14, 0, 0,12,13,14, 0,13, 0, 0,15,14, 0, + 0, 0,15, 0,14, 0, 0, 0, 0, 0, 0, 7, 8,11,11, 8, + 11,11, 8,10,11,12,10,11,12,10,11,14,14,11,14,14, + 11,13, 0, 0,12,14,15, 8, 9,12,13, 9,12,13,10,11, + 13,15,12,13,15,11,12,14,14,12,13, 0,10,10,12,14, + 10,15,14,10,11,13,14,11,14,14,12,13, 0, 0,13,15, + 15,14,14, 0, 0,14, 0, 0,11,11,14,15,12,14,14,13, + 13,15, 0,14, 0, 0,13,15, 0, 0,15,15, 0,10,12,15, + 14,11,14,15,12,12, 0, 0,14,14, 0,13, 0, 0, 0,14, + 0, 0,14, 0, 0, 0, 0, 0, 0,12,13,14, 0,13,15, 0, + 13,14, 0, 0,15, 0, 0, 0, 0, 0, 0,15, 0, 0, 8,10, + 13,13,10,11,14,10,11,14,14,11,13,13,12,12,14,14, + 12,14, 0,13,15,14, 0,14,15, 0,10,10,12,13,11,13, + 14,12,13,14,15,13,15, 0,14,15, 0, 0,14, 0, 0, 9, + 11,13,14,11,12,13,11,12,13,15,12,15, 0,14,14, 0, + 0, 0, 0, 0,12,14, 0, 0,15, 0, 0,11,12,14,14,11, + 14,14,12,13,15, 0,13,14, 0,14,14, 0, 0,15, 0, 0, + 12,12,13,15,12, 0,14,12,14, 0, 0,13,15, 0,14,15, + 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,12,14,15, 0, + 15,15, 0,15,14, 0, 0, 0,15, 0, 0,15,15, 0, 0, 0, + 0,13,12, 0, 0,13,15, 0,14,14,15, 0,15, 0,15, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0,15, + 0, 0, 0, 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, + 0, 0,10,11,13,15,11,12,15,11,12,13,14,12,13,14, + 14, 0,15, 0,13, 0, 0,14, 0, 0, 0,15,14, 0,10,11, + 12,14,11,14,14,14,14, 0, 0,14, 0, 0,13,15,15, 0, + 0, 0, 0,12,13,14,15,12,15, 0,12,14,15, 0,14, 0, + 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0,15, 0, 0,13, + 15, 0,15,14, 0,15,13,15, 0, 0,15, 0, 0, 0, 0, 0, + 0, 0, 0, 0,13, 0, 0, 0,14, 0, 0,14, 0, 0, 0,14, + 0, 0,14, 0, 0,15,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 14,14, 0, 0, 0, 0, 0,15, 0,15, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 9,10,13, 0,11,13, 0,10,12,14,14, + 12,14, 0,12, 0,14, 0,14, 0, 0,14, 0, 0, 0,15, 0, + 0,10,11,15,15,12,14,15,13,13, 0, 0, 0, 0, 0, 0, + 15, 0, 0, 0, 0, 0,10,12,14, 0,11,14,15,11,13, 0, + 15,13,14,15,13, 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0, + 0, 0,12,12,15, 0,12,15, 0,13,15, 0,14,15, 0, 0, + 15, 0, 0, 0, 0, 0, 0,13,13, 0, 0,13,15, 0,13,15, + 0, 0, 0, 0, 0, 0, 0, 0, 0,14, 0, 0, 0, 0, 0, 0, + 0, 0, 0,14,15,15, 0,15, 0, 0, 0,15, 0, 0, 0, 0, + 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,10,11,14, 0,12, 0, 0, + 12,13,14,15,13, 0, 0,13, 0, 0, 0, 0,15, 0,15, 0, + 0, 0, 0, 0, 0,12,13,14, 0,13, 0, 0,13,14, 0, 0, + 0, 0, 0, 0, 0, 0, 0,15, 0, 0,13,14,15, 0,15, 0, + 0,14,14,15, 0, 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0,15,14, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0, + 0, 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7,10,10, + 7, 9,10, 7, 8,11,11, 8,10,12, 9,10,12,13,10,12, + 15,10,12,13,14,12,15, 0, 7, 8,10,11, 8,11,12, 9, + 10,13,13,10,12,13,10,12,13,15,11,15, 0, 7, 8,11, + 11, 8,11,11, 8, 9,11,12, 9,11,12,10,12,14,15,12, + 13, 0,12,13,14,15,14, 0, 0, 8, 9,11,13, 9,12,13, + 10,12,13,14,11,15,15,12,12,13,14,14,14, 0,10,11, + 12,15,10,12,14,10,13,15,15,11,15,14,13,13,14, 0, + 13,13, 0,13,15, 0, 0, 0, 0, 0,10,11,13,14,11,15, + 14,12,15, 0, 0,14,15, 0,14,15,15, 0,14,15, 0,10, + 12, 0, 0,11,14, 0,11,12, 0, 0,12,14, 0,15, 0,14, + 0,14, 0, 0,15, 0, 0, 0, 0, 0, 0,12,13, 0, 0,13, + 15, 0,13, 0,15, 0,14,15, 0,14,14, 0, 0, 0, 0, 0, + 7, 8,11,11, 8,10,11, 8, 9,12,12,10,11,12,10,12, + 13,13,12,15,14,11,12,15, 0,12,14, 0, 8, 9,12,14, + 9,12,12,11,12,14,14,11,13,15,12,13,14,14,12,14, + 0, 9,10,13,15,10,13,15,11,11,14,14,12,14,15,12, + 14, 0,15,15, 0, 0,12,14, 0, 0,15, 0, 0,11,12,13, + 0,11,14,13,13,13, 0,15,13,14, 0,15, 0, 0, 0,14, + 15, 0,11,12, 0, 0,12,15, 0,12,14, 0,14,13, 0,15, + 13,14, 0, 0,15, 0,15,15, 0, 0, 0, 0, 0, 0,12,14, + 14,15,13,14, 0,14, 0, 0, 0,13, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 8, 9,12,14, 9,11,13, 9,10,13,15,10,13, + 13,12,13,15, 0,13, 0, 0,14,13, 0, 0,15,15,15, 9, + 11,13,14,10,13,13,11,13,14,15,13,15, 0,13,13, 0, + 15,15,15, 0,10,11,12,14,11,13,15,11,12,15,15,12, + 14, 0,12,15,15, 0,15,15, 0,13,14, 0, 0,15,15, 0, + 11,11, 0, 0,12,14, 0,14,13,15, 0,15,15, 0,14,14, + 0, 0, 0, 0, 0,12,13, 0, 0,15,14,14,12,14, 0, 0, + 14,15, 0,14,15, 0, 0,15,14, 0,15,15, 0, 0, 0, 0, + 0,14,13,14, 0,14, 0, 0,14,15, 0, 0, 0, 0, 0,15, + 0, 0, 0,15, 0, 0,12,15, 0, 0,13,15, 0,15, 0, 0, + 0,13, 0, 0,14, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0,14,15, 0, 0,13,15, 0,15,14, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0,10,11,13, 0,11,13,15,11,12, + 13, 0,12,14, 0,12,14,15, 0,13, 0,15,13, 0, 0, 0, + 15, 0, 0,11,12,13,14,12,14, 0,13,14,14, 0,13,14, + 0, 0,15, 0,15, 0, 0, 0,12,13,14, 0,12, 0, 0,12, + 0,15, 0,14,15, 0,14,15, 0, 0,15, 0, 0, 0, 0, 0, + 0,15, 0, 0,13,14,15, 0,13,15,15,14,14, 0, 0,15, + 0, 0, 0, 0, 0, 0, 0, 0, 0,13, 0, 0, 0,14, 0, 0, + 14, 0, 0, 0,14, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0, + 0, 0, 0, 0, 0,13,15, 0, 0,14, 0, 0,14, 0, 0, 0, + 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,11,14, 0,10,13, + 0,10,12,14, 0,11,14, 0,14,15,15,14,14, 0, 0,14, + 0, 0, 0,15, 0, 0,10,11,14,14,12,14,14,13,14,15, + 0,14,15, 0,15, 0, 0, 0,14, 0, 0,10,12,14, 0,12, + 14, 0,12,13,15, 0,13,15, 0,13, 0, 0, 0, 0, 0, 0, + 14, 0, 0, 0, 0, 0, 0,14,12, 0, 0,13,15, 0,14, 0, + 0, 0,14, 0, 0, 0, 0, 0, 0, 0, 0, 0,12,14, 0, 0, + 14,15, 0,13,14, 0, 0,15, 0, 0,15,15, 0, 0,15, 0, + 0, 0, 0, 0, 0, 0, 0, 0,14,14, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, + 0,14, 0, 0, 0,15, 0, 0,14, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 15, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,11,12, + 15, 0,12,14,15,12,13,15, 0,12, 0, 0,14,15, 0, 0, + 14, 0, 0,15, 0, 0, 0, 0, 0, 0,12,13,15, 0,13,15, + 15,14, 0, 0, 0, 0,15, 0,14, 0, 0, 0,15, 0, 0,14, + 13,15, 0,13, 0, 0,15,14, 0, 0,15, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,13,14, 0, 0,14, + 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0, + 15,15, 0, 0,15, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, +}; + +static double _vq_quantthresh_res0_128a_160_3[] = { + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, +}; + +static long _vq_quantmap_res0_128a_160_3[] = { + 6, 5, 4, 0, 1, 2, 3, +}; + +static encode_aux_threshmatch _vq_auxt_res0_128a_160_3 = { + _vq_quantthresh_res0_128a_160_3, + _vq_quantmap_res0_128a_160_3, + 7, + 7 +}; + +static static_codebook _vq_book_res0_128a_160_3 = { + 4, 2401, + _vq_lengthlist_res0_128a_160_3, + 1, -533200896, 1611661312, 3, 0, + _vq_quantlist_res0_128a_160_3, + NULL, + &_vq_auxt_res0_128a_160_3, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_128a_160_4.vqh b/include/vorbis/book/res0_128a_160_4.vqh new file mode 100644 index 0000000..9825893 --- /dev/null +++ b/include/vorbis/book/res0_128a_160_4.vqh @@ -0,0 +1,70 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_128a_160_4_VQH_ +#define _V_res0_128a_160_4_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_128a_160_4[] = { + 4, + 5, + 6, + 7, + 8, + 3, + 2, + 1, + 0, +}; + +static long _vq_lengthlist_res0_128a_160_4[] = { + 2, 4, 5, 7, 6, 3, 5, 7, 6, 4, 5, 7, 9, 8, 5, 7, + 8, 8, 6, 7, 8,10, 9, 7, 9,10,10, 7, 8,10,11,12, + 9,11,12,12, 7, 8,11,14,14, 8,11,12,13, 4, 5, 7, + 8, 8, 5, 7, 8, 8, 6, 7, 9,10,10, 7, 9,10,10, 8, + 8,10,12,11, 9,11,13,12, 7, 8,10,13,13, 9,11,12, + 13, +}; + +static double _vq_quantthresh_res0_128a_160_4[] = { + -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, +}; + +static long _vq_quantmap_res0_128a_160_4[] = { + 8, 7, 6, 5, 0, 1, 2, 3, + 4, +}; + +static encode_aux_threshmatch _vq_auxt_res0_128a_160_4 = { + _vq_quantthresh_res0_128a_160_4, + _vq_quantmap_res0_128a_160_4, + 9, + 9 +}; + +static static_codebook _vq_book_res0_128a_160_4 = { + 2, 81, + _vq_lengthlist_res0_128a_160_4, + 1, -531628032, 1611661312, 4, 0, + _vq_quantlist_res0_128a_160_4, + NULL, + &_vq_auxt_res0_128a_160_4, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/res0_128a_160_5.vqh b/include/vorbis/book/res0_128a_160_5.vqh new file mode 100644 index 0000000..2bb0475 --- /dev/null +++ b/include/vorbis/book/res0_128a_160_5.vqh @@ -0,0 +1,115 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_128a_160_5_VQH_ +#define _V_res0_128a_160_5_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_128a_160_5[] = { + 45, + 46, + 47, + 48, + 49, + 51, + 53, + 56, + 61, + 68, + 77, + 90, + 44, + 43, + 42, + 41, + 39, + 37, + 34, + 29, + 22, + 13, + 0, +}; + +static long _vq_lengthlist_res0_128a_160_5[] = { + 3, 4, 5, 6, 6, 6, 6, 7, 9,14,18, 0, 4, 5, 6, 6, + 6, 6, 7, 9,13,17, 0, 5, 5, 6, 7, 7, 7, 7, 8,10, + 13, 0, 0, 5, 6, 7, 7, 7, 7, 8,10,14,18, 0, 7, 7, + 8, 9, 9, 9, 9, 9,12,15, 0, 0, 7, 8, 9, 9, 9, 9, + 9,11,16, 0, 0, 9, 9,10,11,10,10,11,12,14, 0, 0, + 0, 9,10,10,11,11,11,11,13,18, 0, 0,10,10,11,12, + 12,12,12,13,14,18, 0, 0,10,11,12,12,12,12,13,16, + 0, 0, 0,11,12,13,14,14,14,14,17,17, 0, 0, 0,12, + 13,14,14,14,14,15,16,18, 0, 0,12,14,15,15,16,15, + 16,17, 0, 0, 0, 0,14,15,17,16,16,18,17, 0, 0, 0, + 0,13,17, 0, 0,18, 0, 0, 0,18, 0, 0, 0,16,17,17, + 18, 0,18, 0, 0, 0, 0, 0,14,17,18,18, 0, 0, 0, 0, + 0, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,17, + 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,17, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,18, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 5, 6, 7, 7, 7, 7, 8,10,14, 0, 0, + 5, 6, 7, 7, 7, 7, 8,10,14,18, 0, 7, 7, 8, 9, 9, + 9, 9, 9,11,15, 0, 0, 7, 8, 9, 9, 9, 9, 9,11,17, + 0, 0, 9, 9,10,11,10,11,11,11,14,17, 0, 0, 9,10, + 10,11,11,11,11,14, 0, 0, 0,10,11,11,12,12,12,12, + 13,15,18, 0, 0,11,11,12,12,12,12,13,15, 0, 0, 0, + 11,12,13,14,14,14,14,16,17, 0, 0, 0,12,13,14,13, + 15,14,15,16, 0, 0, 0,12,14,15,16,16,17,15, 0,18, + 0, 0, 0,14,16,17,16,16,16,18, 0, 0, 0, 0,14,17, + 16,18, 0, 0,16, 0, 0, 0, 0, 0,15,18,17,18,18, 0, + 0, 0, 0, 0, 0,14,17, 0,18, 0,18, 0, 0, 0, 0, 0, + 0,17,18,18, 0, 0, 0, 0, 0, 0, 0, 0,15,17, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,18, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0,18, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, +}; + +static double _vq_quantthresh_res0_128a_160_5[] = { + -38.5, -27.5, -19.5, -13.5, -9.5, -7, -5, -3.5, + -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 5, + 7, 9.5, 13.5, 19.5, 27.5, 38.5, +}; + +static long _vq_quantmap_res0_128a_160_5[] = { + 22, 21, 20, 19, 18, 17, 16, 15, + 14, 13, 12, 0, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, +}; + +static encode_aux_threshmatch _vq_auxt_res0_128a_160_5 = { + _vq_quantthresh_res0_128a_160_5, + _vq_quantmap_res0_128a_160_5, + 23, + 23 +}; + +static static_codebook _vq_book_res0_128a_160_5 = { + 2, 529, + _vq_lengthlist_res0_128a_160_5, + 1, -524910592, 1611661312, 7, 0, + _vq_quantlist_res0_128a_160_5, + NULL, + &_vq_auxt_res0_128a_160_5, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/resaux0_1024a_160.vqh b/include/vorbis/book/resaux0_1024a_160.vqh new file mode 100644 index 0000000..9764826 --- /dev/null +++ b/include/vorbis/book/resaux0_1024a_160.vqh @@ -0,0 +1,42 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_resaux0_1024a_160_VQH_ +#define _V_resaux0_1024a_160_VQH_ +#include "vorbis/codebook.h" + +static long _huff_lengthlist_resaux0_1024a_160[] = { + 2, 6,13,11,15,11,16,11,13,15, 5, 4, 7, 7, 9, 9, + 12, 9,11,13,11, 6, 6, 7, 7, 9,10,10,13,15, 9, 6, + 7, 6, 7, 8, 9, 8,10,13,13, 8, 6, 6, 4, 6, 6, 7, + 11,14,10, 8, 8, 7, 6, 7, 7, 6,10,13,16,11, 9, 9, + 6, 7, 7, 6,10,14, 9, 8, 9, 7, 6, 6, 6, 4, 6,10, + 10, 9,11, 9, 9, 8, 9, 5, 5, 7,12,11,13,11,12,11, + 11, 8, 6, 8, +}; + +static static_codebook _huff_book_resaux0_1024a_160 = { + 2, 100, + _huff_lengthlist_resaux0_1024a_160, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, +}; + + +#endif diff --git a/include/vorbis/book/resaux0_128a_160.vqh b/include/vorbis/book/resaux0_128a_160.vqh new file mode 100644 index 0000000..9d56061 --- /dev/null +++ b/include/vorbis/book/resaux0_128a_160.vqh @@ -0,0 +1,116 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_resaux0_128a_160_VQH_ +#define _V_resaux0_128a_160_VQH_ +#include "vorbis/codebook.h" + +static long _huff_lengthlist_resaux0_128a_160[] = { + 6,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,13,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,14,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,14,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,14,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15, + 15,15,15,15,14,15,15,15,15,15,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,13,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,13,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,13,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13, + 14,14,14,14,14,14,14,14,14,14,14,13,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,13,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,13,14,14,14,14,14,13,12,13,14,14,14, + 14,12,12,14,14,14,14,13,14,14,14,14,14,13,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,11,11, + 11,13,14,14,12,10,10,14,14,14,14,13,13,14,14,14, + 13,14,14,14,14,14,14,14,14,14,14,14,13,14,14,14, + 14,14,11,12,13,13,14,14,12,12,13,14,14,14,14,14, + 14,14,14,14,13,14,14,14,14,14,13,13,14,14,14,14, + 14,14,14,14,14,14,12,12,14,13,14,14,14,13,13,14, + 13,14,13,13,13,14,14,14,13,14,14,14,13,14,13,14, + 14,14,14,14,14,14,14,14,14,14,13,13,13,14,14,14, + 12,14,13,14,14,14,14,14,13,14,14,14,12,13,14,14, + 14,14,12,13,14,14,14,14, 5,14,14,14,14,14,11,14, + 13,14,14,14,14,13,12,14,14,14,14,14,13,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14, 5,10,14,14, + 14,14, 5, 5, 7,10,14,14, 8, 6, 6, 9,11,13,11, 9, + 10,11,14,14,12,12,13,13,14,14,14,13,14,13,14,14, + 6,11,13,14,14,14, 3, 4, 5, 8,10,12, 5, 3, 4, 7, + 10,12, 7, 6, 7,10,11,13, 9, 9,10,11,14,13,10,11, + 12,13,13,14, 8,13,13,14,13,13, 5, 6, 8,10,12,12, + 5, 5, 7, 9,11,11, 7, 7, 9,11,12,13, 9, 9,11,12, + 12,14,10,12,14,14,14,14, 9,14,14,14,13,13, 6, 7, + 10,11,11,12, 7, 7, 9,11,12,13, 8, 9,11,12,12,14, + 9,10,13,13,14,14, 9,11,13,14,14,14,10,14,14,14, + 14,13, 8, 9,12,13,13,12, 8, 9,10,11,12,13, 9,10, + 13,12,14,13,10,10,13,13,14,14, 9,11,11,13,13,14, +}; + +static static_codebook _huff_book_resaux0_128a_160 = { + 4, 1296, + _huff_lengthlist_resaux0_128a_160, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, +}; + + +#endif diff --git a/include/vorbis/mode_B.h b/include/vorbis/mode_B.h new file mode 100644 index 0000000..bb40ad8 --- /dev/null +++ b/include/vorbis/mode_B.h @@ -0,0 +1,205 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000 * + * by Monty and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: predefined encoding modes + last mod: $Id: mode_B.h,v 1.1 2000/08/15 11:53:18 xiphmont Exp $ + + ********************************************************************/ + +#ifndef _V_MODES_B_H_ +#define _V_MODES_B_H_ + +#include +#include "vorbis/codec.h" +#include "vorbis/backends.h" + +#include "vorbis/book/lsp12_0.vqh" +#include "vorbis/book/lsp30_0.vqh" + +#include "vorbis/book/resaux0_128a_160.vqh" +#include "vorbis/book/resaux0_1024a_160.vqh" + +#include "vorbis/book/res0_128a_160_1.vqh" +#include "vorbis/book/res0_128a_160_2.vqh" +#include "vorbis/book/res0_128a_160_3.vqh" +#include "vorbis/book/res0_128a_160_4.vqh" +#include "vorbis/book/res0_128a_160_5.vqh" +#include "vorbis/book/res0_1024a_160_1.vqh" +#include "vorbis/book/res0_1024a_160_2.vqh" +#include "vorbis/book/res0_1024a_160_3.vqh" +#include "vorbis/book/res0_1024a_160_4.vqh" +#include "vorbis/book/res0_1024a_160_5.vqh" +#include "vorbis/book/res0_1024a_160_6.vqh" +#include "vorbis/book/res0_1024a_160_7.vqh" +#include "vorbis/book/res0_1024a_160_8.vqh" +#include "vorbis/book/res0_1024a_160_9.vqh" + +static vorbis_info_psy _psy_set_B={ + 1,/*athp*/ + 1,/*decayp*/ + 1,/*smoothp*/ + 0,.1, + + -100., + -140., + + /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 */ + /* x: 63 88 125 175 250 350 500 700 1k 1.4k 2k 2.8k 4k 5.6k 8k 11.5k 16k Hz */ + /* y: 0 10 20 30 40 50 60 70 80 90 100 dB */ + + 1,/* tonemaskp */ + /* 0 10 20 30 40 50 60 70 80 90 100 */ + {{-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*63*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*88*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*125*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*175*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*250*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*350*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*500*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*700*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*1000*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*1400*/ + {-40.,-40.,-40.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*2000*/ + {-40.,-40.,-40.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*2800*/ + {-30.,-35.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*4000*/ + {-30.,-30.,-35.,-40.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*5600*/ + {-30.,-30.,-35.,-35.,-40.,-50.,-60.,-70.,-80.,-90.,-100.}, /*8000*/ + {-30.,-30.,-35.,-33.,-35.,-45.,-55.,-65.,-75.,-90.,-100.}, /*11500*/ + {-30.,-28.,-30.,-32.,-35.,-45.,-55.,-65.,-75.,-90.,-100.}, /*16000*/ + }, + + 1,/* peakattp */ + {{-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-22.,-22.}, /*63*/ + {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-22.,-22.}, /*88*/ + {-14.,-16.,-18.,-19.,-20.,-21.,-22.,-22.,-22.,-22.,-22.}, /*125*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-18.,-20.}, /*8000*/ + { -7., -8., -9.,-10.,-10.,-11.,-12.,-13.,-15.,-16.,-17.}, /*8000*/ + { -6., -7., -9., -9., -9., -9.,-10.,-11.,-12.,-13.,-14.}, /*11500*/ + { -6., -6., -9., -9., -9., -9., -9., -9.,-10.,-11.,-12.}, /*16000*/ + }, + + 1,/*noisemaskp */ + /* 0 10 20 30 40 50 60 70 80 90 100 */ + {{-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*63*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*88*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*125*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*175*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*250*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*350*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*500*/ + {-99.,-99.,-99.,-99.,-99.,-99.,-99.,-199.,-199.,-199.,-199.}, /*700*/ + + { 4., 4., 4., 4., 4., 2., 1., 0., -1., -2., -3.}, /*1000*/ + { 4., 4., 4., 4., 4., 2., 1., 0., 0., -2., -3.}, /*1400*/ + { 4., 4., 4., 4., 2., 2., 1., 0., 0., -2., -3.}, /*2000*/ + { 4., 4., 4., 4., 2., 2., 1., 0., 0., -2., -3.}, /*2800*/ + { 4., 4., 4., 4., 4., 4., 2., 0., 0., 0., 0.}, /*4000*/ + { 4., 4., 4., 4., 4., 4., 2., 2., 2., 2., 2.}, /*5600*/ + { 6., 6., 6., 6., 4., 4., 4., 4., 4., 2., 2.}, /*8000*/ + { 8., 8., 8., 8., 6., 6., 6., 6., 6., 4., 4.}, /*11500*/ + { 8., 8., 8., 8., 8., 8., 8., 6., 6., 6., 4.}, /*16000*/ + }, + + 110., + + -0., -.004 /* attack/decay control */ +}; + +/* with GNUisms, this could be short and readable. Oh well */ +static vorbis_info_time0 _time_set0B={0}; +static vorbis_info_floor0 _floor_set0B={12, 44100, 64, 12,150, 1, {0} }; +static vorbis_info_floor0 _floor_set1B={30, 44100, 256, 12,150, 1, {1} }; +static vorbis_info_residue0 _residue_set0B={0,128, 32,6,2, + {0,1,1,1,1,1}, + {4,5,6,7,8}, + + {0,99999,9999,9999,9999}, + {99,1.5,2.5,3.5,5}, + {5,5,5,5,5}, + {99,99,99,99,99}}; + +static vorbis_info_residue0 _residue_set1B={0,1024, 32,10,3, + {0,1,1,1,1,1,1,1,1,1}, + {9,10,11,12,13,14,15,16,17}, + + {0,9,9999,17,9999, + 27,9999,9999,9999}, + {99,1.5,1.5,2.5,2.5,3.5,3.5,7,13}, + {5,5,5,5,5,5,5,5,5}, + {99,99,99,99,99,99,99,99,99}}; + +static vorbis_info_mapping0 _mapping_set0B={1, {0,0}, {0}, {0}, {0}, {0}}; +static vorbis_info_mapping0 _mapping_set1B={1, {0,0}, {0}, {1}, {1}, {0}}; +static vorbis_info_mode _mode_set0B={0,0,0,0}; +static vorbis_info_mode _mode_set1B={1,0,0,1}; + +/* CD quality stereo, no channel coupling */ +vorbis_info info_B={ + /* channels, sample rate, upperkbps, nominalkbps, lowerkbps */ + 0, 2, 44100, 0,0,0, + /* smallblock, largeblock */ + {256, 2048}, + /* modes,maps,times,floors,residues,books,psys */ + 2, 2, 1, 2, 2, 18, 1, + /* modes */ + {&_mode_set0B,&_mode_set1B}, + /* maps */ + {0,0},{&_mapping_set0B,&_mapping_set1B}, + /* times */ + {0,0},{&_time_set0B}, + /* floors */ + {0,0},{&_floor_set0B,&_floor_set1B}, + /* residue */ + {0,0},{&_residue_set0B,&_residue_set1B}, + /* books */ + {&_vq_book_lsp12_0, /* 0 */ + &_vq_book_lsp30_0, /* 1 */ + + &_huff_book_resaux0_128a_160, + &_huff_book_resaux0_1024a_160, + + &_vq_book_res0_128a_160_1, + &_vq_book_res0_128a_160_2, + &_vq_book_res0_128a_160_3, + &_vq_book_res0_128a_160_4, + &_vq_book_res0_128a_160_5, + &_vq_book_res0_1024a_160_1, + &_vq_book_res0_1024a_160_2, + &_vq_book_res0_1024a_160_3, + &_vq_book_res0_1024a_160_4, + &_vq_book_res0_1024a_160_5, + &_vq_book_res0_1024a_160_6, + &_vq_book_res0_1024a_160_7, + &_vq_book_res0_1024a_160_8, + &_vq_book_res0_1024a_160_9, + + }, + /* psy */ + {&_psy_set_B}, + /* thresh sample period, preecho clamp trigger threshhold, range, minenergy */ + 256, 32, 6, -96. +}; + +#define PREDEF_INFO_MAX 0 + +#endif diff --git a/include/vorbis/modes.h b/include/vorbis/modes.h index a9bc416..6cd279f 100644 --- a/include/vorbis/modes.h +++ b/include/vorbis/modes.h @@ -12,7 +12,7 @@ ******************************************************************** function: predefined encoding modes - last mod: $Id: modes.h,v 1.19 2000/08/15 09:45:47 xiphmont Exp $ + last mod: $Id: modes.h,v 1.20 2000/08/15 11:53:18 xiphmont Exp $ ********************************************************************/ @@ -20,6 +20,8 @@ #define _V_MODES_H_ #include "vorbis/mode_A.h" +#include "vorbis/mode_B.h" +#include "vorbis/mode_C.h" #include "vorbis/mode_D.h" #include "vorbis/mode_E.h" diff --git a/lib/psy.c b/lib/psy.c index 2a37dde..0be9c1c 100644 --- a/lib/psy.c +++ b/lib/psy.c @@ -12,7 +12,7 @@ ******************************************************************** function: psychoacoustics not including preecho - last mod: $Id: psy.c,v 1.24 2000/08/15 09:09:43 xiphmont Exp $ + last mod: $Id: psy.c,v 1.25 2000/08/15 11:53:18 xiphmont Exp $ ********************************************************************/ @@ -311,7 +311,7 @@ static void compute_decay_fixed(vorbis_look_psy *p,double *f, double *decay, int static int frameno=0; - for(i=0;i