diff options
author | Monty <xiphmont@xiph.org> | 2001-08-13 00:20:28 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2001-08-13 00:20:28 +0000 |
commit | 1a55f568ff7cd3ffae74652ea13f35747c33c6a3 (patch) | |
tree | 47325f526dd7f7b756582958497550f1faac4a36 | |
parent | 5a7f5fa3b3280d771eb77b65ea66790023ee3ee7 (diff) | |
download | libvorbis-git-1a55f568ff7cd3ffae74652ea13f35747c33c6a3.tar.gz |
Putting rc1 mode and book structure into place. First mode in new
format is in, mode_44c_Z (~64kbps VBR)
Monty
svn path=/branches/branch_monty_20010708/vorbis/; revision=1809
75 files changed, 3798 insertions, 2944 deletions
diff --git a/lib/analysis.c b/lib/analysis.c index 4b898605..32e85db2 100644 --- a/lib/analysis.c +++ b/lib/analysis.c @@ -11,7 +11,7 @@ ******************************************************************** function: single-block PCM analysis mode dispatch - last mod: $Id: analysis.c,v 1.44.2.1 2001/08/02 06:14:42 xiphmont Exp $ + last mod: $Id: analysis.c,v 1.44.2.2 2001/08/13 00:20:10 xiphmont Exp $ ********************************************************************/ @@ -25,6 +25,8 @@ #include "scales.h" #include "os.h" +int analysis_noisy=1; + /* decides between modes, dispatches to the appropriate mapping. */ int vorbis_analysis(vorbis_block *vb,ogg_packet *op){ vorbis_dsp_state *vd=vb->vd; @@ -109,7 +111,7 @@ void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB){ void _analysis_output(char *base,int i,float *v,int n,int bark,int dB){ #ifdef ANALYSIS - _analysis_output_always(base,i,v,n,bark,dB); + if(analysis_noisy)_analysis_output_always(base,i,v,n,bark,dB); #endif } diff --git a/lib/barkmel.c b/lib/barkmel.c index f370f017..03d4f339 100644 --- a/lib/barkmel.c +++ b/lib/barkmel.c @@ -11,7 +11,7 @@ ******************************************************************** function: bark scale utility - last mod: $Id: barkmel.c,v 1.7.2.1 2001/07/08 08:48:01 xiphmont Exp $ + last mod: $Id: barkmel.c,v 1.7.2.2 2001/08/13 00:20:10 xiphmont Exp $ ********************************************************************/ @@ -54,7 +54,7 @@ int main(){ { float i; int j; - for(i=0.,j=0;i<28;i+=3.5,j++){ + for(i=0.,j=0;i<28;i+=1,j++){ fprintf(stderr,"(%d) bark=%f %gHz (%d of 128)\n", j,i,fromBARK(i),(int)(fromBARK(i)/22050.*128.)); } diff --git a/lib/books/Makefile b/lib/books/Makefile new file mode 100644 index 00000000..3d244038 --- /dev/null +++ b/lib/books/Makefile @@ -0,0 +1,202 @@ +# Generated automatically from Makefile.in by configure. +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = ../.. +prefix = /usr/local +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/libvorbis +pkglibdir = $(libdir)/libvorbis +pkgincludedir = $(includedir)/libvorbis + +top_builddir = ../.. + +ACLOCAL = aclocal +AUTOCONF = autoconf +AUTOMAKE = automake +AUTOHEADER = autoheader + +INSTALL = /usr/bin/install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL_PROGRAM} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = powerpc-unknown-linux-gnu +host_triplet = powerpc-unknown-linux-gnu +AS = @AS@ +CC = gcc +CPP = gcc -E +DEBUG = -g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char +DLLTOOL = @DLLTOOL@ +ECHO = echo +EXEEXT = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LN_S = ln -s +MAKEINFO = makeinfo +OBJDUMP = @OBJDUMP@ +OBJEXT = o +OGG_CFLAGS = -I/include +OGG_LIBS = -L/lib -logg +PACKAGE = libvorbis +PROFILE = -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char +RANLIB = ranlib +STRIP = strip +VERSION = 1.0beta4 +VE_LIB_AGE = 0 +VE_LIB_CURRENT = 0 +VE_LIB_REVISION = 1 +VF_LIB_AGE = 0 +VF_LIB_CURRENT = 0 +VF_LIB_REVISION = 1 +V_LIB_AGE = 0 +V_LIB_CURRENT = 0 +V_LIB_REVISION = 1 +pthread_lib = -lpthread + +AUTOMAKE_OPTIONS = foreign + +EXTRA_DIST = lsp12_0.vqh lsp12_1.vqh lsp30_0.vqh lsp30_1.vqh lsp9_0.vqh lsp9_1.vqh res0_128_1024_1.vqh res0_128_1024_2.vqh res0_128_1024_3.vqh res0_128_1024_4.vqh res0_128_1024_5.vqh res0_128_1024_6.vqh res0_128_1024_7.vqh res0_128_1024_8.vqh res0_128_1024_9.vqh res0_128_1024aux.vqh res0_128_128_1.vqh res0_128_128_2.vqh res0_128_128_3.vqh res0_128_128_4.vqh res0_128_128_5.vqh res0_128_128aux.vqh res0_160_1024_1.vqh res0_160_1024_2.vqh res0_160_1024_3.vqh res0_160_1024_4.vqh res0_160_1024_5.vqh res0_160_1024_6.vqh res0_160_1024_7.vqh res0_160_1024_8.vqh res0_160_1024_9.vqh res0_160_1024aux.vqh res0_160_128_1.vqh res0_160_128_2.vqh res0_160_128_3.vqh res0_160_128_4.vqh res0_160_128_5.vqh res0_160_128aux.vqh res0_192_1024_1.vqh res0_192_1024_2.vqh res0_192_1024_3.vqh res0_192_1024_4.vqh res0_192_1024_5.vqh res0_192_1024_6.vqh res0_192_1024_7.vqh res0_192_1024_8.vqh res0_192_1024_9.vqh res0_192_1024aux.vqh res0_192_128_1.vqh res0_192_128_2.vqh res0_192_128_3.vqh res0_192_128_4.vqh res0_192_128_5.vqh res0_192_128aux.vqh res0_256_1024_1.vqh res0_256_1024_2.vqh res0_256_1024_3.vqh res0_256_1024_4.vqh res0_256_1024_5.vqh res0_256_1024_6.vqh res0_256_1024_7.vqh res0_256_1024aux.vqh res0_256_128_1.vqh res0_256_128_2.vqh res0_256_128_3.vqh res0_256_128_4.vqh res0_256_128_5.vqh res0_256_128aux.vqh res0_96_1024_1.vqh res0_96_1024_2.vqh res0_96_1024_3.vqh res0_96_1024_4.vqh res0_96_1024_5.vqh res0_96_1024_6.vqh res0_96_1024_7.vqh res0_96_1024_8.vqh res0_96_1024_9.vqh res0_96_1024aux.vqh res0_96_128_1.vqh res0_96_128_2.vqh res0_96_128_3.vqh res0_96_128_4.vqh res0_96_128_5.vqh res0_96_128aux.vqh res0_350_1024_7.vqh + +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/books/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = lib/books + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign lib/books/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/lib/books/Makefile.in b/lib/books/Makefile.in new file mode 100644 index 00000000..7d2b905d --- /dev/null +++ b/lib/books/Makefile.in @@ -0,0 +1,202 @@ +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = ../.. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ +AS = @AS@ +CC = @CC@ +CPP = @CPP@ +DEBUG = @DEBUG@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +EXEEXT = @EXEEXT@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAKEINFO = @MAKEINFO@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OGG_CFLAGS = @OGG_CFLAGS@ +OGG_LIBS = @OGG_LIBS@ +PACKAGE = @PACKAGE@ +PROFILE = @PROFILE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ +VE_LIB_AGE = @VE_LIB_AGE@ +VE_LIB_CURRENT = @VE_LIB_CURRENT@ +VE_LIB_REVISION = @VE_LIB_REVISION@ +VF_LIB_AGE = @VF_LIB_AGE@ +VF_LIB_CURRENT = @VF_LIB_CURRENT@ +VF_LIB_REVISION = @VF_LIB_REVISION@ +V_LIB_AGE = @V_LIB_AGE@ +V_LIB_CURRENT = @V_LIB_CURRENT@ +V_LIB_REVISION = @V_LIB_REVISION@ +pthread_lib = @pthread_lib@ + +AUTOMAKE_OPTIONS = foreign + +EXTRA_DIST = lsp12_0.vqh lsp12_1.vqh lsp30_0.vqh lsp30_1.vqh lsp9_0.vqh lsp9_1.vqh res0_128_1024_1.vqh res0_128_1024_2.vqh res0_128_1024_3.vqh res0_128_1024_4.vqh res0_128_1024_5.vqh res0_128_1024_6.vqh res0_128_1024_7.vqh res0_128_1024_8.vqh res0_128_1024_9.vqh res0_128_1024aux.vqh res0_128_128_1.vqh res0_128_128_2.vqh res0_128_128_3.vqh res0_128_128_4.vqh res0_128_128_5.vqh res0_128_128aux.vqh res0_160_1024_1.vqh res0_160_1024_2.vqh res0_160_1024_3.vqh res0_160_1024_4.vqh res0_160_1024_5.vqh res0_160_1024_6.vqh res0_160_1024_7.vqh res0_160_1024_8.vqh res0_160_1024_9.vqh res0_160_1024aux.vqh res0_160_128_1.vqh res0_160_128_2.vqh res0_160_128_3.vqh res0_160_128_4.vqh res0_160_128_5.vqh res0_160_128aux.vqh res0_192_1024_1.vqh res0_192_1024_2.vqh res0_192_1024_3.vqh res0_192_1024_4.vqh res0_192_1024_5.vqh res0_192_1024_6.vqh res0_192_1024_7.vqh res0_192_1024_8.vqh res0_192_1024_9.vqh res0_192_1024aux.vqh res0_192_128_1.vqh res0_192_128_2.vqh res0_192_128_3.vqh res0_192_128_4.vqh res0_192_128_5.vqh res0_192_128aux.vqh res0_256_1024_1.vqh res0_256_1024_2.vqh res0_256_1024_3.vqh res0_256_1024_4.vqh res0_256_1024_5.vqh res0_256_1024_6.vqh res0_256_1024_7.vqh res0_256_1024aux.vqh res0_256_128_1.vqh res0_256_128_2.vqh res0_256_128_3.vqh res0_256_128_4.vqh res0_256_128_5.vqh res0_256_128aux.vqh res0_96_1024_1.vqh res0_96_1024_2.vqh res0_96_1024_3.vqh res0_96_1024_4.vqh res0_96_1024_5.vqh res0_96_1024_6.vqh res0_96_1024_7.vqh res0_96_1024_8.vqh res0_96_1024_9.vqh res0_96_1024aux.vqh res0_96_128_1.vqh res0_96_128_2.vqh res0_96_128_3.vqh res0_96_128_4.vqh res0_96_128_5.vqh res0_96_128aux.vqh res0_350_1024_7.vqh + +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/books/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = lib/books + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign lib/books/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/lib/books/line0_class2.vqh b/lib/books/line0_class2.vqh deleted file mode 100644 index e23e8d9a..00000000 --- a/lib/books/line0_class2.vqh +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line0_class2_VQH_ -#define _V_line0_class2_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line0_class2[] = { - 2, 3, 4,10, 6, 3, 4,11,10, 8, 8,14,14,14,14,14, - 5, 3, 4, 9, 7, 4, 5, 9,10, 8, 8,12,14,14,14,14, - 9, 8, 9,11,13, 9, 9,11,12,11,11,14,14,14,14,14, - 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, -}; - -static static_codebook _huff_book_line0_class2 = { - 1, 64, - _huff_lengthlist_line0_class2, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_0sub0.vqh b/lib/books/line1_0sub0.vqh deleted file mode 100644 index fc925360..00000000 --- a/lib/books/line1_0sub0.vqh +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_0sub0_VQH_ -#define _V_line1_0sub0_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_0sub0[] = { - 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 7, 6, 7, 6, -}; - -static static_codebook _huff_book_line1_0sub0 = { - 1, 32, - _huff_lengthlist_line1_0sub0, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_0sub1.vqh b/lib/books/line1_0sub1.vqh deleted file mode 100644 index 92008573..00000000 --- a/lib/books/line1_0sub1.vqh +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_0sub1_VQH_ -#define _V_line1_0sub1_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_0sub1[] = { - 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, - 5, 4, 5, 4, 5, 4, 6, 4, 6, 4, 6, 5, 6, 4, 6, 5, - 7, 4, 7, 5, 6, 5, 7, 5, 8, 5, 8, 5, 8, 6, 8, 6, - 8, 6, 8, 7, 8, 7, 8, 7, 8, 8, 9, 8, 9, 9,11,12, - 11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12, - 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12, - 12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11, -}; - -static static_codebook _huff_book_line1_0sub1 = { - 1, 128, - _huff_lengthlist_line1_0sub1, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_1sub0.vqh b/lib/books/line1_1sub0.vqh deleted file mode 100644 index 7a2c7aff..00000000 --- a/lib/books/line1_1sub0.vqh +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_1sub0_VQH_ -#define _V_line1_1sub0_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_1sub0[] = { - 2, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, - 5, 6, 5, 6, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, -}; - -static static_codebook _huff_book_line1_1sub0 = { - 1, 32, - _huff_lengthlist_line1_1sub0, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_1sub1.vqh b/lib/books/line1_1sub1.vqh deleted file mode 100644 index eb14a008..00000000 --- a/lib/books/line1_1sub1.vqh +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_1sub1_VQH_ -#define _V_line1_1sub1_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_1sub1[] = { - 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, - 4, 4, 4, 4, 5, 4, 5, 4, 6, 3, 6, 3, 7, 4, 7, 4, - 9, 5,10, 5,12, 6,12, 7,11, 7,11, 8,11, 8,11, 9, - 11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11, - 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, - 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, - 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, -}; - -static static_codebook _huff_book_line1_1sub1 = { - 1, 128, - _huff_lengthlist_line1_1sub1, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_2sub3.vqh b/lib/books/line1_2sub3.vqh deleted file mode 100644 index 52cffac4..00000000 --- a/lib/books/line1_2sub3.vqh +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_2sub3_VQH_ -#define _V_line1_2sub3_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_2sub3[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3, 7, 4, 7, 4, 7, 6, 7, 6, 7, 6, 7, 7, 7, - 5, 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, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -}; - -static static_codebook _huff_book_line1_2sub3 = { - 1, 128, - _huff_lengthlist_line1_2sub3, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_3sub3.vqh b/lib/books/line1_3sub3.vqh deleted file mode 100644 index 17c318f4..00000000 --- a/lib/books/line1_3sub3.vqh +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_3sub3_VQH_ -#define _V_line1_3sub3_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_3sub3[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 8, 2, 9, 3, 9, 3, 8, 3, 8, 4, 8, 5, 8, 7, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -}; - -static static_codebook _huff_book_line1_3sub3 = { - 1, 128, - _huff_lengthlist_line1_3sub3, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_class2.vqh b/lib/books/line1_class2.vqh deleted file mode 100644 index d6d8e32b..00000000 --- a/lib/books/line1_class2.vqh +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_class2_VQH_ -#define _V_line1_class2_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_class2[] = { - 1, 3, 5,16, 8, 5, 6,14,10, 6, 8,14,16,15,16,16, - 7, 3, 7,12, 8, 4, 6,13,10, 7, 7,14,16,15,16,16, - 13, 9, 8,14,11, 7, 6,14,16,10,10,16,16,16,16,16, - 16,16,16,16,16,15,15,15,15,15,15,15,15,15,15,15, -}; - -static static_codebook _huff_book_line1_class2 = { - 1, 64, - _huff_lengthlist_line1_class2, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_class3.vqh b/lib/books/line1_class3.vqh deleted file mode 100644 index cb0e8fcd..00000000 --- a/lib/books/line1_class3.vqh +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_line1_class3_VQH_ -#define _V_line1_class3_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_line1_class3[] = { - 1, 4, 3, 8, 7, 4, 5,12,10, 7,10,15,15,15,15,15, - 7, 4, 6, 9, 7, 4, 6,12,11, 7,10,15,15,14,15,15, - 12,11, 9,12,12, 8, 8,12,13,10,12,13,15,15,15,15, - 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,14, -}; - -static static_codebook _huff_book_line1_class3 = { - 1, 64, - _huff_lengthlist_line1_class3, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/line1_class1.vqh b/lib/books/line_1024x31_0sub0.vqh index 3467b4f6..07595fc7 100644 --- a/lib/books/line1_class1.vqh +++ b/lib/books/line_1024x31_0sub0.vqh @@ -15,17 +15,17 @@ ********************************************************************/ -#ifndef _V_line1_class1_VQH_ -#define _V_line1_class1_VQH_ +#ifndef _V_line_1024x31_0sub0_VQH_ +#define _V_line_1024x31_0sub0_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_class1[] = { - 1, 4, 5,10, 6,10, 9,10, 2, 4, 4, 8, 8,10,10,10, +static long _huff_lengthlist_line_1024x31_0sub0[] = { + 4, 3, 4, 4, 3, 4, 4, 4, 4, 4, 4, 5, 4, 5, 5, 5, }; -static static_codebook _huff_book_line1_class1 = { +static static_codebook _huff_book_line_1024x31_0sub0 = { 1, 16, - _huff_lengthlist_line1_class1, + _huff_lengthlist_line_1024x31_0sub0, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line1_3sub2.vqh b/lib/books/line_1024x31_0sub1.vqh index 8b8d2005..23b17001 100644 --- a/lib/books/line1_3sub2.vqh +++ b/lib/books/line_1024x31_0sub1.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line1_3sub2_VQH_ -#define _V_line1_3sub2_VQH_ +#ifndef _V_line_1024x31_0sub1_VQH_ +#define _V_line_1024x31_0sub1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_3sub2[] = { +static long _huff_lengthlist_line_1024x31_0sub1[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 4, 3, 5, 3, 5, 3, 6, 3, 6, 4, 8, 4, 8, 5, - 9, 5, 9, 5,10, 5,10, 6,11, 6,12, 6,11, 6,11, 7, - 12, 7, + 3, 3, 3, 3, 4, 4, 4, 4, 5, 4, 5, 5, 5, 6, 7, 7, + 7, 7, 9,10, 9,12, 9,12, 9,12,11,12,12,12,12,12, + 12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11, }; -static static_codebook _huff_book_line1_3sub2 = { - 1, 50, - _huff_lengthlist_line1_3sub2, +static static_codebook _huff_book_line_1024x31_0sub1 = { + 1, 64, + _huff_lengthlist_line_1024x31_0sub1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line0_1sub2.vqh b/lib/books/line_1024x31_1sub0.vqh index 4ad05822..bcbe5a11 100644 --- a/lib/books/line0_1sub2.vqh +++ b/lib/books/line_1024x31_1sub0.vqh @@ -15,18 +15,17 @@ ********************************************************************/ -#ifndef _V_line0_1sub2_VQH_ -#define _V_line0_1sub2_VQH_ +#ifndef _V_line_1024x31_1sub0_VQH_ +#define _V_line_1024x31_1sub0_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_1sub2[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 2, 8, 3, 8, 4, - 10, 6,11, 8,11,11,11,11,11, +static long _huff_lengthlist_line_1024x31_1sub0[] = { + 2, 4, 4, 4, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, }; -static static_codebook _huff_book_line0_1sub2 = { - 1, 25, - _huff_lengthlist_line0_1sub2, +static static_codebook _huff_book_line_1024x31_1sub0 = { + 1, 16, + _huff_lengthlist_line_1024x31_1sub0, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_1024x31_1sub1.vqh b/lib/books/line_1024x31_1sub1.vqh new file mode 100644 index 00000000..8a91cfbd --- /dev/null +++ b/lib/books/line_1024x31_1sub1.vqh @@ -0,0 +1,40 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_1sub1_VQH_ +#define _V_line_1024x31_1sub1_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_1sub1[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 8, + 11,11,10,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,10, +}; + +static static_codebook _huff_book_line_1024x31_1sub1 = { + 1, 64, + _huff_lengthlist_line_1024x31_1sub1, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line1_2sub1.vqh b/lib/books/line_1024x31_2sub1.vqh index 5b0240e8..c89989ca 100644 --- a/lib/books/line1_2sub1.vqh +++ b/lib/books/line_1024x31_2sub1.vqh @@ -15,18 +15,17 @@ ********************************************************************/ -#ifndef _V_line1_2sub1_VQH_ -#define _V_line1_2sub1_VQH_ +#ifndef _V_line_1024x31_2sub1_VQH_ +#define _V_line_1024x31_2sub1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_2sub1[] = { - 0, 4, 4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, - 5, 5, +static long _huff_lengthlist_line_1024x31_2sub1[] = { + 0, 3, 4, 2, 3, 3, 3, 3, 4, }; -static static_codebook _huff_book_line1_2sub1 = { - 1, 18, - _huff_lengthlist_line1_2sub1, +static static_codebook _huff_book_line_1024x31_2sub1 = { + 1, 9, + _huff_lengthlist_line_1024x31_2sub1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_1024x31_2sub2.vqh b/lib/books/line_1024x31_2sub2.vqh new file mode 100644 index 00000000..96755592 --- /dev/null +++ b/lib/books/line_1024x31_2sub2.vqh @@ -0,0 +1,38 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_2sub2_VQH_ +#define _V_line_1024x31_2sub2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_2sub2[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 3, 5, 4, 6, + 4, 7, 4, 8, 4, 9, 5, 9, 5, +}; + +static static_codebook _huff_book_line_1024x31_2sub2 = { + 1, 25, + _huff_lengthlist_line_1024x31_2sub2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line_1024x31_2sub3.vqh b/lib/books/line_1024x31_2sub3.vqh new file mode 100644 index 00000000..aa8341a0 --- /dev/null +++ b/lib/books/line_1024x31_2sub3.vqh @@ -0,0 +1,40 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_2sub3_VQH_ +#define _V_line_1024x31_2sub3_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_2sub3[] = { + 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, 8, 1, 8, 3, 8, 3, 8, + 4, 8, 6, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, +}; + +static static_codebook _huff_book_line_1024x31_2sub3 = { + 1, 64, + _huff_lengthlist_line_1024x31_2sub3, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line0_2sub1.vqh b/lib/books/line_1024x31_3sub1.vqh index e972ad76..0e474fbe 100644 --- a/lib/books/line0_2sub1.vqh +++ b/lib/books/line_1024x31_3sub1.vqh @@ -15,17 +15,17 @@ ********************************************************************/ -#ifndef _V_line0_2sub1_VQH_ -#define _V_line0_2sub1_VQH_ +#ifndef _V_line_1024x31_3sub1_VQH_ +#define _V_line_1024x31_3sub1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_2sub1[] = { +static long _huff_lengthlist_line_1024x31_3sub1[] = { 0, 2, 3, 3, 3, 3, 4, 3, 4, }; -static static_codebook _huff_book_line0_2sub1 = { +static static_codebook _huff_book_line_1024x31_3sub1 = { 1, 9, - _huff_lengthlist_line0_2sub1, + _huff_lengthlist_line_1024x31_3sub1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_1024x31_3sub2.vqh b/lib/books/line_1024x31_3sub2.vqh new file mode 100644 index 00000000..a28e561a --- /dev/null +++ b/lib/books/line_1024x31_3sub2.vqh @@ -0,0 +1,38 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_3sub2_VQH_ +#define _V_line_1024x31_3sub2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_3sub2[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 2, 4, 3, 5, 4, + 6, 6, 7, 6, 8, 6, 9, 6, 9, +}; + +static static_codebook _huff_book_line_1024x31_3sub2 = { + 1, 25, + _huff_lengthlist_line_1024x31_3sub2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line0_1sub3.vqh b/lib/books/line_1024x31_3sub3.vqh index 58c26dee..5a7c26f9 100644 --- a/lib/books/line0_1sub3.vqh +++ b/lib/books/line_1024x31_3sub3.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line0_1sub3_VQH_ -#define _V_line0_1sub3_VQH_ +#ifndef _V_line_1024x31_3sub3_VQH_ +#define _V_line_1024x31_3sub3_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_1sub3[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 0, 3, 0, 0, 0, 0, 2, 0, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, +static long _huff_lengthlist_line_1024x31_3sub3[] = { + 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, 3, 6, 2, 5, 3, 5, 4, + 5, 5, 6, 8, 5, 9, 5, 9, 4, 8, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, }; -static static_codebook _huff_book_line0_1sub3 = { +static static_codebook _huff_book_line_1024x31_3sub3 = { 1, 64, - _huff_lengthlist_line0_1sub3, + _huff_lengthlist_line_1024x31_3sub3, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line1_3sub1.vqh b/lib/books/line_1024x31_class0.vqh index 28c506cf..d416d60e 100644 --- a/lib/books/line1_3sub1.vqh +++ b/lib/books/line_1024x31_class0.vqh @@ -15,18 +15,17 @@ ********************************************************************/ -#ifndef _V_line1_3sub1_VQH_ -#define _V_line1_3sub1_VQH_ +#ifndef _V_line_1024x31_class0_VQH_ +#define _V_line_1024x31_class0_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_3sub1[] = { - 0, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, - 5, 5, +static long _huff_lengthlist_line_1024x31_class0[] = { + 1, 3, 3, 4, 3, 5, 6, 6, }; -static static_codebook _huff_book_line1_3sub1 = { - 1, 18, - _huff_lengthlist_line1_3sub1, +static static_codebook _huff_book_line_1024x31_class0 = { + 1, 8, + _huff_lengthlist_line_1024x31_class0, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line0_2sub2.vqh b/lib/books/line_1024x31_class1.vqh index c8da4930..f2ca4a89 100644 --- a/lib/books/line0_2sub2.vqh +++ b/lib/books/line_1024x31_class1.vqh @@ -15,18 +15,17 @@ ********************************************************************/ -#ifndef _V_line0_2sub2_VQH_ -#define _V_line0_2sub2_VQH_ +#ifndef _V_line_1024x31_class1_VQH_ +#define _V_line_1024x31_class1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_2sub2[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 5, 3, 5, 4, - 6, 4, 6, 5, 7, 5, 8, 6, 8, +static long _huff_lengthlist_line_1024x31_class1[] = { + 1, 2, 4, 4, 7, 7,10,12, 4, 5, 7, 8,10,10,12,11, }; -static static_codebook _huff_book_line0_2sub2 = { - 1, 25, - _huff_lengthlist_line0_2sub2, +static static_codebook _huff_book_line_1024x31_class1 = { + 1, 16, + _huff_lengthlist_line_1024x31_class1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_1024x31_class2.vqh b/lib/books/line_1024x31_class2.vqh new file mode 100644 index 00000000..521aaf1e --- /dev/null +++ b/lib/books/line_1024x31_class2.vqh @@ -0,0 +1,40 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_class2_VQH_ +#define _V_line_1024x31_class2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_class2[] = { + 1, 2, 4,10, 8, 5, 6,10,11, 8, 7,15,16,16,13,16, + 7, 4, 6,12, 8, 6, 7,11,13,10,12,16,16,16,16,16, + 12, 9,10,14,11, 9,11,15,16,12,13,16,16,16,16,16, + 16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,15, +}; + +static static_codebook _huff_book_line_1024x31_class2 = { + 1, 64, + _huff_lengthlist_line_1024x31_class2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line_1024x31_class3.vqh b/lib/books/line_1024x31_class3.vqh new file mode 100644 index 00000000..daa06835 --- /dev/null +++ b/lib/books/line_1024x31_class3.vqh @@ -0,0 +1,40 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_1024x31_class3_VQH_ +#define _V_line_1024x31_class3_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_1024x31_class3[] = { + 1, 3, 5,11, 6, 4, 5,14, 9, 6, 9,14,14,14,14,14, + 6, 4, 6, 8, 7, 5, 6,10, 8, 6, 8,11,14,14,14,14, + 11, 8, 8, 9,10, 7, 7,10,12, 9,10,14,14,14,14,14, + 14,14,12, 8,14,14,14,12,14,14,14,14,14,14,14,14, +}; + +static static_codebook _huff_book_line_1024x31_class3 = { + 1, 64, + _huff_lengthlist_line_1024x31_class3, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line0_0sub0.vqh b/lib/books/line_128x7_0sub0.vqh index ad7f2f5c..2f41d067 100644 --- a/lib/books/line0_0sub0.vqh +++ b/lib/books/line_128x7_0sub0.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line0_0sub0_VQH_ -#define _V_line0_0sub0_VQH_ +#ifndef _V_line_128x7_0sub0_VQH_ +#define _V_line_128x7_0sub0_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_0sub0[] = { - 4, 4, 4, 4, 4, 4, 4, 4, 5, 4, 5, 4, 5, 4, 6, 5, - 6, 5, 6, 6, 7, 6, 7, 7, 7, 7, 8, 8, 8, 9, 8,10, - 8,11, 8,11, 8,12, 9,14, 9,15,10,14,11,12,11,12, - 13,15,14,13,14,14,14,14,14,14,14,14,14,14,14,14, +static long _huff_lengthlist_line_128x7_0sub0[] = { + 4, 4, 4, 5, 4, 5, 4, 5, 4, 5, 5, 6, 4, 6, 5, 6, + 5, 6, 5, 7, 5, 7, 5, 8, 5, 9, 5,10, 5,11, 6,11, + 6,13, 7,13, 7,13, 7,13, 8,13, 8,13, 9,13, 9,12, + 13,13,11,13,11,12,13,13,13,13,13,13,13,13,13,13, }; -static static_codebook _huff_book_line0_0sub0 = { +static static_codebook _huff_book_line_128x7_0sub0 = { 1, 64, - _huff_lengthlist_line0_0sub0, + _huff_lengthlist_line_128x7_0sub0, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line0_1sub1.vqh b/lib/books/line_128x7_1sub1.vqh index 8a4dcbf3..52e0e72e 100644 --- a/lib/books/line0_1sub1.vqh +++ b/lib/books/line_128x7_1sub1.vqh @@ -15,17 +15,17 @@ ********************************************************************/ -#ifndef _V_line0_1sub1_VQH_ -#define _V_line0_1sub1_VQH_ +#ifndef _V_line_128x7_1sub1_VQH_ +#define _V_line_128x7_1sub1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_1sub1[] = { - 0, 4, 5, 2, 4, 2, 4, 2, 5, +static long _huff_lengthlist_line_128x7_1sub1[] = { + 0, 3, 3, 3, 3, 3, 3, 3, 3, }; -static static_codebook _huff_book_line0_1sub1 = { +static static_codebook _huff_book_line_128x7_1sub1 = { 1, 9, - _huff_lengthlist_line0_1sub1, + _huff_lengthlist_line_128x7_1sub1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_128x7_1sub2.vqh b/lib/books/line_128x7_1sub2.vqh new file mode 100644 index 00000000..6c5793f3 --- /dev/null +++ b/lib/books/line_128x7_1sub2.vqh @@ -0,0 +1,38 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_128x7_1sub2_VQH_ +#define _V_line_128x7_1sub2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_128x7_1sub2[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 4, 4, 4, + 4, 5, 4, 5, 5, 5, 5, 6, 6, +}; + +static static_codebook _huff_book_line_128x7_1sub2 = { + 1, 25, + _huff_lengthlist_line_128x7_1sub2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line0_2sub3.vqh b/lib/books/line_128x7_1sub3.vqh index 85cccae0..457cd754 100644 --- a/lib/books/line0_2sub3.vqh +++ b/lib/books/line_128x7_1sub3.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line0_2sub3_VQH_ -#define _V_line0_2sub3_VQH_ +#ifndef _V_line_128x7_1sub3_VQH_ +#define _V_line_128x7_1sub3_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_2sub3[] = { +static long _huff_lengthlist_line_128x7_1sub3[] = { 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, 2, 5, 2, 5, 4, 6, 5, - 6, 5, 6, 6, 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, 6, 6, 6, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 5, 3, 5, 3, 8, + 4, 8, 5, 8, 6, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, }; -static static_codebook _huff_book_line0_2sub3 = { +static static_codebook _huff_book_line_128x7_1sub3 = { 1, 64, - _huff_lengthlist_line0_2sub3, + _huff_lengthlist_line_128x7_1sub3, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line1_class0.vqh b/lib/books/line_128x7_2sub1.vqh index ca63e927..461c78d8 100644 --- a/lib/books/line1_class0.vqh +++ b/lib/books/line_128x7_2sub1.vqh @@ -15,17 +15,17 @@ ********************************************************************/ -#ifndef _V_line1_class0_VQH_ -#define _V_line1_class0_VQH_ +#ifndef _V_line_128x7_2sub1_VQH_ +#define _V_line_128x7_2sub1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_class0[] = { - 1, 2, 5, 6, 3, 4, 7, 7, +static long _huff_lengthlist_line_128x7_2sub1[] = { + 0, 3, 3, 2, 3, 3, 4, 3, 4, }; -static static_codebook _huff_book_line1_class0 = { - 1, 8, - _huff_lengthlist_line1_class0, +static static_codebook _huff_book_line_128x7_2sub1 = { + 1, 9, + _huff_lengthlist_line_128x7_2sub1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_128x7_2sub2.vqh b/lib/books/line_128x7_2sub2.vqh new file mode 100644 index 00000000..8fe3039f --- /dev/null +++ b/lib/books/line_128x7_2sub2.vqh @@ -0,0 +1,38 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_128x7_2sub2_VQH_ +#define _V_line_128x7_2sub2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_128x7_2sub2[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 3, 5, 3, 5, 3, + 6, 4, 7, 4, 8, 4, 9, 5, 9, +}; + +static static_codebook _huff_book_line_128x7_2sub2 = { + 1, 25, + _huff_lengthlist_line_128x7_2sub2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/line1_2sub2.vqh b/lib/books/line_128x7_2sub3.vqh index ff645872..132a8caa 100644 --- a/lib/books/line1_2sub2.vqh +++ b/lib/books/line_128x7_2sub3.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line1_2sub2_VQH_ -#define _V_line1_2sub2_VQH_ +#ifndef _V_line_128x7_2sub3_VQH_ +#define _V_line_128x7_2sub3_VQH_ #include "codebook.h" -static long _huff_lengthlist_line1_2sub2[] = { +static long _huff_lengthlist_line_128x7_2sub3[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3, 5, 3, 6, 3, 6, 3, 6, 4, 7, 4, 7, 4, 7, - 4, 8, 5,10, 5,13, 5,12, 6,13, 6,13, 7,13, 7,13, - 9,13, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 7, 2, 8, 3, 7, 3, + 7, 4, 8, 4, 9, 5, 8, 7, 8, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, }; -static static_codebook _huff_book_line1_2sub2 = { - 1, 50, - _huff_lengthlist_line1_2sub2, +static static_codebook _huff_book_line_128x7_2sub3 = { + 1, 64, + _huff_lengthlist_line_128x7_2sub3, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line0_class1.vqh b/lib/books/line_128x7_class1.vqh index eec50135..af52b62a 100644 --- a/lib/books/line0_class1.vqh +++ b/lib/books/line_128x7_class1.vqh @@ -15,20 +15,20 @@ ********************************************************************/ -#ifndef _V_line0_class1_VQH_ -#define _V_line0_class1_VQH_ +#ifndef _V_line_128x7_class1_VQH_ +#define _V_line_128x7_class1_VQH_ #include "codebook.h" -static long _huff_lengthlist_line0_class1[] = { - 1, 2, 3,14, 7, 4, 9,14,11,11,14,14,13,13,13,13, - 7, 5, 9,13,11, 9,12,13,13,13,13,13,13,13,13,13, - 11, 9,13,13,13,13,13,13,13,13,13,13,13,13,13,13, - 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13, +static long _huff_lengthlist_line_128x7_class1[] = { + 2, 4, 3,10, 9, 6, 6,13,13,13,10,13,13,13,13,13, + 6, 3, 3, 7, 9, 7, 6,13,13,13,11,13,13,13,13,13, + 7, 4, 4, 8, 8, 6, 4,12,13,13,11,13,13,13,13,13, + 13,12, 9,12,13,11,10,12,13,13,13,13,13,12,12,12, }; -static static_codebook _huff_book_line0_class1 = { +static static_codebook _huff_book_line_128x7_class1 = { 1, 64, - _huff_lengthlist_line0_class1, + _huff_lengthlist_line_128x7_class1, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/line_128x7_class2.vqh b/lib/books/line_128x7_class2.vqh new file mode 100644 index 00000000..b0f10298 --- /dev/null +++ b/lib/books/line_128x7_class2.vqh @@ -0,0 +1,40 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_line_128x7_class2_VQH_ +#define _V_line_128x7_class2_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_line_128x7_class2[] = { + 7, 6, 6,10, 7, 4, 5, 7, 9, 6, 6, 9,13,13,13,13, + 7, 5, 5, 8, 5, 3, 3, 6, 7, 4, 5, 8,13,13,10,12, + 10, 7, 6, 8, 7, 4, 3, 5, 8, 5, 5, 8,13,11,10,13, + 13,11,11,13,11, 8,10,13,12, 9,11,13,13,13,13,13, +}; + +static static_codebook _huff_book_line_128x7_class2 = { + 1, 64, + _huff_lengthlist_line_128x7_class2, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/res0_128_1024_1.vqh b/lib/books/res0_128_1024_1.vqh deleted file mode 100644 index ec1bdc9b..00000000 --- a/lib/books/res0_128_1024_1.vqh +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_1_VQH_ -#define _V_res0_128_1024_1_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_1[] = { - 1, - 0, - 2, -}; - -static long _vq_lengthlist_res0_128_1024_1[] = { - 2, 5, 5, 0, 5, 5, 0, 4, 5, 5, 7, 6, 0, 8, 8, 0, - 8, 8, 5, 6, 7, 0, 8, 8, 0, 8, 8, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 4, 8, 7, 0, 7, 6, 0, 7, 7, 5, 7, 8, - 0, 6, 7, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, - 8, 7, 0, 7, 7, 0, 7, 6, 5, 7, 8, 0, 7, 7, 0, 6, - 7, -}; - -static float _vq_quantthresh_res0_128_1024_1[] = { - -0.5, 0.5, -}; - -static long _vq_quantmap_res0_128_1024_1[] = { - 1, 0, 2, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_1 = { - _vq_quantthresh_res0_128_1024_1, - _vq_quantmap_res0_128_1024_1, - 3, - 3 -}; - -static long _vq_pigeonmap_res0_128_1024_1[] = { - 0, 0, -}; - -static long _vq_fitlist_res0_128_1024_1[] = { - 0, 1, 2, 4, 5, 7, 8, 9, - 10, 11, 13, 14, 16, 17, 18, 19, - 20, 22, 23, 25, 26, 36, 37, 38, - 40, 41, 43, 44, 45, 46, 47, 49, - 50, 52, 53, 63, 64, 65, 67, 68, - 70, 71, 72, 73, 74, 76, 77, 79, - 80, -}; - -static long _vq_fitmap_res0_128_1024_1[] = { - 0, -}; - -static long _vq_fitlength_res0_128_1024_1[] = { - 49, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_1 = { - -1, 1, 2, 1, - _vq_pigeonmap_res0_128_1024_1, - 49, - _vq_fitlist_res0_128_1024_1, - _vq_fitmap_res0_128_1024_1, - _vq_fitlength_res0_128_1024_1 -}; - -static static_codebook _vq_book_res0_128_1024_1 = { - 4, 81, - _vq_lengthlist_res0_128_1024_1, - 1, -535822336, 1611661312, 2, 0, - _vq_quantlist_res0_128_1024_1, - NULL, - &_vq_auxt_res0_128_1024_1, - &_vq_auxp_res0_128_1024_1, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_3.vqh b/lib/books/res0_128_1024_3.vqh deleted file mode 100644 index f7e80ff3..00000000 --- a/lib/books/res0_128_1024_3.vqh +++ /dev/null @@ -1,300 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_3_VQH_ -#define _V_res0_128_1024_3_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_3[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_1024_3[] = { - 3, 5, 6, 8, 8, 0, 6, 5, 9, 9, 0, 6, 5, 8, 8, 0, - 7, 7, 9, 9, 0, 0, 0, 9, 9, 5, 7, 6,10, 9, 0, 8, - 7,10, 9, 0, 7, 7,10, 9, 0,10, 9,10,10, 0, 0, 0, - 11,10, 6, 6, 7, 9,10, 0, 7, 8, 9,10, 0, 7, 7, 9, - 10, 0, 9, 9,10,10, 0, 0, 0,10,10, 8, 9, 9,11,11, - 0,11,10,13,11, 0,10,11,11,12, 0,12,13,14,13, 0, - 0, 0,14,13, 8, 9,10,10,11, 0,10,11,11,13, 0,11, - 11,12,12, 0,13,13,13,14, 0, 0, 0,12,13, 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, 6, 7, 7,11,11, 0, 7, 7,10, 9, - 0, 7, 7,10,10, 0, 9, 8,10, 9, 0, 0, 0, 9,10, 6, - 7, 7,11,11, 0, 7, 7, 9,10, 0, 7, 7,10,10, 0, 8, - 9, 9,10, 0, 0, 0,10,10, 9,10, 9,12,12, 0,10,10, - 11,10, 0,10, 9,12,12, 0,11,11,12,12, 0, 0, 0,12, - 12, 8, 9,10,12,12, 0, 9,10,11,12, 0,10,10,11,12, - 0,11,11,11,13, 0, 0, 0,13,12, 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, 6, 8, 7,11,10, 0, 7, 7,10,10, 0, 7, 7, - 10, 9, 0, 8, 8,10,10, 0, 0, 0,10,10, 6, 7, 8,11, - 11, 0, 7, 7, 9,10, 0, 7, 7, 9,10, 0, 8, 8,10,10, - 0, 0, 0,10,10, 8,10, 9,12,12, 0,10, 9,12,11, 0, - 10, 9,12,10, 0,11,11,12,12, 0, 0, 0,12,11, 9, 9, - 10,11,13, 0, 9,10,12,12, 0,10,10,10,13, 0,11,11, - 12,13, 0, 0, 0,12,13, 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, - 7, 9, 9,12,12, 0, 8, 8,11,11, 0, 8, 9,11,11, 0, - 10, 9,11,11, 0, 0, 0,10,11, 7, 9, 9,14,12, 0, 8, - 8,11,11, 0, 9, 8,11,11, 0, 9,10,11,11, 0, 0, 0, - 11,11, 9,10,10,13,13, 0,10,10,13,11, 0,10,10,12, - 12, 0,11,11,13,11, 0, 0, 0,12,12, 9,10,10,13,13, - 0,10,10,11,13, 0,10,10,12,12, 0,10,12,11,13, 0, - 0, 0,12,12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, - 10,10,13,13, 0,10,10,13,11, 0,10,10,12,11, 0,11, - 11,13,12, 0, 0, 0,13,12, 9,10,11,13,13, 0,10,10, - 12,12, 0, 9,10,12,12, 0,11,11,12,12, 0, 0, 0,12, - 12, -}; - -static float _vq_quantthresh_res0_128_1024_3[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_1024_3[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_3 = { - _vq_quantthresh_res0_128_1024_3, - _vq_quantmap_res0_128_1024_3, - 5, - 5 -}; - -static long _vq_pigeonmap_res0_128_1024_3[] = { - 1, 0, 0, 0, -}; - -static long _vq_fitlist_res0_128_1024_3[] = { - 0, 1, 2, 3, 6, 7, 8, 11, - 12, 13, 16, 17, 18, 25, 26, 27, - 28, 31, 32, 33, 36, 37, 38, 41, - 42, 43, 50, 51, 52, 53, 56, 57, - 58, 61, 62, 63, 66, 67, 68, 75, - 76, 77, 78, 81, 82, 83, 86, 87, - 88, 91, 92, 93, 150, 151, 152, 153, - 156, 157, 158, 161, 162, 163, 166, 167, - 168, 175, 176, 177, 178, 181, 182, 183, - 186, 187, 188, 191, 192, 193, 200, 201, - 202, 203, 206, 207, 208, 211, 212, 213, - 216, 217, 218, 275, 276, 277, 278, 281, - 282, 283, 286, 287, 288, 291, 292, 293, - 300, 301, 302, 303, 306, 307, 308, 311, - 316, 325, 326, 327, 328, 331, 332, 333, - 336, 341, 400, 401, 402, 403, 406, 407, - 408, 411, 412, 413, 416, 417, 418, 425, - 426, 427, 428, 431, 432, 433, 436, 441, - 450, 451, 452, 453, 456, 457, 458, 461, - 466, 4, 9, 14, 19, 29, 34, 39, - 44, 54, 59, 64, 69, 79, 84, 89, - 94, 154, 159, 164, 169, 179, 184, 189, - 194, 204, 209, 214, 219, 279, 284, 289, - 294, 304, 309, 312, 317, 329, 334, 337, - 342, 404, 409, 414, 419, 429, 434, 437, - 442, 454, 459, 462, 467, 314, 319, 339, - 344, 439, 444, 464, 469, 23, 48, 73, - 98, 173, 198, 223, 298, 313, 338, 423, - 438, 463, 24, 49, 74, 99, 174, 199, - 224, 299, 424, 324, 349, 449, 474, 323, - 348, 448, 473, 100, 101, 102, 103, 106, - 107, 108, 111, 112, 113, 116, 117, 118, - 225, 226, 227, 228, 231, 232, 233, 236, - 237, 238, 241, 242, 243, 318, 350, 351, - 352, 353, 356, 357, 358, 361, 366, 443, - 475, 476, 477, 478, 481, 482, 483, 486, - 491, 104, 109, 114, 119, 229, 234, 239, - 244, 354, 359, 362, 367, 479, 484, 487, - 492, 364, 369, 489, 494, 123, 248, 363, - 488, 124, 249, 374, 499, 373, 498, 368, - 493, 343, 575, 576, 577, 578, 581, 582, - 583, 586, 591, 579, 584, 587, 592, 589, - 594, 588, 599, 598, 600, 601, 602, 603, - 606, 607, 608, 611, 616, 604, 609, 612, - 617, 614, 619, 613, 624, 623, 618, 593, - 0, 1, 3, 6, 8, 11, 13, 16, - 18, 25, 26, 28, 31, 33, 36, 38, - 41, 43, 50, 51, 53, 56, 58, 61, - 63, 66, 68, 75, 76, 78, 81, 83, - 86, 88, 91, 93, 150, 151, 153, 156, - 158, 161, 163, 166, 168, 175, 176, 178, - 181, 183, 186, 188, 191, 193, 200, 201, - 203, 206, 208, 211, 213, 216, 218, 275, - 276, 278, 281, 283, 286, 288, 291, 293, - 300, 301, 303, 306, 308, 311, 313, 316, - 318, 325, 326, 328, 331, 333, 336, 338, - 341, 343, 400, 401, 403, 406, 408, 411, - 413, 416, 418, 425, 426, 428, 431, 433, - 436, 438, 441, 443, 450, 451, 453, 456, - 458, 461, 463, 466, 468, 23, 48, 73, - 98, 173, 198, 223, 298, 323, 348, 423, - 448, 473, 100, 101, 103, 106, 108, 111, - 113, 116, 118, 225, 226, 228, 231, 233, - 236, 238, 241, 243, 350, 351, 353, 356, - 358, 361, 363, 366, 368, 475, 476, 478, - 481, 483, 486, 488, 491, 493, 123, 248, - 373, 498, 575, 576, 578, 581, 583, 586, - 588, 591, 593, 598, 600, 601, 603, 606, - 608, 611, 613, 616, 618, 623, 0, 1, - 2, 3, 6, 7, 8, 16, 17, 18, - 25, 26, 27, 28, 31, 32, 33, 41, - 42, 43, 50, 51, 52, 53, 56, 57, - 58, 66, 67, 68, 75, 76, 77, 78, - 81, 82, 83, 91, 92, 93, 150, 151, - 152, 153, 156, 157, 158, 166, 167, 168, - 175, 176, 177, 178, 181, 182, 183, 191, - 192, 193, 200, 201, 202, 203, 206, 207, - 208, 216, 217, 218, 275, 276, 277, 278, - 281, 282, 283, 291, 292, 293, 300, 301, - 306, 307, 308, 316, 317, 318, 325, 326, - 331, 332, 333, 341, 342, 343, 400, 401, - 402, 403, 406, 407, 408, 416, 417, 418, - 425, 426, 431, 432, 433, 441, 442, 443, - 450, 451, 456, 457, 458, 466, 467, 468, - 4, 9, 19, 29, 34, 44, 54, 59, - 69, 79, 84, 94, 154, 159, 169, 179, - 184, 194, 204, 209, 219, 279, 284, 294, - 302, 309, 319, 327, 334, 344, 404, 409, - 419, 427, 434, 444, 452, 459, 469, 304, - 329, 429, 454, 100, 101, 102, 103, 106, - 107, 108, 116, 117, 118, 225, 226, 227, - 228, 231, 232, 233, 241, 242, 243, 303, - 350, 351, 356, 357, 358, 366, 367, 368, - 428, 475, 476, 481, 482, 483, 491, 492, - 493, 104, 109, 119, 229, 234, 244, 352, - 359, 369, 477, 484, 494, 354, 479, 353, - 478, 328, 575, 576, 581, 582, 583, 591, - 592, 593, 577, 584, 594, 579, 600, 601, - 606, 607, 608, 616, 617, 618, 602, 609, - 619, 604, 603, 578, 0, 1, 2, 3, - 6, 7, 8, 11, 12, 13, 16, 17, - 18, 25, 26, 27, 28, 31, 32, 33, - 36, 37, 38, 41, 42, 43, 75, 76, - 77, 78, 81, 82, 83, 86, 87, 88, - 91, 92, 93, 150, 151, 152, 153, 156, - 157, 158, 161, 162, 163, 166, 167, 168, - 200, 201, 202, 203, 206, 207, 208, 211, - 212, 213, 216, 217, 218, 275, 276, 277, - 278, 281, 282, 283, 286, 287, 288, 291, - 292, 293, 325, 326, 327, 328, 331, 332, - 333, 336, 337, 338, 341, 342, 343, 400, - 401, 402, 403, 406, 407, 408, 411, 412, - 413, 416, 417, 418, 450, 451, 452, 453, - 456, 457, 458, 461, 462, 463, 466, 467, - 468, 4, 9, 14, 19, 29, 34, 39, - 44, 79, 84, 89, 94, 154, 159, 164, - 169, 204, 209, 214, 219, 279, 284, 289, - 294, 329, 334, 339, 344, 404, 409, 414, - 419, 454, 459, 464, 469, 23, 48, 98, - 173, 223, 298, 348, 423, 473, 24, 49, - 99, 174, 224, 299, 349, 424, 474, 575, - 576, 577, 578, 581, 582, 583, 586, 587, - 588, 591, 592, 593, 579, 584, 589, 594, - 598, 599, 0, 1, 2, 3, 6, 7, - 8, 11, 12, 13, 16, 17, 18, 25, - 26, 27, 28, 31, 32, 33, 36, 37, - 38, 41, 42, 43, 50, 51, 52, 53, - 56, 57, 58, 61, 66, 75, 76, 77, - 78, 81, 82, 83, 86, 91, 150, 151, - 152, 153, 156, 157, 158, 161, 162, 163, - 166, 167, 168, 175, 176, 177, 178, 181, - 182, 183, 186, 187, 188, 191, 192, 193, - 200, 201, 202, 203, 206, 207, 208, 211, - 212, 213, 216, 217, 218, 400, 401, 402, - 403, 406, 407, 408, 411, 412, 413, 416, - 417, 418, 425, 426, 427, 428, 431, 432, - 433, 436, 437, 438, 441, 442, 443, 450, - 451, 452, 453, 456, 457, 458, 461, 462, - 463, 466, 467, 468, 4, 9, 14, 19, - 29, 34, 39, 44, 54, 59, 62, 67, - 79, 84, 87, 92, 154, 159, 164, 169, - 179, 184, 189, 194, 204, 209, 214, 219, - 404, 409, 414, 419, 429, 434, 439, 444, - 454, 459, 464, 469, 64, 69, 89, 94, - 23, 48, 63, 88, 173, 198, 223, 423, - 448, 473, 24, 49, 174, 199, 224, 424, - 449, 474, 74, 99, 73, 98, 68, 100, - 101, 102, 103, 106, 107, 108, 111, 116, - 225, 226, 227, 228, 231, 232, 233, 236, - 237, 238, 241, 242, 243, 475, 476, 477, - 478, 481, 482, 483, 486, 487, 488, 491, - 492, 493, 104, 109, 112, 117, 229, 234, - 239, 244, 479, 484, 489, 494, 114, 119, - 113, 248, 498, 249, 499, 124, 123, 118, - 0, 1, 2, 3, 6, 7, 8, 16, - 17, 18, 25, 26, 27, 28, 31, 32, - 33, 41, 42, 43, 50, 51, 56, 57, - 58, 66, 67, 68, 75, 76, 81, 82, - 83, 91, 92, 93, 150, 151, 152, 153, - 156, 157, 158, 166, 167, 168, 175, 176, - 177, 178, 181, 182, 183, 191, 192, 193, - 200, 201, 202, 203, 206, 207, 208, 216, - 217, 218, 400, 401, 402, 403, 406, 407, - 408, 416, 417, 418, 425, 426, 427, 428, - 431, 432, 433, 441, 442, 443, 450, 451, - 452, 453, 456, 457, 458, 466, 467, 468, - 4, 9, 19, 29, 34, 44, 52, 59, - 69, 77, 84, 94, 154, 159, 169, 179, - 184, 194, 204, 209, 219, 404, 409, 419, - 429, 434, 444, 454, 459, 469, 54, 79, - 53, 100, 101, 106, 107, 108, 116, 117, - 118, 225, 226, 227, 228, 231, 232, 233, - 241, 242, 243, 475, 476, 477, 478, 481, - 482, 483, 491, 492, 493, 102, 109, 119, - 229, 234, 244, 479, 484, 494, 104, 103, -}; - -static long _vq_fitmap_res0_128_1024_3[] = { - 0, 360, 550, 360, 796, 360, 796, 360, - 986, 360, 1232, 360, 796, 360, 796, 360, -}; - -static long _vq_fitlength_res0_128_1024_3[] = { - 360, 190, 246, 190, 190, 190, 190, 190, - 246, 190, 168, 190, 190, 190, 190, 190, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_3 = { - -2, 1, 4, 2, - _vq_pigeonmap_res0_128_1024_3, - 1400, - _vq_fitlist_res0_128_1024_3, - _vq_fitmap_res0_128_1024_3, - _vq_fitlength_res0_128_1024_3 -}; - -static static_codebook _vq_book_res0_128_1024_3 = { - 4, 625, - _vq_lengthlist_res0_128_1024_3, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_1024_3, - NULL, - &_vq_auxt_res0_128_1024_3, - &_vq_auxp_res0_128_1024_3, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_4.vqh b/lib/books/res0_128_1024_4.vqh deleted file mode 100644 index 50018ac0..00000000 --- a/lib/books/res0_128_1024_4.vqh +++ /dev/null @@ -1,208 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_4_VQH_ -#define _V_res0_128_1024_4_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_4[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_1024_4[] = { - 3, 5, 5, 7, 7, 0, 5, 5, 0, 0, 0, 5, 5, 0, 0, 0, - 0, 0, 8, 8, 0, 0, 0, 8, 8, 5, 7, 7, 9, 8, 0, 7, - 7, 0, 0, 0, 8, 7, 0, 0, 0, 0, 0,11,10, 0, 0, 0, - 11,10, 5, 7, 7, 8, 9, 0, 7, 7, 0, 0, 0, 7, 7, 0, - 0, 0, 0, 0,10,11, 0, 0, 0,10,10, 7, 9, 8,10, 8, - 0, 9, 8, 0, 0, 0, 9, 8, 0, 0, 0, 0, 0,12,11, 0, - 0, 0,12,11, 7, 8, 9, 8,10, 0, 8, 9, 0, 0, 0, 8, - 9, 0, 0, 0, 0, 0,11,12, 0, 0, 0,11,12, 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, 5, 8, 7, 9, 8, 0, 7, 6, 0, 0, - 0, 7, 7, 0, 0, 0, 0, 0,10, 9, 0, 0, 0,10,10, 5, - 7, 7, 8, 9, 0, 6, 7, 0, 0, 0, 7, 7, 0, 0, 0, 0, - 0, 9,10, 0, 0, 0,10, 9, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 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, 5, 8, 7, 9, 8, 0, 7, 7, 0, 0, 0, 7, 7, - 0, 0, 0, 0, 0,10,10, 0, 0, 0,10, 9, 5, 7, 7, 8, - 9, 0, 7, 7, 0, 0, 0, 6, 7, 0, 0, 0, 0, 0,10,10, - 0, 0, 0, 9,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 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, 8,11,10,12,11, 0,10, 9, 0, 0, 0, 9,10, 0, - 0, 0, 0, 0,14,11, 0, 0, 0,12,12, 8,10,11,11,12, - 0, 9,10, 0, 0, 0,10,10, 0, 0, 0, 0, 0,11,13, 0, - 0, 0,13,12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 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, 8, - 11,10,12,11, 0,10, 9, 0, 0, 0,10, 9, 0, 0, 0, 0, - 0,13,12, 0, 0, 0,14,11, 8,10,10,11,12, 0,10,10, - 0, 0, 0, 9,10, 0, 0, 0, 0, 0,12,13, 0, 0, 0,11, - 13, -}; - -static float _vq_quantthresh_res0_128_1024_4[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_1024_4[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_4 = { - _vq_quantthresh_res0_128_1024_4, - _vq_quantmap_res0_128_1024_4, - 5, - 5 -}; - -static long _vq_pigeonmap_res0_128_1024_4[] = { - 1, 0, 0, 0, -}; - -static long _vq_fitlist_res0_128_1024_4[] = { - 0, 1, 2, 3, 6, 7, 11, 12, - 18, 25, 26, 27, 28, 31, 32, 36, - 37, 43, 50, 51, 52, 53, 56, 57, - 61, 62, 68, 75, 76, 77, 78, 81, - 82, 86, 87, 93, 150, 151, 152, 153, - 156, 157, 161, 162, 168, 175, 176, 177, - 178, 181, 182, 186, 187, 193, 275, 276, - 277, 278, 281, 282, 286, 287, 293, 300, - 301, 302, 303, 306, 307, 311, 450, 451, - 452, 453, 456, 457, 461, 4, 19, 29, - 44, 54, 69, 79, 94, 154, 169, 179, - 194, 279, 294, 304, 312, 454, 462, 319, - 469, 23, 48, 73, 98, 173, 198, 298, - 24, 49, 74, 99, 174, 199, 299, 324, - 474, 323, 473, 100, 101, 102, 103, 106, - 107, 111, 112, 118, 318, 475, 476, 477, - 478, 481, 482, 486, 104, 119, 479, 487, - 494, 123, 124, 499, 498, 493, 575, 576, - 577, 578, 581, 582, 586, 579, 587, 594, - 599, 598, 600, 601, 602, 603, 606, 607, - 611, 604, 612, 619, 624, 623, 618, 593, - 0, 1, 3, 6, 11, 18, 25, 26, - 28, 31, 36, 43, 50, 51, 53, 56, - 61, 68, 75, 76, 78, 81, 86, 93, - 150, 151, 153, 156, 161, 168, 175, 176, - 178, 181, 186, 193, 275, 276, 278, 281, - 286, 293, 300, 301, 303, 306, 311, 318, - 450, 451, 453, 456, 461, 468, 23, 48, - 73, 98, 173, 198, 298, 323, 473, 100, - 101, 103, 106, 111, 118, 475, 476, 478, - 481, 486, 493, 123, 498, 575, 576, 578, - 581, 586, 593, 598, 600, 601, 603, 606, - 611, 618, 623, 0, 1, 2, 3, 6, - 7, 18, 25, 26, 27, 28, 31, 32, - 43, 50, 51, 52, 53, 56, 57, 68, - 75, 76, 77, 78, 81, 82, 93, 150, - 151, 152, 153, 156, 157, 168, 175, 176, - 177, 178, 181, 182, 193, 275, 276, 277, - 278, 281, 282, 293, 300, 301, 306, 307, - 318, 450, 451, 456, 457, 468, 4, 19, - 29, 44, 54, 69, 79, 94, 154, 169, - 179, 194, 279, 294, 302, 319, 452, 469, - 304, 454, 100, 101, 102, 103, 106, 107, - 118, 303, 475, 476, 481, 482, 493, 104, - 119, 477, 494, 479, 478, 575, 576, 581, - 582, 593, 577, 594, 579, 600, 601, 606, - 607, 618, 602, 619, 604, 603, 578, 0, - 1, 2, 3, 6, 7, 11, 12, 18, - 25, 26, 27, 28, 31, 32, 36, 37, - 43, 75, 76, 77, 78, 81, 82, 86, - 87, 93, 150, 151, 152, 153, 156, 157, - 161, 162, 168, 275, 276, 277, 278, 281, - 282, 286, 287, 293, 450, 451, 452, 453, - 456, 457, 461, 462, 468, 4, 19, 29, - 44, 79, 94, 154, 169, 279, 294, 454, - 469, 23, 48, 98, 173, 298, 473, 24, - 49, 99, 174, 299, 474, 575, 576, 577, - 578, 581, 582, 586, 587, 593, 579, 594, - 598, 599, 0, 1, 2, 3, 6, 7, - 11, 12, 18, 25, 26, 27, 28, 31, - 32, 36, 37, 43, 50, 51, 52, 53, - 56, 57, 61, 75, 76, 77, 78, 81, - 82, 86, 150, 151, 152, 153, 156, 157, - 161, 162, 168, 175, 176, 177, 178, 181, - 182, 186, 187, 193, 450, 451, 452, 453, - 456, 457, 461, 462, 468, 4, 19, 29, - 44, 54, 62, 79, 87, 154, 169, 179, - 194, 454, 469, 69, 94, 23, 48, 173, - 198, 473, 24, 49, 174, 199, 474, 74, - 99, 73, 98, 68, 100, 101, 102, 103, - 106, 107, 111, 475, 476, 477, 478, 481, - 482, 486, 487, 493, 104, 112, 479, 494, - 119, 498, 499, 124, 123, 118, 0, 1, - 2, 3, 6, 7, 18, 25, 26, 27, - 28, 31, 32, 43, 50, 51, 56, 57, - 68, 75, 76, 81, 82, 93, 150, 151, - 152, 153, 156, 157, 168, 175, 176, 177, - 178, 181, 182, 193, 450, 451, 452, 453, - 456, 457, 468, 4, 19, 29, 44, 52, - 69, 77, 94, 154, 169, 179, 194, 454, - 469, 54, 79, 53, 100, 101, 106, 107, - 118, 475, 476, 477, 478, 481, 482, 493, - 102, 119, 479, 494, 104, 103, -}; - -static long _vq_fitmap_res0_128_1024_4[] = { - 0, 168, 259, 168, 375, 168, 375, 168, - 466, 168, 582, 168, 375, 168, 375, 168, -}; - -static long _vq_fitlength_res0_128_1024_4[] = { - 168, 91, 116, 91, 91, 91, 91, 91, - 116, 91, 80, 91, 91, 91, 91, 91, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_4 = { - -2, 1, 4, 2, - _vq_pigeonmap_res0_128_1024_4, - 662, - _vq_fitlist_res0_128_1024_4, - _vq_fitmap_res0_128_1024_4, - _vq_fitlength_res0_128_1024_4 -}; - -static static_codebook _vq_book_res0_128_1024_4 = { - 4, 625, - _vq_lengthlist_res0_128_1024_4, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_1024_4, - NULL, - &_vq_auxt_res0_128_1024_4, - &_vq_auxp_res0_128_1024_4, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_6.vqh b/lib/books/res0_128_1024_6.vqh deleted file mode 100644 index 22a7f589..00000000 --- a/lib/books/res0_128_1024_6.vqh +++ /dev/null @@ -1,135 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_6_VQH_ -#define _V_res0_128_1024_6_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_6[] = { - 4, - 3, - 5, - 2, - 6, - 1, - 7, - 0, - 8, -}; - -static long _vq_lengthlist_res0_128_1024_6[] = { - 2, 4, 4, 5, 6, 7, 7, 9, 9, 0, 4, 4, 6, 6, 8, 8, - 10,10, 0, 4, 4, 6, 6, 8, 8,10,10, 0, 5, 5, 6, 6, - 8, 8,10,10, 0, 0, 0, 6, 6, 8, 8,10,10, 0, 0, 0, - 7, 7, 7, 7,10,10, 0, 0, 0, 7, 7, 7, 7,10,10, 0, - 0, 0, 9, 9, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10, - 10, -}; - -static float _vq_quantthresh_res0_128_1024_6[] = { - -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, -}; - -static long _vq_quantmap_res0_128_1024_6[] = { - 7, 5, 3, 1, 0, 2, 4, 6, - 8, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_6 = { - _vq_quantthresh_res0_128_1024_6, - _vq_quantmap_res0_128_1024_6, - 9, - 9 -}; - -static long _vq_pigeonmap_res0_128_1024_6[] = { - 2, 1, 1, 0, 0, 0, 1, 2, -}; - -static long _vq_fitlist_res0_128_1024_6[] = { - 0, 1, 2, 3, 10, 11, 12, 19, - 28, 4, 13, 20, 29, 6, 15, 22, - 31, 21, 24, 40, 39, 42, 58, 1, - 3, 5, 7, 10, 12, 14, 16, 21, - 23, 30, 32, 0, 19, 28, 2, 4, - 6, 8, 11, 13, 15, 17, 22, 24, - 31, 33, 25, 39, 41, 20, 26, 40, - 42, 43, 57, 59, 44, 58, 60, 3, - 5, 7, 12, 14, 16, 23, 25, 32, - 34, 4, 6, 8, 13, 15, 17, 24, - 26, 33, 35, 21, 41, 43, 22, 42, - 44, 39, 59, 61, 40, 60, 62, 10, - 28, 29, 30, 48, 11, 31, 49, 13, - 33, 51, 67, 0, 1, 12, 2, 4, - 15, 19, 20, 21, 39, 40, 41, 57, - 58, 59, 22, 42, 60, 12, 14, 28, - 30, 32, 34, 48, 50, 52, 66, 68, - 10, 13, 15, 29, 31, 33, 35, 49, - 51, 53, 67, 69, 3, 5, 16, 1, - 4, 6, 11, 17, 21, 23, 39, 41, - 43, 57, 59, 61, 77, 19, 22, 24, - 40, 42, 44, 58, 60, 62, 78, 14, - 16, 30, 32, 34, 48, 50, 52, 68, - 70, 15, 17, 31, 33, 35, 49, 51, - 53, 69, 71, 5, 7, 12, 6, 8, - 13, 23, 25, 39, 41, 43, 57, 59, - 61, 77, 79, 24, 26, 40, 42, 44, - 58, 60, 62, 78, 80, 10, 28, 29, - 30, 48, 49, 50, 66, 67, 68, 11, - 31, 51, 69, 19, 39, 57, 58, 59, - 77, 20, 40, 60, 78, 30, 32, 48, - 50, 52, 66, 68, 70, 28, 31, 33, - 49, 51, 53, 67, 69, 71, 39, 41, - 57, 59, 61, 77, 79, 40, 42, 58, - 60, 62, 78, 80, 32, 34, 48, 50, - 52, 66, 68, 70, 33, 35, 49, 51, - 53, 67, 69, 71, 41, 43, 57, 59, - 61, 77, 79, 42, 44, 58, 60, 62, - 78, 80, -}; - -static long _vq_fitmap_res0_128_1024_6[] = { - 0, 23, 63, 95, 125, 175, 221, 245, - 276, -}; - -static long _vq_fitlength_res0_128_1024_6[] = { - 23, 40, 32, 30, 50, 46, 24, 31, - 30, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_6 = { - -4, 1, 8, 3, - _vq_pigeonmap_res0_128_1024_6, - 306, - _vq_fitlist_res0_128_1024_6, - _vq_fitmap_res0_128_1024_6, - _vq_fitlength_res0_128_1024_6 -}; - -static static_codebook _vq_book_res0_128_1024_6 = { - 2, 81, - _vq_lengthlist_res0_128_1024_6, - 1, -531628032, 1611661312, 4, 0, - _vq_quantlist_res0_128_1024_6, - NULL, - &_vq_auxt_res0_128_1024_6, - &_vq_auxp_res0_128_1024_6, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_6a.vqh b/lib/books/res0_128_1024_6a.vqh deleted file mode 100644 index 5c116400..00000000 --- a/lib/books/res0_128_1024_6a.vqh +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_6a_VQH_ -#define _V_res0_128_1024_6a_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_6a[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_1024_6a[] = { - 2, 6, 5, 8, 8,13, 5, 5, 8, 8,14, 5, 5, 8, 8,15, - 13,13, 8, 8,13,13,13, 8, 7, 6, 8, 7,10,10,14, 8, - 8,10,10,14, 8, 8,10,10,16,16,14,10,11,16,14,14, - 10,10, 6, 7, 8, 9,10,13, 8, 8,10,10,15, 8, 8,10, - 10,15,16,14,10,10,16,15,14,10,10, 9, 9, 9,10,10, - 14,11,11,11,11,15,11,11,12,11,16,14,17,12,13,16, - 15,17,13,13, 8, 9,10,10,10,14,11,11,11,11,14,11, - 11,11,11,15,15,15,12,13,16,16,16,13,12,13,14,14, - 14,14,17,14,15,15,16,17,14,14,17,14,17,17,17,14, - 16,17,17,17,17,16, 5, 8, 8,11,11,15, 8, 7,10,10, - 14, 8, 8,10,10,15,14,14,10,10,16,15,14, 9,10, 5, - 8, 8,11,11,14, 7, 8,10,10,15, 8, 8,10,10,16,14, - 15,10,10,16,14,14,10, 9, 8,10,10,11,11,14,10,10, - 11,11,15,10,10,12,12,17,17,16,11,12,16,14,16,12, - 12, 8,10,10,11,11,14,10,10,11,11,16,10,10,12,11, - 15,15,17,11,11,15,15,17,12,11,13,14,14,16,15,16, - 14,14,15,14,16,15,16,16,15,17,17,17,16,15,17,17, - 17,16,16, 5, 8, 8,11,10,15, 8, 8,10,10,16, 8, 7, - 11,10,16,14,16,10,10,15,15,15,10,10, 5, 8, 8,11, - 11,15, 8, 8,10,10,14, 7, 8,10,11,15,14,15,10,10, - 15,14,14,10,10, 8,10,10,11,12,15,10,10,12,12,15, - 10,10,11,11,17,16,15,11,12,17,14,16,12,12, 8,10, - 10,12,11,15,10,10,11,12,17,10,10,11,11,15,15,15, - 12,11,17,15,15,11,11,13,14,14,16,15,16,16,14,16, - 15,17,14,15,16,15,17,17,17,17,17,17,17,17,16,17, - 13,13,14,16,15,17,15,14,15,16,17,14,14,15,14,16, - 15,17,15,16,16,17,17,17,15,12,14,14,15,15,17,14, - 14,17,15,16,15,15,17,14,17,17,17,14,15,17,16,17, - 15,17, 7,10,10,12,12,17,10, 9,11,11,15,10,10,11, - 12,15,15,16,11,11,16,14,15,11,12, 7,10,10,12,12, - 16,10,10,12,11,17,10,10,12,11,16,16,15,11,11,16, - 15,15,11,11,13,15,16,17,15,17,16,15,17,15,17,17, - 14,17,15,17,17,17,17,16,17,17,16,15,16,12,14,14, - 14,16,15,14,14,17,16,17,14,14,14,17,17,17,16,16, - 15,17,17,16,16,14,12,13,13,17,15,17,15,13,14,15, - 17,14,14,15,15,16,17,17,15,14,17,17,17,16,15, 7, - 10,10,13,13,16,10,10,12,13,15,10,10,12,11,16,15, - 15,11,11,17,17,15,11,11, 8,10,10,12,12,15,10,10, - 12,12,14,10,10,12,11,15,14,15,12,11,16,15,16,11, - 11, -}; - -static float _vq_quantthresh_res0_128_1024_6a[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_1024_6a[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_6a = { - _vq_quantthresh_res0_128_1024_6a, - _vq_quantmap_res0_128_1024_6a, - 5, - 5 -}; - -static static_codebook _vq_book_res0_128_1024_6a = { - 4, 625, - _vq_lengthlist_res0_128_1024_6a, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_1024_6a, - NULL, - &_vq_auxt_res0_128_1024_6a, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_7.vqh b/lib/books/res0_128_1024_7.vqh deleted file mode 100644 index dc4246df..00000000 --- a/lib/books/res0_128_1024_7.vqh +++ /dev/null @@ -1,114 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_7_VQH_ -#define _V_res0_128_1024_7_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_7[] = { - 4, - 3, - 5, - 2, - 6, - 1, - 7, - 0, - 8, -}; - -static long _vq_lengthlist_res0_128_1024_7[] = { - 1, 3, 3, 7, 7,10,10, 0, 0, 5, 5, 5, 8, 8,10,10, - 0, 0, 5, 5, 5, 8, 8,11,11, 0, 0, 0, 8, 8, 9, 9, - 11,11, 0, 0, 0, 9, 8, 9, 9,11,12, 0, 0, 0,13,13, - 11,11,12,12, 0, 0, 0,13,13,11,11,13,13, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, -}; - -static float _vq_quantthresh_res0_128_1024_7[] = { - -17.5, -12.5, -7.5, -2.5, 2.5, 7.5, 12.5, 17.5, -}; - -static long _vq_quantmap_res0_128_1024_7[] = { - 7, 5, 3, 1, 0, 2, 4, 6, - 8, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_7 = { - _vq_quantthresh_res0_128_1024_7, - _vq_quantmap_res0_128_1024_7, - 9, - 9 -}; - -static long _vq_pigeonmap_res0_128_1024_7[] = { - 2, 1, 1, 0, 0, 0, 1, 2, -}; - -static long _vq_fitlist_res0_128_1024_7[] = { - 0, 1, 2, 3, 9, 10, 11, 12, - 18, 19, 28, 4, 13, 20, 29, 6, - 15, 22, 31, 21, 37, 38, 24, 40, - 39, 55, 56, 42, 58, 1, 3, 5, - 10, 12, 14, 21, 23, 30, 32, 0, - 9, 19, 28, 2, 4, 6, 11, 13, - 15, 22, 24, 31, 33, 39, 41, 18, - 37, 20, 40, 42, 57, 59, 55, 38, - 58, 60, 9, 10, 28, 29, 30, 46, - 47, 48, 11, 31, 49, 13, 33, 51, - 0, 1, 12, 2, 4, 15, 18, 19, - 37, 38, 39, 55, 56, 57, 20, 40, - 58, 22, 42, 60, 12, 14, 28, 30, - 32, 46, 48, 50, 10, 13, 15, 29, - 31, 33, 47, 49, 51, 3, 5, 1, - 9, 4, 6, 11, 21, 23, 37, 39, - 41, 55, 57, 59, 19, 22, 24, 38, - 40, 42, 56, 58, 60, -}; - -static long _vq_fitmap_res0_128_1024_7[] = { - 0, 29, 29, 66, 100, 100, 66, 100, - 100, -}; - -static long _vq_fitlength_res0_128_1024_7[] = { - 29, 37, 37, 34, 41, 41, 34, 41, - 41, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_7 = { - -20, 5, 8, 3, - _vq_pigeonmap_res0_128_1024_7, - 141, - _vq_fitlist_res0_128_1024_7, - _vq_fitmap_res0_128_1024_7, - _vq_fitlength_res0_128_1024_7 -}; - -static static_codebook _vq_book_res0_128_1024_7 = { - 2, 81, - _vq_lengthlist_res0_128_1024_7, - 1, -527171584, 1616117760, 4, 0, - _vq_quantlist_res0_128_1024_7, - NULL, - &_vq_auxt_res0_128_1024_7, - &_vq_auxp_res0_128_1024_7, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_7a.vqh b/lib/books/res0_128_1024_7a.vqh deleted file mode 100644 index d1d69769..00000000 --- a/lib/books/res0_128_1024_7a.vqh +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_7a_VQH_ -#define _V_res0_128_1024_7a_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_7a[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_1024_7a[] = { - 3, 6, 6, 8, 8,11, 6, 6, 9, 9,10, 6, 6, 8, 8,11, - 8, 8, 8, 8,11,11,11, 8, 8, 6, 8, 7, 9, 9,11, 8, - 8, 9, 9,11, 8, 8, 9, 9,12,10, 9, 9, 9,12,12,12, - 10,10, 6, 7, 8, 9, 9,11, 8, 8, 9,10,11, 8, 8, 9, - 9,12,10,10, 9, 9,12,12,12, 9, 9, 8, 9, 9,10, 9, - 11,10,10,10,10,12,10,10,10,10,12,11,11,10,10,12, - 12,12,10,10, 8, 9, 9, 9,10,11,10,10,10,10,11,10, - 10,10,10,12,11,11,10,10,12,12,12,10,11,11,11,11, - 12,12,13,11,11,12,12,13,12,11,12,12,13,12,12,12, - 12,13,13,13,12,12, 6, 8, 8,10,10,11, 8, 8,10, 9, - 12, 8, 8,10, 9,11,10, 9, 9, 9,11,11,11, 9, 9, 6, - 8, 8,10,10,11, 8, 8,10,10,12, 8, 8, 9,10,11, 9, - 9, 9, 9,12,12,11, 9, 9, 8, 9, 9,10,10,12,10, 9, - 10,10,12,10,10,10,10,12,11,10,10,10,12,12,12,10, - 10, 8, 9, 9,10,10,12, 9, 9,10,11,12,10, 9,10,10, - 12,10,11,10,10,12,12,12,10,10,10,11,11,12,12,14, - 12,11,12,12,13,11,12,12,12,14,12,12,12,12,13,13, - 13,11,12, 6, 8, 8,10,10,12, 8, 8,10, 9,11, 8, 8, - 9, 9,12, 9, 9, 9, 9,12,12,11, 9, 9, 6, 8, 8,10, - 10,11, 8, 8,10,10,12, 8, 8, 9, 9,12, 9,10, 9, 9, - 11,12,11, 9, 9, 8, 9, 9,10,10,12,10, 9,10,10,12, - 9, 9,10,10,12,10,10,10,10,11,12,12,10,10, 8, 9, - 9,10,10,12, 9,10,10,10,12,10, 9,10,10,12,10,10, - 10,10,12,12,12,10,10,11,12,12,12,12,13,11,12,12, - 12,13,11,11,12,12,13,12,12,12,11,13,13,13,12,12, - 8, 9,10,11,11,12, 9, 9,10,10,12, 9,10,10,10,12, - 10,10,10,10,13,12,12,10,10, 8,10, 9,11,11,12, 9, - 9,10,10,12, 9, 9,10,10,12,10,10,10,10,12,12,12, - 10,10, 8,10, 9,10,10,12, 9, 9,10,10,12, 9, 9,10, - 10,12,10,10,10,10,12,12,12,10,10, 8, 9, 9,10,10, - 12, 9, 9,10,10,12, 9, 9,10,10,12,10,10,10,10,11, - 12,12,10,10,11,11,11,12,12,13,12,11,12,12,13,11, - 11,11,12,13,12,12,12,12,13,13,12,12,12,11,12,12, - 12,12,13,11,12,12,12,13,12,11,12,12,13,12,12,12, - 12,13,13,13,12,12,11,12,11,12,12,13,11,11,12,12, - 13,12,12,12,12,12,12,12,12,12,13,13,13,12,12, 8, - 10,10,10,10,12, 9, 9,10,10,12, 9, 9,10,10,12,10, - 10,10,10,12,12,12,10,10, 8, 9, 9,11,10,12, 9, 9, - 10,10,12, 9, 9,10,10,11,10,10,10,10,12,12,12,10, - 10, -}; - -static float _vq_quantthresh_res0_128_1024_7a[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_1024_7a[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_7a = { - _vq_quantthresh_res0_128_1024_7a, - _vq_quantmap_res0_128_1024_7a, - 5, - 5 -}; - -static static_codebook _vq_book_res0_128_1024_7a = { - 4, 625, - _vq_lengthlist_res0_128_1024_7a, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_1024_7a, - NULL, - &_vq_auxt_res0_128_1024_7a, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_8.vqh b/lib/books/res0_128_1024_8.vqh deleted file mode 100644 index 8ab69785..00000000 --- a/lib/books/res0_128_1024_8.vqh +++ /dev/null @@ -1,200 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_8_VQH_ -#define _V_res0_128_1024_8_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_8[] = { - 6, - 5, - 7, - 4, - 8, - 3, - 9, - 2, - 10, - 1, - 11, - 0, - 12, -}; - -static long _vq_lengthlist_res0_128_1024_8[] = { - 1, 4, 4, 6, 5, 7, 7, 8, 8, 9, 9,11,10, 6, 5, 5, - 7, 7, 8, 8, 9, 9,10,10,12,11, 6, 5, 5, 7, 7, 8, - 8, 9, 9,10,10,11,13, 0, 8, 7, 8, 8, 9, 9,10, 9, - 12,11,13,13, 0, 8, 8, 8, 8, 9,10,10,11,11,11,13, - 14, 0,13,13, 9, 9,10,10,11,11,11,11,13,13, 0,12, - 13,10, 9,10,10,11,11,11,12,14,13, 0, 0, 0,10,11, - 11,10,11,11,12,11,14,13, 0, 0, 0,11,10,11, 9,12, - 11,14,13,15,15, 0, 0, 0,15,15,10,11,12,11,13,13, - 13,15, 0, 0, 0, 0, 0,11, 8,12,12,13,13,15, 0, 0, - 0, 0, 0, 0,12,13,15,13,13,13, 0, 0, 0, 0, 0, 0, - 0,14,11,15,13,13, 0,14, 0, -}; - -static float _vq_quantthresh_res0_128_1024_8[] = { - -71.5, -58.5, -45.5, -32.5, -19.5, -6.5, 6.5, 19.5, - 32.5, 45.5, 58.5, 71.5, -}; - -static long _vq_quantmap_res0_128_1024_8[] = { - 11, 9, 7, 5, 3, 1, 0, 2, - 4, 6, 8, 10, 12, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_8 = { - _vq_quantthresh_res0_128_1024_8, - _vq_quantmap_res0_128_1024_8, - 13, - 13 -}; - -static long _vq_pigeonmap_res0_128_1024_8[] = { - 3, 3, 2, 1, 1, 0, 0, 0, - 1, 2, 2, 3, -}; - -static long _vq_fitlist_res0_128_1024_8[] = { - 0, 1, 2, 3, 13, 14, 15, 16, - 26, 27, 40, 4, 17, 28, 41, 6, - 19, 30, 43, 29, 53, 54, 32, 56, - 55, 79, 80, 58, 82, 1, 3, 5, - 7, 14, 16, 18, 20, 29, 31, 42, - 44, 0, 13, 27, 40, 2, 4, 6, - 8, 15, 17, 19, 21, 30, 32, 43, - 45, 33, 55, 57, 26, 53, 28, 34, - 56, 58, 59, 81, 83, 79, 54, 60, - 82, 84, 3, 5, 7, 9, 16, 18, - 20, 22, 31, 33, 44, 46, 4, 6, - 8, 10, 17, 19, 21, 23, 32, 34, - 45, 47, 12, 25, 36, 49, 29, 35, - 57, 59, 30, 58, 60, 38, 62, 55, - 61, 83, 85, 56, 84, 86, 64, 88, - 7, 9, 11, 20, 22, 24, 35, 37, - 48, 50, 5, 18, 33, 46, 8, 10, - 12, 21, 23, 25, 36, 38, 49, 51, - 61, 63, 31, 59, 34, 62, 64, 87, - 89, 57, 85, 60, 88, 90, 13, 14, - 40, 41, 42, 66, 67, 68, 15, 43, - 69, 17, 45, 71, 95, 0, 1, 16, - 2, 4, 19, 26, 27, 53, 54, 55, - 79, 80, 81, 28, 56, 82, 30, 58, - 84, 108, 16, 18, 40, 42, 44, 46, - 66, 68, 70, 72, 94, 96, 14, 17, - 19, 41, 43, 45, 47, 67, 69, 71, - 73, 95, 97, 3, 5, 20, 1, 13, - 4, 6, 15, 21, 29, 31, 53, 55, - 57, 59, 79, 81, 83, 85, 107, 109, - 27, 30, 32, 54, 56, 58, 60, 80, - 82, 84, 86, 108, 110, 18, 20, 42, - 44, 46, 48, 68, 70, 72, 74, 96, - 98, 19, 21, 43, 45, 47, 49, 69, - 71, 73, 75, 97, 99, 23, 51, 77, - 101, 5, 7, 16, 22, 6, 8, 17, - 10, 25, 31, 33, 55, 57, 59, 61, - 81, 83, 85, 87, 109, 111, 32, 34, - 56, 58, 60, 62, 82, 84, 86, 88, - 110, 112, 36, 64, 90, 114, 22, 24, - 46, 48, 50, 72, 74, 76, 100, 102, - 20, 44, 70, 98, 23, 25, 47, 49, - 51, 73, 75, 77, 101, 103, 9, 11, - 7, 18, 10, 12, 21, 35, 37, 59, - 61, 63, 85, 87, 89, 113, 115, 33, - 57, 83, 111, 36, 38, 60, 62, 64, - 86, 88, 90, 114, 116, 40, 66, 67, - 68, 94, 41, 69, 95, 43, 71, 97, - 121, 53, 79, 80, 81, 107, 54, 82, - 108, 56, 84, 110, 109, 135, 136, 42, - 44, 66, 68, 70, 72, 94, 96, 98, - 120, 122, 40, 43, 45, 67, 69, 71, - 73, 95, 97, 99, 121, 123, 55, 57, - 79, 81, 83, 85, 107, 109, 111, 135, - 53, 56, 58, 80, 82, 84, 86, 108, - 110, 112, 136, 137, 161, 138, 162, 44, - 46, 68, 70, 72, 74, 94, 96, 98, - 100, 122, 124, 45, 47, 69, 71, 73, - 75, 95, 97, 99, 101, 123, 125, 49, - 77, 103, 127, 57, 59, 81, 83, 85, - 87, 107, 109, 111, 113, 135, 137, 58, - 60, 82, 84, 86, 88, 108, 110, 112, - 114, 136, 138, 62, 90, 116, 140, 139, - 161, 163, 162, 164, 48, 50, 72, 74, - 76, 98, 100, 102, 126, 128, 46, 70, - 96, 124, 49, 51, 73, 75, 77, 99, - 101, 103, 127, 129, 61, 63, 85, 87, - 89, 111, 113, 115, 139, 141, 59, 83, - 109, 137, 62, 64, 86, 88, 90, 112, - 114, 116, 140, 165, 167, 135, 163, 138, - 66, 94, 120, 121, 122, 148, 67, 95, - 123, 149, 40, 68, 96, 41, 69, 97, - 79, 80, 81, 107, 108, 109, 135, 161, - 82, 110, 136, 162, 138, 164, 94, 96, - 120, 122, 124, 148, 150, 95, 97, 121, - 123, 125, 149, 151, 68, 70, 98, 66, - 69, 71, 99, 107, 109, 135, 137, 161, - 163, 79, 81, 108, 110, 136, 138, 162, - 164, 96, 98, 120, 122, 124, 126, 148, - 150, 152, 97, 99, 121, 123, 125, 127, - 149, 151, 153, 101, 129, 70, 72, 94, - 100, 71, 73, 95, 75, 103, 109, 111, - 135, 137, 139, 161, 163, 165, 110, 112, - 136, 138, 140, 162, 164, 114, 100, 102, - 124, 126, 128, 150, 152, 98, 122, 148, - 101, 103, 125, 127, 129, 151, 153, 74, - 76, 72, 96, 75, 77, 99, 113, 115, - 137, 139, 141, 163, 165, 167, 111, 135, - 161, 114, 116, 138, 140, 164, -}; - -static long _vq_fitmap_res0_128_1024_8[] = { - 0, 29, 74, 120, 158, 158, 194, 253, - 318, 373, 373, 399, 447, 508, 560, 560, - 590, 625, 670, 710, 710, 710, 710, 710, - 710, -}; - -static long _vq_fitlength_res0_128_1024_8[] = { - 29, 45, 46, 38, 0, 36, 59, 65, - 55, 0, 26, 48, 61, 52, 0, 30, - 35, 45, 40, 0, 0, 0, 0, 0, - 0, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_8 = { - -78, 13, 12, 5, - _vq_pigeonmap_res0_128_1024_8, - 710, - _vq_fitlist_res0_128_1024_8, - _vq_fitmap_res0_128_1024_8, - _vq_fitlength_res0_128_1024_8 -}; - -static static_codebook _vq_book_res0_128_1024_8 = { - 2, 169, - _vq_lengthlist_res0_128_1024_8, - 1, -523010048, 1618608128, 4, 0, - _vq_quantlist_res0_128_1024_8, - NULL, - &_vq_auxt_res0_128_1024_8, - &_vq_auxp_res0_128_1024_8, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_8a.vqh b/lib/books/res0_128_1024_8a.vqh deleted file mode 100644 index bc761b64..00000000 --- a/lib/books/res0_128_1024_8a.vqh +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_8a_VQH_ -#define _V_res0_128_1024_8a_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_8a[] = { - 6, - 5, - 7, - 4, - 8, - 3, - 9, - 2, - 10, - 1, - 11, - 0, - 12, -}; - -static long _vq_lengthlist_res0_128_1024_8a[] = { - 2, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 5, 5, - 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 6, 5, 7, 7, 8, - 8, 8, 8, 8, 8, 8, 8, 9, 7, 7, 7, 7, 8, 8, 8, 8, - 8, 8, 8, 8, 9, 9, 9, 8, 7, 8, 8, 8, 8, 8, 8, 8, - 8, 9, 9, 9, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 9, 9, - 9, 8, 8, 8, 8, 8, 8, 8, 9, 8, 8, 9, 9, 9, 9, 8, - 8, 9, 9, 9, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8, - 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, - 9, 8, 9, 9, 9, 9, 9, 8, 8, 8, 8, 9, 8, 9, 8, 9, - 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 8, 8, 9, 9, 9, 9, -}; - -static float _vq_quantthresh_res0_128_1024_8a[] = { - -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, - 2.5, 3.5, 4.5, 5.5, -}; - -static long _vq_quantmap_res0_128_1024_8a[] = { - 11, 9, 7, 5, 3, 1, 0, 2, - 4, 6, 8, 10, 12, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_8a = { - _vq_quantthresh_res0_128_1024_8a, - _vq_quantmap_res0_128_1024_8a, - 13, - 13 -}; - -static static_codebook _vq_book_res0_128_1024_8a = { - 2, 169, - _vq_lengthlist_res0_128_1024_8a, - 1, -531103744, 1611661312, 4, 0, - _vq_quantlist_res0_128_1024_8a, - NULL, - &_vq_auxt_res0_128_1024_8a, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_9a.vqh b/lib/books/res0_128_1024_9a.vqh deleted file mode 100644 index eece597b..00000000 --- a/lib/books/res0_128_1024_9a.vqh +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_9a_VQH_ -#define _V_res0_128_1024_9a_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_9a[] = { - 6, - 5, - 7, - 4, - 8, - 3, - 9, - 2, - 10, - 1, - 11, - 0, - 12, -}; - -static long _vq_lengthlist_res0_128_1024_9a[] = { - 3, 4, 4, 5, 5, 6, 6, 7, 7, 7, 7, 8, 7, 6, 5, 5, - 7, 6, 7, 7, 8, 8, 9, 9, 9, 9, 6, 5, 4, 6, 6, 8, - 7, 8, 8, 9, 8, 8, 8,14, 7, 7, 7, 7, 8, 9, 9, 9, - 10, 9, 9, 9,14, 7, 6, 6, 6, 8, 8, 9, 9, 9,10, 8, - 9,13,11,11, 8, 8, 8, 8, 9, 9,10, 9,10, 9,13,11, - 10, 6, 7, 8, 7, 9,10, 9, 9, 9,10,14,14,13,10, 9, - 9, 9,10, 9,10, 9,10, 9,13,14,14, 8, 8, 8, 7, 9, - 8, 9,10,11,10,13,14,13,14,11,10, 9,10, 9, 9,10, - 10,10,14,14,14,13,14,10, 9, 7, 8, 9, 9,11,10,13, - 13,14,14,13,10,10, 9, 9,10, 8, 9,10,14,14,14,14, - 13,11,10, 9, 8, 8, 8, 9,10, -}; - -static float _vq_quantthresh_res0_128_1024_9a[] = { - -71.5, -58.5, -45.5, -32.5, -19.5, -6.5, 6.5, 19.5, - 32.5, 45.5, 58.5, 71.5, -}; - -static long _vq_quantmap_res0_128_1024_9a[] = { - 11, 9, 7, 5, 3, 1, 0, 2, - 4, 6, 8, 10, 12, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_9a = { - _vq_quantthresh_res0_128_1024_9a, - _vq_quantmap_res0_128_1024_9a, - 13, - 13 -}; - -static static_codebook _vq_book_res0_128_1024_9a = { - 2, 169, - _vq_lengthlist_res0_128_1024_9a, - 1, -523010048, 1618608128, 4, 0, - _vq_quantlist_res0_128_1024_9a, - NULL, - &_vq_auxt_res0_128_1024_9a, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024_9b.vqh b/lib/books/res0_128_1024_9b.vqh deleted file mode 100644 index f3215363..00000000 --- a/lib/books/res0_128_1024_9b.vqh +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_1024_9b_VQH_ -#define _V_res0_128_1024_9b_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_1024_9b[] = { - 6, - 5, - 7, - 4, - 8, - 3, - 9, - 2, - 10, - 1, - 11, - 0, - 12, -}; - -static long _vq_lengthlist_res0_128_1024_9b[] = { - 6, 7, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 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, 8, 7, 7, 7, 8, 7, 8, 7, 7, - 7, 7, 7, 7, 7, 7, 8, 8, 8, 7, 7, 8, 7, 7, 7, 7, - 7, 8, 8, 8, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, - 8, 7, 8, 8, 8, 8, 8, 7, 8, 7, 7, 8, 8, 8, 7, 7, - 8, 7, 8, 8, 8, 7, 7, 7, 8, 7, 8, 8, 8, 8, 8, 8, - 8, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, - 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 7, 8, 7, 7, 7, 8, 8, 8, 8, - 7, 8, 8, 8, 7, 8, 7, 8, 8, -}; - -static float _vq_quantthresh_res0_128_1024_9b[] = { - -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, - 2.5, 3.5, 4.5, 5.5, -}; - -static long _vq_quantmap_res0_128_1024_9b[] = { - 11, 9, 7, 5, 3, 1, 0, 2, - 4, 6, 8, 10, 12, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_1024_9b = { - _vq_quantthresh_res0_128_1024_9b, - _vq_quantmap_res0_128_1024_9b, - 13, - 13 -}; - -static static_codebook _vq_book_res0_128_1024_9b = { - 2, 169, - _vq_lengthlist_res0_128_1024_9b, - 1, -531103744, 1611661312, 4, 0, - _vq_quantlist_res0_128_1024_9b, - NULL, - &_vq_auxt_res0_128_1024_9b, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_1024aux.vqh b/lib/books/res0_128_1024aux.vqh deleted file mode 100644 index f94d35db..00000000 --- a/lib/books/res0_128_1024aux.vqh +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * - * PLEASE READ THESE TERMS DISTRIBUTING. * - * * - * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * - * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * - * http://www.xiph.org/ * - * * - ******************************************************************** - - function: static codebook autogenerated by huff/huffbuld - - ********************************************************************/ - -#ifndef _V_res0_128_1024aux_VQH_ -#define _V_res0_128_1024aux_VQH_ -#include "codebook.h" - -static long _huff_lengthlist_res0_128_1024aux[] = { - 5, 9, 7,15,11,11, 9,11,17,17, 9, 4,16, 9, 4,16, - 6, 8,16,16, 6,16, 3,16,16, 5, 7,11,16,16,14, 8, - 16, 5,16,16, 5, 7,14,16,12, 5,16,16, 4,16, 6,10, - 16,16,10,16, 4,16,16, 5, 8,13,16,16,10, 6, 7, 5, - 6, 8, 4, 5,11,16,12, 8,12, 6,10,14, 4, 4, 8,16, - 15,12,16,10,16,16, 8, 7, 8,11,16,16,16,15,16,16, - 14,10, 8,10, -}; - -static static_codebook _huff_book_res0_128_1024aux = { - 2, 100, - _huff_lengthlist_res0_128_1024aux, - 0, 0, 0, 0, 0, - NULL, - NULL, - NULL, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_128_3.vqh b/lib/books/res0_128_128_3.vqh deleted file mode 100644 index a90b44f1..00000000 --- a/lib/books/res0_128_128_3.vqh +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_128_3_VQH_ -#define _V_res0_128_128_3_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_128_3[] = { - 1, - 0, - 2, -}; - -static long _vq_lengthlist_res0_128_128_3[] = { - 3, 5, 6, 0, 4, 4, 0, 5, 4, 6, 6, 8, 0, 7, 7, 0, - 7, 7, 6, 8, 6, 0, 7, 7, 0, 7, 7, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5, 7, 7, 0, 6, 6, 0, 6, 6, 5, 7, 7, - 0, 6, 6, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, - 7, 7, 0, 6, 6, 0, 6, 6, 5, 7, 6, 0, 6, 6, 0, 6, - 6, -}; - -static float _vq_quantthresh_res0_128_128_3[] = { - -0.5, 0.5, -}; - -static long _vq_quantmap_res0_128_128_3[] = { - 1, 0, 2, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_128_3 = { - _vq_quantthresh_res0_128_128_3, - _vq_quantmap_res0_128_128_3, - 3, - 3 -}; - -static long _vq_pigeonmap_res0_128_128_3[] = { - 0, 0, -}; - -static long _vq_fitlist_res0_128_128_3[] = { - 0, 1, 2, 4, 5, 7, 8, 9, - 10, 11, 13, 14, 16, 17, 18, 19, - 20, 22, 23, 25, 26, 36, 37, 38, - 40, 41, 43, 44, 45, 46, 47, 49, - 50, 52, 53, 63, 64, 65, 67, 68, - 70, 71, 72, 73, 74, 76, 77, 79, - 80, -}; - -static long _vq_fitmap_res0_128_128_3[] = { - 0, -}; - -static long _vq_fitlength_res0_128_128_3[] = { - 49, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_128_3 = { - -1, 1, 2, 1, - _vq_pigeonmap_res0_128_128_3, - 49, - _vq_fitlist_res0_128_128_3, - _vq_fitmap_res0_128_128_3, - _vq_fitlength_res0_128_128_3 -}; - -static static_codebook _vq_book_res0_128_128_3 = { - 4, 81, - _vq_lengthlist_res0_128_128_3, - 1, -535822336, 1611661312, 2, 0, - _vq_quantlist_res0_128_128_3, - NULL, - &_vq_auxt_res0_128_128_3, - &_vq_auxp_res0_128_128_3, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_128_4.vqh b/lib/books/res0_128_128_4.vqh deleted file mode 100644 index 8b0f694b..00000000 --- a/lib/books/res0_128_128_4.vqh +++ /dev/null @@ -1,156 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_128_4_VQH_ -#define _V_res0_128_128_4_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_128_4[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_128_4[] = { - 2, 5, 5, 7, 7, 0, 5, 5, 8, 7, 0, 5, 5, 8, 7, 0, - 0, 0, 9, 9, 0, 0, 0, 9, 9, 5, 6, 7, 8, 9, 0, 8, - 8, 9, 9, 0, 8, 8,10, 9, 0, 0, 0,11,11, 0, 0, 0, - 11,12, 4, 7, 6, 9, 8, 0, 8, 8,10, 9, 0, 8, 8, 9, - 9, 0, 0, 0,11,11, 0, 0, 0,13,12, 8, 9, 9,10,12, - 0,10,11,12, 0, 0,10,12,13,12, 0, 0, 0, 0, 0, 0, - 0, 0, 0,15, 7, 9, 9,12,10, 0,11,11,13,13, 0,12, - 10,15,12, 0, 0, 0,15, 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, 5, 8, 8,10,10, 0, 9, 9,10,10, - 0, 9, 9,11,10, 0, 0, 0,12,13, 0, 0, 0,12,11, 5, - 8, 8,11,10, 0, 9, 9,10,10, 0, 9, 9,10,10, 0, 0, - 0,12,12, 0, 0, 0,11,11, 7, 9, 9,12,15, 0,10,10, - 13,13, 0,10,11,12,13, 0, 0, 0,14, 0, 0, 0, 0, 0, - 0, 8, 9, 9,12,12, 0,10,10,12,13, 0,10,10,14,12, - 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, 5, 8, 8,10,11, 0, 8, 9,10,10, 0, 8, 9, - 10,11, 0, 0, 0,11,12, 0, 0, 0,11,12, 5, 8, 8,10, - 10, 0, 9, 9,10,10, 0, 8, 8,10,11, 0, 0, 0,12,11, - 0, 0, 0,11,12, 8, 9,10,13,14, 0,10,10,15,13, 0, - 11,11,13,15, 0, 0, 0,13, 0, 0, 0, 0, 0,15, 8,10, - 9,15,13, 0,11,11,13, 0, 0,10,11,12,13, 0, 0, 0, - 0,15, 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, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 9,12,11,14,15, 0,12,13, 0,15, 0,11,13, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, 9,11,11, 0,15, - 0,11,12,15,15, 0,12,11, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, - 12,11,15, 0, 0,12,13, 0, 0, 0,13,11,15, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 9,11,12, 0,15, 0,12,11, - 13,15, 0,13,12, 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0, - 15, -}; - -static float _vq_quantthresh_res0_128_128_4[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_128_4[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_128_4 = { - _vq_quantthresh_res0_128_128_4, - _vq_quantmap_res0_128_128_4, - 5, - 5 -}; - -static long _vq_pigeonmap_res0_128_128_4[] = { - 1, 0, 0, 0, -}; - -static long _vq_fitlist_res0_128_128_4[] = { - 0, 1, 2, 3, 6, 7, 8, 11, - 12, 13, 18, 25, 26, 27, 28, 31, - 32, 33, 36, 37, 38, 43, 50, 51, - 52, 53, 56, 57, 58, 61, 62, 63, - 68, 75, 76, 77, 78, 81, 82, 83, - 86, 87, 88, 150, 151, 152, 153, 156, - 157, 158, 161, 162, 163, 168, 175, 176, - 177, 178, 181, 182, 183, 186, 187, 188, - 193, 200, 201, 202, 203, 206, 207, 208, - 211, 212, 213, 218, 275, 276, 277, 278, - 281, 282, 283, 286, 287, 288, 293, 300, - 301, 302, 303, 306, 307, 308, 311, 325, - 326, 327, 328, 331, 332, 333, 336, 450, - 451, 452, 453, 456, 457, 461, 4, 9, - 14, 19, 29, 34, 39, 44, 54, 59, - 64, 69, 79, 89, 154, 159, 164, 169, - 179, 184, 189, 194, 204, 209, 214, 279, - 284, 289, 294, 304, 309, 312, 329, 334, - 337, 454, 459, 462, 314, 319, 339, 23, - 48, 73, 173, 198, 298, 313, 338, 24, - 49, 74, 99, 174, 199, 299, 324, 349, - 323, 473, 100, 101, 102, 103, 106, 107, - 108, 111, 112, 113, 118, 225, 226, 227, - 228, 231, 232, 233, 236, 237, 238, 318, - 350, 351, 352, 353, 356, 357, 358, 361, - 475, 476, 477, 481, 482, 483, 486, 104, - 109, 114, 229, 234, 239, 244, 354, 362, - 479, 484, 487, 364, 369, 123, 363, 373, - 343, 575, 576, 577, 578, 581, 582, 586, - 587, 588, 600, 601, 602, 606, 607, 608, - 611, 604, 609, 612, 624, 618, -}; - -static long _vq_fitmap_res0_128_128_4[] = { - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, -}; - -static long _vq_fitlength_res0_128_128_4[] = { - 246, 246, 246, 246, 246, 246, 246, 246, - 246, 246, 246, 246, 246, 246, 246, 246, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_128_4 = { - -2, 1, 4, 2, - _vq_pigeonmap_res0_128_128_4, - 246, - _vq_fitlist_res0_128_128_4, - _vq_fitmap_res0_128_128_4, - _vq_fitlength_res0_128_128_4 -}; - -static static_codebook _vq_book_res0_128_128_4 = { - 4, 625, - _vq_lengthlist_res0_128_128_4, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_128_4, - NULL, - &_vq_auxt_res0_128_128_4, - &_vq_auxp_res0_128_128_4, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_128_5.vqh b/lib/books/res0_128_128_5.vqh deleted file mode 100644 index d933e292..00000000 --- a/lib/books/res0_128_128_5.vqh +++ /dev/null @@ -1,260 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * - * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * - * THIS SOURCE. 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_res0_128_128_5_VQH_ -#define _V_res0_128_128_5_VQH_ -#include "codebook.h" - -static long _vq_quantlist_res0_128_128_5[] = { - 2, - 1, - 3, - 0, - 4, -}; - -static long _vq_lengthlist_res0_128_128_5[] = { - 4, 6, 6,11,10, 0, 5, 5, 8, 8, 0, 5, 5, 8, 8, 0, - 0, 0, 8, 8, 0, 0, 0, 8, 8, 6, 7, 7,11,11, 0, 7, - 7, 9, 9, 0, 7, 7, 9, 9, 0, 0, 0,10,11, 0, 0, 0, - 10,10, 6, 8, 7,12,10, 0, 7, 7,10, 9, 0, 7, 7,10, - 9, 0, 0, 0,10,11, 0, 0, 0,10, 9,11,10,12,12,13, - 0,11,12,12,12, 0,10,12,12,13, 0, 0, 0,14, 0, 0, - 0, 0,13,12,10,12,11,14,11, 0,10,12,12,13, 0,11, - 13,12,11, 0, 0, 0,13,13, 0, 0, 0,13,13, 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, 5, 7, 7,11,11, 0, 6, 6, 9, 9, - 0, 6, 6, 9, 9, 0, 0, 0, 9, 9, 0, 0, 0, 9, 9, 5, - 7, 7,12,11, 0, 7, 6,10, 9, 0, 7, 7,10, 9, 0, 0, - 0, 9, 9, 0, 0, 0, 9,10, 8, 9,10,13,13, 0, 9,10, - 10,12, 0, 9,10,12,12, 0, 0, 0,13,13, 0, 0, 0,12, - 12, 8,10, 9,14,11, 0, 9, 9,11,10, 0, 9, 9,12,11, - 0, 0, 0,12,11, 0, 0, 0,14,11, 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, 5, 7, 7,11,11, 0, 6, 6, 9, 9, 0, 6, 6, - 9,10, 0, 0, 0, 9, 9, 0, 0, 0, 9,10, 5, 7, 7,11, - 10, 0, 6, 7, 9, 9, 0, 6, 6,10, 9, 0, 0, 0, 9, 9, - 0, 0, 0,10, 9, 8, 9,10,13,14, 0,10, 9,11,12, 0, - 9, 9,11,13, 0, 0, 0,12,14, 0, 0, 0,11,14, 8,10, - 9,13,14, 0,10, 9,13,11, 0, 9, 9,12,10, 0, 0, 0, - 12,11, 0, 0, 0,11,11, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 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, 8,10,10,13,13, 0, 9,10,13,12, 0, 9, 9,12, - 12, 0, 0, 0,13,14, 0, 0, 0,11,11, 8,11,10,14,13, - 0,10, 9,12,12, 0, 9, 9,11,11, 0, 0, 0,14,12, 0, - 0, 0,12,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 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, 8, - 10,10,12,14, 0,10, 9,12,12, 0, 9,10,13,13, 0, 0, - 0,11,11, 0, 0, 0, 0,12, 8,10,11,13,12, 0, 9, 9, - 13,12, 0, 9, 9,12,11, 0, 0, 0,11,12, 0, 0, 0,13, - 12, -}; - -static float _vq_quantthresh_res0_128_128_5[] = { - -1.5, -0.5, 0.5, 1.5, -}; - -static long _vq_quantmap_res0_128_128_5[] = { - 3, 1, 0, 2, 4, -}; - -static encode_aux_threshmatch _vq_auxt_res0_128_128_5 = { - _vq_quantthresh_res0_128_128_5, - _vq_quantmap_res0_128_128_5, - 5, - 5 -}; - -static long _vq_pigeonmap_res0_128_128_5[] = { - 1, 0, 0, 0, -}; - -static long _vq_fitlist_res0_128_128_5[] = { - 0, 1, 2, 3, 6, 7, 8, 11, - 12, 13, 18, 25, 26, 27, 28, 31, - 32, 33, 36, 37, 38, 43, 50, 51, - 52, 53, 56, 57, 58, 61, 62, 63, - 68, 75, 76, 77, 78, 81, 82, 83, - 86, 87, 88, 93, 150, 151, 152, 153, - 156, 157, 158, 161, 162, 163, 168, 175, - 176, 177, 178, 181, 182, 183, 186, 187, - 188, 193, 200, 201, 202, 203, 206, 207, - 208, 211, 212, 213, 218, 275, 276, 277, - 278, 281, 282, 283, 286, 287, 288, 293, - 300, 301, 302, 303, 306, 307, 308, 311, - 325, 326, 327, 328, 331, 332, 333, 336, - 450, 451, 452, 453, 456, 457, 458, 461, - 4, 9, 14, 19, 29, 34, 39, 44, - 54, 59, 64, 69, 79, 84, 89, 154, - 159, 164, 169, 179, 184, 189, 194, 204, - 209, 214, 219, 279, 284, 289, 294, 304, - 309, 312, 329, 334, 337, 454, 459, 462, - 314, 319, 339, 344, 464, 469, 23, 48, - 73, 98, 173, 198, 223, 298, 313, 338, - 463, 24, 49, 74, 99, 174, 199, 224, - 299, 324, 349, 474, 323, 348, 473, 100, - 101, 102, 103, 106, 107, 108, 111, 112, - 113, 118, 225, 226, 227, 228, 231, 232, - 233, 236, 237, 238, 243, 318, 350, 351, - 352, 353, 356, 357, 358, 361, 475, 476, - 477, 478, 481, 482, 483, 486, 104, 109, - 114, 119, 229, 234, 239, 244, 354, 359, - 362, 479, 484, 487, 364, 369, 489, 494, - 123, 248, 363, 488, 124, 249, 374, 499, - 373, 498, 368, 493, 343, 575, 576, 577, - 578, 581, 582, 583, 586, 579, 584, 587, - 589, 594, 588, 599, 600, 601, 602, 603, - 606, 607, 608, 611, 604, 609, 612, 614, - 619, 613, 624, 623, 618, 593, 0, 1, - 3, 6, 8, 11, 13, 18, 25, 26, - 28, 31, 33, 36, 38, 43, 50, 51, - 53, 56, 58, 61, 63, 68, 75, 76, - 78, 81, 83, 86, 88, 93, 150, 151, - 153, 156, 158, 161, 163, 168, 175, 176, - 178, 181, 183, 186, 188, 193, 200, 201, - 203, 206, 208, 211, 213, 218, 275, 276, - 278, 281, 283, 286, 288, 293, 300, 301, - 303, 306, 308, 311, 313, 318, 325, 326, - 328, 331, 333, 336, 338, 343, 450, 451, - 453, 456, 458, 461, 463, 468, 23, 48, - 73, 98, 173, 198, 223, 298, 323, 348, - 473, 100, 101, 103, 106, 108, 111, 113, - 118, 225, 226, 228, 231, 233, 236, 238, - 243, 350, 351, 353, 356, 358, 361, 363, - 368, 475, 476, 478, 481, 483, 486, 488, - 493, 123, 248, 373, 498, 575, 576, 578, - 581, 583, 586, 588, 593, 600, 601, 603, - 606, 608, 611, 613, 618, 623, 0, 1, - 2, 3, 6, 7, 8, 18, 25, 26, - 27, 28, 31, 32, 33, 43, 50, 51, - 52, 53, 56, 57, 58, 68, 75, 76, - 77, 78, 81, 82, 83, 93, 150, 151, - 152, 153, 156, 157, 158, 168, 175, 176, - 177, 178, 181, 182, 183, 193, 200, 201, - 202, 203, 206, 207, 208, 218, 275, 276, - 277, 278, 281, 282, 283, 293, 300, 301, - 306, 307, 308, 318, 325, 326, 331, 332, - 333, 343, 450, 451, 456, 457, 458, 468, - 4, 9, 19, 29, 34, 44, 54, 59, - 69, 79, 84, 154, 159, 169, 179, 184, - 194, 204, 209, 219, 279, 284, 294, 302, - 309, 319, 327, 334, 344, 452, 459, 469, - 304, 329, 454, 100, 101, 102, 103, 106, - 107, 108, 118, 225, 226, 227, 228, 231, - 232, 233, 243, 303, 350, 351, 356, 357, - 358, 368, 475, 476, 481, 482, 483, 493, - 104, 109, 119, 229, 234, 244, 352, 359, - 369, 477, 484, 494, 354, 479, 353, 478, - 328, 575, 576, 581, 582, 583, 593, 577, - 584, 594, 579, 600, 601, 606, 607, 608, - 618, 602, 609, 619, 604, 603, 578, 0, - 1, 2, 3, 6, 7, 8, 11, 12, - 13, 18, 25, 26, 27, 28, 31, 32, - 33, 36, 37, 38, 43, 75, 76, 77, - 78, 81, 82, 83, 86, 87, 88, 93, - 150, 151, 152, 153, 156, 157, 158, 161, - 162, 163, 168, 200, 201, 202, 203, 206, - 207, 208, 211, 212, 213, 218, 275, 276, - 277, 278, 281, 282, 283, 286, 287, 288, - 293, 325, 326, 327, 328, 331, 332, 333, - 336, 337, 338, 343, 450, 451, 452, 453, - 456, 457, 458, 461, 462, 463, 468, 4, - 9, 14, 19, 29, 34, 39, 44, 79, - 84, 89, 154, 159, 164, 169, 204, 209, - 214, 219, 279, 284, 289, 294, 329, 334, - 339, 344, 454, 459, 464, 469, 23, 48, - 98, 173, 223, 298, 348, 473, 24, 49, - 99, 174, 224, 299, 349, 474, 575, 576, - 577, 578, 581, 582, 583, 586, 587, 588, - 593, 579, 584, 589, 594, 599, 0, 1, - 2, 3, 6, 7, 8, 11, 12, 13, - 18, 25, 26, 27, 28, 31, 32, 33, - 36, 37, 38, 43, 50, 51, 52, 53, - 56, 57, 58, 61, 75, 76, 77, 78, - 81, 82, 83, 86, 150, 151, 152, 153, - 156, 157, 158, 161, 162, 163, 168, 175, - 176, 177, 178, 181, 182, 183, 186, 187, - 188, 193, 200, 201, 202, 203, 206, 207, - 208, 211, 212, 213, 218, 450, 451, 452, - 453, 456, 457, 458, 461, 462, 463, 468, - 4, 9, 14, 19, 29, 34, 39, 44, - 54, 59, 62, 79, 84, 87, 154, 159, - 164, 169, 179, 184, 189, 194, 204, 209, - 214, 219, 454, 459, 464, 469, 64, 69, - 89, 23, 48, 63, 88, 173, 198, 223, - 473, 24, 49, 174, 199, 224, 474, 74, - 99, 73, 98, 68, 100, 101, 102, 103, - 106, 107, 108, 111, 225, 226, 227, 228, - 231, 232, 233, 236, 237, 238, 243, 475, - 476, 477, 478, 481, 482, 483, 486, 487, - 488, 493, 104, 109, 112, 229, 234, 239, - 244, 479, 484, 489, 494, 114, 119, 113, - 248, 498, 249, 499, 124, 123, 118, 0, - 1, 2, 3, 6, 7, 8, 18, 25, - 26, 27, 28, 31, 32, 33, 43, 50, - 51, 56, 57, 58, 68, 75, 76, 81, - 82, 83, 93, 150, 151, 152, 153, 156, - 157, 158, 168, 175, 176, 177, 178, 181, - 182, 183, 193, 200, 201, 202, 203, 206, - 207, 208, 218, 450, 451, 452, 453, 456, - 457, 458, 468, 4, 9, 19, 29, 34, - 44, 52, 59, 69, 77, 84, 154, 159, - 169, 179, 184, 194, 204, 209, 219, 454, - 459, 469, 54, 79, 53, 100, 101, 106, - 107, 108, 118, 225, 226, 227, 228, 231, - 232, 233, 243, 475, 476, 477, 478, 481, - 482, 483, 493, 102, 109, 119, 229, 234, - 244, 479, 484, 494, 104, 103, -}; - -static long _vq_fitmap_res0_128_128_5[] = { - 0, 286, 438, 286, 623, 286, 623, 286, - 774, 286, 959, 286, 623, 286, 623, 286, -}; - -static long _vq_fitlength_res0_128_128_5[] = { - 286, 152, 185, 152, 151, 152, 151, 152, - 185, 152, 119, 152, 151, 152, 151, 152, -}; - -static encode_aux_pigeonhole _vq_auxp_res0_128_128_5 = { - -2, 1, 4, 2, - _vq_pigeonmap_res0_128_128_5, - 1078, - _vq_fitlist_res0_128_128_5, - _vq_fitmap_res0_128_128_5, - _vq_fitlength_res0_128_128_5 -}; - -static static_codebook _vq_book_res0_128_128_5 = { - 4, 625, - _vq_lengthlist_res0_128_128_5, - 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_128_5, - NULL, - &_vq_auxt_res0_128_128_5, - &_vq_auxp_res0_128_128_5, - 0 -}; - - -#endif diff --git a/lib/books/res0_128_128_2.vqh b/lib/books/res_Zc_1.vqh index 669af176..3fe97da8 100644 --- a/lib/books/res0_128_128_2.vqh +++ b/lib/books/res_Zc_1.vqh @@ -14,45 +14,45 @@ ********************************************************************/ -#ifndef _V_res0_128_128_2_VQH_ -#define _V_res0_128_128_2_VQH_ +#ifndef _V_res_Zc_1_VQH_ +#define _V_res_Zc_1_VQH_ #include "codebook.h" -static long _vq_quantlist_res0_128_128_2[] = { +static long _vq_quantlist_res_Zc_1[] = { 1, 0, 2, }; -static long _vq_lengthlist_res0_128_128_2[] = { - 1, 5, 5, 0, 5, 5, 0, 5, 5, 5, 6, 7, 0, 8, 9, 0, - 8, 8, 5, 7, 6, 0, 9, 8, 0, 8, 9, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5, 8, 9, 0, 9, 9, 0, 9, 9, 5, 9, 9, - 0, 9, 9, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, - 8, 9, 0, 9, 9, 0, 9, 9, 5, 9, 8, 0, 9, 9, 0, 9, - 9, +static long _vq_lengthlist_res_Zc_1[] = { + 1, 6, 6, 0, 5, 5, 0, 5, 5, 5, 8, 8, 0, 9, 8, 0, + 8, 8, 5, 8, 9, 0, 8, 9, 0, 8, 9, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 9, 8, 0, 8, 7, 0, 7, 8, 5, 8, 9, + 0, 7, 8, 0, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, + 9, 8, 0, 8, 7, 0, 8, 7, 5, 8, 9, 0, 7, 8, 0, 7, + 8, }; -static float _vq_quantthresh_res0_128_128_2[] = { +static float _vq_quantthresh_res_Zc_1[] = { -0.5, 0.5, }; -static long _vq_quantmap_res0_128_128_2[] = { +static long _vq_quantmap_res_Zc_1[] = { 1, 0, 2, }; -static encode_aux_threshmatch _vq_auxt_res0_128_128_2 = { - _vq_quantthresh_res0_128_128_2, - _vq_quantmap_res0_128_128_2, +static encode_aux_threshmatch _vq_auxt_res_Zc_1 = { + _vq_quantthresh_res_Zc_1, + _vq_quantmap_res_Zc_1, 3, 3 }; -static long _vq_pigeonmap_res0_128_128_2[] = { +static long _vq_pigeonmap_res_Zc_1[] = { 0, 0, }; -static long _vq_fitlist_res0_128_128_2[] = { +static long _vq_fitlist_res_Zc_1[] = { 0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 13, 14, 16, 17, 18, 19, 20, 22, 23, 25, 26, 36, 37, 38, @@ -62,31 +62,31 @@ static long _vq_fitlist_res0_128_128_2[] = { 80, }; -static long _vq_fitmap_res0_128_128_2[] = { +static long _vq_fitmap_res_Zc_1[] = { 0, }; -static long _vq_fitlength_res0_128_128_2[] = { +static long _vq_fitlength_res_Zc_1[] = { 49, }; -static encode_aux_pigeonhole _vq_auxp_res0_128_128_2 = { +static encode_aux_pigeonhole _vq_auxp_res_Zc_1 = { -1, 1, 2, 1, - _vq_pigeonmap_res0_128_128_2, + _vq_pigeonmap_res_Zc_1, 49, - _vq_fitlist_res0_128_128_2, - _vq_fitmap_res0_128_128_2, - _vq_fitlength_res0_128_128_2 + _vq_fitlist_res_Zc_1, + _vq_fitmap_res_Zc_1, + _vq_fitlength_res_Zc_1 }; -static static_codebook _vq_book_res0_128_128_2 = { +static static_codebook _vq_book_res_Zc_1 = { 4, 81, - _vq_lengthlist_res0_128_128_2, + _vq_lengthlist_res_Zc_1, 1, -535822336, 1611661312, 2, 0, - _vq_quantlist_res0_128_128_2, + _vq_quantlist_res_Zc_1, NULL, - &_vq_auxt_res0_128_128_2, - &_vq_auxp_res0_128_128_2, + &_vq_auxt_res_Zc_1, + &_vq_auxp_res_Zc_1, 0 }; diff --git a/lib/books/res0_128_128aux.vqh b/lib/books/res_Zc_1024aux.vqh index d60ce8a9..99dca15e 100644 --- a/lib/books/res0_128_128aux.vqh +++ b/lib/books/res_Zc_1024aux.vqh @@ -15,23 +15,23 @@ ********************************************************************/ -#ifndef _V_res0_128_128aux_VQH_ -#define _V_res0_128_128aux_VQH_ +#ifndef _V_res_Zc_1024aux_VQH_ +#define _V_res_Zc_1024aux_VQH_ #include "codebook.h" -static long _huff_lengthlist_res0_128_128aux[] = { - 6, 7, 6,16, 9,10,12,12,16,16, 7, 2,16, 8, 4,16, - 7, 7,10,16, 5,16, 2,16,16, 7,13,16,16,16,16, 8, - 16, 6,16,16, 6, 7,12,16, 8, 4,16,16, 6,16,10,15, - 16,16, 7,16, 6,16,16,10,14,15,16,16,10, 6,12, 5, - 8,15, 5, 7,13,16,13, 8,16, 7,13,16, 7, 8,16,16, - 13, 8,15, 6,15,15, 6, 6, 9,15,15,14,15,13,15,15, - 12, 8, 8,15, +static long _huff_lengthlist_res_Zc_1024aux[] = { + 3, 8, 9,11, 4, 7, 8,11,16,16, 8, 4, 5, 7,16,16, + 16,16,14,16, 8, 4, 5, 6,16,16,16,16,12,16, 9, 5, + 5, 5,16,16,16,16,10,16, 4,16,16,16, 3, 4, 7,11, + 16,16, 6,16,16,16, 4, 4, 8,13,16,16, 9,16,16,16, + 7, 8,10,13,16,16,11,16,16,16,11,13,12,14,16,16, + 14,11, 9, 6,16,16,16,16, 5,10,16,14,13, 8,16,16, + 16,16, 8,15, }; -static static_codebook _huff_book_res0_128_128aux = { +static static_codebook _huff_book_res_Zc_1024aux = { 2, 100, - _huff_lengthlist_res0_128_128aux, + _huff_lengthlist_res_Zc_1024aux, 0, 0, 0, 0, 0, NULL, NULL, diff --git a/lib/books/res_Zc_128aux.vqh b/lib/books/res_Zc_128aux.vqh new file mode 100644 index 00000000..c8696618 --- /dev/null +++ b/lib/books/res_Zc_128aux.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 <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by huff/huffbuld + + ********************************************************************/ + +#ifndef _V_res_Zc_128aux_VQH_ +#define _V_res_Zc_128aux_VQH_ +#include "codebook.h" + +static long _huff_lengthlist_res_Zc_128aux[] = { + 4,15,15,15, 6, 8,11,11,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,14,14,14,14,14,14,14, 6,14,14,14, 6, 7,10,12, + 14,14, 9,14,14,14, 7, 7,10,13,14,14,13,14,14,14, + 11,11,12,13,14,14,13,14,14,14,13,14,13,13,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,13,13,14,14,10,10,11,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, 9,14,14,14, + 7, 6, 8, 9,14,14, 9,14,14,14, 6, 5, 7, 8,14,14, + 10,14,14,14, 7, 7, 8,10,14,14,12,14,14,14,10,10, + 11,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,11,14,14,14, 9,10,12,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, + 9,14,14,14, 7, 7, 9,12,14,14,10,14,14,14, 7, 6, + 8,11,14,14,11,14,14,14, 9, 8,10,12,14,14,13,14, + 14,14,13,11,14,14,14,14,14,14,14,14,14,14,14,14, + 14,14,14,14,14,14,14,14,14,14,14,14,12,14,14,14, + 10,11,12,13,14,14,14,12,13,13,14,14,14,14,14,14, + 14,12,12,14,14,14,14,14,14,14,14,13,13,14,14,14, + 14,14,14,14,10,14,14,14, 9, 9,11,12,14,14,13,14, + 14,14,10,10,11,14,14,14,13,14,14,14,12,11,14,13, + 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, + 5,14,14,14, 5, 8,11,12,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, 5,14,14,14, 4, 6, 9,12, + 14,14, 7,14,14,14, 5, 6, 9,12,14,14,10,14,14,14, + 9, 9,12,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, 7,14,14,14, 7, 8,11,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, 6,14,14,14, + 5, 6, 9,13,14,14, 7,14,14,14, 5, 5, 9,13,14,14, + 11,14,14,14, 9, 9,12,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,11,14,14,14,10,12,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, + 9,14,14,14, 8, 9,11,14,14,14,10,14,14,14, 8, 8, + 10,14,14,14,12,14,14,14,11,10,13,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,13,14,14,14, + 12,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,13,14,14,14,12,13,14,14,14,14,13,14, + 14,14,13,12,13,14,14,14,14,14,14,14,13,12,13,14, + 14,14,14,14,14,14,13,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, + 12,14,13,13,12,13,14,14,13,14,14, 6, 5, 6,14,14, + 14,14,11,14,13, 5, 5, 6,14,14,14,14,10,14,13, 7, + 7, 6,14,14,14,14,10,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,13,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,11, + 10,10,14,14,14,14,14,14,14,10, 9, 9,14,14,14,14, + 13,14,14,11,11, 8,14,14,14,14,11,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, +}; + +static static_codebook _huff_book_res_Zc_128aux = { + 3, 1000, + _huff_lengthlist_res_Zc_128aux, + 0, 0, 0, 0, 0, + NULL, + NULL, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/res_Zc_2.vqh b/lib/books/res_Zc_2.vqh new file mode 100644 index 00000000..385e2c37 --- /dev/null +++ b/lib/books/res_Zc_2.vqh @@ -0,0 +1,300 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_2_VQH_ +#define _V_res_Zc_2_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_2[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist_res_Zc_2[] = { + 2, 6, 5, 8, 8, 0, 5, 5, 9, 8, 0, 5, 5, 8, 9, 0, + 7, 7, 9, 9, 0, 0, 0, 9,10, 6, 8, 8,10,10, 0, 8, + 8,11,10, 0, 8, 8,10,10, 0,10, 9,12,11, 0, 0, 0, + 11,11, 6, 8, 8,10,10, 0, 8, 9,10,11, 0, 8, 8,10, + 10, 0, 9,10,11,11, 0, 0, 0,12,12, 8,10,10,12,12, + 0,11,11,13,12, 0,11,11,12,12, 0,14,14,15,14, 0, + 0, 0,16,14, 8,10,10,12,12, 0,11,12,12,13, 0,11, + 11,12,12, 0,12,13,13,14, 0, 0, 0,15,13, 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, 5, 8, 8,11,11, 0, 8, 7,10,10, + 0, 7, 7,10,10, 0, 9, 8,11,11, 0, 0, 0,11,11, 5, + 8, 8,11,11, 0, 7, 8,10,11, 0, 8, 7,11,10, 0, 8, + 9,11,11, 0, 0, 0,11,11, 8,10,10,12,12, 0,11,10, + 12,12, 0,10,10,12,12, 0,13,12,13,13, 0, 0, 0,13, + 13, 8,10,10,13,14, 0,10,11,12,13, 0,10,10,12,12, + 0,12,13,14,13, 0, 0, 0,13,13, 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, 5, 8, 8,11,11, 0, 8, 7,11,10, 0, 7, 7, + 11,10, 0, 9, 9,11,11, 0, 0, 0,11,11, 5, 8, 8,11, + 12, 0, 7, 8,10,11, 0, 7, 7,10,11, 0, 9, 9,11,11, + 0, 0, 0,11,12, 8,11,10,13,12, 0,10,10,13,12, 0, + 11,10,13,12, 0,13,12,13,13, 0, 0, 0,14,13, 8,10, + 11,12,13, 0,10,11,12,13, 0,10,10,13,12, 0,12,13, + 13,13, 0, 0, 0,13,14, 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, + 7, 9,10,12,13, 0, 9, 8,12,13, 0, 8, 9,12,12, 0, + 11,10,13,13, 0, 0, 0,13,13, 7,10, 9,13,13, 0, 9, + 9,13,12, 0, 9, 8,14,12, 0,10,11,13,13, 0, 0, 0, + 13,12, 9,11,11,15,16, 0,12,10,14,14, 0,10,12,12, + 13, 0,13,12,14,14, 0, 0, 0,13,13, 9,12,11,14,14, + 0,11,11,13,14, 0,11,10,13,12, 0,13,13,14,14, 0, + 0, 0,14,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 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,11, 0,13, 0,11,11,13,13, 0,11,11,14,13, 0,13, + 13,14,14, 0, 0, 0,15,14,10,11,12,13,14, 0,11,11, + 12,14, 0,11,11,13,14, 0,13,13,13,14, 0, 0, 0,14, + 15, +}; + +static float _vq_quantthresh_res_Zc_2[] = { + -1.5, -0.5, 0.5, 1.5, +}; + +static long _vq_quantmap_res_Zc_2[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt_res_Zc_2 = { + _vq_quantthresh_res_Zc_2, + _vq_quantmap_res_Zc_2, + 5, + 5 +}; + +static long _vq_pigeonmap_res_Zc_2[] = { + 1, 0, 0, 0, +}; + +static long _vq_fitlist_res_Zc_2[] = { + 0, 1, 2, 3, 6, 7, 8, 11, + 12, 13, 16, 17, 18, 25, 26, 27, + 28, 31, 32, 33, 36, 37, 38, 41, + 42, 43, 50, 51, 52, 53, 56, 57, + 58, 61, 62, 63, 66, 67, 68, 75, + 76, 77, 78, 81, 82, 83, 86, 87, + 88, 91, 92, 93, 150, 151, 152, 153, + 156, 157, 158, 161, 162, 163, 166, 167, + 168, 175, 176, 177, 178, 181, 182, 183, + 186, 187, 188, 191, 192, 193, 200, 201, + 202, 203, 206, 207, 208, 211, 212, 213, + 216, 217, 218, 275, 276, 277, 278, 281, + 282, 283, 286, 287, 288, 291, 292, 293, + 300, 301, 302, 303, 306, 307, 308, 311, + 316, 325, 326, 327, 328, 331, 332, 333, + 336, 341, 400, 401, 402, 403, 406, 407, + 408, 411, 412, 413, 416, 417, 418, 425, + 426, 427, 428, 431, 432, 433, 436, 441, + 450, 451, 452, 453, 456, 457, 458, 461, + 466, 4, 9, 14, 19, 29, 34, 39, + 44, 54, 59, 64, 69, 79, 84, 89, + 94, 154, 159, 164, 169, 179, 184, 189, + 194, 204, 209, 214, 219, 279, 284, 289, + 294, 304, 309, 312, 317, 329, 334, 337, + 342, 404, 409, 414, 419, 429, 434, 437, + 442, 454, 459, 462, 467, 314, 319, 339, + 344, 439, 444, 464, 469, 23, 48, 73, + 98, 173, 198, 223, 298, 313, 338, 423, + 438, 463, 24, 49, 74, 99, 174, 199, + 224, 299, 424, 324, 349, 449, 474, 323, + 348, 448, 473, 100, 101, 102, 103, 106, + 107, 108, 111, 112, 113, 116, 117, 118, + 225, 226, 227, 228, 231, 232, 233, 236, + 237, 238, 241, 242, 243, 318, 350, 351, + 352, 353, 356, 357, 358, 361, 366, 443, + 475, 476, 477, 478, 481, 482, 483, 486, + 491, 104, 109, 114, 119, 229, 234, 239, + 244, 354, 359, 362, 367, 479, 484, 487, + 492, 364, 369, 489, 494, 123, 248, 363, + 488, 124, 249, 374, 499, 373, 498, 368, + 493, 343, 575, 576, 577, 581, 582, 583, + 586, 591, 579, 584, 587, 592, 589, 594, + 588, 599, 598, 600, 601, 602, 603, 606, + 607, 608, 611, 616, 604, 609, 612, 617, + 614, 619, 613, 624, 623, 618, 593, 0, + 1, 3, 6, 8, 11, 13, 16, 18, + 25, 26, 28, 31, 33, 36, 38, 41, + 43, 50, 51, 53, 56, 58, 61, 63, + 66, 68, 75, 76, 78, 81, 83, 86, + 88, 91, 93, 150, 151, 153, 156, 158, + 161, 163, 166, 168, 175, 176, 178, 181, + 183, 186, 188, 191, 193, 200, 201, 203, + 206, 208, 211, 213, 216, 218, 275, 276, + 278, 281, 283, 286, 288, 291, 293, 300, + 301, 303, 306, 308, 311, 313, 316, 318, + 325, 326, 328, 331, 333, 336, 338, 341, + 343, 400, 401, 403, 406, 408, 411, 413, + 416, 418, 425, 426, 428, 431, 433, 436, + 438, 441, 443, 450, 451, 453, 456, 458, + 461, 463, 466, 468, 23, 48, 73, 98, + 173, 198, 223, 298, 323, 348, 423, 448, + 473, 100, 101, 103, 106, 108, 111, 113, + 116, 118, 225, 226, 228, 231, 233, 236, + 238, 241, 243, 350, 351, 353, 356, 358, + 361, 363, 366, 368, 475, 476, 478, 481, + 483, 486, 488, 491, 493, 123, 248, 373, + 498, 575, 576, 581, 583, 586, 588, 591, + 593, 598, 600, 601, 603, 606, 608, 611, + 613, 616, 618, 623, 0, 1, 2, 3, + 6, 7, 8, 16, 17, 18, 25, 26, + 27, 28, 31, 32, 33, 41, 42, 43, + 50, 51, 52, 53, 56, 57, 58, 66, + 67, 68, 75, 76, 77, 78, 81, 82, + 83, 91, 92, 93, 150, 151, 152, 153, + 156, 157, 158, 166, 167, 168, 175, 176, + 177, 178, 181, 182, 183, 191, 192, 193, + 200, 201, 202, 203, 206, 207, 208, 216, + 217, 218, 275, 276, 277, 278, 281, 282, + 283, 291, 292, 293, 300, 301, 306, 307, + 308, 316, 317, 318, 325, 326, 331, 332, + 333, 341, 342, 343, 400, 401, 402, 403, + 406, 407, 408, 416, 417, 418, 425, 426, + 431, 432, 433, 441, 442, 443, 450, 451, + 456, 457, 458, 466, 467, 468, 4, 9, + 19, 29, 34, 44, 54, 59, 69, 79, + 84, 94, 154, 159, 169, 179, 184, 194, + 204, 209, 219, 279, 284, 294, 302, 309, + 319, 327, 334, 344, 404, 409, 419, 427, + 434, 444, 452, 459, 469, 304, 329, 429, + 454, 100, 101, 102, 103, 106, 107, 108, + 116, 117, 118, 225, 226, 227, 228, 231, + 232, 233, 241, 242, 243, 303, 350, 351, + 356, 357, 358, 366, 367, 368, 428, 475, + 476, 481, 482, 483, 491, 492, 493, 104, + 109, 119, 229, 234, 244, 352, 359, 369, + 477, 484, 494, 354, 479, 353, 478, 328, + 575, 576, 581, 582, 583, 591, 592, 593, + 577, 584, 594, 579, 600, 601, 606, 607, + 608, 616, 617, 618, 602, 609, 619, 604, + 603, 0, 1, 2, 3, 6, 7, 8, + 11, 12, 13, 16, 17, 18, 25, 26, + 27, 28, 31, 32, 33, 36, 37, 38, + 41, 42, 43, 75, 76, 77, 78, 81, + 82, 83, 86, 87, 88, 91, 92, 93, + 150, 151, 152, 153, 156, 157, 158, 161, + 162, 163, 166, 167, 168, 200, 201, 202, + 203, 206, 207, 208, 211, 212, 213, 216, + 217, 218, 275, 276, 277, 278, 281, 282, + 283, 286, 287, 288, 291, 292, 293, 325, + 326, 327, 328, 331, 332, 333, 336, 337, + 338, 341, 342, 343, 400, 401, 402, 403, + 406, 407, 408, 411, 412, 413, 416, 417, + 418, 450, 451, 452, 453, 456, 457, 458, + 461, 462, 463, 466, 467, 468, 4, 9, + 14, 19, 29, 34, 39, 44, 79, 84, + 89, 94, 154, 159, 164, 169, 204, 209, + 214, 219, 279, 284, 289, 294, 329, 334, + 339, 344, 404, 409, 414, 419, 454, 459, + 464, 469, 23, 48, 98, 173, 223, 298, + 348, 423, 473, 24, 49, 99, 174, 224, + 299, 349, 424, 474, 575, 576, 577, 581, + 582, 583, 586, 587, 588, 591, 592, 593, + 579, 584, 589, 594, 598, 599, 0, 1, + 2, 3, 6, 7, 8, 11, 12, 13, + 16, 17, 18, 25, 26, 27, 28, 31, + 32, 33, 36, 37, 38, 41, 42, 43, + 50, 51, 52, 53, 56, 57, 58, 61, + 66, 75, 76, 77, 78, 81, 82, 83, + 86, 91, 150, 151, 152, 153, 156, 157, + 158, 161, 162, 163, 166, 167, 168, 175, + 176, 177, 178, 181, 182, 183, 186, 187, + 188, 191, 192, 193, 200, 201, 202, 203, + 206, 207, 208, 211, 212, 213, 216, 217, + 218, 400, 401, 402, 403, 406, 407, 408, + 411, 412, 413, 416, 417, 418, 425, 426, + 427, 428, 431, 432, 433, 436, 437, 438, + 441, 442, 443, 450, 451, 452, 453, 456, + 457, 458, 461, 462, 463, 466, 467, 468, + 4, 9, 14, 19, 29, 34, 39, 44, + 54, 59, 62, 67, 79, 84, 87, 92, + 154, 159, 164, 169, 179, 184, 189, 194, + 204, 209, 214, 219, 404, 409, 414, 419, + 429, 434, 439, 444, 454, 459, 464, 469, + 64, 69, 89, 94, 23, 48, 63, 88, + 173, 198, 223, 423, 448, 473, 24, 49, + 174, 199, 224, 424, 449, 474, 74, 99, + 73, 98, 68, 100, 101, 102, 103, 106, + 107, 108, 111, 116, 225, 226, 227, 228, + 231, 232, 233, 236, 237, 238, 241, 242, + 243, 475, 476, 477, 478, 481, 482, 483, + 486, 487, 488, 491, 492, 493, 104, 109, + 112, 117, 229, 234, 239, 244, 479, 484, + 489, 494, 114, 119, 113, 248, 498, 249, + 499, 124, 123, 118, 0, 1, 2, 3, + 6, 7, 8, 16, 17, 18, 25, 26, + 27, 28, 31, 32, 33, 41, 42, 43, + 50, 51, 56, 57, 58, 66, 67, 68, + 75, 76, 81, 82, 83, 91, 92, 93, + 150, 151, 152, 153, 156, 157, 158, 166, + 167, 168, 175, 176, 177, 178, 181, 182, + 183, 191, 192, 193, 200, 201, 202, 203, + 206, 207, 208, 216, 217, 218, 400, 401, + 402, 403, 406, 407, 408, 416, 417, 418, + 425, 426, 427, 428, 431, 432, 433, 441, + 442, 443, 450, 451, 452, 453, 456, 457, + 458, 466, 467, 468, 4, 9, 19, 29, + 34, 44, 52, 59, 69, 77, 84, 94, + 154, 159, 169, 179, 184, 194, 204, 209, + 219, 404, 409, 419, 429, 434, 444, 454, + 459, 469, 54, 79, 53, 100, 101, 106, + 107, 108, 116, 117, 118, 225, 226, 227, + 228, 231, 232, 233, 241, 242, 243, 475, + 476, 477, 478, 481, 482, 483, 491, 492, + 493, 102, 109, 119, 229, 234, 244, 479, + 484, 494, 104, 103, +}; + +static long _vq_fitmap_res_Zc_2[] = { + 0, 359, 548, 359, 793, 359, 793, 359, + 982, 359, 1228, 359, 793, 359, 793, 359, +}; + +static long _vq_fitlength_res_Zc_2[] = { + 359, 189, 245, 189, 189, 189, 189, 189, + 246, 189, 168, 189, 189, 189, 189, 189, +}; + +static encode_aux_pigeonhole _vq_auxp_res_Zc_2 = { + -2, 1, 4, 2, + _vq_pigeonmap_res_Zc_2, + 1396, + _vq_fitlist_res_Zc_2, + _vq_fitmap_res_Zc_2, + _vq_fitlength_res_Zc_2 +}; + +static static_codebook _vq_book_res_Zc_2 = { + 4, 625, + _vq_lengthlist_res_Zc_2, + 1, -533725184, 1611661312, 3, 0, + _vq_quantlist_res_Zc_2, + NULL, + &_vq_auxt_res_Zc_2, + &_vq_auxp_res_Zc_2, + 0 +}; + + +#endif diff --git a/lib/books/res0_128_128_1.vqh b/lib/books/res_Zc_3.vqh index 518f56fb..b862e0a6 100644 --- a/lib/books/res0_128_128_1.vqh +++ b/lib/books/res_Zc_3.vqh @@ -14,11 +14,11 @@ ********************************************************************/ -#ifndef _V_res0_128_128_1_VQH_ -#define _V_res0_128_128_1_VQH_ +#ifndef _V_res_Zc_3_VQH_ +#define _V_res_Zc_3_VQH_ #include "codebook.h" -static long _vq_quantlist_res0_128_128_1[] = { +static long _vq_quantlist_res_Zc_3[] = { 7, 6, 8, @@ -36,47 +36,47 @@ static long _vq_quantlist_res0_128_128_1[] = { 14, }; -static long _vq_lengthlist_res0_128_128_1[] = { - 3, 4, 4, 5, 5, 7, 7, 9, 9,11,11,12,11,12,12, 0, - 4, 4, 5, 6, 7, 7, 9, 9,11,11,13,12,12,12, 0, 4, - 4, 6, 5, 7, 7, 9, 9,11,11,12,12,12,12, 0, 5, 5, - 6, 6, 8, 8, 9, 9,11,11,12,12,12,12, 0, 0, 0, 6, - 6, 8, 8, 9, 9,11,11,12,12,12,11, 0, 0, 0, 6, 6, - 8, 8,10,10,10,11,13,13,12,12, 0, 0, 0, 7, 7, 8, - 8,10, 9,11,11,12,12,12,12, 0, 0, 0, 8, 8, 8, 9, - 10,10,12,11,12,12,11,12, 0, 0, 0, 0, 0, 9, 8,10, - 10,11,11,13,12,12,12, 0, 0, 0, 0, 0, 9, 9,10,10, - 11,11,13,12,12,12, 0, 0, 0, 0, 0, 9, 9,10,10,12, - 12,13,14,12,12, 0, 0, 0, 0, 0,11,11,11,11,11,11, - 13,13,12,12, 0, 0, 0, 0, 0, 0, 0,11,11,11,12,12, - 14,12,13, 0, 0, 0, 0, 0, 0, 0,11,11,11,12,11,12, - 10,11, 0, 0, 0, 0, 0, 0, 0,11,12,11,11,12,12,11, - 11, +static long _vq_lengthlist_res_Zc_3[] = { + 1, 5, 5, 7, 7, 8, 8, 9, 9,11,10,12,11,12,13, 0, + 4, 4, 7, 7, 8, 8, 9, 9,11,11,11,11,12,12, 0, 4, + 4, 7, 7, 8, 8, 9,10,11,11,12,12,12,13, 0, 7, 7, + 8, 8, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 8, + 8, 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 8, 8, + 9, 9,10,10,12,11,12,12,13,13, 0, 0, 0, 8, 8, 9, + 9,11,10,12,11,13,13,13,14, 0, 0, 0, 9, 9,10,10, + 11,11,12,12,12,13,13,14, 0, 0, 0, 0, 0,10,10,12, + 11,12,12,13,13,14,14, 0, 0, 0, 0, 0,11,11,11,11, + 12,12,13,13,14,14, 0, 0, 0, 0, 0,11,11,12,12,14, + 13,15,13,15,15, 0, 0, 0, 0, 0,12,12,12,12,12,13, + 13,13,15,14, 0, 0, 0, 0, 0, 0, 0,12,12,14,13,14, + 15,15,16, 0, 0, 0, 0, 0, 0, 0,13,12,13,13,14,14, + 15,15, 0, 0, 0, 0, 0, 0, 0,13,13,15,14,14,15,16, + 15, }; -static float _vq_quantthresh_res0_128_128_1[] = { +static float _vq_quantthresh_res_Zc_3[] = { -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, }; -static long _vq_quantmap_res0_128_128_1[] = { +static long _vq_quantmap_res_Zc_3[] = { 13, 11, 9, 7, 5, 3, 1, 0, 2, 4, 6, 8, 10, 12, 14, }; -static encode_aux_threshmatch _vq_auxt_res0_128_128_1 = { - _vq_quantthresh_res0_128_128_1, - _vq_quantmap_res0_128_128_1, +static encode_aux_threshmatch _vq_auxt_res_Zc_3 = { + _vq_quantthresh_res_Zc_3, + _vq_quantmap_res_Zc_3, 15, 15 }; -static long _vq_pigeonmap_res0_128_128_1[] = { +static long _vq_pigeonmap_res_Zc_3[] = { 4, 3, 3, 2, 1, 1, 0, 0, 0, 1, 2, 2, 3, 4, }; -static long _vq_fitlist_res0_128_128_1[] = { +static long _vq_fitlist_res_Zc_3[] = { 0, 1, 2, 3, 16, 17, 18, 31, 46, 4, 19, 32, 47, 6, 21, 34, 49, 33, 36, 64, 63, 66, 94, 1, @@ -210,37 +210,37 @@ static long _vq_fitlist_res0_128_128_1[] = { 190, 192, 194, 220, 222, 224, }; -static long _vq_fitmap_res0_128_128_1[] = { +static long _vq_fitmap_res_Zc_3[] = { 0, 23, 63, 109, 155, 187, 217, 267, 332, 397, 443, 471, 508, 567, 632, 678, 704, 731, 782, 846, 892, 916, 939, 971, 1014, }; -static long _vq_fitlength_res0_128_128_1[] = { +static long _vq_fitlength_res_Zc_3[] = { 23, 40, 46, 46, 32, 30, 50, 65, 65, 46, 28, 37, 59, 65, 46, 26, 27, 51, 64, 46, 24, 23, 32, 43, 32, }; -static encode_aux_pigeonhole _vq_auxp_res0_128_128_1 = { +static encode_aux_pigeonhole _vq_auxp_res_Zc_3 = { -7, 1, 14, 5, - _vq_pigeonmap_res0_128_128_1, + _vq_pigeonmap_res_Zc_3, 1046, - _vq_fitlist_res0_128_128_1, - _vq_fitmap_res0_128_128_1, - _vq_fitlength_res0_128_128_1 + _vq_fitlist_res_Zc_3, + _vq_fitmap_res_Zc_3, + _vq_fitlength_res_Zc_3 }; -static static_codebook _vq_book_res0_128_128_1 = { +static static_codebook _vq_book_res_Zc_3 = { 2, 225, - _vq_lengthlist_res0_128_128_1, + _vq_lengthlist_res_Zc_3, 1, -530841600, 1611661312, 4, 0, - _vq_quantlist_res0_128_128_1, + _vq_quantlist_res_Zc_3, NULL, - &_vq_auxt_res0_128_128_1, - &_vq_auxp_res0_128_128_1, + &_vq_auxt_res_Zc_3, + &_vq_auxp_res_Zc_3, 0 }; diff --git a/lib/books/res0_128_1024_2.vqh b/lib/books/res_Zc_4.vqh index 4e8592bb..0a0077a6 100644 --- a/lib/books/res0_128_1024_2.vqh +++ b/lib/books/res_Zc_4.vqh @@ -14,74 +14,74 @@ ********************************************************************/ -#ifndef _V_res0_128_1024_2_VQH_ -#define _V_res0_128_1024_2_VQH_ +#ifndef _V_res_Zc_4_VQH_ +#define _V_res_Zc_4_VQH_ #include "codebook.h" -static long _vq_quantlist_res0_128_1024_2[] = { +static long _vq_quantlist_res_Zc_4[] = { 1, 0, 2, }; -static long _vq_lengthlist_res0_128_1024_2[] = { - 1, 3, 4, 0, 0, 0, 0, 0, 0, 4, 5, 4, 0, 0, 0, 0, - 0, 0, 4, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +static long _vq_lengthlist_res_Zc_4[] = { + 1, 3, 3, 0, 0, 0, 0, 0, 0, 4, 6, 6, 0, 0, 0, 0, + 0, 0, 3, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; -static float _vq_quantthresh_res0_128_1024_2[] = { +static float _vq_quantthresh_res_Zc_4[] = { -0.5, 0.5, }; -static long _vq_quantmap_res0_128_1024_2[] = { +static long _vq_quantmap_res_Zc_4[] = { 1, 0, 2, }; -static encode_aux_threshmatch _vq_auxt_res0_128_1024_2 = { - _vq_quantthresh_res0_128_1024_2, - _vq_quantmap_res0_128_1024_2, +static encode_aux_threshmatch _vq_auxt_res_Zc_4 = { + _vq_quantthresh_res_Zc_4, + _vq_quantmap_res_Zc_4, 3, 3 }; -static long _vq_pigeonmap_res0_128_1024_2[] = { +static long _vq_pigeonmap_res_Zc_4[] = { 0, 0, }; -static long _vq_fitlist_res0_128_1024_2[] = { +static long _vq_fitlist_res_Zc_4[] = { 0, 1, 2, 9, 10, 11, 18, 19, 20, }; -static long _vq_fitmap_res0_128_1024_2[] = { +static long _vq_fitmap_res_Zc_4[] = { 0, }; -static long _vq_fitlength_res0_128_1024_2[] = { +static long _vq_fitlength_res_Zc_4[] = { 9, }; -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_2 = { +static encode_aux_pigeonhole _vq_auxp_res_Zc_4 = { -1, 1, 2, 1, - _vq_pigeonmap_res0_128_1024_2, + _vq_pigeonmap_res_Zc_4, 9, - _vq_fitlist_res0_128_1024_2, - _vq_fitmap_res0_128_1024_2, - _vq_fitlength_res0_128_1024_2 + _vq_fitlist_res_Zc_4, + _vq_fitmap_res_Zc_4, + _vq_fitlength_res_Zc_4 }; -static static_codebook _vq_book_res0_128_1024_2 = { +static static_codebook _vq_book_res_Zc_4 = { 4, 81, - _vq_lengthlist_res0_128_1024_2, + _vq_lengthlist_res_Zc_4, 1, -535822336, 1611661312, 2, 0, - _vq_quantlist_res0_128_1024_2, + _vq_quantlist_res_Zc_4, NULL, - &_vq_auxt_res0_128_1024_2, - &_vq_auxp_res0_128_1024_2, + &_vq_auxt_res_Zc_4, + &_vq_auxp_res_Zc_4, 0 }; diff --git a/lib/books/res_Zc_5.vqh b/lib/books/res_Zc_5.vqh new file mode 100644 index 00000000..96334f1d --- /dev/null +++ b/lib/books/res_Zc_5.vqh @@ -0,0 +1,89 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_5_VQH_ +#define _V_res_Zc_5_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_5[] = { + 1, + 0, + 2, +}; + +static long _vq_lengthlist_res_Zc_5[] = { + 1, 4, 3, 0, 0, 0, 0, 0, 0, 4, 5, 5, 0, 0, 0, 0, + 0, 0, 3, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, +}; + +static float _vq_quantthresh_res_Zc_5[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap_res_Zc_5[] = { + 1, 0, 2, +}; + +static encode_aux_threshmatch _vq_auxt_res_Zc_5 = { + _vq_quantthresh_res_Zc_5, + _vq_quantmap_res_Zc_5, + 3, + 3 +}; + +static long _vq_pigeonmap_res_Zc_5[] = { + 0, 0, +}; + +static long _vq_fitlist_res_Zc_5[] = { + 0, 1, 2, 9, 10, 11, 18, 19, + 20, +}; + +static long _vq_fitmap_res_Zc_5[] = { + 0, +}; + +static long _vq_fitlength_res_Zc_5[] = { + 9, +}; + +static encode_aux_pigeonhole _vq_auxp_res_Zc_5 = { + -1, 1, 2, 1, + _vq_pigeonmap_res_Zc_5, + 9, + _vq_fitlist_res_Zc_5, + _vq_fitmap_res_Zc_5, + _vq_fitlength_res_Zc_5 +}; + +static static_codebook _vq_book_res_Zc_5 = { + 4, 81, + _vq_lengthlist_res_Zc_5, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res_Zc_5, + NULL, + &_vq_auxt_res_Zc_5, + &_vq_auxp_res_Zc_5, + 0 +}; + + +#endif diff --git a/lib/books/res0_128_1024_5.vqh b/lib/books/res_Zc_6.vqh index df948b27..c0987ab4 100644 --- a/lib/books/res0_128_1024_5.vqh +++ b/lib/books/res_Zc_6.vqh @@ -14,11 +14,11 @@ ********************************************************************/ -#ifndef _V_res0_128_1024_5_VQH_ -#define _V_res0_128_1024_5_VQH_ +#ifndef _V_res_Zc_6_VQH_ +#define _V_res_Zc_6_VQH_ #include "codebook.h" -static long _vq_quantlist_res0_128_1024_5[] = { +static long _vq_quantlist_res_Zc_6[] = { 2, 1, 3, @@ -26,14 +26,14 @@ static long _vq_quantlist_res0_128_1024_5[] = { 4, }; -static long _vq_lengthlist_res0_128_1024_5[] = { - 3, 3, 3, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4, 6, 6, 0, 0, +static long _vq_lengthlist_res_Zc_6[] = { + 1, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 6, 5, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 4, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 6, 9, 7, + 0, 0, 4, 5, 6, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 6,10, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 6, 6, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 6, 6, 7, 8,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -69,59 +69,59 @@ static long _vq_lengthlist_res0_128_1024_5[] = { 0, }; -static float _vq_quantthresh_res0_128_1024_5[] = { +static float _vq_quantthresh_res_Zc_6[] = { -1.5, -0.5, 0.5, 1.5, }; -static long _vq_quantmap_res0_128_1024_5[] = { +static long _vq_quantmap_res_Zc_6[] = { 3, 1, 0, 2, 4, }; -static encode_aux_threshmatch _vq_auxt_res0_128_1024_5 = { - _vq_quantthresh_res0_128_1024_5, - _vq_quantmap_res0_128_1024_5, +static encode_aux_threshmatch _vq_auxt_res_Zc_6 = { + _vq_quantthresh_res_Zc_6, + _vq_quantmap_res_Zc_6, 5, 5 }; -static long _vq_pigeonmap_res0_128_1024_5[] = { +static long _vq_pigeonmap_res_Zc_6[] = { 1, 0, 0, 0, }; -static long _vq_fitlist_res0_128_1024_5[] = { +static long _vq_fitlist_res_Zc_6[] = { 0, 1, 2, 3, 25, 26, 27, 28, 50, 51, 52, 53, 75, 76, 77, 78, 4, 29, 54, 79, 100, 101, 102, 103, 104, }; -static long _vq_fitmap_res0_128_1024_5[] = { +static long _vq_fitmap_res_Zc_6[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; -static long _vq_fitlength_res0_128_1024_5[] = { +static long _vq_fitlength_res_Zc_6[] = { 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, }; -static encode_aux_pigeonhole _vq_auxp_res0_128_1024_5 = { +static encode_aux_pigeonhole _vq_auxp_res_Zc_6 = { -2, 1, 4, 2, - _vq_pigeonmap_res0_128_1024_5, + _vq_pigeonmap_res_Zc_6, 25, - _vq_fitlist_res0_128_1024_5, - _vq_fitmap_res0_128_1024_5, - _vq_fitlength_res0_128_1024_5 + _vq_fitlist_res_Zc_6, + _vq_fitmap_res_Zc_6, + _vq_fitlength_res_Zc_6 }; -static static_codebook _vq_book_res0_128_1024_5 = { +static static_codebook _vq_book_res_Zc_6 = { 4, 625, - _vq_lengthlist_res0_128_1024_5, + _vq_lengthlist_res_Zc_6, 1, -533725184, 1611661312, 3, 0, - _vq_quantlist_res0_128_1024_5, + _vq_quantlist_res_Zc_6, NULL, - &_vq_auxt_res0_128_1024_5, - &_vq_auxp_res0_128_1024_5, + &_vq_auxt_res_Zc_6, + &_vq_auxp_res_Zc_6, 0 }; diff --git a/lib/books/res_Zc_7.vqh b/lib/books/res_Zc_7.vqh new file mode 100644 index 00000000..f5a84afd --- /dev/null +++ b/lib/books/res_Zc_7.vqh @@ -0,0 +1,119 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_7_VQH_ +#define _V_res_Zc_7_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_7[] = { + 7, + 6, + 8, + 5, + 9, + 4, + 10, + 3, + 11, + 2, + 12, + 1, + 13, + 0, + 14, +}; + +static long _vq_lengthlist_res_Zc_7[] = { + 1, 3, 3, 5, 4, 4, 4, 7, 6, 8, 0, 0, 8, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, +}; + +static float _vq_quantthresh_res_Zc_7[] = { + -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, +}; + +static long _vq_quantmap_res_Zc_7[] = { + 13, 11, 9, 7, 5, 3, 1, 0, + 2, 4, 6, 8, 10, 12, 14, +}; + +static encode_aux_threshmatch _vq_auxt_res_Zc_7 = { + _vq_quantthresh_res_Zc_7, + _vq_quantmap_res_Zc_7, + 15, + 15 +}; + +static long _vq_pigeonmap_res_Zc_7[] = { + 4, 3, 3, 2, 1, 1, 0, 0, + 0, 1, 2, 2, 3, 4, +}; + +static long _vq_fitlist_res_Zc_7[] = { + 0, 1, 2, 3, 4, 6, 5, 7, + 8, 9, 12, +}; + +static long _vq_fitmap_res_Zc_7[] = { + 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, +}; + +static long _vq_fitlength_res_Zc_7[] = { + 11, 11, 11, 11, 11, 11, 11, 11, + 11, 11, 11, 11, 11, 11, 11, 11, + 11, 11, 11, 11, 11, 11, 11, 11, + 11, +}; + +static encode_aux_pigeonhole _vq_auxp_res_Zc_7 = { + -7, 1, 14, 5, + _vq_pigeonmap_res_Zc_7, + 11, + _vq_fitlist_res_Zc_7, + _vq_fitmap_res_Zc_7, + _vq_fitlength_res_Zc_7 +}; + +static static_codebook _vq_book_res_Zc_7 = { + 2, 225, + _vq_lengthlist_res_Zc_7, + 1, -530841600, 1611661312, 4, 0, + _vq_quantlist_res_Zc_7, + NULL, + &_vq_auxt_res_Zc_7, + &_vq_auxp_res_Zc_7, + 0 +}; + + +#endif diff --git a/lib/books/res_Zc_8.vqh b/lib/books/res_Zc_8.vqh new file mode 100644 index 00000000..4644aad6 --- /dev/null +++ b/lib/books/res_Zc_8.vqh @@ -0,0 +1,1234 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_8_VQH_ +#define _V_res_Zc_8_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_8[] = { + 22, + 21, + 23, + 20, + 24, + 19, + 25, + 18, + 26, + 17, + 27, + 16, + 28, + 15, + 29, + 14, + 30, + 13, + 31, + 12, + 32, + 11, + 33, + 10, + 34, + 9, + 35, + 8, + 36, + 7, + 37, + 6, + 38, + 5, + 39, + 4, + 40, + 3, + 41, + 2, + 42, + 1, + 43, + 0, + 44, +}; + +static long _vq_lengthlist_res_Zc_8[] = { + 3, 5, 4, 6, 6, 7, 7, 7, 7, 8, 8, 9, 8, 9, 9, 9, + 9, 9, 9,10, 9,10,10,10,10,11,10,12,11,12,11,13, + 11,13,12,15,14,15,13,15, 0,15,17, 0,16, 0, 5, 5, + 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10, + 10,10,10,10,11,11,11,11,12,11,12,12,12,12,13,15, + 15,14,14,15,15, 0,17, 0, 0,16, 0, 5, 5, 6, 6, 7, + 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10, + 10,10,10,11,10,11,11,11,11,13,12,13,13,13,13,13, + 13,14,14,16,16,16, 0, 0, 7, 7, 7, 7, 8, 8, 8, 8, + 9, 9, 9,10,10,10,10,10,10,10,10,10,11,10,11,11, + 11,11,11,11,12,12,12,12,14,14,13,14,14,14,15,16, + 16, 0,16,16, 0, 0, 0, 7, 7, 8, 8, 8, 8, 9, 9, 9, + 9,10,10,10,10,10,10,11,10,10,11,11,11,11,11,12, + 12,13,12,12,12,13,12,13,13,14,14,14,15,16, 0,16, + 16, 0, 0, 0, 8, 8, 8, 8, 9, 9, 9, 9, 9,10,10,10, + 11,10,11,11,11,11,11,11,12,12,11,12,12,12,13,13, + 12,13,13,14,14,14,15,15,15,15,15, 0,16, 0, 0, 0, + 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,10,10,10,10,10, + 10,10,11,11,11,11,12,12,12,12,12,12,13,14,12,13, + 13,14,13,14,15,16,16,16, 0,16,15, 0, 0, 0, 8, 9, + 9, 9, 9, 9,10,10,10,10,10,11,10,10,11,11,12,11, + 12,12,12,12,12,13,12,14,12,13,13,14,14,14,15,15, + 14, 0,15,15,16,16, 0,16, 0, 0, 0, 0, 0, 9, 8, 9, + 9, 9,10,10,10,10,10,10,11,11,11,11,11,11,12,12, + 12,12,12,13,12,13,13,14,14,13,14,14,13,14,14,15, + 15,16, 0, 0,16, 0, 0, 0, 0, 0, 9, 9, 9, 9,10,10, + 11,10,11,10,11,11,11,11,11,11,12,12,13,12,13,13, + 13,14,14,13,14,14,14,13,16,15,16,15, 0,15, 0,15, + 16, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9,10,10,10,10,11, + 11,11,11,11,11,11,11,12,12,12,12,13,13,14,13,14, + 14,13,14,14,14,15,14,15,16,16,16, 0,16,16, 0, 0, + 0, 0, 0, 0, 9,10,10,10,10,10,10,10,11,11,11,11, + 11,11,12,11,12,12,13,12,13,13,14,14,13,14,15,14, + 15,14,15,14,15, 0, 0, 0,15,16,16,16, 0, 0, 0, 0, + 0, 0, 0,10,10,11,10,10,10,11,11,11,11,11,11,12, + 12,12,12,12,13,13,14,13,14,14,14,14,14,13,15,14, + 15,16, 0, 0, 0,15,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 10,10,10,11,11,11,11,11,12,11,12,12,11,12,12,12, + 13,13,13,14,14,14,14,15,15,14,14,15,15,15, 0, 0, + 16,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,10,10,10, + 10,11,11,11,11,11,11,11,11,13,12,12,12,12,13,13, + 13,13,14,15,15,14,16,14,15, 0,14,16, 0,16, 0,15, + 0,15, 0, 0, 0, 0, 0, 0, 0, 0,11,10,11,10,11,11, + 11,11,11,11,11,12,12,12,12,12,13,13,13,12,13,15, + 16,13,14,15,16, 0,15,15, 0,16,15, 0, 0,16, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,11,10,11,11,11, + 11,12,11,12,12,12,12,13,12,14,14,15,14,14,14,15, + 0,16,15, 0,15,16,15,15,16,16, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0,11,11,11,11,11,11,11,11,12,12, + 12,12,13,12,13,13,14,13,13,13,15,13,16, 0, 0,15, + 15, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0,11,11,11,11,11,11,12,11,12,12,12,12,13, + 13,13,13,13,13,14,16,15,14,16,16, 0, 0, 0,16, 0, + 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 12,11,12,12,12,12,12,12,12,12,12,13,13,13,13,13, + 14,13,14,13,15,15,15,15,15,16,15,16,16,15, 0,16, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,11, + 12,12,12,12,12,12,12,13,12,12,12,13,13,13,14,14, + 14,15,15,16,15, 0,16, 0,16,16,16, 0, 0, 0,16, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12, + 12,12,12,12,12,12,13,13,13,13,14,12,14,14,15,14, + 15,15, 0,16,15,15,15,16, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13, + 13,12,12,13,13,13,13,13,14,15,14,15,15,16,15,16, + 16, 0,16, 0, 0,16, 0,16, 0,16, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0,12,12,13,12,13,12,13,13,13,13, + 13,13,13,12,13,14,14,14,14,15,15, 0, 0, 0,16, 0, + 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0,13,13,13,12,13,13,12,13,13,12,14, + 13,14,14,14,15,16,15,15,15,16,16, 0, 0,16, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0,13,13,13,13,13,13,14,13,12,13,13,15,14,14, + 14,14,14,15,15,15, 0,15, 0, 0, 0,16, 0, 0, 0, 0, + 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,13, + 13,13,12,13,14,13,13,13,12,14,13,13,13,14,13,15, + 15, 0,16, 0, 0,16, 0,16,15, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,13,13,12,14, + 13,16,14,13,13,13,14,14,14,13,14,15,16,15,15, 0, + 15,16,15,16,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,13,13,13,13,13, + 13,14,14,14,14,14,14,14,14,16,15,15,15,16,15,15, + 0, 0, 0, 0, 0, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0,13,14,13,13,13,13,14,13, + 15,13,13,14,14,14,15,16,15,14, 0,16, 0,15, 0, 0, + 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0,13,13,13,14,13,15,15,14,14,14,14, + 14,15,15,15,15, 0,15, 0, 0,16, 0,16,16, 0, 0, 0, + 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0,14,13,13,14,14,14,13,14,14,14,14,14,14,16, + 16,16,15,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,13,14,13,13,13,13,14,14,14,15,14,15,14,14,16, + 15, 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,13,13, + 14,14,14,14,14,15,15,15,16,15,14,16,15,16,16, 0, + 0, 0, 0,16, 0, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,16,14,13,13,13, + 14,15,16,14,15,15, 0, 0,16,15, 0,15,14,16,16,16, + 0, 0, 0, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0,16,14,14,13,14,14,16,13, + 15,14,14,16,15,15,16,16, 0,15, 0, 0, 0, 0, 0, 0, + 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0,15,14,15,14,16,13,15,15,14, + 16,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, + 0, 0, 0, 0,13,14,15,14,15,15,14,15,15, 0, 0,16, + 0, 0,15,15, 0,15, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0,14,13,15,14,14,15,15,15,16,16,16,16,16, 0,16, + 16,16, 0, 0,16, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,14,13, + 14,15,15,14,16,15,15,15,15,15,15, 0, 0,16, 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,14,13,16, + 15,14,15,16,16, 0,15,16,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,14,14,15,15,15,15, + 16,15,15, 0, 0,16,16,15,16, 0, 0,16, 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,14,14,15,16,15, 0,16,14,16, + 15, 0, 0,15,16, 0, 0, 0, 0, 0,16, 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,12,14,13,16,14,14, 0,15, 0,16, 0,16, + 16, 0, 0, 0,16, 0, 0, 0,16, 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,14,14,16,16,16,16, 0,16,15, 0,15,16, 0, + 0, 0,16, 0, 0,16, 0, 0,16, +}; + +static float _vq_quantthresh_res_Zc_8[] = { + -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, +}; + +static long _vq_quantmap_res_Zc_8[] = { + 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, +}; + +static encode_aux_threshmatch _vq_auxt_res_Zc_8 = { + _vq_quantthresh_res_Zc_8, + _vq_quantmap_res_Zc_8, + 45, + 45 +}; + +static long _vq_pigeonmap_res_Zc_8[] = { + 14, 13, 13, 12, 11, 11, 10, 9, + 9, 8, 7, 7, 6, 5, 5, 4, + 3, 3, 2, 1, 1, 0, 0, 0, + 1, 2, 2, 3, 4, 4, 5, 6, + 6, 7, 8, 8, 9, 10, 10, 11, + 12, 12, 13, 14, +}; + +static long _vq_fitlist_res_Zc_8[] = { + 0, 1, 2, 3, 46, 47, 48, 91, + 136, 4, 49, 92, 137, 6, 51, 94, + 139, 93, 96, 184, 183, 186, 274, 5, + 7, 50, 52, 95, 138, 140, 8, 53, + 141, 97, 185, 98, 187, 273, 275, 188, + 276, 9, 54, 142, 10, 55, 143, 12, + 57, 100, 145, 99, 102, 190, 189, 277, + 278, 192, 280, 7, 9, 11, 13, 52, + 54, 56, 58, 99, 101, 144, 146, 5, + 50, 97, 142, 8, 10, 12, 14, 53, + 55, 57, 59, 100, 102, 145, 147, 103, + 189, 191, 95, 187, 98, 104, 190, 192, + 193, 279, 281, 185, 277, 188, 194, 280, + 282, 15, 60, 148, 16, 61, 149, 18, + 63, 106, 151, 105, 108, 196, 195, 283, + 284, 198, 286, 13, 15, 17, 19, 58, + 60, 62, 64, 105, 107, 150, 152, 11, + 56, 103, 148, 14, 16, 18, 20, 59, + 61, 63, 65, 106, 108, 151, 153, 109, + 195, 197, 101, 193, 104, 110, 196, 198, + 199, 285, 287, 191, 283, 194, 200, 286, + 288, 21, 66, 154, 22, 67, 155, 24, + 69, 112, 157, 111, 114, 202, 201, 289, + 290, 204, 292, 19, 21, 23, 25, 64, + 66, 68, 70, 111, 113, 156, 158, 17, + 62, 109, 154, 20, 22, 24, 26, 65, + 67, 69, 71, 112, 114, 157, 159, 115, + 201, 203, 107, 199, 110, 116, 202, 204, + 205, 291, 293, 197, 289, 200, 206, 292, + 294, 27, 72, 160, 28, 73, 161, 30, + 75, 118, 163, 117, 120, 208, 207, 295, + 296, 210, 298, 25, 27, 29, 31, 70, + 72, 74, 76, 117, 119, 162, 164, 23, + 68, 115, 160, 26, 28, 30, 32, 71, + 73, 75, 77, 118, 120, 163, 165, 121, + 207, 209, 113, 205, 116, 122, 208, 210, + 211, 297, 299, 203, 295, 206, 212, 298, + 300, 33, 78, 166, 34, 79, 167, 36, + 81, 124, 169, 123, 126, 214, 213, 301, + 302, 216, 304, 31, 33, 35, 37, 76, + 78, 80, 82, 123, 125, 168, 170, 29, + 74, 121, 166, 32, 34, 36, 38, 77, + 79, 81, 83, 124, 126, 169, 171, 127, + 213, 215, 119, 211, 122, 128, 214, 216, + 217, 303, 305, 209, 301, 212, 218, 304, + 306, 39, 84, 172, 173, 42, 130, 175, + 129, 132, 220, 219, 307, 308, 310, 37, + 39, 41, 82, 84, 86, 129, 131, 174, + 176, 35, 80, 127, 172, 38, 42, 44, + 83, 89, 130, 132, 175, 133, 219, 221, + 125, 217, 128, 220, 223, 309, 311, 215, + 307, 218, 224, 310, 178, 179, 313, 314, + 262, 264, 266, 268, 354, 356, 170, 260, + 352, 173, 263, 265, 355, 357, 399, 401, + 305, 397, 308, 400, 359, 404, 46, 136, + 137, 138, 228, 47, 139, 229, 49, 141, + 231, 319, 0, 1, 48, 2, 4, 51, + 91, 92, 93, 183, 184, 185, 273, 274, + 275, 94, 186, 276, 50, 140, 142, 230, + 232, 318, 320, 143, 233, 321, 3, 5, + 52, 6, 53, 95, 187, 277, 365, 96, + 188, 278, 366, 322, 410, 323, 411, 367, + 455, 368, 456, 457, 458, 50, 52, 138, + 140, 142, 144, 228, 230, 232, 234, 320, + 322, 51, 53, 139, 141, 143, 145, 229, + 231, 233, 235, 321, 323, 55, 147, 237, + 325, 5, 7, 48, 54, 6, 8, 49, + 10, 57, 95, 97, 183, 185, 187, 189, + 273, 275, 277, 279, 365, 367, 96, 98, + 184, 186, 188, 190, 274, 276, 278, 280, + 366, 368, 100, 192, 282, 370, 54, 56, + 142, 144, 146, 148, 232, 234, 236, 238, + 324, 326, 52, 140, 230, 322, 55, 57, + 143, 145, 147, 149, 233, 235, 237, 239, + 325, 327, 9, 11, 58, 7, 50, 10, + 12, 53, 59, 99, 101, 187, 189, 191, + 193, 277, 279, 281, 283, 369, 371, 97, + 185, 275, 367, 100, 102, 188, 190, 192, + 194, 278, 280, 282, 284, 370, 372, 56, + 58, 144, 146, 148, 150, 234, 236, 238, + 240, 326, 328, 57, 59, 145, 147, 149, + 151, 235, 237, 239, 241, 327, 329, 61, + 153, 243, 331, 11, 13, 54, 60, 12, + 14, 55, 16, 63, 101, 103, 189, 191, + 193, 195, 279, 281, 283, 285, 371, 373, + 102, 104, 190, 192, 194, 196, 280, 282, + 284, 286, 372, 374, 106, 198, 288, 376, + 60, 62, 148, 150, 152, 154, 238, 240, + 242, 244, 330, 332, 58, 146, 236, 328, + 61, 63, 149, 151, 153, 155, 239, 241, + 243, 245, 331, 333, 15, 17, 64, 13, + 56, 16, 18, 59, 65, 105, 107, 193, + 195, 197, 199, 283, 285, 287, 289, 375, + 377, 103, 191, 281, 373, 106, 108, 194, + 196, 198, 200, 284, 286, 288, 290, 376, + 378, 62, 64, 150, 152, 154, 156, 240, + 242, 244, 246, 332, 334, 63, 65, 151, + 153, 155, 157, 241, 243, 245, 247, 333, + 335, 67, 159, 249, 337, 17, 19, 60, + 66, 18, 20, 61, 22, 69, 107, 109, + 195, 197, 199, 201, 285, 287, 289, 291, + 377, 379, 108, 110, 196, 198, 200, 202, + 286, 288, 290, 292, 378, 380, 112, 204, + 294, 382, 66, 68, 154, 156, 158, 160, + 244, 246, 248, 250, 336, 338, 64, 152, + 242, 334, 67, 69, 155, 157, 159, 161, + 245, 247, 249, 251, 337, 339, 21, 23, + 70, 19, 62, 22, 24, 65, 71, 111, + 113, 199, 201, 203, 205, 289, 291, 293, + 295, 381, 383, 109, 197, 287, 379, 112, + 114, 200, 202, 204, 206, 290, 292, 294, + 296, 382, 384, 68, 70, 156, 158, 160, + 162, 246, 248, 250, 252, 338, 340, 69, + 71, 157, 159, 161, 163, 247, 249, 251, + 253, 339, 341, 73, 165, 255, 343, 23, + 25, 66, 72, 24, 26, 67, 28, 75, + 113, 115, 201, 203, 205, 207, 291, 293, + 295, 297, 383, 385, 114, 116, 202, 204, + 206, 208, 292, 294, 296, 298, 384, 386, + 118, 210, 300, 388, 72, 74, 160, 162, + 164, 166, 250, 252, 254, 256, 342, 344, + 70, 158, 248, 340, 73, 75, 161, 163, + 165, 167, 251, 253, 255, 257, 343, 345, + 27, 29, 76, 25, 68, 28, 30, 71, + 77, 117, 119, 205, 207, 209, 211, 295, + 297, 299, 301, 387, 389, 115, 203, 293, + 385, 118, 120, 206, 208, 210, 212, 296, + 298, 300, 302, 388, 390, 74, 76, 162, + 164, 166, 168, 252, 254, 256, 258, 344, + 346, 75, 77, 163, 165, 167, 169, 253, + 255, 257, 259, 345, 347, 79, 171, 261, + 349, 29, 31, 72, 78, 30, 32, 73, + 34, 81, 119, 121, 207, 209, 211, 213, + 297, 299, 301, 303, 389, 391, 120, 122, + 208, 210, 212, 214, 298, 300, 302, 304, + 390, 392, 124, 216, 306, 394, 78, 80, + 166, 168, 170, 172, 256, 258, 260, 262, + 348, 350, 76, 164, 254, 346, 79, 81, + 167, 169, 171, 173, 257, 259, 261, 263, + 349, 351, 33, 35, 82, 31, 74, 34, + 36, 77, 83, 123, 125, 211, 213, 215, + 217, 301, 303, 305, 307, 393, 395, 121, + 209, 299, 391, 124, 126, 212, 214, 216, + 218, 302, 304, 306, 308, 394, 396, 80, + 82, 168, 170, 172, 174, 258, 260, 262, + 264, 350, 352, 81, 83, 169, 171, 173, + 175, 259, 261, 263, 265, 351, 355, 35, + 37, 78, 84, 36, 38, 79, 125, 127, + 213, 215, 217, 219, 303, 305, 307, 309, + 395, 397, 126, 128, 214, 216, 218, 220, + 304, 306, 308, 310, 396, 398, 130, 400, + 46, 136, 137, 138, 228, 229, 230, 318, + 319, 320, 47, 139, 231, 321, 91, 183, + 273, 274, 275, 365, 92, 184, 276, 366, + 455, 456, 368, 458, 410, 500, 411, 501, + 413, 503, 457, 547, 548, 412, 502, 322, + 323, 140, 142, 228, 230, 232, 234, 318, + 320, 322, 324, 410, 412, 141, 143, 229, + 231, 233, 235, 319, 321, 323, 325, 411, + 413, 145, 237, 327, 415, 185, 187, 273, + 275, 277, 279, 365, 367, 369, 455, 457, + 186, 188, 274, 276, 278, 280, 366, 368, + 370, 456, 458, 190, 282, 372, 460, 459, + 547, 548, 462, 550, 144, 146, 232, 234, + 236, 238, 322, 324, 326, 328, 414, 416, + 142, 230, 320, 412, 145, 147, 233, 235, + 237, 239, 323, 325, 327, 329, 415, 417, + 189, 191, 277, 279, 281, 283, 367, 369, + 371, 373, 459, 461, 187, 275, 365, 457, + 190, 192, 278, 280, 282, 284, 368, 370, + 372, 374, 460, 462, 463, 549, 551, 455, + 547, 458, 464, 550, 552, 146, 148, 234, + 236, 238, 240, 324, 326, 328, 330, 416, + 418, 147, 149, 235, 237, 239, 241, 325, + 327, 329, 331, 417, 419, 151, 243, 333, + 421, 191, 193, 279, 281, 283, 285, 369, + 371, 373, 375, 461, 463, 192, 194, 280, + 282, 284, 286, 370, 372, 374, 376, 462, + 464, 196, 288, 378, 466, 459, 465, 551, + 553, 460, 552, 554, 468, 556, 150, 152, + 238, 240, 242, 244, 328, 330, 332, 334, + 420, 422, 148, 236, 326, 418, 151, 153, + 239, 241, 243, 245, 329, 331, 333, 335, + 421, 423, 195, 197, 283, 285, 287, 289, + 373, 375, 377, 379, 465, 467, 193, 281, + 371, 463, 196, 198, 284, 286, 288, 290, + 374, 376, 378, 380, 466, 468, 469, 555, + 557, 461, 553, 464, 470, 556, 558, 152, + 154, 240, 242, 244, 246, 330, 332, 334, + 336, 422, 424, 153, 155, 241, 243, 245, + 247, 331, 333, 335, 337, 423, 425, 157, + 249, 339, 427, 197, 199, 285, 287, 289, + 291, 375, 377, 379, 381, 467, 469, 198, + 200, 286, 288, 290, 292, 376, 378, 380, + 382, 468, 470, 202, 294, 384, 472, 465, + 471, 557, 559, 466, 558, 560, 474, 562, + 156, 158, 244, 246, 248, 250, 334, 336, + 338, 340, 426, 428, 154, 242, 332, 424, + 157, 159, 245, 247, 249, 251, 335, 337, + 339, 341, 427, 429, 201, 203, 289, 291, + 293, 295, 379, 381, 383, 385, 471, 473, + 199, 287, 377, 469, 202, 204, 290, 292, + 294, 296, 380, 382, 384, 386, 472, 474, + 475, 561, 563, 467, 559, 470, 476, 562, + 564, 158, 160, 246, 248, 250, 252, 336, + 338, 340, 342, 428, 430, 159, 161, 247, + 249, 251, 253, 337, 339, 341, 343, 429, + 431, 163, 255, 345, 433, 203, 205, 291, + 293, 295, 297, 381, 383, 385, 387, 473, + 475, 204, 206, 292, 294, 296, 298, 382, + 384, 386, 388, 474, 476, 208, 300, 390, + 478, 471, 477, 563, 565, 472, 564, 566, + 480, 568, 162, 164, 250, 252, 254, 256, + 340, 342, 344, 346, 432, 434, 160, 248, + 338, 430, 163, 165, 251, 253, 255, 257, + 341, 343, 345, 347, 433, 435, 207, 209, + 295, 297, 299, 301, 385, 387, 389, 391, + 477, 479, 205, 293, 383, 475, 208, 210, + 296, 298, 300, 302, 386, 388, 390, 392, + 478, 480, 481, 567, 569, 473, 565, 476, + 482, 568, 570, 164, 166, 252, 254, 256, + 258, 342, 344, 346, 348, 434, 436, 165, + 167, 253, 255, 257, 259, 343, 345, 347, + 349, 435, 437, 169, 261, 351, 439, 209, + 211, 297, 299, 301, 303, 387, 389, 391, + 393, 479, 481, 210, 212, 298, 300, 302, + 304, 388, 390, 392, 394, 480, 482, 214, + 306, 396, 484, 477, 483, 569, 571, 478, + 570, 572, 486, 574, 168, 170, 256, 258, + 260, 262, 346, 348, 350, 352, 438, 440, + 166, 254, 344, 436, 169, 171, 257, 259, + 261, 263, 347, 349, 351, 439, 441, 213, + 215, 301, 303, 305, 307, 391, 393, 395, + 397, 483, 485, 211, 299, 389, 481, 214, + 216, 302, 304, 306, 308, 392, 394, 396, + 398, 484, 486, 487, 573, 575, 479, 571, + 482, 488, 574, 576, 170, 172, 258, 260, + 262, 264, 348, 350, 352, 354, 440, 442, + 171, 173, 259, 261, 263, 265, 349, 351, + 355, 441, 443, 175, 357, 445, 215, 217, + 303, 305, 307, 309, 393, 395, 397, 399, + 485, 487, 216, 218, 304, 306, 308, 310, + 394, 396, 398, 400, 486, 488, 220, 490, + 483, 489, 575, 577, 484, 576, 492, 174, + 176, 262, 264, 266, 268, 352, 354, 356, + 172, 260, 350, 442, 175, 263, 265, 355, + 357, 359, 445, 447, 219, 221, 307, 309, + 311, 313, 397, 399, 401, 489, 217, 305, + 395, 487, 220, 308, 310, 314, 398, 400, + 404, 490, 492, 493, 581, 485, 577, 488, + 582, 178, 448, 179, 223, 224, 320, 322, + 410, 412, 414, 500, 502, 504, 592, 321, + 323, 411, 413, 415, 501, 503, 505, 593, + 325, 417, 507, 595, 230, 232, 318, 324, + 231, 233, 319, 235, 327, 365, 367, 455, + 457, 459, 547, 549, 637, 366, 368, 456, + 458, 460, 548, 550, 638, 370, 462, 552, + 640, 594, 682, 683, 597, 685, 639, 642, + 730, 729, 732, 820, 324, 326, 412, 414, + 416, 418, 502, 504, 506, 508, 594, 596, + 322, 410, 500, 592, 325, 327, 413, 415, + 417, 419, 503, 505, 507, 509, 595, 597, + 234, 236, 328, 232, 320, 235, 237, 323, + 329, 369, 371, 457, 459, 461, 463, 547, + 549, 551, 553, 639, 641, 367, 455, 637, + 370, 372, 458, 460, 462, 464, 548, 550, + 552, 554, 640, 642, 326, 328, 414, 416, + 418, 420, 504, 506, 508, 510, 596, 598, + 327, 329, 415, 417, 419, 421, 505, 507, + 509, 511, 597, 599, 331, 423, 513, 601, + 236, 238, 324, 330, 237, 239, 325, 241, + 333, 371, 373, 459, 461, 463, 465, 549, + 551, 553, 555, 641, 643, 372, 374, 460, + 462, 464, 466, 550, 552, 554, 556, 642, + 644, 376, 468, 558, 646, 330, 332, 418, + 420, 422, 424, 508, 510, 512, 514, 600, + 602, 328, 416, 506, 598, 331, 333, 419, + 421, 423, 425, 509, 511, 513, 515, 601, + 603, 240, 242, 334, 238, 326, 241, 243, + 329, 335, 375, 377, 463, 465, 467, 469, + 553, 555, 557, 559, 645, 647, 373, 461, + 551, 643, 376, 378, 464, 466, 468, 470, + 554, 556, 558, 560, 646, 648, 332, 334, + 420, 422, 424, 426, 510, 512, 514, 516, + 602, 604, 333, 335, 421, 423, 425, 427, + 511, 513, 515, 517, 603, 605, 337, 429, + 519, 607, 242, 244, 330, 336, 243, 245, + 331, 247, 339, 377, 379, 465, 467, 469, + 471, 555, 557, 559, 561, 647, 649, 378, + 380, 466, 468, 470, 472, 556, 558, 560, + 562, 648, 650, 382, 474, 564, 652, 336, + 338, 424, 426, 428, 430, 514, 516, 518, + 520, 606, 608, 334, 422, 512, 604, 337, + 339, 425, 427, 429, 431, 515, 517, 519, + 521, 607, 609, 246, 248, 340, 244, 332, + 247, 249, 335, 341, 381, 383, 469, 471, + 473, 475, 559, 561, 563, 565, 651, 653, + 379, 467, 557, 649, 382, 384, 470, 472, + 474, 476, 560, 562, 564, 566, 652, 654, + 338, 340, 426, 428, 430, 432, 516, 518, + 520, 522, 608, 610, 339, 341, 427, 429, + 431, 433, 517, 519, 521, 523, 609, 611, + 343, 435, 525, 613, 248, 250, 336, 342, + 249, 251, 337, 253, 345, 383, 385, 471, + 473, 475, 477, 561, 563, 565, 567, 653, + 655, 384, 386, 472, 474, 476, 478, 562, + 564, 566, 568, 654, 656, 388, 480, 570, + 658, 342, 344, 430, 432, 434, 436, 520, + 522, 524, 526, 612, 614, 340, 428, 518, + 610, 343, 345, 431, 433, 435, 437, 521, + 523, 525, 527, 613, 615, 252, 254, 346, + 250, 338, 253, 255, 341, 347, 387, 389, + 475, 477, 479, 481, 565, 567, 569, 571, + 657, 659, 385, 473, 563, 655, 388, 390, + 476, 478, 480, 482, 566, 568, 570, 572, + 658, 660, 344, 346, 432, 434, 436, 438, + 522, 524, 526, 528, 614, 616, 345, 347, + 433, 435, 437, 439, 523, 525, 527, 529, + 615, 617, 349, 441, 531, 619, 254, 256, + 342, 348, 255, 257, 343, 259, 351, 389, + 391, 477, 479, 481, 483, 567, 569, 571, + 573, 659, 661, 390, 392, 478, 480, 482, + 484, 568, 570, 572, 574, 660, 662, 394, + 486, 576, 664, 348, 350, 436, 438, 440, + 442, 526, 528, 530, 532, 618, 620, 346, + 434, 524, 616, 349, 351, 437, 439, 441, + 443, 527, 529, 531, 619, 621, 258, 260, + 352, 256, 344, 259, 261, 347, 393, 395, + 481, 483, 485, 487, 571, 573, 575, 577, + 663, 391, 479, 569, 661, 394, 396, 482, + 484, 486, 488, 572, 574, 576, 664, 666, + 350, 352, 438, 440, 442, 528, 530, 532, + 620, 351, 439, 441, 443, 445, 529, 531, + 621, 355, 447, 537, 625, 260, 262, 348, + 354, 261, 263, 349, 265, 357, 395, 397, + 483, 485, 487, 489, 573, 575, 577, 667, + 396, 398, 484, 486, 488, 490, 574, 576, + 666, 400, 492, 582, 354, 356, 442, 448, + 532, 536, 538, 624, 352, 440, 530, 355, + 357, 443, 445, 447, 537, 539, 625, 264, + 266, 262, 350, 265, 359, 399, 401, 487, + 489, 493, 577, 581, 669, 671, 397, 485, + 575, 667, 400, 488, 490, 492, 582, 714, + 620, 717, 673, 759, 761, 757, 760, 851, + 758, 356, 448, 536, 538, 357, 359, 445, + 447, 537, 539, 266, 268, 354, 355, 401, + 489, 493, 581, 671, 673, 404, 490, 492, + 582, 318, 319, 320, 410, 500, 501, 502, + 592, 321, 411, 503, 593, 273, 365, 455, + 456, 457, 547, 637, 274, 366, 458, 548, + 638, 639, 729, 640, 730, 549, 550, 682, + 683, 684, 774, 685, 775, 819, 820, 594, + 595, 687, 777, 865, 505, 597, 731, 821, + 732, 822, 864, 912, 911, 1001, 1002, 414, + 416, 502, 504, 506, 508, 592, 594, 596, + 598, 684, 686, 412, 500, 682, 415, 417, + 503, 505, 507, 509, 593, 595, 597, 599, + 685, 687, 459, 461, 547, 549, 551, 553, + 637, 639, 641, 643, 729, 731, 457, 460, + 462, 548, 550, 552, 554, 638, 640, 642, + 644, 730, 732, 733, 819, 821, 734, 820, + 822, 416, 418, 504, 506, 508, 510, 594, + 596, 598, 600, 686, 688, 417, 419, 505, + 507, 509, 511, 595, 597, 599, 601, 687, + 689, 421, 513, 603, 691, 461, 463, 549, + 551, 553, 555, 639, 641, 643, 645, 731, + 733, 462, 464, 550, 552, 554, 556, 640, + 642, 644, 646, 732, 734, 466, 558, 648, + 736, 729, 735, 821, 823, 730, 822, 824, + 738, 826, 420, 422, 508, 510, 512, 514, + 598, 600, 602, 604, 690, 692, 418, 506, + 596, 688, 421, 423, 509, 511, 513, 515, + 599, 601, 603, 605, 691, 693, 465, 467, + 553, 555, 557, 559, 643, 645, 647, 649, + 735, 737, 463, 551, 641, 733, 466, 468, + 554, 556, 558, 560, 644, 646, 648, 650, + 736, 738, 739, 825, 827, 731, 823, 734, + 740, 826, 828, 422, 424, 510, 512, 514, + 516, 600, 602, 604, 606, 692, 694, 423, + 425, 511, 513, 515, 517, 601, 603, 605, + 607, 693, 695, 427, 519, 609, 697, 467, + 469, 555, 557, 559, 561, 645, 647, 649, + 651, 737, 739, 468, 470, 556, 558, 560, + 562, 646, 648, 650, 652, 738, 740, 472, + 564, 654, 742, 735, 741, 827, 829, 736, + 828, 830, 744, 832, 426, 428, 514, 516, + 518, 520, 604, 606, 608, 610, 696, 698, + 424, 512, 602, 694, 427, 429, 515, 517, + 519, 521, 605, 607, 609, 611, 697, 699, + 471, 473, 559, 561, 563, 565, 649, 651, + 653, 655, 741, 743, 469, 557, 647, 739, + 472, 474, 560, 562, 564, 566, 650, 652, + 654, 656, 742, 744, 745, 831, 833, 737, + 829, 740, 746, 832, 834, 428, 430, 516, + 518, 520, 522, 606, 608, 610, 612, 698, + 700, 429, 431, 517, 519, 521, 523, 607, + 609, 611, 613, 699, 701, 433, 525, 615, + 703, 473, 475, 561, 563, 565, 567, 651, + 653, 655, 657, 743, 745, 474, 476, 562, + 564, 566, 568, 652, 654, 656, 658, 744, + 746, 478, 570, 660, 748, 741, 747, 833, + 835, 742, 834, 836, 750, 838, 432, 434, + 520, 522, 524, 526, 610, 612, 614, 616, + 702, 704, 430, 518, 608, 700, 433, 435, + 521, 523, 525, 527, 611, 613, 615, 617, + 703, 705, 477, 479, 565, 567, 569, 571, + 655, 657, 659, 661, 747, 749, 475, 563, + 653, 745, 478, 480, 566, 568, 570, 572, + 656, 658, 660, 662, 748, 750, 751, 837, + 839, 743, 835, 746, 838, 840, 434, 436, + 522, 524, 526, 528, 612, 614, 616, 618, + 704, 706, 435, 437, 523, 525, 527, 529, + 613, 615, 617, 619, 705, 707, 439, 531, + 621, 479, 481, 567, 569, 571, 573, 657, + 659, 661, 663, 749, 751, 480, 482, 568, + 570, 572, 574, 658, 660, 662, 664, 750, + 484, 576, 666, 754, 747, 753, 839, 841, + 748, 840, 842, 756, 438, 440, 526, 528, + 530, 532, 616, 618, 620, 708, 710, 436, + 524, 614, 706, 439, 441, 527, 529, 531, + 617, 619, 621, 711, 483, 485, 571, 573, + 575, 577, 661, 663, 667, 753, 481, 569, + 659, 751, 484, 486, 572, 574, 576, 662, + 664, 666, 754, 756, 757, 749, 841, 758, + 846, 440, 442, 528, 530, 532, 618, 620, + 624, 710, 441, 443, 529, 531, 619, 621, + 625, 711, 713, 445, 537, 485, 487, 573, + 575, 577, 663, 667, 669, 757, 486, 488, + 574, 576, 664, 666, 756, 758, 398, 400, + 490, 492, 582, 760, 753, 759, 754, 846, + 448, 536, 538, 624, 447, 537, 539, 625, + 717, 493, 581, 669, 671, 673, 761, 492, + 582, 759, 851, 758, 760, 942, 714, 804, + 710, 800, 892, 713, 895, 532, 620, 757, + 667, 937, 594, 596, 682, 684, 686, 688, + 774, 776, 778, 864, 866, 592, 595, 597, + 683, 685, 687, 689, 775, 777, 779, 865, + 867, 504, 506, 598, 502, 505, 507, 593, + 599, 639, 641, 729, 731, 733, 819, 821, + 823, 911, 637, 640, 642, 730, 732, 734, + 820, 822, 824, 912, 868, 956, 869, 957, + 913, 1001, 914, 1002, 1003, 1004, 596, 598, + 684, 686, 688, 690, 774, 776, 778, 780, + 866, 868, 597, 599, 685, 687, 689, 691, + 775, 777, 779, 781, 867, 869, 601, 693, + 783, 871, 506, 508, 594, 600, 507, 509, + 595, 511, 603, 641, 643, 729, 731, 733, + 735, 819, 821, 823, 825, 911, 913, 642, + 644, 730, 732, 734, 736, 820, 822, 824, + 826, 912, 914, 646, 738, 828, 916, 600, + 602, 688, 690, 692, 694, 778, 780, 782, + 784, 870, 872, 598, 686, 776, 868, 601, + 603, 689, 691, 693, 695, 779, 781, 783, + 785, 871, 873, 510, 512, 604, 508, 596, + 511, 513, 599, 605, 645, 647, 733, 735, + 737, 739, 823, 825, 827, 829, 915, 917, + 643, 731, 821, 913, 646, 648, 734, 736, + 738, 740, 824, 826, 828, 830, 916, 918, + 602, 604, 690, 692, 694, 696, 780, 782, + 784, 786, 872, 874, 603, 605, 691, 693, + 695, 697, 781, 783, 785, 787, 873, 875, + 607, 699, 789, 877, 512, 514, 600, 606, + 513, 515, 601, 517, 609, 647, 649, 735, + 737, 739, 741, 825, 827, 829, 831, 917, + 919, 648, 650, 736, 738, 740, 742, 826, + 828, 830, 832, 918, 920, 652, 744, 834, + 922, 606, 608, 694, 696, 698, 700, 784, + 786, 788, 790, 876, 878, 604, 692, 782, + 874, 607, 609, 695, 697, 699, 701, 785, + 787, 789, 791, 877, 879, 516, 518, 610, + 514, 602, 517, 519, 605, 611, 651, 653, + 739, 741, 743, 745, 829, 831, 833, 835, + 921, 923, 649, 737, 827, 919, 652, 654, + 740, 742, 744, 746, 830, 832, 834, 836, + 922, 924, 608, 610, 696, 698, 700, 702, + 786, 788, 790, 792, 878, 880, 609, 611, + 697, 699, 701, 703, 787, 789, 791, 793, + 879, 881, 613, 705, 795, 883, 518, 520, + 606, 612, 519, 521, 607, 523, 615, 653, + 655, 741, 743, 745, 747, 831, 833, 835, + 837, 923, 925, 654, 656, 742, 744, 746, + 748, 832, 834, 836, 838, 924, 926, 658, + 750, 840, 928, 612, 614, 700, 702, 704, + 706, 790, 792, 794, 796, 882, 884, 610, + 698, 788, 880, 613, 615, 701, 703, 705, + 707, 791, 793, 795, 883, 885, 522, 524, + 616, 520, 608, 523, 525, 611, 617, 657, + 659, 745, 747, 749, 751, 835, 837, 839, + 841, 927, 929, 655, 743, 833, 925, 658, + 660, 746, 748, 750, 836, 838, 840, 842, + 928, 930, 614, 616, 702, 704, 706, 708, + 792, 794, 796, 884, 886, 615, 617, 703, + 705, 707, 793, 795, 799, 885, 887, 619, + 711, 889, 524, 526, 612, 618, 525, 527, + 613, 529, 621, 659, 661, 747, 749, 751, + 753, 837, 839, 841, 929, 931, 660, 662, + 748, 750, 754, 838, 840, 842, 930, 932, + 664, 756, 846, 934, 618, 620, 706, 708, + 710, 796, 800, 888, 890, 616, 704, 794, + 886, 619, 621, 707, 711, 713, 799, 889, + 891, 528, 530, 526, 614, 529, 531, 617, + 663, 751, 753, 757, 841, 661, 749, 839, + 931, 664, 666, 754, 756, 758, 842, 846, + 934, 936, 620, 708, 710, 714, 800, 804, + 890, 892, 621, 711, 713, 799, 891, 893, + 625, 717, 895, 530, 532, 618, 624, 531, + 619, 667, 753, 757, 759, 937, 666, 754, + 756, 758, 760, 846, 936, 938, 888, 980, + 982, 889, 981, 983, 934, 1026, 942, 1023, + 1029, 1117, 1024, 592, 682, 684, 774, 776, + 864, 866, 593, 683, 685, 775, 777, 865, + 867, 637, 729, 819, 821, 911, 638, 730, + 820, 822, 912, 1001, 1002, 914, 1004, 956, + 1046, 957, 1047, 500, 501, 639, 640, 1003, + 1093, 1094, 959, 1049, 958, 1048, 868, 869, + 1183, 1184, 1138, 1139, 1228, 1229, 1185, 1275, + 1365, 1186, 1276, 1366, 686, 688, 774, 776, + 778, 780, 864, 866, 868, 870, 956, 958, + 687, 689, 775, 777, 779, 781, 865, 867, + 869, 871, 957, 959, 691, 783, 873, 961, + 731, 733, 819, 821, 823, 825, 911, 913, + 915, 1001, 1003, 732, 734, 820, 822, 824, + 826, 912, 914, 916, 1002, 1004, 736, 828, + 918, 1006, 1005, 1093, 1094, 1008, 1096, 690, + 692, 778, 780, 782, 784, 868, 870, 872, + 874, 960, 962, 688, 776, 866, 958, 691, + 693, 779, 781, 783, 785, 869, 871, 873, + 875, 961, 963, 735, 737, 823, 825, 827, + 829, 913, 915, 917, 919, 1005, 1007, 733, + 821, 911, 1003, 736, 738, 824, 826, 828, + 830, 914, 916, 918, 920, 1006, 1008, 1009, + 1095, 1097, 1001, 1093, 1004, 1010, 1096, 1098, + 692, 694, 780, 782, 784, 786, 870, 872, + 874, 876, 962, 964, 693, 695, 781, 783, + 785, 787, 871, 873, 875, 877, 963, 965, + 697, 789, 879, 967, 737, 739, 825, 827, + 829, 831, 915, 917, 919, 921, 1007, 1009, + 738, 740, 826, 828, 830, 832, 916, 918, + 920, 922, 1008, 1010, 742, 834, 924, 1012, + 1005, 1011, 1097, 1099, 1006, 1098, 1100, 1014, + 1102, 696, 698, 784, 786, 788, 790, 874, + 876, 878, 880, 966, 968, 694, 782, 872, + 964, 697, 699, 785, 787, 789, 791, 875, + 877, 879, 881, 967, 969, 741, 743, 829, + 831, 833, 835, 919, 921, 923, 925, 1011, + 1013, 739, 827, 917, 1009, 742, 744, 830, + 832, 834, 836, 920, 922, 924, 926, 1012, + 1014, 1015, 1101, 1103, 1007, 1099, 1010, 1016, + 1102, 1104, 698, 700, 786, 788, 790, 792, + 876, 878, 880, 882, 968, 970, 699, 701, + 787, 789, 791, 793, 877, 879, 881, 883, + 969, 971, 703, 795, 885, 973, 743, 745, + 831, 833, 835, 837, 921, 923, 925, 927, + 1013, 1015, 744, 746, 832, 834, 836, 838, + 922, 924, 926, 928, 1014, 1016, 748, 840, + 930, 1018, 1011, 1017, 1103, 1105, 1012, 1104, + 1106, 1020, 1108, 702, 704, 790, 792, 794, + 796, 880, 882, 884, 886, 972, 974, 700, + 788, 878, 970, 703, 705, 791, 793, 795, + 881, 883, 885, 887, 973, 975, 747, 749, + 835, 837, 839, 841, 925, 927, 929, 931, + 1017, 1019, 745, 833, 923, 1015, 748, 750, + 836, 838, 840, 842, 926, 928, 930, 932, + 1018, 1020, 1021, 1107, 1109, 1013, 1105, 1016, + 1022, 1108, 1110, 704, 706, 792, 794, 796, + 882, 884, 886, 888, 974, 976, 705, 707, + 793, 795, 799, 883, 885, 887, 889, 975, + 977, 891, 979, 749, 751, 837, 839, 841, + 927, 929, 931, 1019, 1021, 750, 838, 840, + 842, 928, 930, 932, 934, 1020, 1022, 754, + 846, 936, 1024, 1017, 1023, 1109, 1111, 1018, + 1110, 1112, 1026, 1114, 708, 710, 796, 800, + 886, 888, 890, 892, 980, 706, 794, 884, + 976, 711, 799, 887, 889, 891, 893, 979, + 981, 663, 751, 753, 757, 839, 841, 929, + 931, 937, 1021, 1023, 1113, 754, 756, 842, + 846, 932, 934, 936, 938, 1024, 1026, 1019, + 1111, 1022, 1114, 982, 1066, 1070, 974, 1064, + 1156, 977, 983, 1073, 1159, 1117, 1205, 1109, + 1112, 714, 804, 892, 800, 890, 982, 717, + 893, 895, 759, 761, 851, 937, 1029, 1031, + 757, 760, 938, 942, 1033, 1117, 980, 1070, + 1168, 981, 983, 1073, 1163, 1207, 1026, 1208, + 1252, 1250, 1347, 1205, 1304, 1392, 1295, 1387, + 1388, 891, 979, 888, 889, 1023, 1113, 936, + 1024, 1114, 866, 868, 956, 958, 960, 1046, + 1048, 1050, 1138, 867, 869, 957, 959, 961, + 1047, 1049, 1051, 1139, 871, 963, 1053, 1141, + 776, 778, 864, 870, 777, 779, 865, 781, + 873, 911, 913, 1001, 1003, 1005, 1093, 1095, + 1183, 912, 914, 1002, 1004, 1006, 1094, 1096, + 1184, 916, 1008, 1098, 1186, 1140, 1228, 1229, + 1143, 1231, 1185, 1188, 1276, 1275, 1278, 1366, + 870, 872, 958, 960, 962, 964, 1048, 1050, + 1052, 1054, 1140, 1142, 868, 956, 1046, 1138, + 871, 873, 959, 961, 963, 965, 1049, 1051, + 1053, 1055, 1141, 1143, 780, 782, 874, 778, + 866, 781, 783, 869, 875, 915, 917, 1003, + 1005, 1007, 1009, 1093, 1095, 1097, 1099, 1185, + 1187, 913, 1001, 1183, 916, 918, 1004, 1006, + 1008, 1010, 1094, 1096, 1098, 1100, 1186, 1188, + 872, 874, 960, 962, 964, 966, 1050, 1052, + 1054, 1056, 1142, 1144, 873, 875, 961, 963, + 965, 967, 1051, 1053, 1055, 1057, 1143, 1145, + 877, 969, 1059, 1147, 782, 784, 870, 876, + 783, 785, 871, 787, 879, 917, 919, 1005, + 1007, 1009, 1011, 1095, 1097, 1099, 1101, 1187, + 1189, 918, 920, 1006, 1008, 1010, 1012, 1096, + 1098, 1100, 1102, 1188, 1190, 922, 1014, 1104, + 1192, 876, 878, 964, 966, 968, 970, 1054, + 1056, 1058, 1060, 1146, 1148, 874, 962, 1052, + 1144, 877, 879, 965, 967, 969, 971, 1055, + 1057, 1059, 1061, 1147, 1149, 786, 788, 880, + 784, 872, 787, 789, 875, 881, 921, 923, + 1009, 1011, 1013, 1015, 1099, 1101, 1103, 1105, + 1191, 1193, 919, 1007, 1097, 1189, 922, 924, + 1010, 1012, 1014, 1016, 1100, 1102, 1104, 1106, + 1192, 1194, 878, 880, 966, 968, 970, 972, + 1056, 1058, 1060, 1062, 1148, 1150, 879, 881, + 967, 969, 971, 973, 1057, 1059, 1061, 1063, + 1149, 1151, 883, 975, 1065, 1153, 788, 790, + 876, 882, 789, 791, 877, 793, 885, 923, + 925, 1011, 1013, 1015, 1017, 1101, 1103, 1105, + 1107, 1193, 1195, 924, 926, 1012, 1014, 1016, + 1018, 1102, 1104, 1106, 1108, 1194, 1196, 928, + 1020, 1110, 1198, 882, 884, 970, 972, 974, + 976, 1060, 1062, 1064, 1066, 1152, 1154, 880, + 968, 1058, 1150, 883, 885, 971, 973, 975, + 977, 1061, 1063, 1065, 1153, 1155, 792, 794, + 886, 790, 878, 793, 795, 881, 887, 927, + 929, 1015, 1017, 1019, 1021, 1105, 1107, 1109, + 1111, 1197, 1199, 925, 1013, 1103, 1195, 928, + 930, 1016, 1018, 1020, 1022, 1106, 1108, 1110, + 1112, 1198, 1200, 884, 886, 972, 974, 976, + 1062, 1064, 1066, 1154, 1156, 885, 887, 973, + 975, 977, 979, 1063, 1065, 1155, 1157, 889, + 981, 1159, 794, 796, 882, 888, 795, 883, + 799, 891, 929, 931, 1017, 1019, 1021, 1023, + 1107, 1109, 1111, 1113, 1199, 930, 932, 1018, + 1020, 1022, 1024, 1108, 1110, 1112, 1114, 1200, + 1202, 934, 1026, 864, 866, 956, 1046, 1048, + 1138, 865, 867, 957, 1047, 1049, 1139, 819, + 911, 1001, 1003, 1093, 1183, 820, 912, 1002, + 1004, 1094, 1184, 1185, 1275, 1186, 1276, 1095, + 1096, 1228, 1230, 1320, 1229, 1231, 1321, 1365, + 1366, 1140, 1141, 1233, 1323, 1411, 1051, 1143, + 1277, 1367, 1278, 1368, 1410, 1457, 1547, 1458, + 1548, 1502, 1592, 1503, 1593, 1413, 1412, 1640, + 1730, 1549, 1639, 1729, 1550, 960, 962, 1048, + 1050, 1052, 1054, 1138, 1140, 1142, 1144, 1230, + 1232, 958, 1046, 1228, 961, 963, 1049, 1051, + 1053, 1055, 1139, 1141, 1143, 1145, 1231, 1233, + 1005, 1007, 1093, 1095, 1097, 1099, 1183, 1185, + 1187, 1189, 1275, 1277, 1003, 1006, 1008, 1094, + 1096, 1098, 1100, 1184, 1186, 1188, 1190, 1276, + 1278, 1279, 1365, 1367, 1280, 1366, 1368, 962, + 964, 1050, 1052, 1054, 1056, 1140, 1142, 1144, + 1146, 1232, 1234, 963, 965, 1051, 1053, 1055, + 1057, 1141, 1143, 1145, 1147, 1233, 1235, 967, + 1059, 1149, 1237, 1007, 1009, 1095, 1097, 1099, + 1101, 1185, 1187, 1189, 1191, 1277, 1279, 1008, + 1010, 1096, 1098, 1100, 1102, 1186, 1188, 1190, + 1192, 1278, 1280, 1012, 1104, 1194, 1282, 1275, + 1281, 1367, 1369, 1276, 1368, 1370, 1284, 1372, + 966, 968, 1054, 1056, 1058, 1060, 1144, 1146, + 1148, 1150, 1236, 1238, 964, 1052, 1142, 1234, + 967, 969, 1055, 1057, 1059, 1061, 1145, 1147, + 1149, 1151, 1237, 1239, 1011, 1013, 1099, 1101, + 1103, 1105, 1189, 1191, 1193, 1195, 1281, 1283, + 1009, 1097, 1187, 1279, 1012, 1014, 1100, 1102, + 1104, 1106, 1190, 1192, 1194, 1196, 1282, 1284, + 1285, 1371, 1373, 1277, 1369, 1280, 1286, 1372, + 1374, 968, 970, 1056, 1058, 1060, 1062, 1146, + 1148, 1150, 1152, 1238, 1240, 969, 971, 1057, + 1059, 1061, 1063, 1147, 1149, 1151, 1153, 1239, + 1241, 973, 1065, 1155, 1243, 1013, 1015, 1101, + 1103, 1105, 1107, 1191, 1193, 1195, 1197, 1283, + 1285, 1014, 1016, 1102, 1104, 1106, 1108, 1192, + 1194, 1196, 1198, 1284, 1286, 1018, 1110, 1200, + 1288, 1281, 1287, 1373, 1375, 1282, 1374, 1376, + 1290, 1378, 972, 974, 1060, 1062, 1064, 1066, + 1150, 1152, 1154, 1156, 1242, 1244, 970, 1058, + 1148, 1240, 973, 975, 1061, 1063, 1065, 1151, + 1153, 1155, 1157, 1243, 1245, 1017, 1019, 1105, + 1107, 1109, 1111, 1195, 1197, 1199, 1287, 1289, + 1015, 1103, 1193, 1285, 1018, 1020, 1106, 1108, + 1110, 1112, 1196, 1198, 1200, 1202, 1288, 1290, + 1291, 1377, 1379, 1283, 1375, 1286, 1292, 1378, + 1380, 974, 976, 1062, 1064, 1066, 1152, 1154, + 1156, 1244, 1246, 975, 977, 1063, 1065, 1153, + 1155, 1157, 1159, 1245, 979, 1249, 1019, 1021, + 1107, 1109, 1111, 1113, 1197, 1199, 1289, 1291, + 1020, 1022, 1108, 1110, 1112, 1114, 1198, 1200, + 1202, 1290, 1292, 1024, 1294, 1287, 1293, 1379, + 1288, 1380, 1382, 980, 1066, 1070, 1156, 1248, + 1250, 976, 1064, 1154, 1246, 979, 981, 1073, + 1157, 1159, 1163, 1249, 1251, 1023, 1111, 1113, + 1117, 1205, 1207, 1293, 1295, 1021, 1109, 1199, + 1291, 1024, 1026, 1112, 1114, 1202, 1208, 1294, + 1385, 1289, 1292, 982, 1252, 983, 1387, 1388, + 1339, 1341, 1347, 1523, 1392, 1140, 1142, 1228, + 1230, 1232, 1234, 1320, 1322, 1324, 1410, 1412, + 1138, 1141, 1143, 1229, 1231, 1233, 1235, 1321, + 1323, 1325, 1411, 1413, 1050, 1052, 1144, 1048, + 1051, 1053, 1139, 1145, 1185, 1187, 1275, 1277, + 1279, 1365, 1367, 1369, 1457, 1183, 1186, 1188, + 1276, 1278, 1280, 1366, 1368, 1370, 1458, 1414, + 1502, 1415, 1503, 1459, 1547, 1460, 1548, 1549, + 1550, 1142, 1144, 1230, 1232, 1234, 1236, 1320, + 1322, 1324, 1326, 1412, 1414, 1143, 1145, 1231, + 1233, 1235, 1237, 1321, 1323, 1325, 1327, 1413, + 1415, 1147, 1239, 1329, 1417, 1052, 1054, 1140, + 1146, 1053, 1055, 1141, 1057, 1149, 1187, 1189, + 1275, 1277, 1279, 1281, 1365, 1367, 1369, 1371, + 1457, 1459, 1188, 1190, 1276, 1278, 1280, 1282, + 1366, 1368, 1370, 1372, 1458, 1460, 1192, 1284, + 1374, 1462, 1146, 1148, 1234, 1236, 1238, 1240, + 1324, 1326, 1328, 1330, 1416, 1418, 1144, 1232, + 1322, 1414, 1147, 1149, 1235, 1237, 1239, 1241, + 1325, 1327, 1329, 1331, 1417, 1419, 1056, 1058, + 1150, 1054, 1142, 1057, 1059, 1145, 1151, 1191, + 1193, 1279, 1281, 1283, 1285, 1369, 1371, 1373, + 1375, 1461, 1463, 1189, 1277, 1367, 1459, 1192, + 1194, 1280, 1282, 1284, 1286, 1370, 1372, 1374, + 1376, 1462, 1464, 1148, 1150, 1236, 1238, 1240, + 1242, 1326, 1328, 1330, 1332, 1418, 1420, 1149, + 1151, 1237, 1239, 1241, 1243, 1327, 1329, 1331, + 1333, 1419, 1421, 1153, 1245, 1335, 1423, 1058, + 1060, 1146, 1152, 1059, 1061, 1147, 1063, 1155, + 1193, 1195, 1281, 1283, 1285, 1287, 1371, 1373, + 1375, 1377, 1463, 1465, 1194, 1196, 1282, 1284, + 1286, 1288, 1372, 1374, 1376, 1378, 1464, 1466, + 1198, 1290, 1380, 1468, 1152, 1154, 1240, 1242, + 1244, 1246, 1330, 1332, 1334, 1336, 1422, 1424, + 1150, 1238, 1328, 1420, 1153, 1155, 1241, 1243, + 1245, 1331, 1333, 1335, 1337, 1423, 1425, 1062, + 1064, 1156, 1060, 1148, 1063, 1065, 1151, 1157, + 1197, 1199, 1285, 1287, 1289, 1291, 1375, 1377, + 1379, 1467, 1469, 1195, 1283, 1373, 1465, 1198, + 1200, 1286, 1288, 1290, 1292, 1376, 1378, 1380, + 1382, 1468, 1470, 1154, 1156, 1242, 1244, 1246, + 1248, 1332, 1334, 1336, 1424, 1426, 1155, 1157, + 1243, 1245, 1249, 1333, 1335, 1337, 1339, 1425, + 1427, 1159, 1251, 1341, 1064, 1066, 1152, 1065, + 1153, 1199, 1287, 1289, 1291, 1293, 1377, 1379, + 1469, 1471, 1200, 1202, 1288, 1290, 1292, 1294, + 1378, 1380, 1382, 1470, 1472, 1474, 1246, 1248, + 1250, 1252, 1336, 1156, 1244, 1334, 1426, 1159, + 1249, 1251, 1337, 1339, 1341, 1070, 1066, 1154, + 1157, 1163, 1205, 1291, 1293, 1295, 1385, 1387, + 1289, 1379, 1471, 1292, 1294, 1382, 1388, 1474, + 1424, 1516, 1518, 1427, 1563, 1565, 1469, 1561, + 1472, 1564, 1566, 1567, 1168, 1250, 1252, 1347, + 1073, 1163, 1251, 1207, 1295, 1385, 1387, 1304, + 1388, 1392, 1528, 1031, 1033, 1117, 1567, 1565, + 1566, 1574, 1750, 1138, 1228, 1230, 1320, 1322, + 1410, 1412, 1139, 1229, 1231, 1321, 1323, 1411, + 1413, 1183, 1275, 1365, 1367, 1457, 1184, 1276, + 1366, 1368, 1458, 1547, 1548, 1460, 1550, 1502, + 1592, 1503, 1593, 1549, 1639, 1640, 1505, 1595, + 1504, 1594, 1414, 1415, 1684, 1685, 1729, 1730, + 1731, 1821, 1732, 1822, 1774, 1775, 1046, 1047, + 1911, 1912, 1866, 1956, 1867, 1957, 1776, 1777, + 1232, 1234, 1320, 1322, 1324, 1326, 1410, 1412, + 1414, 1416, 1502, 1504, 1233, 1235, 1321, 1323, + 1325, 1327, 1411, 1413, 1415, 1417, 1503, 1505, + 1237, 1329, 1419, 1507, 1277, 1279, 1365, 1367, + 1369, 1371, 1457, 1459, 1461, 1547, 1549, 1278, + 1280, 1366, 1368, 1370, 1372, 1458, 1460, 1462, + 1548, 1550, 1282, 1374, 1464, 1552, 1551, 1639, + 1640, 1554, 1642, 1236, 1238, 1324, 1326, 1328, + 1330, 1414, 1416, 1418, 1420, 1506, 1508, 1234, + 1322, 1412, 1504, 1237, 1239, 1325, 1327, 1329, + 1331, 1415, 1417, 1419, 1421, 1507, 1509, 1281, + 1283, 1369, 1371, 1373, 1375, 1459, 1461, 1463, + 1465, 1551, 1553, 1279, 1367, 1457, 1549, 1282, + 1284, 1370, 1372, 1374, 1376, 1460, 1462, 1464, + 1466, 1552, 1554, 1555, 1641, 1643, 1547, 1639, + 1550, 1556, 1642, 1644, 1238, 1240, 1326, 1328, + 1330, 1332, 1416, 1418, 1420, 1422, 1508, 1510, + 1239, 1241, 1327, 1329, 1331, 1333, 1417, 1419, + 1421, 1423, 1509, 1511, 1243, 1335, 1425, 1513, + 1283, 1285, 1371, 1373, 1375, 1377, 1461, 1463, + 1465, 1467, 1553, 1555, 1284, 1286, 1372, 1374, + 1376, 1378, 1462, 1464, 1466, 1468, 1554, 1556, + 1288, 1380, 1470, 1551, 1557, 1643, 1645, 1552, + 1644, 1646, 1560, 1648, 1242, 1244, 1330, 1332, + 1334, 1336, 1420, 1422, 1424, 1426, 1512, 1514, + 1240, 1328, 1418, 1510, 1243, 1245, 1331, 1333, + 1335, 1337, 1421, 1423, 1425, 1427, 1513, 1515, + 1287, 1289, 1375, 1377, 1379, 1465, 1467, 1469, + 1471, 1557, 1285, 1373, 1463, 1555, 1288, 1290, + 1376, 1378, 1380, 1382, 1466, 1468, 1470, 1472, + 1560, 1561, 1647, 1649, 1553, 1645, 1556, 1648, + 1244, 1246, 1332, 1334, 1336, 1422, 1424, 1426, + 1514, 1516, 1245, 1333, 1335, 1337, 1339, 1423, + 1425, 1427, 1515, 1517, 1249, 1341, 1289, 1291, + 1377, 1379, 1467, 1469, 1471, 1561, 1290, 1292, + 1378, 1380, 1382, 1468, 1470, 1472, 1474, 1560, + 1294, 1564, 1557, 1563, 1649, 1652, 1566, 1512, + 1518, 1602, 1604, 1606, 1513, 1603, 1605, 1607, + 1609, 1695, 1699, 1647, 1739, 1741, 1648, 1740, + 1744, 1248, 1250, 1252, 1336, 1426, 1518, 1251, + 1339, 1341, 1523, 1163, 1347, 1295, 1385, 1387, + 1565, 1567, 1388, 1474, 1566, 1392, 1563, 1564, + 1574, 1748, 1750, 1516, 1606, 1698, 1704, 1609, + 1701, 1617, 1745, 1528, 1412, 1414, 1502, 1504, + 1506, 1592, 1594, 1596, 1684, 1413, 1415, 1503, + 1505, 1507, 1593, 1595, 1597, 1685, 1417, 1509, + 1599, 1687, 1322, 1324, 1410, 1416, 1323, 1325, + 1411, 1327, 1419, 1457, 1459, 1547, 1549, 1551, + 1639, 1641, 1729, 1458, 1460, 1548, 1550, 1552, + 1640, 1642, 1730, 1462, 1554, 1644, 1732, 1686, + 1774, 1775, 1689, 1777, 1731, 1734, 1822, 1821, + 1824, 1912, 1416, 1418, 1504, 1506, 1508, 1510, + 1594, 1596, 1598, 1600, 1686, 1688, 1414, 1502, + 1592, 1684, 1417, 1419, 1505, 1507, 1509, 1511, + 1595, 1597, 1599, 1601, 1687, 1689, 1326, 1328, + 1420, 1324, 1412, 1327, 1329, 1415, 1421, 1461, + 1463, 1549, 1551, 1553, 1555, 1639, 1641, 1643, + 1645, 1731, 1733, 1459, 1547, 1729, 1462, 1464, + 1550, 1552, 1554, 1556, 1640, 1642, 1644, 1646, + 1732, 1734, 1418, 1420, 1506, 1508, 1510, 1512, + 1596, 1598, 1600, 1602, 1688, 1690, 1419, 1421, + 1507, 1509, 1511, 1513, 1597, 1599, 1601, 1603, + 1689, 1691, 1423, 1515, 1605, 1328, 1330, 1416, + 1422, 1329, 1331, 1417, 1333, 1425, 1463, 1465, + 1551, 1553, 1555, 1557, 1641, 1643, 1645, 1647, + 1733, 1735, 1464, 1466, 1552, 1554, 1556, 1642, + 1644, 1646, 1648, 1734, 1736, 1468, 1560, 1738, + 1422, 1424, 1510, 1512, 1514, 1516, 1600, 1602, + 1604, 1606, 1692, 1420, 1508, 1598, 1690, 1423, + 1425, 1511, 1513, 1515, 1517, 1601, 1603, 1605, + 1607, 1695, 1332, 1334, 1426, 1330, 1418, 1333, + 1335, 1421, 1427, 1467, 1469, 1555, 1557, 1561, + 1645, 1647, 1649, 1737, 1739, 1465, 1553, 1643, + 1735, 1468, 1470, 1556, 1560, 1646, 1648, 1652, + 1738, 1740, 1516, 1518, 1606, 1698, 1426, 1514, + 1604, 1517, 1523, 1607, 1609, 1699, 1701, 1336, + 1424, 1249, 1251, 1337, 1339, 1341, 1425, 1427, + 1515, 1561, 1563, 1565, 1567, 1743, 1745, 1471, + 1649, 1741, 1474, 1564, 1566, 1652, 1744, 1786, + 1789, 1739, 1831, 1748, 1923, 1832, 1924, 1502, + 1592, 1594, 1684, 1410, 1503, 1593, 1595, 1685, + 1457, 1547, 1549, 1639, 1641, 1729, 1731, 1458, + 1548, 1550, 1640, 1642, 1730, 1732, 1821, 1822, + 1774, 1776, 1866, 1775, 1777, 1867, 1411, 1911, + 1912, 1686, 1687, 1779, 1869, 1957, 1597, 1689, + 1823, 1913, 1824, 1914, 1956, 2004, 2003, 1868, + 1958, 1959, 1506, 1508, 1594, 1596, 1598, 1600, + 1684, 1686, 1688, 1690, 1776, 1778, 1504, 1592, + 1774, 1507, 1509, 1595, 1597, 1599, 1601, 1685, + 1687, 1689, 1691, 1777, 1779, 1551, 1553, 1639, + 1641, 1643, 1645, 1729, 1731, 1733, 1735, 1821, + 1823, 1549, 1552, 1554, 1640, 1642, 1644, 1646, + 1730, 1732, 1734, 1736, 1822, 1824, 1825, 1911, + 1913, 1826, 1912, 1914, 1508, 1510, 1596, 1598, + 1600, 1602, 1686, 1688, 1690, 1692, 1778, 1780, + 1509, 1511, 1597, 1599, 1601, 1603, 1687, 1689, + 1691, 1779, 1781, 1513, 1605, 1695, 1783, 1553, + 1555, 1641, 1643, 1645, 1647, 1731, 1733, 1735, + 1737, 1823, 1825, 1554, 1556, 1642, 1644, 1646, + 1648, 1732, 1734, 1736, 1738, 1824, 1826, 1740, + 1828, 1821, 1827, 1913, 1915, 1822, 1914, 1830, + 1918, 1512, 1514, 1600, 1602, 1604, 1606, 1690, + 1692, 1782, 1784, 1510, 1598, 1688, 1780, 1513, + 1515, 1601, 1603, 1605, 1607, 1691, 1695, 1783, + 1785, 1557, 1645, 1647, 1649, 1735, 1737, 1739, + 1741, 1827, 1555, 1643, 1733, 1825, 1560, 1646, + 1648, 1652, 1736, 1738, 1740, 1828, 1830, 1831, + 1917, 1919, 1823, 1915, 1826, 1832, 1918, 1920, + 1514, 1516, 1602, 1604, 1606, 1692, 1698, 1784, + 1786, 1515, 1517, 1603, 1605, 1607, 1609, 1695, + 1699, 1785, 1701, 1789, 1561, 1647, 1649, 1737, + 1739, 1741, 1743, 1831, 1560, 1648, 1652, 1738, + 1740, 1744, 1830, 1832, 1564, 1827, 1919, 1828, + 1920, 1924, 1782, 1872, 1874, 1878, 1783, 1873, + 1877, 1879, 1965, 1967, 1917, 1923, 2011, 1918, + 2010, 2014, 1880, 1968, 1883, 1745, 2013, 1963, + 2007, 2008, 1518, 1606, 1698, 1704, 1880, 1523, + 1609, 1699, 1701, 1617, 1883, 1565, 1567, 1743, + 1745, 1566, 1744, 1748, 1750, 1930, 1878, 1972, + 1789, 1879, 1786, 1831, 1923, 2013, 1832, 1924, + 2014, 2018, 1976, 2021, 1968, 2011, 1704, 1617, + 1565, 1567, 1745, 1743, 1748, 1750, 2021, 1930, + 1528, 1574, 2024, 1976, 1883, 1686, 1688, 1774, + 1776, 1778, 1780, 1866, 1868, 1870, 1956, 1958, + 1684, 1687, 1689, 1775, 1777, 1779, 1781, 1867, + 1869, 1871, 1957, 1959, 1596, 1598, 1690, 1594, + 1597, 1599, 1685, 1691, 1731, 1733, 1821, 1823, + 1825, 1911, 1913, 1915, 2003, 1729, 1732, 1734, + 1822, 1824, 1826, 1912, 1914, 2004, 1960, 1961, + 2005, 2006, 1872, 1873, 1963, 1783, 1965, 1917, + 2007, 1918, 2008, 1828, 1920, 2010, 1688, 1690, + 1776, 1778, 1780, 1782, 1866, 1868, 1870, 1872, + 1958, 1960, 1689, 1691, 1777, 1779, 1781, 1783, + 1867, 1869, 1871, 1873, 1959, 1961, 1785, 1963, + 1598, 1600, 1686, 1692, 1599, 1601, 1687, 1603, + 1695, 1733, 1735, 1821, 1823, 1825, 1827, 1911, + 1913, 1915, 1917, 2003, 2005, 1734, 1736, 1822, + 1824, 1826, 1828, 1912, 1914, 1918, 2004, 2006, + 1738, 1830, 1920, 2008, 1692, 1780, 1782, 1784, + 1786, 1870, 1872, 1874, 1690, 1778, 1868, 1960, + 1695, 1781, 1783, 1785, 1871, 1873, 1877, 1963, + 1965, 1602, 1604, 1600, 1688, 1603, 1605, 1691, + 1737, 1739, 1825, 1827, 1831, 1915, 1917, 1919, + 2007, 1735, 1823, 1913, 2005, 1738, 1740, 1826, + 1828, 1830, 1832, 1918, 1920, 2008, 2010, 1958, + 1961, 1967, 2011, 2003, 2006, 1878, 1880, 1968, + 1972, 1786, 1874, 1789, 1877, 1879, 1883, 1967, + 1923, 2011, 2013, 1831, 1919, 1924, 2014, 2018, + 1972, 1976, 1880, 1883, 2021, 1923, 2013, 1930, + 2018, 2024, +}; + +static long _vq_fitmap_res_Zc_8[] = { + 0, 0, 0, 59, 59, 123, 123, 187, + 187, 251, 251, 315, 315, 375, 375, 438, + 438, 501, 566, 631, 696, 761, 826, 891, + 956, 1021, 1086, 1151, 375, 375, 1208, 438, + 1249, 1308, 1373, 1438, 1503, 1568, 1633, 1698, + 1763, 1828, 1892, 1951, 1951, 1208, 1208, 2006, + 2068, 2132, 2197, 2262, 2327, 2392, 2457, 2522, + 2587, 2648, 2700, 2753, 2777, 2777, 2006, 2831, + 2889, 2954, 3019, 3084, 3149, 3214, 3278, 3340, + 3393, 2700, 3440, 2777, 2777, 2777, 3474, 3534, + 3599, 3664, 3729, 3794, 3859, 3922, 3980, 4026, + 3440, 3440, 2777, 2777, 4075, 3474, 4132, 4191, + 4256, 4321, 4386, 4451, 4515, 4572, 4026, 4633, + 4633, 4075, 4075, 4075, 4075, 4682, 4744, 4808, + 4873, 4938, 5003, 5067, 4572, 4633, 4633, 4633, + 4075, 4075, 5123, 5123, 4682, 5189, 5247, 5312, + 5377, 5442, 5505, 5555, 5555, 4633, 4633, 4075, + 4075, 5123, 5123, 5123, 5605, 5665, 5730, 5795, + 5860, 5923, 5974, 5555, 6020, 6020, 5123, 5123, + 5123, 5123, 6043, 5605, 6104, 6163, 6228, 6292, + 6352, 5974, 6417, 6020, 6020, 5123, 5123, 5123, + 6043, 6043, 6043, 6452, 6514, 6578, 6640, 6352, + 6698, 6417, 6417, 6417, 5123, 5123, 5123, 6043, + 6043, 6743, 6452, 6794, 6852, 6913, 6968, 6698, + 7034, 7070, 7070, 6043, 6043, 6043, 6043, 6743, + 6743, 6743, 7085, 7150, 7212, 6968, 6968, 7034, + 7034, 7070, 6043, 6043, 6043, 6043, 6743, 6743, + 6743, 7085, 7085, 7212, 6968, 7269, 7034, 7288, + 7070, +}; + +static long _vq_fitlength_res_Zc_8[] = { + 59, 59, 59, 64, 64, 64, 64, 64, + 64, 64, 64, 60, 60, 63, 63, 63, + 63, 65, 65, 65, 65, 65, 65, 65, + 65, 65, 65, 57, 63, 63, 41, 63, + 59, 65, 65, 65, 65, 65, 65, 65, + 65, 64, 59, 55, 55, 41, 41, 62, + 64, 65, 65, 65, 65, 65, 65, 65, + 61, 52, 53, 24, 54, 54, 62, 58, + 65, 65, 65, 65, 65, 64, 62, 53, + 47, 53, 34, 54, 54, 54, 60, 65, + 65, 65, 65, 65, 63, 58, 46, 49, + 34, 34, 54, 54, 57, 60, 59, 65, + 65, 65, 65, 64, 57, 61, 49, 49, + 49, 57, 57, 57, 57, 62, 64, 65, + 65, 65, 64, 56, 61, 49, 49, 49, + 57, 57, 66, 66, 62, 58, 65, 65, + 65, 63, 50, 50, 50, 49, 49, 57, + 57, 66, 66, 66, 60, 65, 65, 65, + 63, 51, 46, 50, 23, 23, 66, 66, + 66, 66, 61, 60, 59, 65, 64, 60, + 65, 46, 35, 23, 23, 66, 66, 66, + 61, 61, 61, 62, 64, 62, 58, 65, + 45, 35, 35, 35, 66, 66, 66, 61, + 61, 51, 62, 58, 61, 55, 66, 45, + 36, 15, 15, 61, 61, 61, 61, 51, + 51, 51, 65, 62, 57, 66, 66, 36, + 36, 15, 61, 61, 61, 61, 51, 51, + 51, 65, 65, 57, 66, 19, 36, 10, + 15, +}; + +static encode_aux_pigeonhole _vq_auxp_res_Zc_8 = { + -22, 1, 44, 15, + _vq_pigeonmap_res_Zc_8, + 7298, + _vq_fitlist_res_Zc_8, + _vq_fitmap_res_Zc_8, + _vq_fitlength_res_Zc_8 +}; + +static static_codebook _vq_book_res_Zc_8 = { + 2, 2025, + _vq_lengthlist_res_Zc_8, + 1, -527040512, 1611661312, 6, 0, + _vq_quantlist_res_Zc_8, + NULL, + &_vq_auxt_res_Zc_8, + &_vq_auxp_res_Zc_8, + 0 +}; + + +#endif diff --git a/lib/books/res_Zc_9.vqh b/lib/books/res_Zc_9.vqh new file mode 100644 index 00000000..f6753c47 --- /dev/null +++ b/lib/books/res_Zc_9.vqh @@ -0,0 +1,99 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_9_VQH_ +#define _V_res_Zc_9_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_9[] = { + 2, + 1, + 3, + 0, + 4, +}; + +static long _vq_lengthlist_res_Zc_9[] = { + 1,11,10,11,11, 7,11,11,11,11, 7,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11, + 11,11,11,11,11,11,11,11,11,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,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, + 10, +}; + +static float _vq_quantthresh_res_Zc_9[] = { + -100.5, -33.5, 33.5, 100.5, +}; + +static long _vq_quantmap_res_Zc_9[] = { + 3, 1, 0, 2, 4, +}; + +static encode_aux_threshmatch _vq_auxt_res_Zc_9 = { + _vq_quantthresh_res_Zc_9, + _vq_quantmap_res_Zc_9, + 5, + 5 +}; + +static static_codebook _vq_book_res_Zc_9 = { + 4, 625, + _vq_lengthlist_res_Zc_9, + 1, -521093120, 1624293376, 3, 0, + _vq_quantlist_res_Zc_9, + NULL, + &_vq_auxt_res_Zc_9, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/res_Zc_9a.vqh b/lib/books/res_Zc_9a.vqh new file mode 100644 index 00000000..11e3559d --- /dev/null +++ b/lib/books/res_Zc_9a.vqh @@ -0,0 +1,115 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH * + * THIS SOURCE. 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_res_Zc_9a_VQH_ +#define _V_res_Zc_9a_VQH_ +#include "codebook.h" + +static long _vq_quantlist_res_Zc_9a[] = { + 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_res_Zc_9a[] = { + 2, 4, 4, 8, 8, 9,10,10,11,11,14,14,14,13,14,12, + 12,14,12,14,14,14,14, 5, 5, 5, 7, 8,10,10,11,12, + 12,12,13,12,14,14,11,12,14,14,14,14,14,14,14, 5, + 4, 7, 7, 9, 9,10,10,13,13,13,13,12,13,12,12,12, + 13,13,13,13,13,13, 5, 5, 8, 8, 9, 9,10,11,11,11, + 12,13,13,13,12,13,13,13,13,13,13,13,13, 5, 5, 7, + 6, 9, 9,10,10,11,12,13,12,13,13,11,12,13,12,13, + 13,13,13,13, 8, 9, 6, 7, 9,10,10,11,12,11,13,13, + 13,13,13,12,13,13,13,13,13,13,13,13,13, 8, 6, 9, + 8,10,10,11,11,13,12,13,13,13,11,12,12,13,12,13, + 13,13,13,13, 9, 9, 9, 9, 9,10,11,13,13,13,13,13, + 13,12,13,13,12,13,13,13,13,13,13, 9, 9, 9, 9,10, + 11,13,11,13,13,13,13,13,12,13,13,13,13,13,13,13, + 13,13,12,12, 9, 9,10,10,11,12,13,13,13,13,12,13, + 13,13,13,13,13,12,13,13,13,13,13,10, 9,11,10,12, + 12,13,13,13,13,13,13,13,13,13,12,13,13,13,13,13, + 13,13,11,12,11,10,13,12,13,13,13,13,13,11,12,13, + 13,13,13,13,13,13,13,13,13,12,12,10,12,12,13,13, + 12,13,13,12,12,13,13,13,13,13,13,13,13,13,13,13, + 11,12,11,11,12,12,13,13,13,13,13,12,13,13,13,13, + 13,13,13,13,13,13,13,13,13,11,11,12,12,12,13,13, + 13,13,12,13,13,13,13,13,13,13,13,13,13,13,13,13, + 7, 9, 9,11,12,12,13,13,13,12,13,13,13,13,13,13, + 13,13,13,13,13,13,13,10, 7,10, 8,11,11,12,13,13, + 12,13,13,13,13,13,13,13,13,13,13,13,13,13, 8,12, + 7,11,11,11,12,12,13,13,13,13,13,13,13,13,13,13, + 13,13,13,13,13,13,13,10, 7,12,12,12,12,12,13,13, + 13,12,13,13,13,13,13,13,13,13,13,13,13,13, 9,12, + 9,12,11,12,12,13,13,13,13,13,13,13,13,13,13,13, + 13,13,13,13,13,13, 9,10,10,11,13,13,13,13,13,13, + 13,13,13,13,13,13,13,13,13,13,13,13,11,13,10,11, + 12,11,13,13,13,13,13,13,13,13,13,13,13,13,13,13, + 13,13,13,13,13,10,11,11,12,13,13,13,13,13,13,13, + 13, +}; + +static float _vq_quantthresh_res_Zc_9a[] = { + -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_res_Zc_9a[] = { + 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_res_Zc_9a = { + _vq_quantthresh_res_Zc_9a, + _vq_quantmap_res_Zc_9a, + 23, + 23 +}; + +static static_codebook _vq_book_res_Zc_9a = { + 2, 529, + _vq_lengthlist_res_Zc_9a, + 1, -525303808, 1614282752, 5, 0, + _vq_quantlist_res_Zc_9a, + NULL, + &_vq_auxt_res_Zc_9a, + NULL, + 0 +}; + + +#endif diff --git a/lib/books/res0_128_1024_9.vqh b/lib/books/res_Zc_9b.vqh index 956bb13f..38f4d97e 100644 --- a/lib/books/res0_128_1024_9.vqh +++ b/lib/books/res_Zc_9b.vqh @@ -14,45 +14,47 @@ ********************************************************************/ -#ifndef _V_res0_128_1024_9_VQH_ -#define _V_res0_128_1024_9_VQH_ +#ifndef _V_res_Zc_9b_VQH_ +#define _V_res_Zc_9b_VQH_ #include "codebook.h" -static long _vq_quantlist_res0_128_1024_9[] = { - 2, +static long _vq_quantlist_res_Zc_9b[] = { 1, - 3, 0, - 4, + 2, }; -static long _vq_lengthlist_res0_128_1024_9[] = { - 1, 3, 3,10,10, 4, 4, 6,10,10, 4, 6, 6,10,10,10, - 10,10,10,10,10,10,10,10,10, +static long _vq_lengthlist_res_Zc_9b[] = { + 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 6, 7, 6, 6, 7, + 6, 7, 6, 6, 6, 7, 7, 7, 7, 6, 6, 7, 7, 7, 7, 7, + 7, 7, 7, 8, 6, 6, 6, 7, 7, 6, 7, 6, 6, 6, 6, 6, + 7, 6, 6, 7, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, + 6, 6, 7, 6, 6, 8, 5, 6, 6, 6, 6, 6, 7, 6, 7, 6, + 6, }; -static float _vq_quantthresh_res0_128_1024_9[] = { - -253.5, -84.5, 84.5, 253.5, +static float _vq_quantthresh_res_Zc_9b[] = { + -0.5, 0.5, }; -static long _vq_quantmap_res0_128_1024_9[] = { - 3, 1, 0, 2, 4, +static long _vq_quantmap_res_Zc_9b[] = { + 1, 0, 2, }; -static encode_aux_threshmatch _vq_auxt_res0_128_1024_9 = { - _vq_quantthresh_res0_128_1024_9, - _vq_quantmap_res0_128_1024_9, - 5, - 5 +static encode_aux_threshmatch _vq_auxt_res_Zc_9b = { + _vq_quantthresh_res_Zc_9b, + _vq_quantmap_res_Zc_9b, + 3, + 3 }; -static static_codebook _vq_book_res0_128_1024_9 = { - 2, 25, - _vq_lengthlist_res0_128_1024_9, - 1, -518709248, 1626677248, 3, 0, - _vq_quantlist_res0_128_1024_9, +static static_codebook _vq_book_res_Zc_9b = { + 4, 81, + _vq_lengthlist_res_Zc_9b, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res_Zc_9b, NULL, - &_vq_auxt_res0_128_1024_9, + &_vq_auxt_res_Zc_9b, NULL, 0 }; diff --git a/lib/floor1.c b/lib/floor1.c index d96f3a5a..1d84c48f 100644 --- a/lib/floor1.c +++ b/lib/floor1.c @@ -11,7 +11,7 @@ ******************************************************************** function: floor backend 1 implementation - last mod: $Id: floor1.c,v 1.10.2.3 2001/08/02 22:14:21 xiphmont Exp $ + last mod: $Id: floor1.c,v 1.10.2.4 2001/08/13 00:20:10 xiphmont Exp $ ********************************************************************/ @@ -899,18 +899,6 @@ static int floor1_forward(vorbis_block *vb,vorbis_look_floor *in, oggpack_write(&vb->opb,fit_valueA[0],ilog(look->quant_q-1)); oggpack_write(&vb->opb,fit_valueA[1],ilog(look->quant_q-1)); -#ifdef TRAIN_FLOOR1 - { - FILE *of; - char buffer[80]; - sprintf(buffer,"line%d_full.vqd",vb->mode); - of=fopen(buffer,"a"); - for(j=2;j<posts;j++) - fprintf(of,"%d\n",fit_valueB[j]); - fclose(of); - } -#endif - /* partition by partition */ for(i=0,j=2;i<info->partitions;i++){ @@ -952,7 +940,8 @@ static int floor1_forward(vorbis_block *vb,vorbis_look_floor *in, { FILE *of; char buffer[80]; - sprintf(buffer,"line%d_class%d.vqd",vb->mode,class); + sprintf(buffer,"line_%dx%d_class%d.vqd", + vb->pcmend/2,posts-2,class); of=fopen(buffer,"a"); fprintf(of,"%d\n",cval); fclose(of); @@ -975,7 +964,8 @@ static int floor1_forward(vorbis_block *vb,vorbis_look_floor *in, { FILE *of; char buffer[80]; - sprintf(buffer,"line%d_%dsub%d.vqd",vb->mode,class,bookas[k]); + sprintf(buffer,"line_%dx%d_%dsub%d.vqd", + vb->pcmend/2,posts-2,class,bookas[k]); of=fopen(buffer,"a"); fprintf(of,"%d\n",fit_valueB[j+k]); fclose(of); diff --git a/lib/mapping0.c b/lib/mapping0.c index 5cf0b3a2..6f1be19e 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.33.2.5 2001/08/07 03:47:22 xiphmont Exp $ + last mod: $Id: mapping0.c,v 1.33.2.6 2001/08/13 00:20:10 xiphmont Exp $ ********************************************************************/ @@ -37,6 +37,8 @@ blocksize is set by the mode, and low backend lookups may require parameters from other areas of the mode/mapping */ +extern int analysis_noisy; + typedef struct { drft_lookup fft_look; vorbis_info_mode *mode; @@ -411,9 +413,11 @@ static int mapping0_forward(vorbis_block *vb,vorbis_look_mapping *l){ local_ampmax[i]); for(j=0;j<n/2;j++) - if(fabs(res[j])>1500) + if(fabs(res[j])>1200){ + analysis_noisy=1; fprintf(stderr,"%ld ",seq+i); - + } + _analysis_output("res",seq+i,res,n/2,1,0); _analysis_output("codedflr",seq+i,codedflr,n/2,1,1); diff --git a/lib/modes/maskadj_Z.h b/lib/modes/maskadj_Z.h new file mode 100644 index 00000000..44ecae2b --- /dev/null +++ b/lib/modes/maskadj_Z.h @@ -0,0 +1,94 @@ +/******************************************************************** + * * + * 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: predefined encoding modes; masking adjustments for low bitrate + last mod: $Id $ + + ********************************************************************/ + +#ifndef _V_MASKADJ_Z_H_ +#define _V_MASKADJ_Z_H_ + +#include <stdio.h> +#include "vorbis/codec.h" +#include "backends.h" + +static vp_attenblock _vp_tonemask_consbass_Z={ + {{-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*63*/ + {-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*88*/ + {-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*125*/ + {-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*175*/ + {-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*250*/ + {-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f,-110.f}, /*350*/ + + {-35.f,-35.f,-35.f,-45.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f}, /*500*/ + {-35.f,-35.f,-35.f,-45.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f}, /*700*/ + + {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1000*/ + {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1400*/ + + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-24.f,-24.f,-26.f,-30.f,-30.f,-35.f,-45.f,-55.f,-65.f,-75.f,-90.f}, /*16000*/ +}}; + +static vp_attenblock _vp_tonemask_Z={ + + {{-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*63*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*88*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*125*/ + + + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*175*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*250*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*350*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*500*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*700*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1000*/ + {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1400*/ + + + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, /*2000*/ + {-30.f,-30.f,-30.f,-30.f,-30.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f}, + {-24.f,-24.f,-26.f,-30.f,-30.f,-35.f,-45.f,-55.f,-65.f,-75.f,-90.f}, /*16000*/ + +}}; + +static vp_attenblock _vp_peakatt_Z={ + {{-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*63*/ + {-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*88*/ + {-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*125*/ + {-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*125*/ + {-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*125*/ + {-14.f,-16.f,-18.f,-19.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f,-24.f},/*125*/ + {-10.f,-10.f,-10.f,-10.f,-16.f,-16.f,-18.f,-20.f,-22.f,-24.f,-24.f},/*500*/ + {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*700*/ + {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*1000*/ + {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*1400*/ + {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*2000*/ + {-10.f,-10.f,-10.f,-12.f,-16.f,-16.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*2400*/ + {-10.f,-10.f,-10.f,-12.f,-16.f,-16.f,-16.f,-20.f,-22.f,-24.f,-24.f},/*4000*/ + {-10.f,-10.f,-10.f,-12.f,-12.f,-14.f,-16.f,-18.f,-22.f,-24.f,-24.f},/*5600*/ + {-10.f,-10.f,-10.f,-10.f,-10.f,-14.f,-16.f,-18.f,-22.f,-24.f,-24.f},/*8000*/ + {-10.f,-10.f,-10.f,-10.f,-10.f,-14.f,-16.f,-18.f,-22.f,-24.f,-24.f},/*11500*/ + {-10.f,-10.f,-10.f,-10.f,-10.f,-12.f,-16.f,-18.f,-22.f,-24.f,-24.f},/*16000*/ +}}; + +#endif diff --git a/lib/modes/mode_44c_Z.h b/lib/modes/mode_44c_Z.h new file mode 100644 index 00000000..efad842f --- /dev/null +++ b/lib/modes/mode_44c_Z.h @@ -0,0 +1,315 @@ +/******************************************************************** + * * + * 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: predefined encoding modes; 44kHz stereo ~64kbps true VBR + last mod: $Id: mode_44c_Z.h,v 1.1.2.1 2001/08/13 00:20:27 xiphmont Exp $ + + ********************************************************************/ + +#ifndef _V_MODES_44c_Z_H_ +#define _V_MODES_44c_Z_H_ + +#include <stdio.h> +#include "vorbis/codec.h" +#include "backends.h" + +#include "books/line_128x7_class1.vqh" +#include "books/line_128x7_class2.vqh" + +#include "books/line_128x7_0sub0.vqh" +#include "books/line_128x7_1sub1.vqh" +#include "books/line_128x7_1sub2.vqh" +#include "books/line_128x7_1sub3.vqh" +#include "books/line_128x7_2sub1.vqh" +#include "books/line_128x7_2sub2.vqh" +#include "books/line_128x7_2sub3.vqh" + +#include "books/line_1024x31_class0.vqh" +#include "books/line_1024x31_class1.vqh" +#include "books/line_1024x31_class2.vqh" +#include "books/line_1024x31_class3.vqh" + +#include "books/line_1024x31_0sub0.vqh" +#include "books/line_1024x31_0sub1.vqh" +#include "books/line_1024x31_1sub0.vqh" +#include "books/line_1024x31_1sub1.vqh" +#include "books/line_1024x31_2sub1.vqh" +#include "books/line_1024x31_2sub2.vqh" +#include "books/line_1024x31_2sub3.vqh" +#include "books/line_1024x31_3sub1.vqh" +#include "books/line_1024x31_3sub2.vqh" +#include "books/line_1024x31_3sub3.vqh" + +#include "books/res_Zc_128aux.vqh" +#include "books/res_Zc_1024aux.vqh" + +#include "books/res_Zc_1.vqh" +#include "books/res_Zc_2.vqh" +#include "books/res_Zc_3.vqh" +#include "books/res_Zc_4.vqh" +#include "books/res_Zc_5.vqh" +#include "books/res_Zc_6.vqh" +#include "books/res_Zc_7.vqh" +#include "books/res_Zc_8.vqh" +#include "books/res_Zc_9.vqh" +#include "books/res_Zc_9a.vqh" +#include "books/res_Zc_9b.vqh" + +#include "maskadj_Z.h" + +static vorbis_info_psy_global _psy_set_44c_ZG={ + 0, /* decaydBpms */ + 8, /* lines per eighth octave */ + + /* thresh sample period, preecho clamp trigger threshhold, range, minenergy */ + 256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f, + -6.f, + + 0, +}; + +static struct vp_couple_pass _psy_pass_44c_Z0[]={ + {1.f,1.f, + {{24, 0,0, 0,0, 0,0}, + {9999, 0,0, 7.5f,12, 7.5f,0}} + }, +}; + +static vp_couple_pass _psy_pass_44c_Z[]={ + {1.f,1.f, + {{288, 0,0, 0,0, 0,0}, + {9999, 0,0, 7.5f,12, 7.5f,0}} + } +}; + +static vorbis_info_psy _psy_set_44c_Z0={ + ATH_Bark_dB_lineaggressive, + -100.,-110., + + /* tonemaskp */ + 3.f, -24.f,&_vp_tonemask_consbass_Z, + /* peakattp, curvelimitp */ + 1, 0, &_vp_peakatt_Z, + + /*noisemaskp */ + 1,-24.f, /* suppress any noise curve over maxspec+n */ + 1.f, 1.f, /* low/high window */ + 2, 2, -1, + + /*63 125 250 500 1k 2k 4k 8k 16k*/ + {-20,-20,-20,-20,-20,-20,-10, -5, 3, 3, 4, 4, 4, 4, 4, 4, 8}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f}, + + 95.f, /* even decade + 5 is important; saves an rint() later in a + tight loop) */ + 1, + _psy_pass_44c_Z0 +}; + +static vorbis_info_psy _psy_set_44c_ZT={ + ATH_Bark_dB_lineaggressive, + -100.f,-110.f, + + /* tonemask */ + 3.f,-20.f,&_vp_tonemask_consbass_Z, + /* peakattp,curvelimitp */ + 1, 0, &_vp_peakatt_Z, + + /*noisemaskp */ + 1, -24.f, /* suppress any noise curve over maxspec+n */ + .5f,.5f, /* low/high window */ + 10,10,100, + + /*63 125 250 500 1k 2k 4k 8k 16k*/ + {-20,-20,-20,-20,-20,-20,-20, -6, 3, 3, 4, 5, 5, 5, 5, 6, 10}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f}, + + 95.f, /* even decade + 5 is important; saves an rint() later in a + tight loop) */ + 1,_psy_pass_44c_Z +}; + +static vorbis_info_psy _psy_set_44c_Z={ + ATH_Bark_dB_lineaggressive, + -100.f, -110.f, + + /* tonemask */ + 3.f,-20.f,&_vp_tonemask_Z, + /* peakattp, curvelimitp */ + 1, 0, &_vp_peakatt_Z, + + /*noisemaskp */ + 1, -24.f, /* suppress any noise curve over maxspec+n */ + .5f,.5f, /* low/high window */ + 10,10,100, + + /*63 125 250 500 1k 2k 4k 8k 16k*/ + {-20,-20,-20,-20,-20,-20,-10,-6, 3, 3, 4, 5, 5, 5, 5, 6, 10}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.8f,.85f,.88f,.89f,.9f,.9f}, + + 95.f, /* even decade + 5 is important; saves an rint() later in a + tight loop) */ + 1,_psy_pass_44c_Z +}; + +static vorbis_info_time0 _time_set_44c_Z={0}; + +static vorbis_info_floor1 _floor_set_44c_Z0={ + 3, + {0,1,2}, + + {1,3,3}, + {0,2,2}, + {-1,0,1}, + {{2},{-1,3,4,5},{-1,6,7,8}}, + + 4, + + {0,128, + + 7, + + 2,1,4, + 23,13,45}, + + 60,30,500, + 999,999,0,18., + 8,70, + 90}; + +static vorbis_info_floor1 _floor_set_44c_Z={ + 10, + {0,1,2,2,2,2,2, 3,3,3}, + + {3,4,3,3}, + {1,1,2,2}, + {9,10,11,12}, + {{13,14}, + {15,16}, + {-1,17,18,19}, + {-1,20,21,22}, + }, + + 4, + {0,1024, + + 88,31,243, + + 14,54,143,460, + + 6,3,10, 22,18,26, 41,36,47, + 69,61,78, 112,99,126, 185,162,211, + 329,282,387, 672,553,825 + }, + + 60,30,400, + 20,8,1,18., + 20,600, + 720}; + +static vorbis_info_residue0 _residue_set_44c_Z0={ + 0,180, 12, 10,23, + {0,1,1,1,1,1,1,1,1,7}, + {25, 26, 27, 28, 29, 30, 31, 32, 33,34,35}, + {9999, 9999, 9999, 9999, 2,9999, 9999, 9999, 9999, 9999}, + {.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f}, + {0}, + {99, 4, 4, 4, 99,99, 99, 99, 99}, + {3}}; + +static vorbis_info_residue0 _residue_set_44c_Z={ + 0,1408, 32, 10,24, + {0,1,1,1,1,1,1,1,1,7}, + {25, 26, 27, 28, 29, 30, 31, 32, 33,34,35}, + {9999, 9999, 9999, 9999, 3,9999, 9999, 9999, 9999, 9999}, + {.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f}, + {0}, + {99, 18, 18, 18, 99,99, 99, 99, 99}, + {3}}; + +static vorbis_info_mapping0 _mapping_set_44c_Z0={ + 1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}}; +static vorbis_info_mapping0 _mapping_set_44c_Z={ + 1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}}; + +static vorbis_info_mode _mode_set_44c_Z0={0,0,0,0}; +static vorbis_info_mode _mode_set_44c_Z={1,0,0,1}; + +/* CD quality stereo, no channel coupling */ +codec_setup_info info_44c_Z={ + + /* smallblock, largeblock */ + {256, 2048}, + /* modes,maps,times,floors,residues,books,psys */ + 2, 2, 1, 2, 2, 36, 3, + /* modes */ + {&_mode_set_44c_Z0,&_mode_set_44c_Z}, + /* maps */ + {0,0},{&_mapping_set_44c_Z0,&_mapping_set_44c_Z}, + /* times */ + {0,0},{&_time_set_44c_Z}, + /* floors */ + {1,1},{&_floor_set_44c_Z0,&_floor_set_44c_Z}, + /* residue */ + {2,2},{&_residue_set_44c_Z0,&_residue_set_44c_Z}, + /* books */ + + { + &_huff_book_line_128x7_class1, + &_huff_book_line_128x7_class2, /* 1 */ + + &_huff_book_line_128x7_0sub0, /* 2 */ + &_huff_book_line_128x7_1sub1, /* 3 */ + &_huff_book_line_128x7_1sub2, + &_huff_book_line_128x7_1sub3, /* 5 */ + &_huff_book_line_128x7_2sub1, + &_huff_book_line_128x7_2sub2, /* 7 */ + &_huff_book_line_128x7_2sub3, + + &_huff_book_line_1024x31_class0, + &_huff_book_line_1024x31_class1, /* 10 */ + &_huff_book_line_1024x31_class2, + &_huff_book_line_1024x31_class3, /* 12 */ + + &_huff_book_line_1024x31_0sub0, + &_huff_book_line_1024x31_0sub1, /* 14 */ + &_huff_book_line_1024x31_1sub0, + &_huff_book_line_1024x31_1sub1, + &_huff_book_line_1024x31_2sub1, + &_huff_book_line_1024x31_2sub2, /* 18 */ + &_huff_book_line_1024x31_2sub3, + &_huff_book_line_1024x31_3sub1, + &_huff_book_line_1024x31_3sub2, + &_huff_book_line_1024x31_3sub3, /* 22 */ + + &_huff_book_res_Zc_128aux, + &_huff_book_res_Zc_1024aux, + + &_vq_book_res_Zc_1, + &_vq_book_res_Zc_2, + &_vq_book_res_Zc_3, + &_vq_book_res_Zc_4, + &_vq_book_res_Zc_5, + &_vq_book_res_Zc_6, + &_vq_book_res_Zc_7, + &_vq_book_res_Zc_8, + &_vq_book_res_Zc_9, + &_vq_book_res_Zc_9a, + &_vq_book_res_Zc_9b, + + }, + /* psy */ + {&_psy_set_44c_Z0,&_psy_set_44c_ZT,&_psy_set_44c_Z}, + &_psy_set_44c_ZG +}; + +#endif diff --git a/lib/modes/mode_Za.h b/lib/modes/mode_Za.h index 1923243c..98992217 100644 --- a/lib/modes/mode_Za.h +++ b/lib/modes/mode_Za.h @@ -11,7 +11,7 @@ ******************************************************************** function: predefined encoding modes - last mod: $Id: mode_Za.h,v 1.1.2.1 2001/08/12 11:03:20 xiphmont Exp $ + last mod: $Id: mode_Za.h,v 1.1.2.2 2001/08/13 00:20:27 xiphmont Exp $ ********************************************************************/ @@ -240,28 +240,28 @@ static vorbis_info_time0 _time_set0Za={0}; /*static vorbis_info_floor0 _floor_set1A={30, 44100, 256, 12,150, 2, {2,3}, .082f, .126f};*/ -static vorbis_info_floor1 _floor_set0Za={4, - {0,1,2,2}, - - {2,3,3}, - {0,2,2}, - {-1,0,1}, - {{2},{-1,3,4,5},{-1,6,7,8}}, +static vorbis_info_floor1 _floor_set0Zc={3, + {0,1,2}, + + {1,3,3}, + {0,2,2}, + {-1,0,1}, + {{2},{-1,3,4,5},{-1,6,7,8}}, 4, - {0,128, + {0,128, - 14,45, - - 4, 2, 8, - 26, 20, 35, - 70, 56, 88}, + 7, + + 2,1,4, + 23,13,45}, 60,30,500, - 999,999,1,18., + 999,999,0,18., 8,70, - 88}; + 90}; + static vorbis_info_floor1 _floor_set1Za={10, {0,1,2,2,2,2,2, 3,3,3}, diff --git a/lib/modes/mode_Zc.h b/lib/modes/mode_Zc.h index cca8da6d..bd06c50a 100644 --- a/lib/modes/mode_Zc.h +++ b/lib/modes/mode_Zc.h @@ -11,7 +11,7 @@ ******************************************************************** function: predefined encoding modes - last mod: $Id: mode_Zc.h,v 1.1.2.1 2001/08/12 11:03:20 xiphmont Exp $ + last mod: $Id: mode_Zc.h,v 1.1.2.2 2001/08/13 00:20:27 xiphmont Exp $ ********************************************************************/ @@ -172,12 +172,12 @@ static vorbis_info_psy _psy_set_Zc0={ /*noisemaskp */ 1,-24.f, /* suppress any noise curve over maxspec+n */ - .5f, .5f, /* low/high window */ - 2, 2, 12, + 1.f, 1.f, /* low/high window */ + 2, 2, -1, /*63 125 250 500 1k 2k 4k 8k 16k*/ - {-20,-20,-20,-20,-20,-20,-20, -5, 3, 3, 3, 5, 5, 5, 5, 6, 10}, - {1.f,1.f,1.f,1.f,1.f,1.f,1.f,.7f,.7f,.7f,.7f,.7f,.85f,.88f,.89f,.9f,.9f}, + {-20,-20,-20,-20,-20,-20,-10, -5, 3, 3, 4, 4, 4, 4, 4, 4, 8}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f}, 95.f, /* even decade + 5 is important; saves an rint() later in a tight loop) */ @@ -203,7 +203,7 @@ static vorbis_info_psy _psy_set_ZcT={ /*63 125 250 500 1k 2k 4k 8k 16k*/ {-20,-20,-20,-20,-20,-20,-20, -6, 3, 3, 4, 5, 5, 5, 5, 6, 10}, - {1.f,1.f,1.f,1.f,1.f,1.f,1.f,.7f,.7f,.7f,.7f,.7f,.85f,.88f,.89f,.9f,.9f}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f}, 95.f, /* even decade + 5 is important; saves an rint() later in a tight loop) */ @@ -217,7 +217,7 @@ static vorbis_info_psy _psy_set_Zc={ -110.f, /* tonemask */ - 3.f,-20.f,&_vp_tonemask_Zc, + -3.f,-20.f,&_vp_tonemask_Zc, /* peakattp */ 1, &_vp_peakatt_Zc, @@ -228,7 +228,7 @@ static vorbis_info_psy _psy_set_Zc={ /*63 125 250 500 1k 2k 4k 8k 16k*/ {-20,-20,-20,-20,-20,-20,-10, 0, 3, 3, 4, 5, 5, 5, 5, 6, 10}, - {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.75f,.75f,.75f,.75f,.75f,.85f,.88f,.89f,.9f,.9f}, + {1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.8f,.85f,.88f,.89f,.9f,.9f}, 95.f, /* even decade + 5 is important; saves an rint() later in a tight loop) */ diff --git a/lib/modes/modes.h b/lib/modes/modes.h index 79da8dee..1ff1d51d 100644 --- a/lib/modes/modes.h +++ b/lib/modes/modes.h @@ -11,7 +11,7 @@ ******************************************************************** function: predefined encoding modes - last mod: $Id: modes.h,v 1.8.2.2 2001/08/03 06:48:13 xiphmont Exp $ + last mod: $Id: modes.h,v 1.8.2.3 2001/08/13 00:20:27 xiphmont Exp $ ********************************************************************/ @@ -19,11 +19,6 @@ #define _V_MODES_H_ #include "masking.h" -//#include "modes/mode_AA.h" -#include "modes/mode_A.h" -//#include "modes/mode_B.h" -//#include "modes/mode_C.h" -//#include "modes/mode_D.h" -//#include "modes/mode_E.h" +#include "modes/mode_44c_Z.h" #endif @@ -11,7 +11,7 @@ ******************************************************************** function: psychoacoustics not including preecho - last mod: $Id: psy.c,v 1.48.2.8 2001/08/08 04:19:57 xiphmont Exp $ + last mod: $Id: psy.c,v 1.48.2.9 2001/08/13 00:20:11 xiphmont Exp $ ********************************************************************/ @@ -124,6 +124,7 @@ static void interp_curve(float *c,float *c1,float *c2,float del){ c[i]=c2[i]*del+c1[i]*(1.f-del); } +extern int analysis_noisy; static void setup_curve(float **c, int band, float *curveatt_dB){ @@ -331,20 +332,19 @@ void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi, for(i=0;i<P_BANDS;i++) setup_curve(p->tonecurves[i],i,vi->toneatt->block[i]); - /* value limit the tonal masking curves; the peakatt not only - optionally specifies maximum dynamic depth, but also [always] - limits the masking curves to a minimum depth */ - for(i=0;i<P_BANDS;i++) - for(j=0;j<P_LEVELS;j++){ - for(k=2;k<EHMER_OFFSET+2;k++) - if(p->tonecurves[i][j][k]> vi->peakatt->block[i][j]) - p->tonecurves[i][j][k]= vi->peakatt->block[i][j]; - for(;k<EHMER_OFFSET+4;k++) - if(p->tonecurves[i][j][k]> vi->peakatt->block[i][j]) - p->tonecurves[i][j][k]= vi->peakatt->block[i][j]; - else - break; - } + if(vi->curvelimitp){ + /* value limit the tonal masking curves; the peakatt not only + optionally specifies maximum dynamic depth, but also [always] + limits the masking curves to a minimum depth */ + for(i=0;i<P_BANDS;i++) + for(j=0;j<P_LEVELS;j++){ + for(k=2;k<EHMER_OFFSET+2+vi->curvelimitp;k++) + if(p->tonecurves[i][j][k]> vi->peakatt->block[i][j]) + p->tonecurves[i][j][k]= vi->peakatt->block[i][j]; + else + break; + } + } if(vi->peakattp) /* we limit depth only optionally */ for(i=0;i<P_BANDS;i++) @@ -352,6 +352,12 @@ void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi, if(p->tonecurves[i][j][EHMER_OFFSET+2]< vi->peakatt->block[i][j]) p->tonecurves[i][j][EHMER_OFFSET+2]= vi->peakatt->block[i][j]; + /* but guarding is mandatory */ + for(i=0;i<P_BANDS;i++) + for(j=0;j<P_LEVELS;j++) + if(p->tonecurves[i][j][EHMER_OFFSET+2]< vi->tone_maxatt) + p->tonecurves[i][j][EHMER_OFFSET+2]= vi->tone_maxatt; + /* set up rolling noise median */ for(i=0;i<n;i++){ float halfoc=toOC((i+.5)*rate/(2.*n))*2.; @@ -369,7 +375,47 @@ void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi, p->vi->noiseoff[inthalfoc]*(1.-del) + p->vi->noiseoff[inthalfoc+1]*del; } - _analysis_output("noiseoff",0,p->noiseoffset,n,0,0); + + analysis_noisy=1; + _analysis_output("noiseoff",0,p->noiseoffset,n,1,0); + _analysis_output("noisethresh",0,p->noisethresh,n,1,0); + + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_63Hz",i,p->tonecurves[0][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_88Hz",i,p->tonecurves[1][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_125Hz",i,p->tonecurves[2][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_170Hz",i,p->tonecurves[3][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_250Hz",i,p->tonecurves[4][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_350Hz",i,p->tonecurves[5][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_500Hz",i,p->tonecurves[6][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_700Hz",i,p->tonecurves[7][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_1kHz",i,p->tonecurves[8][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_1.4Hz",i,p->tonecurves[9][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_2kHz",i,p->tonecurves[10][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_2.4kHz",i,p->tonecurves[11][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_4kHz",i,p->tonecurves[12][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_5.6kHz",i,p->tonecurves[13][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_8kHz",i,p->tonecurves[14][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_11.5kHz",i,p->tonecurves[15][i]+2,EHMER_MAX,0,0); + for(i=0;i<P_LEVELS;i++) + _analysis_output("curve_16kHz",i,p->tonecurves[16][i]+2,EHMER_MAX,0,0); + analysis_noisy=1; + } void _vp_psy_clear(vorbis_look_psy *p){ @@ -444,14 +490,13 @@ static void seed_loop(vorbis_look_psy *p, oc=oc>>p->shiftoc; if(oc>=P_BANDS)oc=P_BANDS-1; if(oc<0)oc=0; - if(vi->tonemaskp) - seed_curve(seed, - curves[oc], - max, - p->octave[i]-p->firstoc, - p->total_octave_lines, - p->eighth_octave_lines, - dBoffset); + seed_curve(seed, + curves[oc], + max, + p->octave[i]-p->firstoc, + p->total_octave_lines, + p->eighth_octave_lines, + dBoffset); } } } @@ -561,11 +606,12 @@ static int psy_dBquant(const float *x){ return i; } - -static void bark_noise_median(int n,const long *b,const float *f, +static void bark_noise_median(int n,const long *b, + const float *f, float *noise, - const int *thresh,const float *off, - int fixed){ + const float *thresh, + const int fixed, + const float *off){ int i=0,lo=-1,hi=-1,fixedc=0; int median=LASTBIN>>1; @@ -629,36 +675,37 @@ static void bark_noise_median(int n,const long *b,const float *f, /* move the median if needed */ { - int bark_th = (thresh[i]*(hi-lo)+512)/1024; + int bark_th = rint((thresh[i]+1.)*(hi-lo)*.5); if(fixed>0){ - int fixed_th = (thresh[i]*(fixedc)+512)/1024; - - while(bark_th>=barkcountbelow && - fixed_th>=fixedcountbelow /* && median<LASTBIN by rep invariant */ - ){ - median++; - barkcountbelow+=barkradix[median]; - fixedcountbelow+=fixedradix[median]; - } - - while(bark_th<barkcountbelow || - fixed_th<fixedcountbelow /* && median>=0 by rep invariant */ - ){ - barkcountbelow-=barkradix[median]; - fixedcountbelow-=fixedradix[median]; - median--; - } + int fixed_th = rint((thresh[i]+1.)*(fixedc)*.5); + + + while(bark_th>=barkcountbelow && + fixed_th>=fixedcountbelow /* && median<LASTBIN by rep invariant */ + ){ + median++; + barkcountbelow+=barkradix[median]; + fixedcountbelow+=fixedradix[median]; + } + + while(bark_th<barkcountbelow || + fixed_th<fixedcountbelow /* && median>=0 by rep invariant */ + ){ + barkcountbelow-=barkradix[median]; + fixedcountbelow-=fixedradix[median]; + median--; + } }else{ - while(bark_th>=barkcountbelow){ - median++; - barkcountbelow+=barkradix[median]; - } - - while(bark_th<barkcountbelow){ - barkcountbelow-=barkradix[median]; - median--; - } + while(bark_th>=barkcountbelow){ + median++; + barkcountbelow+=barkradix[median]; + } + + while(bark_th<barkcountbelow){ + barkcountbelow-=barkradix[median]; + median--; + } } } @@ -667,11 +714,10 @@ static void bark_noise_median(int n,const long *b,const float *f, } - static void bark_noise_pointmp(int n,const long *b, - const float *f, - float *noise, - const int fixed){ + const float *f, + float *noise, + const int fixed){ long i,hi=0,lo=0,hif=0,lof=0; double xa=0,xb=0; double ya=0,yb=0; @@ -685,52 +731,52 @@ static void bark_noise_pointmp(int n,const long *b, /* find new lo/hi */ int bi=b[i]>>16; for(;hi<bi;hi++){ - double bin=(f[hi]<-140.f?0.:f[hi]+140.); - double n= bin*bin; - na += n; - xa += hi*n; - ya += bin*n; - x2a += hi*hi*n; - y2a += bin*bin*n; - xya += hi*bin*n; + double bin=(f[hi]<-140.f?0.:f[hi]+140.); + double nn= bin*bin; + na += nn; + xa += hi*nn; + ya += bin*nn; + x2a += hi*hi*nn; + y2a += bin*bin*nn; + xya += hi*bin*nn; } bi=b[i]&0xffff; for(;lo<bi;lo++){ - double bin=(f[lo]<-140.f?0.:f[lo]+140.); - double n= bin*bin; - na -= n; - xa -= lo*n; - ya -= bin*n; - x2a -= lo*lo*n; - y2a -= bin*bin*n; - xya -= lo*bin*n; + double bin=(f[lo]<-140.f?0.:f[lo]+140.); + double nn= bin*bin; + na -= nn; + xa -= lo*nn; + ya -= bin*nn; + x2a -= lo*lo*nn; + y2a -= bin*bin*nn; + xya -= lo*bin*nn; } } if(hif<n && fixed>0){ - int bi=i-fixed/2; - if(bi<0)bi=0; + int bi=i+fixed/2; + if(bi>n)bi=n; for(;hif<bi;hif++){ - double bin=(f[hif]<-140.f?0.:f[hif]+140.); - double n= bin*bin; - nb += n; - xb += hif*n; - yb += bin*n; - x2b += hif*hif*n; - y2b += bin*bin*n; - xyb += hif*bin*n; + double bin=(f[hif]<-140.f?0.:f[hif]+140.); + double nn= bin*bin; + nb += nn; + xb += hif*nn; + yb += bin*nn; + x2b += hif*hif*nn; + y2b += bin*bin*nn; + xyb += hif*bin*nn; } - bi=i+(fixed+1)/2; - if(bi>n)bi=n; + bi=i-(fixed+1)/2; + if(bi<0)bi=0; for(;lof<bi;lof++){ - double bin=(f[lof]<-140.f?0.:f[lof]+140.); - double n= bin*bin; - nb -= n; - xb -= lof*n; - yb -= bin*n; - x2b -= lof*lof*n; - y2b -= bin*bin*n; - xyb -= lof*bin*n; + double bin=(f[lof]<-140.f?0.:f[lof]+140.); + double nn= bin*bin; + nb -= nn; + xb -= lof*nn; + yb -= bin*nn; + x2b -= lof*lof*nn; + y2b -= bin*bin*nn; + xyb -= lof*bin*nn; } } @@ -741,11 +787,11 @@ static void bark_noise_pointmp(int n,const long *b, double va=a+b*i; if(fixed>0){ - double denomf=1./(nb*x2b-xb*xb); - double af=(yb*x2b-xyb*xb)*denomf; - double bf=(nb*xyb-xb*yb)*denomf; - double vb=af+bf*i; - if(va>vb)va=vb; + double denomf=1./(nb*x2b-xb*xb); + double af=(yb*x2b-xyb*xb)*denomf; + double bf=(nb*xyb-xb*yb)*denomf; + double vb=af+bf*i; + if(va>vb)va=vb; } noise[i]=va-140.f; @@ -754,9 +800,9 @@ static void bark_noise_pointmp(int n,const long *b, } static void bark_noise_hybridmp(int n,const long *b, - const float *f, - float *noise, - const int fixed){ + const float *f, + float *noise, + const int fixed){ long i,hi=0,lo=0,hif=0,lof=0; double xa=0,xb=0; double ya=0,yb=0; @@ -773,118 +819,122 @@ static void bark_noise_hybridmp(int n,const long *b, /* find new lo/hi */ int bi=b[i]>>16; for(;hi<bi;hi++){ - double bin=f[hi]; - if(bin>0.f){ - double n= bin*bin; - n*=n; - na += n; - xa += hi*n; - ya += bin*n; - x2a += hi*hi*n; - y2a += bin*bin*n; - xya += hi*bin*n; - last=hi; - rna++; - if(first==-1)first=hi; - } + double bin=f[hi]; + if(bin>0.f){ + double nn= bin*bin; + nn*=nn; + na += nn; + xa += hi*nn; + ya += bin*nn; + x2a += hi*hi*nn; + y2a += bin*bin*nn; + xya += hi*bin*nn; + last=hi; + rna++; + if(first==-1)first=hi; + } } bi=b[i]&0xffff; for(;lo<bi;lo++){ - double bin=f[lo]; - if(bin>0.f){ - double n= bin*bin; - n*=n; - na -= n; - xa -= lo*n; - ya -= bin*n; - x2a -= lo*lo*n; - y2a -= bin*bin*n; - xya -= lo*bin*n; - rna--; - } - if(first<lo)first=-1; - if(last<lo){ - first=-1; - }else{ - for(first=lo;first<hi;first++) - if(f[first]>0.f)break; - if(first==hi)first=-1; - } + double bin=f[lo]; + if(bin>0.f){ + double nn= bin*bin; + nn*=nn; + na -= nn; + xa -= lo*nn; + ya -= bin*nn; + x2a -= lo*lo*nn; + y2a -= bin*bin*nn; + xya -= lo*bin*nn; + rna--; + } + if(first<lo)first=-1; + if(last<lo){ + first=-1; + }else{ + for(first=lo;first<hi;first++) + if(f[first]>0.f)break; + if(first==hi)first=-1; + } } } if(hif<n && fixed>0){ - int bi=i-fixed/2; - if(bi<0)bi=0; + int bi=i+fixed/2; + if(bi>n)bi=n; for(;hif<bi;hif++){ - double bin=f[hif]; - if(bin>0.f){ - double n= bin*bin; - n*=n; - nb += n; - xb += hif*n; - yb += bin*n; - x2b += hif*hif*n; - y2b += bin*bin*n; - xyb += hif*bin*n; - lastf=hif; - rnb++; - if(firstf==-1)firstf=hif; - } + double bin=f[hif]; + if(bin>0.f){ + double nn= bin*bin; + nn*=nn; + nb += nn; + xb += hif*nn; + yb += bin*nn; + x2b += hif*hif*nn; + y2b += bin*bin*nn; + xyb += hif*bin*nn; + lastf=hif; + rnb++; + if(firstf==-1)firstf=hif; + } } - bi=i+(fixed+1)/2; - if(bi>n)bi=n; + bi=i-(fixed+1)/2; + if(bi<0)bi=0; for(;lof<bi;lof++){ - double bin=f[lof]; - if(bin>0.f){ - double n= bin*bin; - n*=n; - nb -= n; - xb -= lof*n; - yb -= bin*n; - x2b -= lof*lof*n; - y2b -= bin*bin*n; - xyb -= lof*bin*n; - rnb--; - } - if(firstf<lof)firstf=-1; - if(lastf<lof){ - firstf=-1; - }else{ - for(firstf=lof;firstf<hif;firstf++) - if(f[firstf]>0.f)break; - if(firstf==hif)firstf=-1; - } + double bin=f[lof]; + if(bin>0.f){ + double nn= bin*bin; + nn*=nn; + nb -= nn; + xb -= lof*nn; + yb -= bin*nn; + x2b -= lof*lof*nn; + y2b -= bin*bin*nn; + xyb -= lof*bin*nn; + rnb--; + } + if(firstf<lof)firstf=-1; + if(lastf<lof){ + firstf=-1; + }else{ + for(firstf=lof;firstf<hif;firstf++) + if(f[firstf]>0.f)break; + if(firstf==hif)firstf=-1; + } } } { double va; - if(rna>3 && (last-first)*3/2>hi-lo){ - double denom=1./(na*x2a-xa*xa); - double a=(ya*x2a-xya*xa)*denom; - double b=(na*xya-xa*ya)*denom; - va=a+b*i; + if(rna>2 && (last-first)*3/2>hi-lo){ + double denom=1./(na*x2a-xa*xa); + double a=(ya*x2a-xya*xa)*denom; + double b=(na*xya-xa*ya)*denom; + va=a+b*i; }else{ - va=ya/na; + va=0.f; + if(na>.5)va=ya/na; } if(va<0.)va=0.; if(fixed>0){ - double vb; - if(rnb>3 && (lastf-firstf)*3/2>hif-lof){ - double denomf=1./(nb*x2b-xb*xb); - double af=(yb*x2b-xyb*xb)*denomf; - double bf=(nb*xyb-xb*yb)*denomf; - vb=af+bf*i; - }else{ - vb=yb/nb; - } + double vb; + + if(rnb>2 && (lastf-firstf)*3/2>hif-lof){ + double denomf=1./(nb*x2b-xb*xb); + double af=(yb*x2b-xyb*xb)*denomf; + double bf=(nb*xyb-xb*yb)*denomf; + vb=af+bf*i; + }else{ + vb=0.f; + if(nb>.5)vb=yb/nb; + } + + if(vb<0.)vb=0.; + if(va>vb && vb>0.)va=vb; - if(vb<0.)vb=0.; - if(va>vb)va=vb; } noise[i]=va; @@ -892,6 +942,7 @@ static void bark_noise_hybridmp(int n,const long *b, } } + void _vp_remove_floor(vorbis_look_psy *p, vorbis_look_psy_global *g, float *logmdct, @@ -926,13 +977,15 @@ void _vp_compute_mask(vorbis_look_psy *p, /* noise masking */ if(p->vi->noisemaskp){ +#if 1 float *work=alloca(n*sizeof(float)); bark_noise_pointmp(n,p->bark,logmdct,logmask, - p->vi->noisewindowfixed); + -1); for(i=0;i<n;i++)work[i]=logmdct[i]-logmask[i]; + _analysis_output("medianmdct",seq,work,n,1,0); bark_noise_hybridmp(n,p->bark,work,logmask, p->vi->noisewindowfixed); @@ -944,19 +997,18 @@ void _vp_compute_mask(vorbis_look_psy *p, _analysis_output("median",seq,work,n,1,0); _analysis_output("envelope",seq,logmask,n,1,0); - for(i=0;i<n;i++)logmask[i]= work[i]+ - p->noisethresh[i]*logmask[i]+ - p->noiseoffset[i]; - - /* suppress any noise curve > global_specmax+p->vi->noisemaxsupp */ - if(p->vi->noisemaxsupp<0.f) - for(i=0;i<n;i++) - if(logmask[i]>global_specmax+p->vi->noisemaxsupp) - logmask[i]=global_specmax+p->vi->noisemaxsupp; + p->noisethresh[i]*logmask[i]+p->noiseoffset[i]; + +#else + + bark_noise_median(n,p->bark,logmdct,logmask,p->noisethresh, + p->vi->noisewindowfixed,p->noiseoffset); +#endif _analysis_output("noise",seq,logmask,n,1,0); + }else{ for(i=0;i<n;i++)logmask[i]=NEGINF; } @@ -977,6 +1029,13 @@ void _vp_compute_mask(vorbis_look_psy *p, seed_loop(p,(const float ***)p->tonecurves,logfft,logmask,seed,global_specmax); max_seeds(p,g,channel,seed,logmask); + /* suppress any curve > p->vi->noisemaxsupp */ + if(p->vi->noisemaxsupp<0.f) + for(i=0;i<n;i++) + if(logmask[i]>p->vi->noisemaxsupp) + logmask[i]=p->vi->noisemaxsupp; + + /* doing this here is clean, but we need to find a faster way to do it than to just tack it on */ @@ -984,10 +1043,9 @@ void _vp_compute_mask(vorbis_look_psy *p, if(i==n) for(i=0;i<n;i++)logmask[i]=NEGINF; else - for(i=0;i<n;i++){ - logmask[i]+=p->vi->floor_masteratt; + for(i=0;i<n;i++) logfft[i]=max(logmdct[i],logfft[i]); - } + seq++; } @@ -11,7 +11,7 @@ ******************************************************************** function: random psychoacoustics (not including preecho) - last mod: $Id: psy.h,v 1.21.2.7 2001/08/08 04:19:58 xiphmont Exp $ + last mod: $Id: psy.h,v 1.21.2.8 2001/08/13 00:20:11 xiphmont Exp $ ********************************************************************/ @@ -66,17 +66,17 @@ typedef struct vorbis_info_psy{ float ath_adjatt; float ath_maxatt; - float floor_masteratt; /* 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 */ - int tonemaskp; float tone_masteratt; + float tone_maxatt; vp_attenblock *toneatt; int peakattp; + int curvelimitp; vp_attenblock *peakatt; int noisemaskp; diff --git a/lib/vorbisenc.c b/lib/vorbisenc.c index 6550c8e6..624a544c 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.7.2.2 2001/08/02 22:14:21 xiphmont Exp $ + last mod: $Id: vorbisenc.c,v 1.7.2.3 2001/08/13 00:20:11 xiphmont Exp $ ********************************************************************/ @@ -125,7 +125,7 @@ int vorbis_encode_init(vorbis_info *vi, /* copy a mode into our allocated storage */ bpch=nominal_bitrate/channels; - mode=&info_A; + mode=&info_44c_Z; #if 0 if(bpch<60000){ diff --git a/vq/make_residue_books.pl b/vq/make_residue_books.pl index e2c9f273..e76fd8ed 100755 --- a/vq/make_residue_books.pl +++ b/vq/make_residue_books.pl @@ -21,7 +21,7 @@ die "Could not open $ARGV[0]: $!" unless open (F,$ARGV[0]); $goflag=0; while($line=<F>){ - print "\n#### $line\n\n"; + print "#### $line"; if($line=~m/^GO/){ $goflag=1; next; @@ -30,7 +30,7 @@ while($line=<F>){ if($goflag==0){ if($line=~m/\S+/ && !($line=~m/^\#/) ){ my $command=$line; - print ">>> $command\n"; + print ">>> $command"; die "Couldn't shell command.\n\tcommand:$command\n" if syst($command); } @@ -49,7 +49,8 @@ while($line=<F>){ if($line=~m/^h(.*)/){ # build a huffman book (no mapping) my($name,$datafile,$arg)=split(' ',$1); - my $command="huffbuild $datafile $arg > $globalname$name.vqh"; + + my $command="huffbuild $datafile $arg"; print ">>> $command\n"; die "Couldn't build huffbook.\n\tcommand:$command\n" if syst($command); |