FFmpeg
vp4data.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Peter Ross
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /**
22  * @file
23  * VP4 video decoder
24  */
25 
26 #ifndef AVCODEC_VP4DATA_H
27 #define AVCODEC_VP4DATA_H
28 
29 #include <stdint.h>
30 
31 static const uint8_t vp4_generic_dequant[64] = {
32  16, 17, 18, 20, 22, 24, 26, 28,
33  17, 18, 20, 22, 24, 26, 28, 32,
34  18, 20, 22, 24, 26, 28, 32, 36,
35  20, 22, 24, 26, 28, 32, 36, 40,
36  22, 24, 26, 28, 32, 36, 40, 44,
37  24, 26, 28, 32, 36, 40, 44, 48,
38  26, 28, 32, 36, 40, 44, 48, 52,
39  28, 32, 36, 40, 44, 48, 52, 56
40 };
41 
42 static const uint8_t vp4_y_dc_scale_factor[64] = {
43  180, 180, 180, 180, 180, 180, 175, 170,
44  165, 160, 157, 155, 152, 150, 147, 145,
45  142, 140, 137, 135, 132, 130, 127, 125,
46  122, 120, 117, 115, 112, 110, 107, 105,
47  102, 100, 97, 95, 92, 90, 87, 85,
48  82, 80, 77, 75, 72, 70, 67, 65,
49  62, 60, 57, 55, 52, 50, 47, 45,
50  42, 40, 37, 35, 32, 30, 27, 25
51 };
52 
53 static const uint8_t vp4_uv_dc_scale_factor[64] = {
54  150, 150, 150, 150, 150, 150, 150, 150,
55  150, 150, 150, 150, 150, 150, 147, 145,
56  142, 140, 137, 135, 132, 130, 127, 125,
57  122, 120, 117, 115, 112, 110, 107, 105,
58  102, 100, 97, 95, 92, 90, 87, 85,
59  82, 80, 77, 75, 72, 70, 67, 65,
60  62, 60, 57, 55, 52, 50, 47, 45,
61  42, 40, 37, 35, 32, 30, 27, 25
62 };
63 
64 static const uint16_t vp4_ac_scale_factor[64] = {
65  500, 475, 450, 430, 410, 390, 370, 350,
66  330, 315, 300, 285, 270, 260, 250, 240,
67  230, 220, 210, 200, 190, 185, 180, 170,
68  160, 150, 143, 135, 128, 120, 113, 106,
69  100, 94, 90, 85, 80, 75, 70, 66,
70  62, 57, 52, 49, 45, 41, 38, 35,
71  33, 30, 27, 24, 22, 20, 18, 16,
72  14, 12, 10, 9, 7, 6, 4, 1
73 };
74 
75 static const uint8_t vp4_filter_limit_values[64] = {
76  30, 25, 20, 20, 15, 15, 14, 14,
77  13, 13, 12, 12, 11, 11, 10, 10,
78  9, 9, 8, 8, 7, 7, 7, 7,
79  6, 6, 6, 6, 5, 5, 5, 5,
80  4, 4, 4, 4, 3, 3, 3, 3,
81  2, 2, 2, 2, 2, 2, 2, 2,
82  2, 2, 2, 2, 2, 2, 2, 2,
83  1, 1, 1, 1, 1, 1, 1, 1
84 };
85 
87  0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1
88 };
89 
90 static const uint8_t vp4_block_pattern_vlc[2][14][2] = {
91  {
92  { 0x0, 3 }, { 0xf, 4 }, { 0x9, 4 }, { 0x2, 3 },
93  { 0xd, 4 }, { 0xe, 5 }, { 0xb, 4 }, { 0x1, 3 },
94  { 0xf, 5 }, { 0x8, 4 }, { 0x6, 4 }, { 0xe, 4 },
95  { 0xc, 4 }, { 0xa, 4 }
96  },
97  {
98  { 0x7, 4 }, { 0xa, 4 }, { 0x9, 4 }, { 0xc, 4 },
99  { 0x8, 4 }, { 0xd, 5 }, { 0x0, 3 }, { 0xe, 4 },
100  { 0xc, 5 }, { 0xd, 4 }, { 0x1, 3 }, { 0xb, 4 },
101  { 0xf, 4 }, { 0x2, 3 }
102  }
103 };
104 
105 static const uint8_t vp4_mv_table_selector[32] = {
106  0, 1, 2, 2, 3, 3, 3, 3,
107  4, 4, 4, 4, 4, 4, 4, 4,
108  5, 5, 5, 5, 5, 5, 5, 5,
109  6, 6, 6, 6, 6, 6, 6, 6,
110 };
111 
112 static const uint8_t vp4_mv_vlc[2][7][63][2] = {
113  { /* x-axis tables */
114  {
115  { 30, 2 }, { 36, 5 }, { 19, 8 }, { 55, 9 }, { 61, 9 },
116  { 4, 8 }, { 43, 8 }, { 22, 6 }, { 29, 4 }, { 50, 7 },
117  { 44, 7 }, { 35, 6 }, { 49, 8 }, { 17, 8 }, { 60, 8 },
118  { 7, 9 }, { 11, 9 }, { 27, 6 }, { 24, 6 }, { 38, 6 },
119  { 14, 7 }, { 6, 8 }, { 56, 8 }, { 47, 7 }, { 8, 8 },
120  { 59, 10 }, { 9, 10 }, { 57, 9 }, { 18, 7 }, { 42, 7 },
121  { 25, 7 }, { 21, 8 }, { 12, 8 }, { 48, 7 }, { 37, 7 },
122  { 10, 8 }, { 1, 9 }, { 5, 10 }, { 3, 10 }, { 16, 7 },
123  { 41, 8 }, { 54, 8 }, { 20, 7 }, { 26, 6 }, { 28, 5 },
124  { 32, 3 }, { 52, 8 }, { 51, 9 }, { 13, 9 }, { 15, 7 },
125  { 46, 7 }, { 39, 8 }, { 2, 9 }, { 45, 9 }, { 34, 5 },
126  { 40, 7 }, { 23, 8 }, { 58, 9 }, { 53, 9 }, { 0, 7 },
127  { 62, 7 }, { 33, 5 }, { 31, 3 },
128  },
129  {
130  { 29, 4 }, { 27, 6 }, { 54, 8 }, { 19, 8 }, { 53, 9 },
131  { 13, 9 }, { 60, 8 }, { 25, 7 }, { 6, 8 }, { 2, 8 },
132  { 11, 9 }, { 61, 9 }, { 8, 8 }, { 48, 7 }, { 28, 4 },
133  { 46, 7 }, { 16, 7 }, { 24, 6 }, { 40, 6 }, { 20, 7 },
134  { 62, 7 }, { 33, 3 }, { 36, 5 }, { 52, 8 }, { 41, 8 },
135  { 44, 7 }, { 10, 8 }, { 59, 10 }, { 7, 10 }, { 21, 9 },
136  { 18, 7 }, { 23, 8 }, { 12, 8 }, { 0, 7 }, { 5, 10 },
137  { 3, 10 }, { 17, 9 }, { 15, 8 }, { 37, 7 }, { 38, 6 },
138  { 49, 9 }, { 45, 9 }, { 14, 8 }, { 50, 8 }, { 47, 8 },
139  { 34, 4 }, { 35, 6 }, { 42, 7 }, { 55, 10 }, { 1, 10 },
140  { 43, 9 }, { 58, 9 }, { 9, 11 }, { 57, 11 }, { 51, 10 },
141  { 22, 7 }, { 39, 8 }, { 56, 9 }, { 4, 9 }, { 26, 6 },
142  { 30, 3 }, { 32, 3 }, { 31, 3 },
143  },
144  {
145  { 32, 2 }, { 35, 4 }, { 6, 8 }, { 12, 8 }, { 0, 7 },
146  { 20, 7 }, { 44, 7 }, { 29, 5 }, { 34, 3 }, { 37, 6 },
147  { 57, 9 }, { 10, 9 }, { 21, 8 }, { 39, 7 }, { 50, 8 },
148  { 47, 8 }, { 62, 7 }, { 26, 6 }, { 28, 5 }, { 7, 10 },
149  { 55, 10 }, { 49, 10 }, { 3, 10 }, { 17, 9 }, { 58, 9 },
150  { 15, 8 }, { 56, 9 }, { 45, 9 }, { 42, 7 }, { 54, 8 },
151  { 41, 8 }, { 33, 3 }, { 60, 9 }, { 43, 9 }, { 18, 8 },
152  { 22, 7 }, { 40, 7 }, { 48, 8 }, { 25, 8 }, { 36, 5 },
153  { 31, 4 }, { 30, 4 }, { 24, 7 }, { 51, 10 }, { 13, 11 },
154  { 59, 11 }, { 53, 10 }, { 1, 10 }, { 14, 8 }, { 19, 9 },
155  { 11, 10 }, { 9, 10 }, { 46, 8 }, { 8, 9 }, { 5, 10 },
156  { 61, 10 }, { 16, 8 }, { 27, 7 }, { 4, 9 }, { 2, 9 },
157  { 52, 9 }, { 23, 9 }, { 38, 6 },
158  },
159  {
160  { 10, 7 }, { 15, 7 }, { 0, 6 }, { 41, 6 }, { 22, 6 },
161  { 33, 4 }, { 31, 4 }, { 55, 8 }, { 19, 8 }, { 60, 7 },
162  { 56, 7 }, { 54, 7 }, { 28, 5 }, { 37, 4 }, { 16, 7 },
163  { 50, 7 }, { 44, 6 }, { 14, 7 }, { 7, 9 }, { 3, 9 },
164  { 59, 9 }, { 13, 9 }, { 24, 6 }, { 46, 6 }, { 47, 7 },
165  { 4, 8 }, { 2, 8 }, { 39, 5 }, { 30, 4 }, { 35, 4 },
166  { 61, 9 }, { 53, 9 }, { 21, 8 }, { 52, 7 }, { 43, 7 },
167  { 18, 7 }, { 9, 9 }, { 11, 9 }, { 6, 8 }, { 25, 7 },
168  { 17, 9 }, { 5, 9 }, { 23, 8 }, { 12, 8 }, { 58, 8 },
169  { 38, 4 }, { 32, 4 }, { 20, 7 }, { 45, 8 }, { 8, 8 },
170  { 26, 6 }, { 40, 5 }, { 36, 4 }, { 27, 7 }, { 57, 9 },
171  { 51, 9 }, { 49, 9 }, { 1, 9 }, { 48, 7 }, { 62, 7 },
172  { 29, 6 }, { 42, 6 }, { 34, 4 },
173  },
174  {
175  { 37, 5 }, { 62, 5 }, { 28, 5 }, { 4, 7 }, { 19, 8 },
176  { 13, 8 }, { 51, 7 }, { 8, 7 }, { 43, 5 }, { 54, 6 },
177  { 22, 6 }, { 42, 4 }, { 25, 7 }, { 9, 8 }, { 2, 8 },
178  { 6, 7 }, { 10, 7 }, { 48, 5 }, { 29, 6 }, { 12, 7 },
179  { 60, 7 }, { 41, 5 }, { 38, 4 }, { 40, 4 }, { 39, 5 },
180  { 3, 9 }, { 7, 9 }, { 17, 8 }, { 15, 7 }, { 0, 6 },
181  { 52, 6 }, { 24, 6 }, { 57, 8 }, { 55, 8 }, { 27, 7 },
182  { 33, 6 }, { 35, 6 }, { 26, 6 }, { 53, 8 }, { 59, 9 },
183  { 5, 9 }, { 49, 7 }, { 47, 6 }, { 45, 6 }, { 56, 7 },
184  { 21, 8 }, { 61, 8 }, { 31, 5 }, { 34, 5 }, { 46, 5 },
185  { 30, 5 }, { 18, 7 }, { 58, 7 }, { 16, 7 }, { 20, 7 },
186  { 50, 6 }, { 1, 9 }, { 11, 9 }, { 23, 8 }, { 14, 7 },
187  { 44, 5 }, { 32, 5 }, { 36, 5 },
188  },
189  {
190  { 50, 4 }, { 56, 5 }, { 22, 6 }, { 27, 7 }, { 10, 7 },
191  { 46, 4 }, { 20, 6 }, { 43, 6 }, { 18, 6 }, { 8, 7 },
192  { 11, 8 }, { 7, 8 }, { 38, 5 }, { 40, 5 }, { 48, 4 },
193  { 16, 6 }, { 24, 6 }, { 28, 6 }, { 57, 7 }, { 6, 7 },
194  { 31, 5 }, { 30, 5 }, { 54, 5 }, { 60, 6 }, { 58, 6 },
195  { 42, 5 }, { 53, 6 }, { 26, 6 }, { 32, 5 }, { 44, 5 },
196  { 17, 8 }, { 1, 8 }, { 59, 8 }, { 19, 8 }, { 45, 6 },
197  { 62, 5 }, { 37, 7 }, { 14, 7 }, { 5, 9 }, { 9, 9 },
198  { 4, 8 }, { 29, 7 }, { 52, 5 }, { 51, 6 }, { 12, 7 },
199  { 35, 7 }, { 34, 6 }, { 23, 8 }, { 2, 8 }, { 25, 8 },
200  { 21, 8 }, { 47, 5 }, { 39, 7 }, { 55, 7 }, { 49, 6 },
201  { 41, 7 }, { 15, 7 }, { 0, 6 }, { 33, 7 }, { 61, 8 },
202  { 3, 9 }, { 13, 9 }, { 36, 6 },
203  },
204  {
205  { 47, 5 }, { 14, 6 }, { 53, 6 }, { 43, 7 }, { 5, 8 },
206  { 23, 8 }, { 37, 6 }, { 50, 5 }, { 24, 6 }, { 27, 7 },
207  { 35, 7 }, { 31, 5 }, { 16, 6 }, { 22, 6 }, { 41, 7 },
208  { 12, 7 }, { 57, 6 }, { 62, 3 }, { 48, 5 }, { 30, 5 },
209  { 52, 5 }, { 55, 6 }, { 2, 7 }, { 33, 7 }, { 46, 5 },
210  { 61, 6 }, { 59, 6 }, { 32, 5 }, { 4, 7 }, { 21, 8 },
211  { 19, 8 }, { 49, 7 }, { 29, 7 }, { 54, 5 }, { 0, 5 },
212  { 26, 6 }, { 39, 7 }, { 7, 8 }, { 3, 9 }, { 13, 9 },
213  { 45, 7 }, { 6, 7 }, { 38, 6 }, { 58, 5 }, { 34, 6 },
214  { 28, 6 }, { 18, 7 }, { 10, 7 }, { 51, 7 }, { 15, 7 },
215  { 44, 6 }, { 17, 8 }, { 1, 8 }, { 8, 7 }, { 56, 5 },
216  { 42, 6 }, { 36, 6 }, { 60, 5 }, { 11, 9 }, { 9, 9 },
217  { 25, 8 }, { 20, 7 }, { 40, 6 },
218  },
219  },
220  { /* y-axis tables */
221  {
222  { 32, 2 }, { 31, 2 }, { 48, 7 }, { 4, 8 }, { 12, 8 },
223  { 44, 7 }, { 10, 8 }, { 23, 8 }, { 20, 7 }, { 11, 9 },
224  { 51, 9 }, { 41, 8 }, { 46, 7 }, { 6, 8 }, { 52, 8 },
225  { 42, 7 }, { 3, 9 }, { 57, 10 }, { 7, 10 }, { 50, 8 },
226  { 38, 6 }, { 26, 6 }, { 8, 8 }, { 49, 9 }, { 17, 9 },
227  { 15, 7 }, { 62, 7 }, { 22, 7 }, { 0, 7 }, { 1, 9 },
228  { 61, 9 }, { 45, 9 }, { 5, 10 }, { 55, 10 }, { 29, 5 },
229  { 28, 5 }, { 54, 9 }, { 43, 9 }, { 19, 9 }, { 21, 9 },
230  { 25, 8 }, { 39, 8 }, { 27, 7 }, { 24, 7 }, { 30, 3 },
231  { 33, 5 }, { 60, 9 }, { 56, 9 }, { 59, 10 }, { 13, 10 },
232  { 58, 9 }, { 35, 7 }, { 36, 6 }, { 34, 5 }, { 40, 7 },
233  { 14, 8 }, { 16, 8 }, { 18, 8 }, { 2, 9 }, { 53, 10 },
234  { 9, 10 }, { 47, 8 }, { 37, 8 },
235  },
236  {
237  { 31, 2 }, { 32, 2 }, { 29, 5 }, { 17, 9 }, { 11, 10 },
238  { 1, 10 }, { 39, 8 }, { 27, 7 }, { 35, 6 }, { 22, 7 },
239  { 23, 8 }, { 56, 9 }, { 45, 9 }, { 51, 11 }, { 5, 11 },
240  { 13, 10 }, { 60, 9 }, { 14, 8 }, { 12, 8 }, { 21, 9 },
241  { 4, 9 }, { 25, 8 }, { 58, 9 }, { 8, 9 }, { 18, 8 },
242  { 2, 9 }, { 54, 9 }, { 26, 6 }, { 30, 3 }, { 34, 4 },
243  { 28, 5 }, { 19, 10 }, { 57, 11 }, { 59, 11 }, { 52, 9 },
244  { 48, 8 }, { 16, 8 }, { 46, 8 }, { 10, 9 }, { 61, 10 },
245  { 53, 11 }, { 49, 11 }, { 20, 8 }, { 0, 8 }, { 41, 9 },
246  { 50, 9 }, { 33, 4 }, { 24, 7 }, { 62, 8 }, { 44, 8 },
247  { 37, 8 }, { 47, 9 }, { 7, 11 }, { 55, 11 }, { 6, 10 },
248  { 40, 7 }, { 15, 9 }, { 9, 11 }, { 3, 11 }, { 43, 10 },
249  { 42, 8 }, { 38, 7 }, { 36, 6 },
250  },
251  {
252  { 31, 3 }, { 16, 7 }, { 61, 9 }, { 17, 9 }, { 23, 8 },
253  { 18, 7 }, { 10, 8 }, { 9, 9 }, { 3, 10 }, { 59, 10 },
254  { 48, 7 }, { 54, 8 }, { 43, 8 }, { 0, 7 }, { 13, 9 },
255  { 5, 10 }, { 55, 10 }, { 15, 8 }, { 35, 4 }, { 38, 5 },
256  { 20, 7 }, { 39, 7 }, { 62, 7 }, { 1, 9 }, { 58, 9 },
257  { 41, 8 }, { 36, 4 }, { 34, 3 }, { 37, 6 }, { 8, 8 },
258  { 52, 8 }, { 46, 7 }, { 28, 5 }, { 26, 6 }, { 50, 8 },
259  { 49, 10 }, { 57, 10 }, { 4, 9 }, { 27, 7 }, { 40, 6 },
260  { 44, 7 }, { 2, 9 }, { 21, 9 }, { 47, 8 }, { 33, 3 },
261  { 12, 9 }, { 6, 9 }, { 14, 8 }, { 42, 7 }, { 51, 10 },
262  { 53, 10 }, { 19, 9 }, { 45, 9 }, { 11, 10 }, { 7, 10 },
263  { 25, 8 }, { 60, 9 }, { 56, 9 }, { 29, 6 }, { 22, 7 },
264  { 24, 7 }, { 30, 4 }, { 32, 3 },
265  },
266  {
267  { 39, 5 }, { 48, 6 }, { 13, 9 }, { 11, 9 }, { 2, 8 },
268  { 43, 7 }, { 28, 5 }, { 25, 7 }, { 27, 7 }, { 46, 6 },
269  { 34, 3 }, { 36, 3 }, { 30, 4 }, { 37, 4 }, { 16, 7 },
270  { 47, 7 }, { 7, 10 }, { 9, 10 }, { 5, 9 }, { 12, 8 },
271  { 52, 7 }, { 10, 8 }, { 4, 8 }, { 18, 7 }, { 55, 9 },
272  { 17, 9 }, { 58, 8 }, { 50, 7 }, { 44, 6 }, { 23, 8 },
273  { 1, 9 }, { 53, 9 }, { 20, 7 }, { 29, 6 }, { 26, 6 },
274  { 35, 4 }, { 38, 4 }, { 45, 8 }, { 60, 8 }, { 0, 7 },
275  { 22, 7 }, { 56, 8 }, { 6, 9 }, { 49, 9 }, { 42, 6 },
276  { 62, 7 }, { 15, 8 }, { 54, 8 }, { 32, 4 }, { 40, 5 },
277  { 14, 8 }, { 19, 9 }, { 8, 9 }, { 24, 7 }, { 41, 7 },
278  { 51, 9 }, { 21, 9 }, { 57, 10 }, { 3, 10 }, { 61, 10 },
279  { 59, 10 }, { 31, 5 }, { 33, 5 },
280  },
281  {
282  { 34, 4 }, { 52, 6 }, { 29, 6 }, { 22, 6 }, { 0, 6 },
283  { 32, 4 }, { 42, 4 }, { 37, 5 }, { 49, 7 }, { 12, 7 },
284  { 10, 7 }, { 21, 8 }, { 3, 9 }, { 59, 9 }, { 36, 4 },
285  { 48, 5 }, { 41, 5 }, { 24, 6 }, { 58, 7 }, { 60, 7 },
286  { 50, 6 }, { 18, 7 }, { 14, 7 }, { 38, 4 }, { 40, 4 },
287  { 2, 8 }, { 6, 8 }, { 27, 7 }, { 56, 7 }, { 11, 9 },
288  { 1, 9 }, { 53, 8 }, { 54, 7 }, { 23, 8 }, { 8, 8 },
289  { 47, 6 }, { 39, 5 }, { 45, 6 }, { 43, 6 }, { 31, 5 },
290  { 26, 6 }, { 16, 7 }, { 13, 9 }, { 57, 9 }, { 4, 8 },
291  { 46, 5 }, { 35, 6 }, { 62, 6 }, { 51, 8 }, { 15, 8 },
292  { 19, 9 }, { 9, 9 }, { 61, 9 }, { 55, 9 }, { 20, 7 },
293  { 25, 8 }, { 5, 10 }, { 7, 10 }, { 17, 9 }, { 33, 6 },
294  { 28, 6 }, { 44, 5 }, { 30, 5 },
295  },
296  {
297  { 53, 6 }, { 22, 6 }, { 54, 5 }, { 32, 4 }, { 48, 4 },
298  { 29, 6 }, { 57, 7 }, { 11, 8 }, { 17, 8 }, { 9, 8 },
299  { 1, 8 }, { 55, 7 }, { 12, 7 }, { 18, 7 }, { 60, 6 },
300  { 45, 6 }, { 4, 7 }, { 2, 7 }, { 20, 6 }, { 38, 5 },
301  { 16, 6 }, { 19, 8 }, { 59, 8 }, { 6, 7 }, { 36, 5 },
302  { 52, 5 }, { 39, 6 }, { 58, 6 }, { 42, 5 }, { 33, 6 },
303  { 24, 6 }, { 25, 7 }, { 7, 9 }, { 3, 9 }, { 21, 8 },
304  { 56, 6 }, { 40, 5 }, { 62, 5 }, { 44, 5 }, { 0, 6 },
305  { 26, 6 }, { 34, 5 }, { 47, 5 }, { 51, 6 }, { 49, 6 },
306  { 31, 5 }, { 15, 7 }, { 41, 7 }, { 43, 7 }, { 27, 7 },
307  { 50, 5 }, { 30, 5 }, { 37, 7 }, { 8, 7 }, { 28, 6 },
308  { 46, 5 }, { 35, 7 }, { 61, 8 }, { 23, 8 }, { 10, 8 },
309  { 5, 9 }, { 13, 9 }, { 14, 7 },
310  },
311  {
312  { 62, 3 }, { 25, 7 }, { 3, 8 }, { 19, 8 }, { 59, 6 },
313  { 29, 6 }, { 22, 6 }, { 14, 6 }, { 4, 7 }, { 23, 7 },
314  { 48, 5 }, { 60, 5 }, { 61, 6 }, { 1, 7 }, { 39, 7 },
315  { 46, 5 }, { 52, 5 }, { 40, 5 }, { 34, 5 }, { 58, 5 },
316  { 21, 8 }, { 13, 8 }, { 49, 7 }, { 16, 6 }, { 12, 7 },
317  { 2, 7 }, { 47, 6 }, { 56, 5 }, { 0, 5 }, { 6, 7 },
318  { 45, 7 }, { 55, 6 }, { 54, 5 }, { 9, 8 }, { 5, 8 },
319  { 15, 7 }, { 33, 6 }, { 10, 7 }, { 53, 7 }, { 24, 6 },
320  { 8, 7 }, { 37, 7 }, { 43, 7 }, { 20, 7 }, { 44, 6 },
321  { 36, 6 }, { 28, 6 }, { 42, 6 }, { 30, 5 }, { 17, 8 },
322  { 7, 9 }, { 11, 9 }, { 27, 7 }, { 26, 6 }, { 38, 6 },
323  { 50, 6 }, { 51, 8 }, { 41, 8 }, { 57, 7 }, { 18, 7 },
324  { 35, 7 }, { 31, 5 }, { 32, 5 },
325  },
326  }
327 };
328 
329 static const uint8_t vp4_bias[5 * 16][32][2] = {
330  { /* DC bias table 0 */
331  { 20, 3 }, { 12, 4 }, { 14, 4 }, { 19, 3 }, { 0, 5 }, { 23, 6 },
332  { 30, 7 }, { 31, 8 }, { 25, 8 }, { 17, 4 }, { 22, 4 }, { 13, 4 },
333  { 21, 4 }, { 9, 4 }, { 16, 5 }, { 11, 5 }, { 18, 4 }, { 1, 7 },
334  { 7, 7 }, { 29, 10 }, { 4, 10 }, { 28, 10 }, { 26, 12 }, { 8, 14 },
335  { 6, 14 }, { 5, 13 }, { 27, 11 }, { 2, 9 }, { 3, 9 }, { 24, 7 },
336  { 15, 5 }, { 10, 4 },
337  },
338  { /* DC bias table 1 */
339  { 19, 3 }, { 11, 4 }, { 21, 4 }, { 10, 3 }, { 12, 4 }, { 14, 4 },
340  { 3, 7 }, { 6, 11 }, { 8, 12 }, { 29, 12 }, { 26, 11 }, { 5, 11 },
341  { 4, 9 }, { 2, 8 }, { 24, 6 }, { 0, 5 }, { 17, 4 }, { 13, 4 },
342  { 23, 6 }, { 27, 10 }, { 28, 10 }, { 25, 9 }, { 31, 8 }, { 30, 7 },
343  { 16, 5 }, { 20, 4 }, { 18, 4 }, { 9, 4 }, { 22, 6 }, { 1, 7 },
344  { 7, 7 }, { 15, 5 },
345  },
346  { /* DC bias table 2 */
347  { 9, 3 }, { 15, 4 }, { 11, 4 }, { 1, 6 }, { 3, 7 }, { 22, 7 },
348  { 21, 5 }, { 14, 4 }, { 10, 3 }, { 17, 4 }, { 12, 4 }, { 20, 4 },
349  { 24, 6 }, { 5, 10 }, { 28, 10 }, { 6, 12 }, { 8, 13 }, { 29, 13 },
350  { 26, 11 }, { 27, 10 }, { 4, 9 }, { 25, 9 }, { 2, 8 }, { 31, 8 },
351  { 0, 5 }, { 13, 4 }, { 18, 4 }, { 16, 5 }, { 23, 6 }, { 30, 7 },
352  { 7, 7 }, { 19, 4 },
353  },
354  { /* DC bias table 3 */
355  { 15, 4 }, { 20, 4 }, { 9, 3 }, { 30, 6 }, { 31, 7 }, { 4, 8 },
356  { 27, 9 }, { 22, 9 }, { 7, 6 }, { 1, 6 }, { 11, 4 }, { 17, 4 },
357  { 14, 4 }, { 10, 3 }, { 12, 4 }, { 21, 6 }, { 24, 6 }, { 16, 5 },
358  { 19, 4 }, { 18, 4 }, { 13, 4 }, { 0, 5 }, { 3, 7 }, { 25, 9 },
359  { 8, 13 }, { 29, 13 }, { 6, 12 }, { 26, 11 }, { 5, 11 }, { 28, 11 },
360  { 2, 8 }, { 23, 6 },
361  },
362  { /* DC bias table 4 */
363  { 15, 4 }, { 0, 4 }, { 30, 6 }, { 2, 7 }, { 29, 12 }, { 8, 12 },
364  { 22, 11 }, { 26, 10 }, { 27, 9 }, { 4, 8 }, { 23, 5 }, { 17, 4 },
365  { 9, 3 }, { 19, 4 }, { 11, 4 }, { 14, 4 }, { 18, 4 }, { 20, 5 },
366  { 21, 7 }, { 3, 7 }, { 1, 6 }, { 12, 4 }, { 10, 3 }, { 16, 5 },
367  { 24, 6 }, { 5, 10 }, { 6, 11 }, { 28, 11 }, { 25, 9 }, { 31, 8 },
368  { 7, 7 }, { 13, 4 },
369  },
370  { /* DC bias table 5 */
371  { 15, 4 }, { 20, 5 }, { 23, 5 }, { 19, 4 }, { 17, 4 }, { 0, 4 },
372  { 18, 4 }, { 14, 4 }, { 30, 6 }, { 31, 7 }, { 28, 10 }, { 26, 10 },
373  { 27, 9 }, { 21, 8 }, { 16, 5 }, { 9, 3 }, { 11, 4 }, { 12, 4 },
374  { 2, 7 }, { 4, 8 }, { 22, 12 }, { 8, 13 }, { 29, 13 }, { 6, 11 },
375  { 5, 10 }, { 25, 9 }, { 24, 6 }, { 7, 7 }, { 3, 7 }, { 1, 6 },
376  { 13, 4 }, { 10, 3 },
377  },
378  { /* DC bias table 6 */
379  { 13, 3 }, { 17, 4 }, { 23, 5 }, { 20, 6 }, { 4, 7 }, { 31, 7 },
380  { 18, 4 }, { 1, 5 }, { 3, 6 }, { 24, 6 }, { 14, 4 }, { 11, 4 },
381  { 0, 4 }, { 16, 5 }, { 19, 5 }, { 9, 3 }, { 12, 4 }, { 7, 7 },
382  { 27, 9 }, { 8, 12 }, { 29, 13 }, { 22, 13 }, { 28, 11 }, { 21, 10 },
383  { 25, 9 }, { 5, 10 }, { 26, 11 }, { 6, 11 }, { 2, 7 }, { 30, 7 },
384  { 15, 5 }, { 10, 3 },
385  },
386  { /* DC bias table 7 */
387  { 10, 2 }, { 15, 4 }, { 19, 5 }, { 24, 6 }, { 2, 6 }, { 14, 4 },
388  { 16, 5 }, { 1, 5 }, { 11, 4 }, { 30, 7 }, { 25, 9 }, { 21, 11 },
389  { 8, 12 }, { 22, 13 }, { 29, 13 }, { 6, 10 }, { 7, 8 }, { 3, 6 },
390  { 23, 6 }, { 5, 9 }, { 28, 11 }, { 26, 11 }, { 27, 10 }, { 31, 8 },
391  { 20, 8 }, { 4, 8 }, { 9, 3 }, { 18, 5 }, { 17, 5 }, { 12, 4 },
392  { 0, 4 }, { 13, 4 },
393  },
394  { /* DC bias table 8 */
395  { 15, 5 }, { 19, 5 }, { 17, 5 }, { 8, 6 }, { 26, 6 }, { 24, 4 },
396  { 18, 5 }, { 6, 10 }, { 5, 10 }, { 4, 9 }, { 22, 8 }, { 7, 7 },
397  { 3, 7 }, { 21, 7 }, { 0, 4 }, { 12, 4 }, { 13, 4 }, { 11, 4 },
398  { 25, 5 }, { 30, 6 }, { 20, 6 }, { 23, 4 }, { 2, 7 }, { 31, 7 },
399  { 16, 6 }, { 14, 5 }, { 1, 6 }, { 27, 6 }, { 29, 6 }, { 28, 6 },
400  { 10, 3 }, { 9, 3 },
401  },
402  { /* DC bias table 9 */
403  { 30, 6 }, { 26, 6 }, { 19, 5 }, { 24, 4 }, { 25, 5 }, { 15, 5 },
404  { 17, 5 }, { 31, 7 }, { 21, 7 }, { 20, 6 }, { 23, 4 }, { 18, 5 },
405  { 28, 5 }, { 12, 4 }, { 13, 4 }, { 0, 4 }, { 11, 4 }, { 3, 7 },
406  { 2, 7 }, { 29, 6 }, { 27, 6 }, { 16, 6 }, { 14, 5 }, { 8, 7 },
407  { 7, 8 }, { 6, 11 }, { 5, 11 }, { 4, 10 }, { 22, 9 }, { 1, 6 },
408  { 10, 3 }, { 9, 3 },
409  },
410  { /* DC bias table 10 */
411  { 9, 2 }, { 15, 5 }, { 26, 6 }, { 29, 6 }, { 17, 5 }, { 18, 5 },
412  { 13, 4 }, { 12, 4 }, { 11, 4 }, { 20, 6 }, { 27, 6 }, { 8, 7 },
413  { 7, 8 }, { 6, 11 }, { 5, 11 }, { 4, 10 }, { 22, 9 }, { 3, 7 },
414  { 30, 7 }, { 0, 4 }, { 14, 5 }, { 16, 6 }, { 28, 6 }, { 10, 3 },
415  { 24, 5 }, { 2, 7 }, { 31, 8 }, { 21, 8 }, { 25, 6 }, { 1, 6 },
416  { 19, 6 }, { 23, 5 },
417  },
418  { /* DC bias table 11 */
419  { 17, 5 }, { 6, 10 }, { 5, 10 }, { 22, 9 }, { 4, 8 }, { 31, 7 },
420  { 2, 6 }, { 15, 5 }, { 18, 5 }, { 24, 4 }, { 25, 5 }, { 28, 5 },
421  { 13, 4 }, { 1, 5 }, { 3, 6 }, { 26, 6 }, { 12, 4 }, { 11, 4 },
422  { 23, 4 }, { 29, 6 }, { 16, 6 }, { 14, 5 }, { 0, 4 }, { 8, 7 },
423  { 21, 8 }, { 7, 8 }, { 19, 6 }, { 30, 7 }, { 20, 7 }, { 27, 6 },
424  { 10, 3 }, { 9, 3 },
425  },
426  { /* DC bias table 12 */
427  { 9, 2 }, { 31, 7 }, { 4, 7 }, { 26, 6 }, { 28, 5 }, { 12, 4 },
428  { 11, 4 }, { 19, 6 }, { 16, 6 }, { 8, 7 }, { 20, 7 }, { 2, 6 },
429  { 23, 4 }, { 14, 5 }, { 1, 5 }, { 29, 6 }, { 7, 8 }, { 6, 11 },
430  { 22, 11 }, { 5, 10 }, { 21, 9 }, { 30, 7 }, { 27, 6 }, { 17, 6 },
431  { 0, 4 }, { 18, 6 }, { 3, 6 }, { 15, 6 }, { 25, 6 }, { 24, 5 },
432  { 13, 5 }, { 10, 3 },
433  },
434  { /* DC bias table 13 */
435  { 9, 2 }, { 13, 4 }, { 12, 4 }, { 11, 4 }, { 26, 6 }, { 16, 6 },
436  { 14, 5 }, { 23, 4 }, { 8, 7 }, { 7, 8 }, { 31, 8 }, { 29, 6 },
437  { 30, 7 }, { 4, 7 }, { 18, 6 }, { 17, 6 }, { 2, 6 }, { 1, 5 },
438  { 27, 6 }, { 25, 6 }, { 15, 6 }, { 6, 11 }, { 22, 11 }, { 5, 10 },
439  { 21, 9 }, { 20, 8 }, { 19, 7 }, { 10, 3 }, { 0, 4 }, { 24, 5 },
440  { 28, 6 }, { 3, 6 },
441  },
442  { /* DC bias table 14 */
443  { 9, 2 }, { 13, 4 }, { 23, 4 }, { 12, 4 }, { 11, 4 }, { 29, 6 },
444  { 4, 6 }, { 14, 5 }, { 18, 6 }, { 17, 6 }, { 3, 5 }, { 27, 6 },
445  { 25, 6 }, { 15, 6 }, { 31, 8 }, { 5, 8 }, { 19, 7 }, { 24, 5 },
446  { 1, 5 }, { 0, 4 }, { 28, 6 }, { 2, 6 }, { 20, 8 }, { 8, 8 },
447  { 26, 7 }, { 16, 7 }, { 22, 11 }, { 6, 11 }, { 21, 10 }, { 7, 9 },
448  { 30, 8 }, { 10, 3 },
449  },
450  { /* DC bias table 15 */
451  { 0, 3 }, { 13, 4 }, { 2, 5 }, { 18, 6 }, { 26, 7 }, { 29, 7 },
452  { 9, 2 }, { 14, 5 }, { 23, 5 }, { 12, 4 }, { 11, 4 }, { 17, 6 },
453  { 5, 7 }, { 30, 8 }, { 22, 11 }, { 21, 11 }, { 7, 10 }, { 31, 9 },
454  { 15, 6 }, { 19, 7 }, { 25, 7 }, { 4, 6 }, { 20, 8 }, { 6, 9 },
455  { 8, 9 }, { 27, 7 }, { 3, 5 }, { 1, 5 }, { 24, 6 }, { 16, 7 },
456  { 28, 7 }, { 10, 3 },
457  },
458  { /* AC bias group 1, table 0 */
459  { 9, 3 }, { 15, 4 }, { 0, 5 }, { 25, 6 }, { 1, 7 }, { 27, 7 },
460  { 23, 4 }, { 17, 4 }, { 11, 4 }, { 12, 4 }, { 14, 4 }, { 30, 5 },
461  { 26, 7 }, { 28, 7 }, { 21, 6 }, { 19, 4 }, { 18, 4 }, { 7, 5 },
462  { 16, 5 }, { 13, 4 }, { 24, 6 }, { 31, 7 }, { 2, 9 }, { 4, 11 },
463  { 6, 13 }, { 5, 13 }, { 8, 12 }, { 29, 10 }, { 3, 9 }, { 22, 9 },
464  { 20, 5 }, { 10, 4 },
465  },
466  { /* AC bias group 1, table 1 */
467  { 9, 3 }, { 15, 4 }, { 17, 4 }, { 21, 6 }, { 25, 6 }, { 0, 5 },
468  { 19, 4 }, { 23, 4 }, { 12, 4 }, { 11, 4 }, { 2, 8 }, { 3, 8 },
469  { 27, 7 }, { 26, 7 }, { 1, 7 }, { 30, 5 }, { 18, 4 }, { 14, 4 },
470  { 20, 5 }, { 7, 5 }, { 13, 4 }, { 16, 5 }, { 22, 9 }, { 6, 13 },
471  { 5, 13 }, { 8, 12 }, { 4, 11 }, { 29, 10 }, { 28, 8 }, { 31, 7 },
472  { 24, 6 }, { 10, 4 },
473  },
474  { /* AC bias group 1, table 2 */
475  { 17, 4 }, { 24, 5 }, { 31, 6 }, { 29, 9 }, { 8, 11 }, { 5, 12 },
476  { 6, 13 }, { 22, 13 }, { 4, 10 }, { 2, 8 }, { 28, 7 }, { 10, 3 },
477  { 9, 3 }, { 18, 4 }, { 11, 4 }, { 12, 4 }, { 14, 4 }, { 23, 4 },
478  { 25, 6 }, { 27, 7 }, { 26, 7 }, { 30, 5 }, { 16, 5 }, { 0, 5 },
479  { 13, 4 }, { 7, 5 }, { 1, 7 }, { 3, 8 }, { 21, 8 }, { 20, 6 },
480  { 19, 5 }, { 15, 5 },
481  },
482  { /* AC bias group 1, table 3 */
483  { 17, 4 }, { 18, 4 }, { 10, 3 }, { 9, 3 }, { 21, 8 }, { 29, 9 },
484  { 8, 11 }, { 22, 13 }, { 6, 13 }, { 5, 12 }, { 4, 10 }, { 28, 7 },
485  { 31, 6 }, { 24, 5 }, { 11, 4 }, { 12, 4 }, { 14, 4 }, { 16, 5 },
486  { 20, 6 }, { 27, 7 }, { 2, 8 }, { 3, 8 }, { 23, 4 }, { 30, 5 },
487  { 19, 5 }, { 7, 5 }, { 25, 6 }, { 26, 7 }, { 1, 7 }, { 13, 4 },
488  { 0, 5 }, { 15, 5 },
489  },
490  { /* AC bias group 1, table 4 */
491  { 25, 5 }, { 4, 8 }, { 21, 10 }, { 8, 11 }, { 22, 13 }, { 6, 13 },
492  { 5, 12 }, { 29, 9 }, { 2, 7 }, { 26, 6 }, { 0, 4 }, { 19, 5 },
493  { 28, 7 }, { 3, 7 }, { 31, 6 }, { 24, 5 }, { 16, 5 }, { 10, 3 },
494  { 9, 3 }, { 14, 4 }, { 11, 4 }, { 12, 4 }, { 1, 6 }, { 20, 7 },
495  { 27, 7 }, { 7, 5 }, { 23, 4 }, { 30, 5 }, { 18, 5 }, { 13, 4 },
496  { 17, 5 }, { 15, 5 },
497  },
498  { /* AC bias group 1, table 5 */
499  { 1, 5 }, { 27, 6 }, { 19, 6 }, { 25, 5 }, { 16, 5 }, { 18, 5 },
500  { 26, 6 }, { 28, 7 }, { 2, 7 }, { 14, 4 }, { 0, 4 }, { 17, 5 },
501  { 24, 5 }, { 10, 3 }, { 9, 3 }, { 11, 4 }, { 12, 4 }, { 31, 6 },
502  { 5, 10 }, { 6, 12 }, { 22, 13 }, { 21, 13 }, { 8, 11 }, { 29, 9 },
503  { 20, 9 }, { 4, 9 }, { 3, 7 }, { 7, 5 }, { 13, 4 }, { 15, 5 },
504  { 30, 5 }, { 23, 4 },
505  },
506  { /* AC bias group 1, table 6 */
507  { 30, 4 }, { 17, 5 }, { 1, 5 }, { 14, 4 }, { 27, 6 }, { 3, 6 },
508  { 25, 5 }, { 10, 3 }, { 9, 3 }, { 19, 7 }, { 4, 8 }, { 6, 12 },
509  { 22, 14 }, { 21, 14 }, { 20, 13 }, { 8, 11 }, { 5, 10 }, { 29, 9 },
510  { 18, 6 }, { 15, 5 }, { 12, 4 }, { 11, 4 }, { 13, 4 }, { 24, 5 },
511  { 7, 5 }, { 0, 4 }, { 26, 6 }, { 16, 6 }, { 31, 6 }, { 28, 7 },
512  { 2, 7 }, { 23, 4 },
513  },
514  { /* AC bias group 1, table 7 */
515  { 30, 4 }, { 13, 4 }, { 23, 3 }, { 3, 5 }, { 7, 5 }, { 12, 4 },
516  { 10, 3 }, { 11, 4 }, { 8, 9 }, { 20, 12 }, { 19, 12 }, { 22, 12 },
517  { 21, 12 }, { 6, 10 }, { 5, 8 }, { 29, 8 }, { 18, 8 }, { 27, 6 },
518  { 14, 5 }, { 9, 3 }, { 17, 7 }, { 4, 7 }, { 15, 6 }, { 25, 5 },
519  { 24, 5 }, { 2, 6 }, { 31, 6 }, { 1, 5 }, { 26, 6 }, { 16, 7 },
520  { 28, 7 }, { 0, 4 },
521  },
522  { /* AC bias group 1, table 8 */
523  { 26, 5 }, { 15, 5 }, { 24, 4 }, { 23, 3 }, { 19, 6 }, { 8, 7 },
524  { 21, 9 }, { 6, 12 }, { 5, 12 }, { 22, 11 }, { 4, 10 }, { 20, 8 },
525  { 28, 5 }, { 12, 4 }, { 13, 4 }, { 11, 4 }, { 10, 3 }, { 9, 3 },
526  { 27, 6 }, { 29, 6 }, { 25, 5 }, { 31, 6 }, { 16, 6 }, { 30, 5 },
527  { 14, 5 }, { 18, 6 }, { 7, 6 }, { 3, 8 }, { 2, 8 }, { 1, 7 },
528  { 17, 6 }, { 0, 5 },
529  },
530  { /* AC bias group 1, table 9 */
531  { 12, 4 }, { 13, 4 }, { 11, 4 }, { 0, 4 }, { 23, 3 }, { 26, 5 },
532  { 16, 6 }, { 1, 6 }, { 24, 4 }, { 10, 3 }, { 28, 5 }, { 31, 6 },
533  { 18, 6 }, { 30, 5 }, { 14, 5 }, { 9, 3 }, { 27, 6 }, { 17, 6 },
534  { 25, 5 }, { 19, 7 }, { 5, 12 }, { 6, 13 }, { 22, 13 }, { 21, 11 },
535  { 4, 10 }, { 20, 9 }, { 2, 8 }, { 7, 6 }, { 15, 6 }, { 8, 8 },
536  { 3, 8 }, { 29, 7 },
537  },
538  { /* AC bias group 1, table 10 */
539  { 12, 4 }, { 13, 4 }, { 11, 4 }, { 26, 5 }, { 28, 5 }, { 23, 3 },
540  { 24, 4 }, { 0, 4 }, { 10, 3 }, { 19, 7 }, { 2, 7 }, { 29, 6 },
541  { 31, 6 }, { 17, 6 }, { 30, 5 }, { 14, 5 }, { 9, 3 }, { 27, 6 },
542  { 1, 6 }, { 25, 5 }, { 3, 7 }, { 20, 9 }, { 22, 13 }, { 6, 13 },
543  { 5, 12 }, { 21, 11 }, { 4, 10 }, { 8, 8 }, { 7, 6 }, { 15, 6 },
544  { 18, 7 }, { 16, 7 },
545  },
546  { /* AC bias group 1, table 11 */
547  { 13, 4 }, { 12, 4 }, { 11, 4 }, { 28, 5 }, { 8, 7 }, { 2, 7 },
548  { 29, 6 }, { 23, 3 }, { 24, 4 }, { 26, 5 }, { 17, 6 }, { 31, 6 },
549  { 0, 4 }, { 14, 5 }, { 30, 5 }, { 10, 3 }, { 9, 3 }, { 27, 6 },
550  { 3, 7 }, { 4, 9 }, { 5, 11 }, { 22, 13 }, { 6, 13 }, { 21, 12 },
551  { 20, 10 }, { 19, 8 }, { 7, 6 }, { 1, 6 }, { 25, 5 }, { 15, 6 },
552  { 18, 7 }, { 16, 7 },
553  },
554  { /* AC bias group 1, table 12 */
555  { 13, 4 }, { 12, 4 }, { 11, 4 }, { 3, 6 }, { 8, 7 }, { 18, 7 },
556  { 14, 5 }, { 23, 3 }, { 24, 4 }, { 26, 5 }, { 31, 6 }, { 29, 6 },
557  { 10, 3 }, { 9, 3 }, { 30, 5 }, { 28, 5 }, { 0, 4 }, { 15, 6 },
558  { 4, 8 }, { 20, 10 }, { 6, 12 }, { 22, 13 }, { 21, 13 }, { 5, 11 },
559  { 19, 9 }, { 2, 7 }, { 7, 6 }, { 16, 7 }, { 17, 7 }, { 25, 5 },
560  { 27, 6 }, { 1, 6 },
561  },
562  { /* AC bias group 1, table 13 */
563  { 27, 5 }, { 14, 5 }, { 12, 4 }, { 11, 4 }, { 2, 6 }, { 15, 6 },
564  { 1, 5 }, { 23, 3 }, { 24, 4 }, { 3, 6 }, { 16, 7 }, { 17, 7 },
565  { 31, 6 }, { 7, 6 }, { 10, 3 }, { 30, 5 }, { 28, 5 }, { 26, 5 },
566  { 29, 6 }, { 19, 9 }, { 22, 13 }, { 21, 13 }, { 6, 12 }, { 20, 11 },
567  { 5, 10 }, { 4, 8 }, { 18, 8 }, { 8, 8 }, { 9, 3 }, { 0, 4 },
568  { 13, 5 }, { 25, 5 },
569  },
570  { /* AC bias group 1, table 14 */
571  { 0, 3 }, { 11, 4 }, { 15, 6 }, { 8, 7 }, { 18, 8 }, { 20, 12 },
572  { 22, 13 }, { 21, 13 }, { 6, 11 }, { 19, 10 }, { 5, 9 }, { 7, 6 },
573  { 29, 6 }, { 23, 3 }, { 10, 3 }, { 24, 4 }, { 28, 5 }, { 30, 5 },
574  { 9, 3 }, { 4, 7 }, { 17, 8 }, { 16, 8 }, { 2, 6 }, { 26, 5 },
575  { 13, 5 }, { 1, 5 }, { 31, 6 }, { 14, 6 }, { 3, 6 }, { 27, 6 },
576  { 25, 5 }, { 12, 5 },
577  },
578  { /* AC bias group 1, table 15 */
579  { 1, 4 }, { 7, 6 }, { 31, 6 }, { 2, 5 }, { 24, 4 }, { 30, 5 },
580  { 5, 7 }, { 20, 12 }, { 19, 12 }, { 22, 12 }, { 21, 12 }, { 18, 10 },
581  { 17, 9 }, { 15, 8 }, { 29, 6 }, { 0, 3 }, { 10, 3 }, { 9, 3 },
582  { 23, 3 }, { 28, 5 }, { 4, 6 }, { 16, 9 }, { 6, 9 }, { 8, 8 },
583  { 14, 7 }, { 12, 5 }, { 11, 5 }, { 3, 5 }, { 26, 5 }, { 27, 6 },
584  { 13, 6 }, { 25, 5 },
585  },
586  { /* AC bias group 2, table 0 */
587  { 18, 4 }, { 15, 4 }, { 0, 5 }, { 26, 6 }, { 31, 6 }, { 19, 5 },
588  { 24, 5 }, { 10, 3 }, { 9, 3 }, { 14, 4 }, { 16, 5 }, { 7, 5 },
589  { 12, 4 }, { 11, 4 }, { 8, 8 }, { 2, 9 }, { 21, 10 }, { 5, 13 },
590  { 4, 13 }, { 22, 13 }, { 6, 13 }, { 3, 11 }, { 27, 7 }, { 25, 6 },
591  { 30, 5 }, { 23, 4 }, { 13, 4 }, { 28, 6 }, { 29, 8 }, { 1, 8 },
592  { 20, 7 }, { 17, 5 },
593  },
594  { /* AC bias group 2, table 1 */
595  { 13, 3 }, { 28, 5 }, { 16, 5 }, { 26, 6 }, { 1, 7 }, { 8, 8 },
596  { 20, 8 }, { 18, 5 }, { 14, 4 }, { 0, 5 }, { 31, 6 }, { 19, 6 },
597  { 10, 3 }, { 9, 3 }, { 7, 5 }, { 17, 5 }, { 12, 4 }, { 11, 4 },
598  { 24, 5 }, { 30, 5 }, { 15, 5 }, { 25, 6 }, { 2, 9 }, { 21, 11 },
599  { 4, 12 }, { 5, 13 }, { 22, 14 }, { 6, 14 }, { 3, 10 }, { 29, 8 },
600  { 27, 7 }, { 23, 4 },
601  },
602  { /* AC bias group 2, table 2 */
603  { 23, 3 }, { 18, 5 }, { 16, 5 }, { 27, 6 }, { 26, 6 }, { 17, 5 },
604  { 14, 4 }, { 28, 5 }, { 2, 8 }, { 8, 8 }, { 1, 7 }, { 31, 6 },
605  { 10, 3 }, { 9, 3 }, { 7, 5 }, { 15, 5 }, { 11, 4 }, { 12, 4 },
606  { 0, 5 }, { 24, 5 }, { 13, 4 }, { 30, 5 }, { 19, 7 }, { 3, 9 },
607  { 4, 11 }, { 6, 13 }, { 5, 13 }, { 22, 13 }, { 21, 13 }, { 20, 10 },
608  { 29, 8 }, { 25, 6 },
609  },
610  { /* AC bias group 2, table 3 */
611  { 0, 4 }, { 14, 4 }, { 23, 3 }, { 25, 5 }, { 29, 7 }, { 2, 8 },
612  { 20, 10 }, { 6, 13 }, { 5, 13 }, { 22, 13 }, { 21, 13 }, { 4, 11 },
613  { 3, 9 }, { 27, 6 }, { 15, 5 }, { 7, 5 }, { 18, 6 }, { 26, 6 },
614  { 28, 5 }, { 11, 4 }, { 10, 3 }, { 9, 3 }, { 12, 4 }, { 13, 4 },
615  { 31, 6 }, { 16, 6 }, { 8, 8 }, { 19, 8 }, { 1, 7 }, { 17, 6 },
616  { 30, 5 }, { 24, 5 },
617  },
618  { /* AC bias group 2, table 4 */
619  { 28, 4 }, { 15, 5 }, { 17, 6 }, { 16, 6 }, { 23, 3 }, { 0, 4 },
620  { 1, 6 }, { 18, 7 }, { 22, 12 }, { 21, 12 }, { 5, 12 }, { 20, 13 },
621  { 6, 13 }, { 4, 10 }, { 19, 9 }, { 3, 8 }, { 7, 5 }, { 25, 5 },
622  { 27, 6 }, { 29, 7 }, { 2, 8 }, { 8, 8 }, { 13, 4 }, { 11, 4 },
623  { 12, 4 }, { 10, 3 }, { 9, 3 }, { 31, 6 }, { 26, 6 }, { 30, 5 },
624  { 14, 5 }, { 24, 5 },
625  },
626  { /* AC bias group 2, table 5 */
627  { 24, 4 }, { 7, 5 }, { 17, 7 }, { 3, 7 }, { 2, 7 }, { 16, 7 },
628  { 23, 3 }, { 13, 4 }, { 28, 4 }, { 14, 5 }, { 15, 6 }, { 1, 6 },
629  { 0, 4 }, { 11, 4 }, { 12, 4 }, { 9, 3 }, { 10, 3 }, { 25, 5 },
630  { 30, 5 }, { 31, 6 }, { 27, 6 }, { 19, 11 }, { 22, 13 }, { 21, 13 },
631  { 5, 13 }, { 20, 14 }, { 6, 14 }, { 4, 10 }, { 18, 9 }, { 8, 8 },
632  { 29, 7 }, { 26, 6 },
633  },
634  { /* AC bias group 2, table 6 */
635  { 27, 5 }, { 26, 5 }, { 7, 5 }, { 3, 6 }, { 8, 7 }, { 15, 7 },
636  { 23, 3 }, { 24, 4 }, { 1, 5 }, { 29, 6 }, { 14, 6 }, { 11, 4 },
637  { 12, 4 }, { 10, 3 }, { 9, 3 }, { 25, 5 }, { 30, 5 }, { 28, 4 },
638  { 18, 10 }, { 5, 11 }, { 22, 13 }, { 21, 13 }, { 6, 13 }, { 20, 14 },
639  { 19, 14 }, { 17, 9 }, { 4, 9 }, { 16, 9 }, { 2, 7 }, { 31, 6 },
640  { 13, 5 }, { 0, 4 },
641  },
642  { /* AC bias group 2, table 7 */
643  { 24, 4 }, { 11, 4 }, { 23, 3 }, { 0, 3 }, { 30, 5 }, { 3, 5 },
644  { 12, 4 }, { 9, 3 }, { 10, 3 }, { 14, 7 }, { 4, 7 }, { 7, 6 },
645  { 25, 5 }, { 28, 4 }, { 29, 6 }, { 27, 6 }, { 13, 6 }, { 2, 6 },
646  { 1, 5 }, { 26, 6 }, { 8, 8 }, { 5, 9 }, { 16, 11 }, { 22, 14 },
647  { 21, 14 }, { 6, 13 }, { 18, 14 }, { 20, 15 }, { 19, 15 }, { 17, 13 },
648  { 15, 10 }, { 31, 7 },
649  },
650  { /* AC bias group 2, table 8 */
651  { 29, 5 }, { 7, 5 }, { 13, 4 }, { 28, 4 }, { 26, 5 }, { 14, 5 },
652  { 12, 4 }, { 11, 4 }, { 23, 3 }, { 24, 4 }, { 18, 7 }, { 20, 10 },
653  { 4, 11 }, { 6, 13 }, { 5, 13 }, { 22, 13 }, { 21, 13 }, { 19, 9 },
654  { 3, 9 }, { 2, 9 }, { 15, 6 }, { 30, 5 }, { 10, 3 }, { 9, 3 },
655  { 1, 7 }, { 16, 7 }, { 31, 6 }, { 25, 5 }, { 0, 5 }, { 27, 6 },
656  { 17, 7 }, { 8, 7 },
657  },
658  { /* AC bias group 2, table 9 */
659  { 8, 6 }, { 1, 6 }, { 29, 5 }, { 0, 4 }, { 14, 5 }, { 26, 5 },
660  { 28, 4 }, { 12, 4 }, { 11, 4 }, { 23, 3 }, { 24, 4 }, { 4, 10 },
661  { 20, 11 }, { 6, 13 }, { 5, 13 }, { 22, 13 }, { 21, 13 }, { 19, 9 },
662  { 3, 8 }, { 17, 7 }, { 15, 6 }, { 30, 5 }, { 10, 3 }, { 9, 3 },
663  { 31, 6 }, { 16, 7 }, { 18, 8 }, { 2, 8 }, { 25, 5 }, { 7, 6 },
664  { 27, 6 }, { 13, 5 },
665  },
666  { /* AC bias group 2, table 10 */
667  { 14, 5 }, { 27, 5 }, { 12, 4 }, { 11, 4 }, { 29, 5 }, { 8, 6 },
668  { 1, 6 }, { 0, 4 }, { 26, 5 }, { 16, 7 }, { 19, 10 }, { 22, 13 },
669  { 21, 13 }, { 5, 13 }, { 20, 14 }, { 6, 14 }, { 4, 11 }, { 18, 9 },
670  { 3, 8 }, { 31, 6 }, { 23, 3 }, { 28, 4 }, { 24, 4 }, { 10, 3 },
671  { 9, 3 }, { 30, 5 }, { 13, 5 }, { 7, 6 }, { 2, 8 }, { 17, 8 },
672  { 15, 7 }, { 25, 5 },
673  },
674  { /* AC bias group 2, table 11 */
675  { 15, 6 }, { 16, 7 }, { 3, 7 }, { 27, 5 }, { 12, 4 }, { 11, 4 },
676  { 8, 6 }, { 2, 7 }, { 18, 9 }, { 19, 11 }, { 22, 13 }, { 21, 13 },
677  { 5, 13 }, { 20, 14 }, { 6, 14 }, { 4, 10 }, { 17, 8 }, { 26, 5 },
678  { 23, 3 }, { 30, 5 }, { 29, 5 }, { 24, 4 }, { 0, 4 }, { 28, 4 },
679  { 10, 3 }, { 9, 3 }, { 31, 6 }, { 1, 6 }, { 13, 5 }, { 7, 6 },
680  { 14, 6 }, { 25, 5 },
681  },
682  { /* AC bias group 2, table 12 */
683  { 12, 4 }, { 11, 4 }, { 1, 5 }, { 15, 7 }, { 4, 9 }, { 22, 12 },
684  { 21, 12 }, { 6, 13 }, { 5, 13 }, { 20, 13 }, { 19, 13 }, { 18, 10 },
685  { 17, 9 }, { 16, 9 }, { 14, 6 }, { 30, 5 }, { 8, 6 }, { 31, 6 },
686  { 27, 5 }, { 13, 5 }, { 26, 5 }, { 7, 6 }, { 3, 7 }, { 2, 7 },
687  { 23, 3 }, { 24, 4 }, { 29, 5 }, { 25, 5 }, { 10, 3 }, { 9, 3 },
688  { 28, 4 }, { 0, 4 },
689  },
690  { /* AC bias group 2, table 13 */
691  { 25, 4 }, { 3, 6 }, { 31, 6 }, { 2, 6 }, { 7, 6 }, { 0, 3 },
692  { 23, 3 }, { 27, 5 }, { 8, 6 }, { 15, 8 }, { 4, 9 }, { 16, 10 },
693  { 17, 11 }, { 22, 14 }, { 21, 14 }, { 18, 13 }, { 5, 13 }, { 6, 14 },
694  { 20, 15 }, { 19, 15 }, { 14, 7 }, { 1, 5 }, { 26, 5 }, { 10, 3 },
695  { 9, 3 }, { 24, 4 }, { 29, 5 }, { 12, 5 }, { 11, 5 }, { 13, 6 },
696  { 30, 6 }, { 28, 4 },
697  },
698  { /* AC bias group 2, table 14 */
699  { 28, 3 }, { 23, 3 }, { 24, 4 }, { 27, 5 }, { 26, 5 }, { 9, 3 },
700  { 10, 3 }, { 0, 3 }, { 8, 6 }, { 30, 6 }, { 12, 5 }, { 11, 5 },
701  { 29, 5 }, { 25, 5 }, { 2, 6 }, { 31, 7 }, { 7, 7 }, { 1, 5 },
702  { 3, 6 }, { 4, 8 }, { 15, 10 }, { 22, 14 }, { 21, 14 }, { 17, 13 },
703  { 18, 14 }, { 6, 14 }, { 20, 14 }, { 19, 14 }, { 16, 12 }, { 5, 12 },
704  { 14, 9 }, { 13, 7 },
705  },
706  { /* AC bias group 2, table 15 */
707  { 27, 5 }, { 26, 5 }, { 8, 6 }, { 15, 11 }, { 16, 12 }, { 18, 13 },
708  { 17, 13 }, { 20, 13 }, { 19, 13 }, { 22, 13 }, { 21, 13 }, { 6, 11 },
709  { 14, 9 }, { 5, 8 }, { 13, 7 }, { 12, 5 }, { 9, 3 }, { 10, 3 },
710  { 28, 3 }, { 3, 4 }, { 11, 5 }, { 25, 5 }, { 0, 3 }, { 1, 4 },
711  { 29, 5 }, { 2, 5 }, { 4, 6 }, { 30, 7 }, { 7, 8 }, { 31, 8 },
712  { 24, 5 }, { 23, 4 },
713  },
714  { /* AC bias group 3, table 0 */
715  { 23, 3 }, { 17, 5 }, { 2, 8 }, { 3, 9 }, { 22, 12 }, { 21, 12 },
716  { 4, 12 }, { 6, 13 }, { 5, 13 }, { 20, 10 }, { 1, 7 }, { 27, 6 },
717  { 14, 4 }, { 25, 5 }, { 0, 5 }, { 7, 5 }, { 28, 5 }, { 10, 3 },
718  { 9, 3 }, { 15, 5 }, { 8, 7 }, { 19, 7 }, { 26, 6 }, { 12, 4 },
719  { 11, 4 }, { 13, 4 }, { 18, 6 }, { 31, 6 }, { 16, 6 }, { 29, 6 },
720  { 24, 5 }, { 30, 5 },
721  },
722  { /* AC bias group 3, table 1 */
723  { 19, 7 }, { 2, 8 }, { 20, 11 }, { 4, 11 }, { 6, 12 }, { 5, 12 },
724  { 22, 12 }, { 21, 12 }, { 3, 9 }, { 18, 6 }, { 29, 5 }, { 24, 4 },
725  { 23, 3 }, { 15, 5 }, { 7, 5 }, { 25, 5 }, { 27, 6 }, { 8, 7 },
726  { 1, 7 }, { 16, 6 }, { 17, 6 }, { 28, 5 }, { 13, 4 }, { 12, 4 },
727  { 11, 4 }, { 10, 3 }, { 9, 3 }, { 31, 6 }, { 26, 6 }, { 0, 5 },
728  { 30, 5 }, { 14, 5 },
729  },
730  { /* AC bias group 3, table 2 */
731  { 26, 5 }, { 7, 5 }, { 0, 4 }, { 23, 3 }, { 24, 4 }, { 13, 4 },
732  { 18, 7 }, { 8, 7 }, { 27, 6 }, { 25, 5 }, { 29, 5 }, { 14, 5 },
733  { 12, 4 }, { 11, 4 }, { 10, 3 }, { 9, 3 }, { 2, 8 }, { 4, 11 },
734  { 22, 13 }, { 21, 13 }, { 5, 13 }, { 20, 14 }, { 6, 14 }, { 19, 10 },
735  { 3, 9 }, { 1, 7 }, { 15, 6 }, { 31, 6 }, { 17, 7 }, { 16, 7 },
736  { 30, 5 }, { 28, 5 },
737  },
738  { /* AC bias group 3, table 3 */
739  { 28, 4 }, { 13, 4 }, { 24, 4 }, { 1, 6 }, { 15, 6 }, { 14, 5 },
740  { 23, 3 }, { 0, 4 }, { 25, 5 }, { 16, 7 }, { 4, 10 }, { 5, 12 },
741  { 20, 13 }, { 6, 13 }, { 22, 13 }, { 21, 13 }, { 19, 12 }, { 18, 9 },
742  { 3, 8 }, { 31, 6 }, { 11, 4 }, { 12, 4 }, { 10, 3 }, { 30, 5 },
743  { 29, 5 }, { 27, 6 }, { 8, 7 }, { 2, 8 }, { 17, 8 }, { 7, 6 },
744  { 26, 6 }, { 9, 3 },
745  },
746  { /* AC bias group 3, table 4 */
747  { 29, 4 }, { 27, 5 }, { 26, 5 }, { 24, 4 }, { 28, 4 }, { 23, 3 },
748  { 11, 4 }, { 12, 4 }, { 30, 5 }, { 16, 8 }, { 4, 10 }, { 18, 11 },
749  { 22, 13 }, { 21, 13 }, { 6, 14 }, { 5, 14 }, { 20, 14 }, { 19, 14 },
750  { 17, 9 }, { 15, 7 }, { 31, 6 }, { 25, 5 }, { 7, 6 }, { 1, 6 },
751  { 0, 4 }, { 13, 5 }, { 14, 6 }, { 8, 7 }, { 3, 8 }, { 2, 8 },
752  { 10, 3 }, { 9, 3 },
753  },
754  { /* AC bias group 3, table 5 */
755  { 14, 6 }, { 15, 8 }, { 4, 9 }, { 16, 10 }, { 18, 13 }, { 6, 13 },
756  { 20, 13 }, { 19, 13 }, { 17, 12 }, { 22, 14 }, { 21, 14 }, { 5, 13 },
757  { 8, 7 }, { 30, 5 }, { 11, 4 }, { 12, 4 }, { 1, 5 }, { 13, 5 },
758  { 23, 3 }, { 24, 4 }, { 29, 4 }, { 26, 5 }, { 7, 6 }, { 31, 6 },
759  { 28, 4 }, { 9, 3 }, { 10, 3 }, { 25, 5 }, { 3, 7 }, { 2, 7 },
760  { 27, 6 }, { 0, 4 },
761  },
762  { /* AC bias group 3, table 6 */
763  { 11, 4 }, { 12, 4 }, { 0, 3 }, { 23, 3 }, { 31, 6 }, { 7, 6 },
764  { 26, 5 }, { 29, 4 }, { 9, 3 }, { 10, 3 }, { 28, 4 }, { 25, 5 },
765  { 2, 6 }, { 13, 6 }, { 1, 5 }, { 8, 7 }, { 4, 8 }, { 20, 13 },
766  { 19, 13 }, { 22, 13 }, { 21, 13 }, { 16, 13 }, { 6, 13 }, { 18, 13 },
767  { 17, 13 }, { 15, 11 }, { 5, 11 }, { 14, 9 }, { 3, 6 }, { 30, 6 },
768  { 27, 6 }, { 24, 5 },
769  },
770  { /* AC bias group 3, table 7 */
771  { 3, 4 }, { 1, 4 }, { 23, 3 }, { 0, 3 }, { 9, 3 }, { 10, 3 },
772  { 2, 5 }, { 25, 5 }, { 11, 5 }, { 13, 8 }, { 6, 10 }, { 18, 13 },
773  { 17, 13 }, { 20, 13 }, { 19, 13 }, { 22, 13 }, { 21, 13 }, { 14, 13 },
774  { 16, 14 }, { 15, 14 }, { 31, 9 }, { 8, 8 }, { 5, 8 }, { 4, 6 },
775  { 28, 4 }, { 12, 5 }, { 26, 5 }, { 29, 4 }, { 24, 5 }, { 30, 7 },
776  { 7, 7 }, { 27, 6 },
777  },
778  { /* AC bias group 3, table 8 */
779  { 29, 4 }, { 12, 4 }, { 11, 4 }, { 0, 4 }, { 27, 5 }, { 8, 6 },
780  { 7, 6 }, { 30, 5 }, { 2, 8 }, { 17, 8 }, { 15, 7 }, { 31, 6 },
781  { 23, 3 }, { 28, 4 }, { 26, 5 }, { 13, 5 }, { 9, 3 }, { 10, 3 },
782  { 24, 4 }, { 14, 6 }, { 16, 8 }, { 3, 9 }, { 5, 13 }, { 4, 13 },
783  { 20, 13 }, { 6, 13 }, { 22, 13 }, { 21, 13 }, { 19, 12 }, { 18, 10 },
784  { 1, 7 }, { 25, 5 },
785  },
786  { /* AC bias group 3, table 9 */
787  { 12, 4 }, { 11, 4 }, { 30, 5 }, { 27, 5 }, { 14, 6 }, { 8, 6 },
788  { 13, 5 }, { 23, 3 }, { 29, 4 }, { 7, 6 }, { 31, 6 }, { 26, 5 },
789  { 0, 4 }, { 24, 4 }, { 9, 3 }, { 10, 3 }, { 28, 4 }, { 1, 6 },
790  { 3, 8 }, { 2, 8 }, { 15, 8 }, { 16, 9 }, { 18, 11 }, { 6, 14 },
791  { 5, 14 }, { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 }, { 4, 13 },
792  { 17, 10 }, { 25, 5 },
793  },
794  { /* AC bias group 3, table 10 */
795  { 11, 4 }, { 30, 5 }, { 13, 5 }, { 25, 4 }, { 3, 7 }, { 2, 7 },
796  { 7, 6 }, { 31, 6 }, { 8, 6 }, { 23, 3 }, { 27, 5 }, { 26, 5 },
797  { 29, 4 }, { 24, 4 }, { 0, 4 }, { 9, 3 }, { 10, 3 }, { 16, 9 },
798  { 17, 10 }, { 4, 11 }, { 22, 14 }, { 21, 14 }, { 18, 13 }, { 6, 14 },
799  { 5, 14 }, { 20, 14 }, { 19, 14 }, { 15, 8 }, { 14, 7 }, { 1, 6 },
800  { 12, 5 }, { 28, 4 },
801  },
802  { /* AC bias group 3, table 11 */
803  { 0, 3 }, { 25, 4 }, { 1, 5 }, { 7, 6 }, { 8, 6 }, { 23, 3 },
804  { 27, 5 }, { 3, 7 }, { 2, 7 }, { 30, 6 }, { 24, 4 }, { 10, 3 },
805  { 9, 3 }, { 26, 5 }, { 12, 5 }, { 29, 4 }, { 11, 5 }, { 13, 6 },
806  { 31, 7 }, { 15, 9 }, { 17, 11 }, { 5, 13 }, { 18, 14 }, { 6, 14 },
807  { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 }, { 16, 11 }, { 4, 11 },
808  { 14, 8 }, { 28, 4 },
809  },
810  { /* AC bias group 3, table 12 */
811  { 25, 4 }, { 30, 6 }, { 13, 6 }, { 2, 6 }, { 8, 6 }, { 23, 3 },
812  { 0, 3 }, { 27, 5 }, { 12, 5 }, { 24, 4 }, { 11, 5 }, { 1, 5 },
813  { 26, 5 }, { 4, 9 }, { 15, 10 }, { 6, 13 }, { 5, 13 }, { 18, 13 },
814  { 17, 13 }, { 16, 12 }, { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 },
815  { 14, 8 }, { 31, 7 }, { 7, 7 }, { 3, 7 }, { 10, 3 }, { 9, 3 },
816  { 28, 4 }, { 29, 4 },
817  },
818  { /* AC bias group 3, table 13 */
819  { 1, 4 }, { 2, 5 }, { 11, 5 }, { 29, 3 }, { 24, 4 }, { 12, 5 },
820  { 8, 6 }, { 13, 7 }, { 30, 7 }, { 0, 3 }, { 10, 3 }, { 9, 3 },
821  { 27, 5 }, { 26, 5 }, { 25, 5 }, { 7, 7 }, { 31, 8 }, { 14, 10 },
822  { 15, 12 }, { 5, 12 }, { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 },
823  { 16, 14 }, { 6, 14 }, { 18, 14 }, { 17, 14 }, { 4, 9 }, { 3, 6 },
824  { 23, 4 }, { 28, 4 },
825  },
826  { /* AC bias group 3, table 14 */
827  { 3, 4 }, { 12, 5 }, { 11, 5 }, { 29, 3 }, { 27, 5 }, { 25, 5 },
828  { 23, 4 }, { 1, 4 }, { 26, 5 }, { 2, 5 }, { 9, 3 }, { 10, 3 },
829  { 0, 3 }, { 24, 5 }, { 7, 7 }, { 4, 7 }, { 8, 7 }, { 5, 10 },
830  { 22, 13 }, { 21, 13 }, { 6, 13 }, { 16, 14 }, { 15, 14 }, { 14, 12 },
831  { 18, 14 }, { 17, 14 }, { 20, 14 }, { 19, 14 }, { 31, 9 }, { 13, 9 },
832  { 30, 9 }, { 28, 4 },
833  },
834  { /* AC bias group 3, table 15 */
835  { 9, 2 }, { 10, 2 }, { 0, 3 }, { 4, 5 }, { 25, 6 }, { 27, 6 },
836  { 1, 4 }, { 3, 4 }, { 29, 4 }, { 5, 8 }, { 8, 9 }, { 7, 10 },
837  { 18, 14 }, { 17, 14 }, { 20, 14 }, { 19, 14 }, { 14, 14 }, { 6, 14 },
838  { 16, 14 }, { 15, 14 }, { 22, 14 }, { 21, 14 }, { 31, 13 }, { 30, 13 },
839  { 13, 13 }, { 11, 7 }, { 12, 7 }, { 24, 7 }, { 2, 5 }, { 23, 6 },
840  { 26, 6 }, { 28, 5 },
841  },
842  { /* AC bias group 4, table 0 */
843  { 30, 4 }, { 13, 4 }, { 26, 5 }, { 14, 5 }, { 29, 6 }, { 15, 6 },
844  { 17, 7 }, { 16, 7 }, { 1, 6 }, { 23, 3 }, { 24, 4 }, { 0, 4 },
845  { 12, 4 }, { 11, 4 }, { 27, 6 }, { 7, 6 }, { 28, 5 }, { 25, 5 },
846  { 18, 8 }, { 8, 9 }, { 19, 10 }, { 22, 13 }, { 21, 13 }, { 5, 13 },
847  { 20, 14 }, { 6, 14 }, { 4, 11 }, { 3, 8 }, { 2, 8 }, { 31, 6 },
848  { 10, 3 }, { 9, 3 },
849  },
850  { /* AC bias group 4, table 1 */
851  { 25, 4 }, { 1, 5 }, { 27, 5 }, { 28, 4 }, { 12, 4 }, { 11, 4 },
852  { 26, 5 }, { 7, 6 }, { 15, 7 }, { 3, 7 }, { 23, 3 }, { 24, 4 },
853  { 30, 5 }, { 13, 5 }, { 14, 6 }, { 31, 6 }, { 2, 7 }, { 8, 9 },
854  { 17, 9 }, { 4, 10 }, { 6, 13 }, { 20, 14 }, { 19, 14 }, { 22, 14 },
855  { 21, 14 }, { 5, 13 }, { 18, 11 }, { 16, 9 }, { 29, 6 }, { 0, 4 },
856  { 10, 3 }, { 9, 3 },
857  },
858  { /* AC bias group 4, table 2 */
859  { 3, 6 }, { 2, 6 }, { 27, 5 }, { 12, 4 }, { 11, 4 }, { 29, 5 },
860  { 1, 5 }, { 14, 6 }, { 7, 6 }, { 13, 5 }, { 28, 4 }, { 30, 5 },
861  { 26, 5 }, { 24, 4 }, { 23, 3 }, { 9, 3 }, { 10, 3 }, { 22, 12 },
862  { 21, 12 }, { 6, 12 }, { 20, 13 }, { 19, 13 }, { 18, 11 }, { 5, 11 },
863  { 17, 9 }, { 8, 8 }, { 4, 9 }, { 16, 9 }, { 15, 8 }, { 31, 6 },
864  { 25, 5 }, { 0, 4 },
865  },
866  { /* AC bias group 4, table 3 */
867  { 11, 4 }, { 30, 5 }, { 27, 5 }, { 0, 3 }, { 16, 9 }, { 22, 12 },
868  { 21, 12 }, { 18, 13 }, { 6, 13 }, { 20, 13 }, { 19, 13 }, { 17, 11 },
869  { 5, 11 }, { 8, 8 }, { 4, 8 }, { 15, 8 }, { 2, 6 }, { 31, 6 },
870  { 3, 6 }, { 28, 4 }, { 23, 3 }, { 29, 5 }, { 26, 5 }, { 24, 4 },
871  { 9, 3 }, { 10, 3 }, { 1, 5 }, { 14, 7 }, { 7, 7 }, { 13, 6 },
872  { 25, 5 }, { 12, 5 },
873  },
874  { /* AC bias group 4, table 4 */
875  { 7, 6 }, { 31, 6 }, { 3, 5 }, { 25, 4 }, { 0, 3 }, { 27, 5 },
876  { 15, 9 }, { 20, 13 }, { 19, 13 }, { 22, 13 }, { 21, 13 }, { 16, 13 },
877  { 6, 13 }, { 18, 13 }, { 17, 13 }, { 5, 10 }, { 8, 8 }, { 14, 8 },
878  { 4, 8 }, { 13, 6 }, { 24, 4 }, { 23, 3 }, { 28, 4 }, { 26, 5 },
879  { 30, 6 }, { 2, 6 }, { 9, 3 }, { 10, 3 }, { 12, 5 }, { 11, 5 },
880  { 29, 5 }, { 1, 5 },
881  },
882  { /* AC bias group 4, table 5 */
883  { 29, 4 }, { 1, 4 }, { 23, 3 }, { 24, 4 }, { 27, 5 }, { 3, 5 },
884  { 0, 3 }, { 28, 4 }, { 26, 5 }, { 8, 8 }, { 5, 9 }, { 16, 13 },
885  { 15, 13 }, { 18, 13 }, { 17, 13 }, { 6, 12 }, { 20, 14 }, { 19, 14 },
886  { 22, 14 }, { 21, 14 }, { 14, 10 }, { 31, 7 }, { 4, 7 }, { 7, 7 },
887  { 10, 3 }, { 9, 3 }, { 12, 5 }, { 11, 5 }, { 25, 5 }, { 13, 7 },
888  { 30, 7 }, { 2, 6 },
889  },
890  { /* AC bias group 4, table 6 */
891  { 24, 4 }, { 29, 4 }, { 4, 5 }, { 25, 5 }, { 3, 4 }, { 0, 3 },
892  { 28, 4 }, { 1, 4 }, { 10, 3 }, { 7, 6 }, { 13, 8 }, { 30, 8 },
893  { 31, 9 }, { 8, 10 }, { 6, 11 }, { 18, 14 }, { 17, 14 }, { 20, 14 },
894  { 19, 14 }, { 22, 14 }, { 21, 14 }, { 14, 14 }, { 16, 15 }, { 15, 15 },
895  { 5, 8 }, { 2, 5 }, { 26, 5 }, { 12, 5 }, { 9, 3 }, { 11, 5 },
896  { 27, 5 }, { 23, 4 },
897  },
898  { /* AC bias group 4, table 7 */
899  { 9, 2 }, { 27, 3 }, { 4, 4 }, { 1, 4 }, { 0, 3 }, { 29, 6 },
900  { 5, 6 }, { 23, 5 }, { 28, 4 }, { 3, 4 }, { 2, 5 }, { 26, 6 },
901  { 11, 7 }, { 12, 9 }, { 6, 9 }, { 8, 13 }, { 14, 14 }, { 13, 14 },
902  { 31, 14 }, { 30, 14 }, { 7, 13 }, { 20, 14 }, { 19, 14 }, { 22, 14 },
903  { 21, 14 }, { 16, 14 }, { 15, 14 }, { 18, 14 }, { 17, 14 }, { 25, 10 },
904  { 24, 9 }, { 10, 3 },
905  },
906  { /* AC bias group 4, table 8 */
907  { 30, 5 }, { 3, 6 }, { 2, 6 }, { 25, 4 }, { 0, 3 }, { 31, 6 },
908  { 8, 7 }, { 15, 8 }, { 17, 10 }, { 6, 13 }, { 5, 13 }, { 20, 13 },
909  { 19, 13 }, { 22, 13 }, { 21, 13 }, { 18, 12 }, { 16, 10 }, { 4, 10 },
910  { 1, 5 }, { 27, 5 }, { 14, 7 }, { 7, 7 }, { 13, 6 }, { 23, 3 },
911  { 11, 5 }, { 12, 5 }, { 28, 4 }, { 26, 5 }, { 29, 5 }, { 24, 4 },
912  { 9, 3 }, { 10, 3 },
913  },
914  { /* AC bias group 4, table 9 */
915  { 25, 4 }, { 29, 4 }, { 0, 3 }, { 13, 6 }, { 8, 7 }, { 7, 7 },
916  { 30, 6 }, { 3, 6 }, { 27, 5 }, { 12, 5 }, { 23, 3 }, { 11, 5 },
917  { 2, 6 }, { 31, 7 }, { 14, 8 }, { 4, 9 }, { 15, 10 }, { 5, 12 },
918  { 18, 14 }, { 6, 14 }, { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 },
919  { 17, 13 }, { 16, 12 }, { 24, 4 }, { 9, 3 }, { 10, 3 }, { 26, 5 },
920  { 1, 5 }, { 28, 4 },
921  },
922  { /* AC bias group 4, table 10 */
923  { 25, 4 }, { 13, 6 }, { 30, 6 }, { 27, 5 }, { 29, 4 }, { 12, 5 },
924  { 11, 5 }, { 23, 3 }, { 0, 3 }, { 8, 7 }, { 7, 7 }, { 31, 7 },
925  { 4, 8 }, { 15, 10 }, { 6, 13 }, { 18, 14 }, { 17, 14 }, { 16, 12 },
926  { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 }, { 5, 12 }, { 14, 9 },
927  { 26, 5 }, { 24, 4 }, { 9, 3 }, { 10, 3 }, { 28, 4 }, { 2, 6 },
928  { 3, 6 }, { 1, 5 },
929  },
930  { /* AC bias group 4, table 11 */
931  { 7, 7 }, { 31, 7 }, { 8, 7 }, { 13, 7 }, { 12, 5 }, { 1, 4 },
932  { 23, 3 }, { 11, 5 }, { 3, 5 }, { 29, 4 }, { 24, 4 }, { 27, 5 },
933  { 26, 5 }, { 0, 3 }, { 9, 3 }, { 10, 3 }, { 28, 4 }, { 30, 7 },
934  { 20, 13 }, { 19, 13 }, { 22, 13 }, { 21, 13 }, { 16, 13 }, { 6, 13 },
935  { 18, 13 }, { 17, 13 }, { 15, 11 }, { 5, 11 }, { 14, 9 }, { 4, 8 },
936  { 2, 6 }, { 25, 5 },
937  },
938  { /* AC bias group 4, table 12 */
939  { 23, 3 }, { 12, 5 }, { 11, 5 }, { 24, 4 }, { 27, 5 }, { 26, 5 },
940  { 1, 4 }, { 29, 4 }, { 2, 5 }, { 5, 9 }, { 14, 10 }, { 18, 13 },
941  { 17, 13 }, { 20, 13 }, { 19, 13 }, { 22, 13 }, { 21, 13 }, { 6, 13 },
942  { 16, 14 }, { 15, 14 }, { 31, 8 }, { 7, 8 }, { 13, 8 }, { 4, 7 },
943  { 30, 8 }, { 8, 8 }, { 0, 3 }, { 28, 4 }, { 25, 5 }, { 3, 5 },
944  { 9, 3 }, { 10, 3 },
945  },
946  { /* AC bias group 4, table 13 */
947  { 9, 2 }, { 3, 4 }, { 28, 4 }, { 25, 5 }, { 4, 6 }, { 30, 8 },
948  { 8, 8 }, { 13, 9 }, { 7, 9 }, { 5, 9 }, { 18, 13 }, { 17, 13 },
949  { 20, 13 }, { 19, 13 }, { 6, 13 }, { 16, 14 }, { 15, 14 }, { 22, 14 },
950  { 21, 14 }, { 14, 13 }, { 31, 10 }, { 29, 4 }, { 23, 4 }, { 12, 6 },
951  { 11, 6 }, { 24, 5 }, { 0, 3 }, { 1, 4 }, { 2, 5 }, { 27, 6 },
952  { 26, 6 }, { 10, 3 },
953  },
954  { /* AC bias group 4, table 14 */
955  { 10, 2 }, { 9, 2 }, { 5, 7 }, { 7, 9 }, { 31, 11 }, { 18, 13 },
956  { 17, 13 }, { 20, 13 }, { 19, 13 }, { 13, 10 }, { 30, 10 }, { 6, 11 },
957  { 22, 13 }, { 21, 13 }, { 14, 13 }, { 16, 14 }, { 15, 14 }, { 8, 9 },
958  { 12, 6 }, { 23, 5 }, { 11, 6 }, { 25, 6 }, { 28, 5 }, { 0, 3 },
959  { 3, 4 }, { 1, 4 }, { 26, 6 }, { 27, 6 }, { 24, 6 }, { 4, 6 },
960  { 29, 5 }, { 2, 5 },
961  },
962  { /* AC bias group 4, table 15 */
963  { 0, 2 }, { 28, 6 }, { 5, 7 }, { 24, 9 }, { 11, 9 }, { 23, 8 },
964  { 4, 5 }, { 3, 4 }, { 27, 6 }, { 29, 7 }, { 12, 9 }, { 7, 13 },
965  { 6, 13 }, { 14, 13 }, { 8, 13 }, { 31, 13 }, { 30, 13 }, { 13, 12 },
966  { 20, 14 }, { 19, 14 }, { 22, 14 }, { 21, 14 }, { 16, 14 }, { 15, 14 },
967  { 18, 14 }, { 17, 14 }, { 25, 11 }, { 26, 8 }, { 2, 5 }, { 1, 4 },
968  { 10, 2 }, { 9, 2 },
969  },
970 };
971 
972 #endif /* AVCODEC_VP4DATA_H */
static const uint16_t vp4_ac_scale_factor[64]
Definition: vp4data.h:64
uint8_t
static const uint8_t vp4_bias[5 *16][32][2]
Definition: vp4data.h:329
static const uint8_t vp4_mv_vlc[2][7][63][2]
Definition: vp4data.h:112
static const uint8_t vp4_mv_table_selector[32]
Definition: vp4data.h:105
static const uint8_t vp4_y_dc_scale_factor[64]
Definition: vp4data.h:42
static const uint8_t vp4_filter_limit_values[64]
Definition: vp4data.h:75
static const uint8_t vp4_block_pattern_table_selector[14]
Definition: vp4data.h:86
static const uint8_t vp4_generic_dequant[64]
Definition: vp4data.h:31
static const uint8_t vp4_uv_dc_scale_factor[64]
Definition: vp4data.h:53
static const uint8_t vp4_block_pattern_vlc[2][14][2]
Definition: vp4data.h:90