summaryrefslogtreecommitdiff
path: root/lib/books/res0_256_1024_1.vqh
blob: c1095998adeacc9aab97a31f9488aa20d55a545d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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_res0_256_1024_1_VQH_
#define _V_res0_256_1024_1_VQH_
#include "codebook.h"

static long _vq_quantlist_res0_256_1024_1[] = {
	2,
	1,
	3,
	0,
	4,
};

static long _vq_lengthlist_res0_256_1024_1[] = {
	 2, 4, 4, 8, 8, 5, 7, 7,10,10, 5, 7, 7,10,10, 9,
	10,10,12,13, 9,10,10,12,12, 5, 7, 7,10,10, 7, 8,
	 8,11,11, 7, 8, 8,11,11,10,11,11,13,13,10,11,11,
	13,14, 5, 7, 7,10,10, 7, 8, 8,11,11, 7, 8, 8,11,
	11,10,11,11,13,13,10,11,11,13,13, 9,10,10,13,13,
	10,12,11,14,13,10,12,11,14,14,13,14,14,15,16,13,
	14,14,15,15, 9,10,10,13,13,10,11,11,14,13,10,11,
	11,14,13,13,14,14,15,15,13,14,14,15,15, 5, 7, 7,
	10,10, 7, 8, 8,11,11, 7, 8, 8,11,11,10,11,11,13,
	13,10,11,11,13,13, 7, 9, 9,11,11, 9,10,10,12,12,
	 9,10,10,12,12,11,12,12,14,14,11,12,12,14,14, 7,
	 9, 9,11,11, 9,10,10,12,12, 9,10,10,12,12,11,12,
	12,15,14,12,12,12,14,14,11,12,12,14,14,12,12,12,
	14,15,12,12,12,14,14,14,14,14,16,16,14,14,14,16,
	16,10,12,12,14,14,11,12,12,15,14,12,12,13,14,14,
	14,14,14,16,15,14,15,15,16,16, 5, 7, 7,10,10, 7,
	 8, 8,11,11, 7, 8, 8,11,11,10,11,11,13,13,10,11,
	11,13,13, 7, 9, 8,11,11, 9,10,10,12,12, 9,10,10,
	12,12,12,12,12,14,14,11,12,12,14,14, 7, 8, 8,11,
	11, 9,10,10,12,12, 8,10,10,12,12,11,12,12,14,14,
	11,12,12,14,14,11,12,12,14,14,12,12,12,14,14,12,
	12,12,15,14,14,14,15,16,17,14,14,15,16,16,10,12,
	12,14,14,12,12,12,14,14,11,12,12,15,14,14,14,14,
	16,16,14,14,14,16,16, 9,11,11,13,13,10,12,12,14,
	14,10,12,12,14,14,13,14,14,15,16,13,14,14,16,15,
	10,12,12,14,14,12,12,13,15,14,12,13,12,15,14,14,
	14,15,16,16,14,15,15,16,16,10,12,12,14,14,12,13,
	12,15,14,12,12,12,14,15,14,15,14,16,16,14,15,15,
	16,16,13,14,14,16,15,14,14,14,16,17,14,15,15,16,
	16,15,16,16,17,18,16,16,16,17,17,13,14,14,16,16,
	14,14,14,17,16,14,15,15,16,16,16,16,16,18,17,16,
	17,17,18,18, 9,11,10,13,13,10,12,11,14,14,10,12,
	12,14,14,13,14,14,16,15,13,14,14,15,15,10,12,12,
	14,14,12,13,12,14,14,12,12,13,14,14,14,15,14,16,
	16,14,14,14,16,16,10,12,11,14,13,12,12,12,15,15,
	12,13,12,14,14,14,14,15,16,16,14,14,15,16,16,13,
	14,14,15,15,14,15,15,16,16,14,14,14,16,16,16,16,
	16,18,18,16,16,16,17,18,13,14,14,15,16,14,15,15,
	17,16,14,15,14,16,16,16,16,16,17,17,15,16,16,18,
	17,
};

static float _vq_quantthresh_res0_256_1024_1[] = {
	-1.5, -0.5, 0.5, 1.5, 
};

static long _vq_quantmap_res0_256_1024_1[] = {
	    3,    1,    0,    2,    4,
};

static encode_aux_threshmatch _vq_auxt_res0_256_1024_1 = {
	_vq_quantthresh_res0_256_1024_1,
	_vq_quantmap_res0_256_1024_1,
	5,
	5
};

static static_codebook _vq_book_res0_256_1024_1 = {
	4, 625,
	_vq_lengthlist_res0_256_1024_1,
	1, -533725184, 1611661312, 3, 0,
	_vq_quantlist_res0_256_1024_1,
	NULL,
	&_vq_auxt_res0_256_1024_1,
	NULL,
	0
};


#endif