summaryrefslogtreecommitdiff
path: root/lib/books/res0_256_1024_3.vqh
blob: da960e465d10a960903fcaeb394a0c7c5e5d5e42 (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
100
101
102
103
104
105
106
107
/********************************************************************
 *                                                                  *
 * 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_3_VQH_
#define _V_res0_256_1024_3_VQH_
#include "codebook.h"

static long _vq_quantlist_res0_256_1024_3[] = {
	10,
	9,
	11,
	8,
	12,
	7,
	13,
	6,
	14,
	5,
	15,
	4,
	16,
	3,
	17,
	2,
	18,
	1,
	19,
	0,
	20,
};

static long _vq_lengthlist_res0_256_1024_3[] = {
	 3, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
	11,11,11,12,12, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,
	10,10,11,11,12,12,13,13,13,13, 4, 5, 5, 6, 6, 7,
	 7, 8, 8, 9, 9,10,10,11,11,12,12,13,13,13,13, 6,
	 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,11,12,12,13,13,
	14,14,15,15, 6, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,
	11,12,12,13,13,14,14,15,15, 7, 7, 7, 8, 8, 9, 9,
	11,10,11,11,12,12,14,13,15,15,16,15,16,16, 7, 7,
	 7, 8, 8, 9, 9,10,10,11,11,12,12,13,14,15,15,16,
	15,16,16, 8, 9, 9,10, 9,11,11,12,12,12,12,13,14,
	15,15,16,16,16,16,17,17, 8, 9, 9,10, 9,11,11,12,
	12,12,12,13,13,15,14,16,16,16,17,17,17, 8, 9, 9,
	10,10,11,11,12,12,13,13,15,15,16,16,16,17,17,17,
	17,17, 8, 9, 9,10,10,11,11,12,12,14,13,15,15,16,
	16,17,16,17,17,18,18, 9,10,10,11,11,12,12,13,14,
	15,15,16,15,17,17,17,18,18,17,18,18, 9,10,10,11,
	11,12,12,13,14,15,15,16,16,16,17,17,17,17,18,18,
	18,10,11,11,13,12,14,14,15,15,16,16,17,16,17,17,
	18,18,19,18,18,18,10,11,11,13,13,14,14,15,15,16,
	16,17,17,17,17,18,18,18,18,18,18,11,12,12,14,14,
	15,15,16,16,16,16,17,18,18,18,19,18,19,19,19,19,
	11,12,12,14,14,15,15,16,16,17,17,17,17,18,18,18,
	19,18,18,19,19,11,13,13,15,15,16,16,17,17,17,17,
	18,17,18,18,18,19,19,19,19,19,12,13,13,15,15,16,
	16,16,17,17,17,18,18,18,18,19,19,18,19,18,20,12,
	14,14,15,15,16,17,17,17,18,18,18,18,19,19,20,19,
	19,19,20,20,12,14,14,15,15,17,16,17,18,18,18,18,
	18,18,19,19,19,19,20,20,19,
};

static float _vq_quantthresh_res0_256_1024_3[] = {
	-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, 
};

static long _vq_quantmap_res0_256_1024_3[] = {
	   19,   17,   15,   13,   11,    9,    7,    5,
	    3,    1,    0,    2,    4,    6,    8,   10,
	   12,   14,   16,   18,   20,
};

static encode_aux_threshmatch _vq_auxt_res0_256_1024_3 = {
	_vq_quantthresh_res0_256_1024_3,
	_vq_quantmap_res0_256_1024_3,
	21,
	21
};

static static_codebook _vq_book_res0_256_1024_3 = {
	2, 441,
	_vq_lengthlist_res0_256_1024_3,
	1, -529268736, 1611661312, 5, 0,
	_vq_quantlist_res0_256_1024_3,
	NULL,
	&_vq_auxt_res0_256_1024_3,
	NULL,
	0
};


#endif