diff options
author | Monty <xiphmont@xiph.org> | 2000-11-03 10:06:08 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-11-03 10:06:08 +0000 |
commit | b58f0d442954f98a58b384a7c8bdfc723b421b27 (patch) | |
tree | 694039082bb7b1cd9cc42300de38cbf36c539297 /lib/books/res0_1024a_160_2.vqh | |
parent | f9572aa5c9a74e1394e08b1282eb27d499f42257 (diff) | |
download | libvorbis-git-b58f0d442954f98a58b384a7c8bdfc723b421b27.tar.gz |
Hid all the formerly exposed modes and codebooks behind the
libvorbisenc API. Libvorbisenc now exists. Caveats:
It listens to bitrate_nominal, but only maps to one of the five modes
we had before for now. bitrate_max and min are ignored.
Bitrate is handled properly with differing channels, but not with
differing sample rate.
Monty
svn path=/branches/branch_beta3/vorbis/; revision=956
Diffstat (limited to 'lib/books/res0_1024a_160_2.vqh')
-rw-r--r-- | lib/books/res0_1024a_160_2.vqh | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/lib/books/res0_1024a_160_2.vqh b/lib/books/res0_1024a_160_2.vqh new file mode 100644 index 00000000..52d70eb6 --- /dev/null +++ b/lib/books/res0_1024a_160_2.vqh @@ -0,0 +1,63 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * + * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * + * PLEASE READ THESE TERMS DISTRIBUTING. * + * * + * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999 * + * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company * + * http://www.xiph.org/ * + * * + ******************************************************************** + + function: static codebook autogenerated by vq/somethingorother + + ********************************************************************/ + +#ifndef _V_res0_1024a_160_2_VQH_ +#define _V_res0_1024a_160_2_VQH_ +#include "vorbis/codebook.h" + +static long _vq_quantlist_res0_1024a_160_2[] = { + 1, + 2, + 0, +}; + +static long _vq_lengthlist_res0_1024a_160_2[] = { + 3, 4, 5, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 7, 7, 6, + 7, 8, 5, 6, 6, 6, 7, 7, 6, 7, 7, 5, 6, 6, 6, 8, + 8, 6, 7, 7, 6, 8, 7, 7, 9, 9, 8, 9, 9, 6, 8, 8, + 7, 9, 9, 8, 9, 9, 5, 6, 6, 6, 7, 7, 6, 8, 8, 6, + 8, 8, 8, 9, 9, 8, 9, 9, 6, 7, 8, 8, 9, 9, 7, 9, + 9, +}; + +static float _vq_quantthresh_res0_1024a_160_2[] = { + -0.5, 0.5, +}; + +static long _vq_quantmap_res0_1024a_160_2[] = { + 2, 0, 1, +}; + +static encode_aux_threshmatch _vq_auxt_res0_1024a_160_2 = { + _vq_quantthresh_res0_1024a_160_2, + _vq_quantmap_res0_1024a_160_2, + 3, + 3 +}; + +static static_codebook _vq_book_res0_1024a_160_2 = { + 4, 81, + _vq_lengthlist_res0_1024a_160_2, + 1, -535822336, 1611661312, 2, 0, + _vq_quantlist_res0_1024a_160_2, + NULL, + &_vq_auxt_res0_1024a_160_2, + NULL, +}; + + +#endif |