1 // SPDX-License-Identifier: BSD-2-Clause
2 /*
3  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4  *
5  * This source code is subject to the terms of the BSD 2 Clause License and
6  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
7  * was not distributed with this source code in the LICENSE file, you can
8  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
9  * Media Patent License 1.0 was not distributed with this source code in the
10  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
11  */
12 
13 #include "hantro.h"
14 #include "rockchip_av1_entropymode.h"
15 
16 #define AOM_ICDF ICDF
17 #define AOM_CDF2(a0) AOM_ICDF(a0)
18 #define AOM_CDF3(a0, a1) \
19 	AOM_ICDF(a0), AOM_ICDF(a1)
20 #define AOM_CDF4(a0, a1, a2) \
21 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2)
22 #define AOM_CDF5(a0, a1, a2, a3) \
23 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3)
24 #define AOM_CDF6(a0, a1, a2, a3, a4) \
25 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4)
26 #define AOM_CDF7(a0, a1, a2, a3, a4, a5) \
27 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), \
28 	AOM_ICDF(a3), AOM_ICDF(a4), AOM_ICDF(a5)
29 #define AOM_CDF8(a0, a1, a2, a3, a4, a5, a6) \
30 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), \
31 	AOM_ICDF(a3), AOM_ICDF(a4), AOM_ICDF(a5), AOM_ICDF(a6)
32 #define AOM_CDF9(a0, a1, a2, a3, a4, a5, a6, a7) \
33 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), \
34 	AOM_ICDF(a4), AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7)
35 #define AOM_CDF10(a0, a1, a2, a3, a4, a5, a6, a7, a8) \
36 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), \
37 	AOM_ICDF(a4), AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8)
38 #define AOM_CDF11(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) \
39 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), \
40 	AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9)
41 #define AOM_CDF12(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) \
42 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), AOM_ICDF(a5), \
43 	AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9), AOM_ICDF(a10)
44 #define AOM_CDF13(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) \
45 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), AOM_ICDF(a5), \
46 	AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9), AOM_ICDF(a10), AOM_ICDF(a11)
47 #define AOM_CDF14(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) \
48 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), \
49 	AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9), \
50 	AOM_ICDF(a10), AOM_ICDF(a11), AOM_ICDF(a12)
51 #define AOM_CDF15(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) \
52 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), \
53 	AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9), \
54 	AOM_ICDF(a10), AOM_ICDF(a11), AOM_ICDF(a12), AOM_ICDF(a13)
55 #define AOM_CDF16(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) \
56 	AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(a4), \
57 	AOM_ICDF(a5), AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(a8), AOM_ICDF(a9), \
58 	AOM_ICDF(a10), AOM_ICDF(a11), AOM_ICDF(a12), AOM_ICDF(a13), AOM_ICDF(a14)
59 
60 static const u16 default_kf_y_mode_cdf
61 	[KF_MODE_CONTEXTS][KF_MODE_CONTEXTS][CDF_SIZE(AV1_INTRA_MODES)] = {
62 	{
63 		{
64 			AOM_CDF13(15588, 17027, 19338, 20218, 20682, 21110,
65 				  21825, 23244, 24189, 28165, 29093, 30466)
66 		},
67 		{
68 			AOM_CDF13(12016, 18066, 19516, 20303, 20719, 21444,
69 				  21888, 23032, 24434, 28658, 30172, 31409)
70 		},
71 		{
72 			AOM_CDF13(10052, 10771, 22296, 22788, 23055, 23239,
73 				  24133, 25620, 26160, 29336, 29929, 31567)
74 		},
75 		{
76 			AOM_CDF13(14091, 15406, 16442, 18808, 19136, 19546,
77 				  19998, 22096, 24746, 29585, 30958, 32462)
78 		},
79 		{
80 			AOM_CDF13(12122, 13265, 15603, 16501, 18609, 20033,
81 				  22391, 25583, 26437, 30261, 31073, 32475)
82 		}
83 	},
84 	{
85 		{
86 			AOM_CDF13(10023, 19585, 20848, 21440, 21832, 22760,
87 				  23089, 24023, 25381, 29014, 30482, 31436)
88 		},
89 		{
90 			AOM_CDF13(5983, 24099, 24560, 24886, 25066, 25795,
91 				  25913, 26423, 27610, 29905, 31276, 31794)
92 		},
93 		{
94 			AOM_CDF13(7444, 12781, 20177, 20728, 21077, 21607,
95 				  22170, 23405, 24469, 27915, 29090, 30492)
96 		},
97 		{
98 			AOM_CDF13(8537, 14689, 15432, 17087, 17408, 18172,
99 				  18408, 19825, 24649, 29153, 31096, 32210)
100 		},
101 		{
102 			AOM_CDF13(7543, 14231, 15496, 16195, 17905, 20717,
103 				  21984, 24516, 26001, 29675, 30981, 31994)
104 		}
105 	},
106 	{
107 		{
108 			AOM_CDF13(12613, 13591, 21383, 22004, 22312, 22577,
109 				  23401, 25055, 25729, 29538, 30305, 32077)
110 		},
111 		{
112 			AOM_CDF13(9687, 13470, 18506, 19230, 19604, 20147,
113 				  20695, 22062, 23219, 27743, 29211, 30907)
114 		},
115 		{
116 			AOM_CDF13(6183, 6505, 26024, 26252, 26366, 26434,
117 				  27082, 28354, 28555, 30467, 30794, 32086)
118 		},
119 		{
120 			AOM_CDF13(10718, 11734, 14954, 17224, 17565, 17924,
121 				  18561, 21523, 23878, 28975, 30287, 32252)
122 		},
123 		{
124 			AOM_CDF13(9194, 9858, 16501, 17263, 18424, 19171,
125 				  21563, 25961, 26561, 30072, 30737, 32463)
126 		}
127 	},
128 	{
129 		{
130 			AOM_CDF13(12602, 14399, 15488, 18381, 18778, 19315,
131 				  19724, 21419, 25060, 29696, 30917, 32409)
132 		},
133 		{
134 			AOM_CDF13(8203, 13821, 14524, 17105, 17439, 18131,
135 				  18404, 19468, 25225, 29485, 31158, 32342)
136 		},
137 		{
138 			AOM_CDF13(8451, 9731, 15004, 17643, 18012, 18425,
139 				  19070, 21538, 24605, 29118, 30078, 32018)
140 		},
141 		{
142 			AOM_CDF13(7714, 9048, 9516, 16667, 16817, 16994,
143 				  17153, 18767, 26743, 30389, 31536, 32528)
144 		},
145 		{
146 			AOM_CDF13(8843, 10280, 11496, 15317, 16652, 17943,
147 				  19108, 22718, 25769, 29953, 30983, 32485)
148 		}
149 	},
150 	{
151 		{
152 			AOM_CDF13(12578, 13671, 15979, 16834, 19075, 20913,
153 				  22989, 25449, 26219, 30214, 31150, 32477)
154 		},
155 		{
156 			AOM_CDF13(9563, 13626, 15080, 15892, 17756, 20863,
157 				  22207, 24236, 25380, 29653, 31143, 32277)
158 		},
159 		{
160 			AOM_CDF13(8356, 8901, 17616, 18256, 19350, 20106,
161 				  22598, 25947, 26466, 29900, 30523, 32261)
162 		},
163 		{
164 			AOM_CDF13(10835, 11815, 13124, 16042, 17018, 18039,
165 				  18947, 22753, 24615, 29489, 30883, 32482)
166 		},
167 		{
168 			AOM_CDF13(7618, 8288, 9859, 10509, 15386, 18657,
169 				  22903, 28776, 29180, 31355, 31802, 32593)
170 		}
171 	}
172 };
173 
174 static const u16 default_angle_delta_cdf[DIRECTIONAL_MODES]
175 	[CDF_SIZE(2 * MAX_ANGLE_DELTA + 1)] = {
176 	{ AOM_CDF7(2180, 5032, 7567, 22776, 26989, 30217) },
177 	{ AOM_CDF7(2301, 5608, 8801, 23487, 26974, 30330) },
178 	{ AOM_CDF7(3780, 11018, 13699, 19354, 23083, 31286) },
179 	{ AOM_CDF7(4581, 11226, 15147, 17138, 21834, 28397) },
180 	{ AOM_CDF7(1737, 10927, 14509, 19588, 22745, 28823) },
181 	{ AOM_CDF7(2664, 10176, 12485, 17650, 21600, 30495) },
182 	{ AOM_CDF7(2240, 11096, 15453, 20341, 22561, 28917) },
183 	{ AOM_CDF7(3605, 10428, 12459, 17676, 21244, 30655) }
184 };
185 
186 static const u16 default_if_y_mode_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(AV1_INTRA_MODES)] = {
187 	{
188 		AOM_CDF13(22801, 23489, 24293, 24756, 25601, 26123,
189 			  26606, 27418, 27945, 29228, 29685, 30349)
190 	},
191 	{
192 		AOM_CDF13(18673, 19845, 22631, 23318, 23950, 24649,
193 			  25527, 27364, 28152, 29701, 29984, 30852)
194 	},
195 	{
196 		AOM_CDF13(19770, 20979, 23396, 23939, 24241, 24654,
197 			  25136, 27073, 27830, 29360, 29730, 30659)
198 	},
199 	{
200 		AOM_CDF13(20155, 21301, 22838, 23178, 23261, 23533,
201 			  23703, 24804, 25352, 26575, 27016, 28049)
202 	}
203 };
204 
205 static const u16 default_uv_mode_cdf[CFL_ALLOWED_TYPES]
206 	[AV1_INTRA_MODES][CDF_SIZE(UV_INTRA_MODES)] = {
207 	{
208 		{
209 			AOM_CDF13(22631, 24152, 25378, 25661, 25986, 26520,
210 				  27055, 27923, 28244, 30059, 30941, 31961)
211 		},
212 		{
213 			AOM_CDF13(9513, 26881, 26973, 27046, 27118, 27664,
214 				  27739, 27824, 28359, 29505, 29800, 31796)
215 		},
216 		{
217 			AOM_CDF13(9845, 9915, 28663, 28704, 28757, 28780,
218 				  29198, 29822, 29854, 30764, 31777, 32029)
219 		},
220 		{
221 			AOM_CDF13(13639, 13897, 14171, 25331, 25606, 25727,
222 				  25953, 27148, 28577, 30612, 31355, 32493)
223 		},
224 		{
225 			AOM_CDF13(9764, 9835, 9930, 9954, 25386, 27053,
226 				  27958, 28148, 28243, 31101, 31744, 32363)
227 		},
228 		{
229 			AOM_CDF13(11825, 13589, 13677, 13720, 15048, 29213,
230 				  29301, 29458, 29711, 31161, 31441, 32550)
231 		},
232 		{
233 			AOM_CDF13(14175, 14399, 16608, 16821, 17718, 17775,
234 				  28551, 30200, 30245, 31837, 32342, 32667)
235 		},
236 		{
237 			AOM_CDF13(12885, 13038, 14978, 15590, 15673, 15748,
238 				  16176, 29128, 29267, 30643, 31961, 32461)
239 		},
240 		{
241 			AOM_CDF13(12026, 13661, 13874, 15305, 15490, 15726,
242 				  15995, 16273, 28443, 30388, 30767, 32416)
243 		},
244 		{
245 			AOM_CDF13(19052, 19840, 20579, 20916, 21150, 21467,
246 				  21885, 22719, 23174, 28861, 30379, 32175)
247 		},
248 		{
249 			AOM_CDF13(18627, 19649, 20974, 21219, 21492, 21816,
250 				  22199, 23119, 23527, 27053, 31397, 32148)
251 		},
252 		{
253 			AOM_CDF13(17026, 19004, 19997, 20339, 20586, 21103,
254 				  21349, 21907, 22482, 25896, 26541, 31819)
255 		},
256 		{
257 			AOM_CDF13(12124, 13759, 14959, 14992, 15007, 15051,
258 				  15078, 15166, 15255, 15753, 16039, 16606)
259 		}
260 	},
261 	{
262 		{
263 			AOM_CDF14(10407, 11208, 12900, 13181, 13823, 14175,
264 				  14899, 15656, 15986, 20086, 20995, 22455,
265 				  24212)
266 		},
267 		{
268 			AOM_CDF14(4532, 19780, 20057, 20215, 20428, 21071,
269 				  21199, 21451, 22099, 24228, 24693, 27032,
270 				  29472)
271 		},
272 		{
273 			AOM_CDF14(5273, 5379, 20177, 20270, 20385, 20439,
274 				  20949, 21695, 21774, 23138, 24256, 24703,
275 				  26679)
276 		},
277 		{
278 			AOM_CDF14(6740, 7167, 7662, 14152, 14536, 14785,
279 				  15034, 16741, 18371, 21520, 22206, 23389,
280 				  24182)
281 		},
282 		{
283 			AOM_CDF14(4987, 5368, 5928, 6068, 19114, 20315, 21857,
284 				  22253, 22411, 24911, 25380, 26027, 26376)
285 		},
286 		{
287 			AOM_CDF14(5370, 6889, 7247, 7393, 9498, 21114, 21402,
288 				  21753, 21981, 24780, 25386, 26517, 27176)
289 		},
290 		{
291 			AOM_CDF14(4816, 4961, 7204, 7326, 8765, 8930, 20169,
292 				  20682, 20803, 23188, 23763, 24455, 24940)
293 		},
294 		{
295 			AOM_CDF14(6608, 6740, 8529, 9049, 9257, 9356, 9735,
296 				  18827, 19059, 22336, 23204, 23964, 24793)
297 		},
298 		{
299 			AOM_CDF14(5998, 7419, 7781, 8933, 9255, 9549, 9753,
300 				  10417, 18898, 22494, 23139, 24764, 25989)
301 		},
302 		{
303 			AOM_CDF14(10660, 11298, 12550, 12957, 13322, 13624,
304 				  14040, 15004, 15534, 20714, 21789, 23443,
305 				  24861)
306 		},
307 		{
308 			AOM_CDF14(10522, 11530, 12552, 12963, 13378, 13779,
309 				  14245, 15235, 15902, 20102, 22696, 23774,
310 				  25838)
311 		},
312 		{
313 			AOM_CDF14(10099, 10691, 12639, 13049, 13386, 13665,
314 				  14125, 15163, 15636, 19676, 20474, 23519,
315 				  25208)
316 		},
317 		{
318 			AOM_CDF14(3144, 5087, 7382, 7504, 7593, 7690, 7801,
319 				  8064, 8232, 9248, 9875, 10521, 29048)
320 		}
321 	}
322 };
323 
324 static const u16 default_partition_cdf[13][16] = {
325 	{
326 		AOM_CDF4(19132, 25510, 30392), AOM_CDF4(13928, 19855, 28540),
327 		AOM_CDF4(12522, 23679, 28629), AOM_CDF4(9896, 18783, 25853),
328 		AOM_CDF2(11570), AOM_CDF2(16855), AOM_CDF3(9413, 22581)
329 	},
330 	{
331 		AOM_CDF10(15597, 20929, 24571, 26706, 27664, 28821, 29601, 30571, 31902)
332 	},
333 	{
334 		AOM_CDF10(7925, 11043, 16785, 22470, 23971, 25043, 26651, 28701, 29834)
335 	},
336 	{
337 		AOM_CDF10(5414, 13269, 15111, 20488, 22360, 24500, 25537, 26336, 32117)
338 	},
339 	{
340 		AOM_CDF10(2662, 6362, 8614, 20860, 23053, 24778, 26436, 27829, 31171)
341 	},
342 	{
343 		AOM_CDF10(18462, 20920, 23124, 27647, 28227, 29049, 29519, 30178, 31544)
344 	},
345 	{
346 		AOM_CDF10(7689, 9060, 12056, 24992, 25660, 26182, 26951, 28041, 29052)
347 	},
348 	{
349 		AOM_CDF10(6015, 9009, 10062, 24544, 25409, 26545, 27071, 27526, 32047)
350 	},
351 	{
352 		AOM_CDF10(1394, 2208, 2796, 28614, 29061, 29466, 29840, 30185, 31899)
353 	},
354 	{
355 		AOM_CDF10(20137, 21547, 23078, 29566, 29837, 30261, 30524, 30892, 31724),
356 		AOM_CDF8(27899, 28219, 28529, 32484, 32539, 32619, 32639)
357 	},
358 	{
359 		AOM_CDF10(6732, 7490, 9497, 27944, 28250, 28515, 28969, 29630, 30104),
360 		AOM_CDF8(6607, 6990, 8268, 32060, 32219, 32338, 32371)
361 	},
362 	{
363 		AOM_CDF10(5945, 7663, 8348, 28683, 29117, 29749, 30064, 30298, 32238),
364 		AOM_CDF8(5429, 6676, 7122, 32027, 32227, 32531, 32582)
365 	},
366 	{
367 		AOM_CDF10(870, 1212, 1487, 31198, 31394, 31574, 31743, 31881, 32332),
368 		AOM_CDF8(711, 966, 1172, 32448, 32538, 32617, 32664)
369 	},
370 };
371 
372 static const u16 default_intra_ext_tx0_cdf[EXTTX_SIZES][AV1_INTRA_MODES][8] = {
373 	{
374 		{ AOM_CDF7(1535, 8035, 9461, 12751, 23467, 27825)},
375 		{ AOM_CDF7(564, 3335, 9709, 10870, 18143, 28094)},
376 		{ AOM_CDF7(672, 3247, 3676, 11982, 19415, 23127)},
377 		{ AOM_CDF7(5279, 13885, 15487, 18044, 23527, 30252)},
378 		{ AOM_CDF7(4423, 6074, 7985, 10416, 25693, 29298)},
379 		{ AOM_CDF7(1486, 4241, 9460, 10662, 16456, 27694)},
380 		{ AOM_CDF7(439, 2838, 3522, 6737, 18058, 23754)},
381 		{ AOM_CDF7(1190, 4233, 4855, 11670, 20281, 24377)},
382 		{ AOM_CDF7(1045, 4312, 8647, 10159, 18644, 29335)},
383 		{ AOM_CDF7(202, 3734, 4747, 7298, 17127, 24016)},
384 		{ AOM_CDF7(447, 4312, 6819, 8884, 16010, 23858)},
385 		{ AOM_CDF7(277, 4369, 5255, 8905, 16465, 22271)},
386 		{ AOM_CDF7(3409, 5436, 10599, 15599, 19687, 24040)},
387 	},
388 	{
389 		{ AOM_CDF7(1870, 13742, 14530, 16498, 23770, 27698)},
390 		{ AOM_CDF7(326, 8796, 14632, 15079, 19272, 27486)},
391 		{ AOM_CDF7(484, 7576, 7712, 14443, 19159, 22591)},
392 		{ AOM_CDF7(1126, 15340, 15895, 17023, 20896, 30279)},
393 		{ AOM_CDF7(655, 4854, 5249, 5913, 22099, 27138)},
394 		{ AOM_CDF7(1299, 6458, 8885, 9290, 14851, 25497)},
395 		{ AOM_CDF7(311, 5295, 5552, 6885, 16107, 22672)},
396 		{ AOM_CDF7(883, 8059, 8270, 11258, 17289, 21549)},
397 		{ AOM_CDF7(741, 7580, 9318, 10345, 16688, 29046)},
398 		{ AOM_CDF7(110, 7406, 7915, 9195, 16041, 23329)},
399 		{ AOM_CDF7(363, 7974, 9357, 10673, 15629, 24474)},
400 		{ AOM_CDF7(153, 7647, 8112, 9936, 15307, 19996)},
401 		{ AOM_CDF7(3511, 6332, 11165, 15335, 19323, 23594)},
402 	},
403 	{
404 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
405 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
406 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
407 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
408 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
409 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
410 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
411 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
412 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
413 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
414 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
415 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
416 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
417 	},
418 	{
419 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
420 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
421 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
422 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
423 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
424 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
425 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
426 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
427 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
428 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
429 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
430 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
431 		{ AOM_CDF7(4681, 9362, 14043, 18725, 23406, 28087)},
432 	},
433 };
434 
435 static const u16 default_intra_ext_tx1_cdf[EXTTX_SIZES][AV1_INTRA_MODES][4] = {
436 	{
437 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
438 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
439 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
440 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
441 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
442 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
443 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
444 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
445 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
446 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
447 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
448 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
449 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
450 	},
451 	{
452 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
453 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
454 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
455 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
456 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
457 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
458 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
459 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
460 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
461 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
462 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
463 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
464 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
465 	},
466 	{
467 		{ AOM_CDF5(1127, 12814, 22772, 27483)},
468 		{ AOM_CDF5(145, 6761, 11980, 26667)},
469 		{ AOM_CDF5(362, 5887, 11678, 16725)},
470 		{ AOM_CDF5(385, 15213, 18587, 30693)},
471 		{ AOM_CDF5(25, 2914, 23134, 27903)},
472 		{ AOM_CDF5(60, 4470, 11749, 23991)},
473 		{ AOM_CDF5(37, 3332, 14511, 21448)},
474 		{ AOM_CDF5(157, 6320, 13036, 17439)},
475 		{ AOM_CDF5(119, 6719, 12906, 29396)},
476 		{ AOM_CDF5(47, 5537, 12576, 21499)},
477 		{ AOM_CDF5(269, 6076, 11258, 23115)},
478 		{ AOM_CDF5(83, 5615, 12001, 17228)},
479 		{ AOM_CDF5(1968, 5556, 12023, 18547)},
480 	},
481 	{
482 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
483 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
484 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
485 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
486 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
487 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
488 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
489 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
490 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
491 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
492 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
493 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
494 		{ AOM_CDF5(6554, 13107, 19661, 26214)},
495 	},
496 };
497 
498 static const u16 default_inter_ext_tx_cdf[2][EXTTX_SIZES][EXT_TX_TYPES] = {
499 	{
500 		{
501 			AOM_CDF16(4458, 5560, 7695, 9709, 13330, 14789, 17537, 20266,
502 				  21504, 22848, 23934, 25474, 27727, 28915, 30631)
503 		},
504 		{
505 			AOM_CDF16(1645, 2573, 4778, 5711, 7807, 8622, 10522, 15357, 17674,
506 				  20408, 22517, 25010, 27116, 28856, 30749)
507 		},
508 		{
509 			AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384,
510 				  18432, 20480, 22528, 24576, 26624, 28672, 30720)
511 		},
512 		{
513 			AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384,
514 				  18432, 20480, 22528, 24576, 26624, 28672, 30720)
515 		},
516 	},
517 	{
518 		{
519 			AOM_CDF12(2731, 5461, 8192, 10923, 13653, 16384, 19115, 21845,
520 				  24576, 27307, 30037),
521 			AOM_CDF2(16384)
522 		},
523 		{
524 			AOM_CDF12(2731, 5461, 8192, 10923, 13653, 16384, 19115, 21845,
525 				  24576, 27307, 30037),
526 			AOM_CDF2(4167)
527 		},
528 		{
529 			AOM_CDF12(770, 2421, 5225, 12907, 15819, 18927, 21561, 24089,
530 				  26595, 28526, 30529),
531 			AOM_CDF2(1998)
532 		},
533 		{
534 			AOM_CDF12(2731, 5461, 8192, 10923, 13653, 16384, 19115, 21845,
535 				  24576, 27307, 30037),
536 			AOM_CDF2(748)
537 		},
538 	}
539 };
540 
541 static const u16 default_cfl_sign_cdf[CDF_SIZE(CFL_JOINT_SIGNS)] = {
542 	AOM_CDF8(1418, 2123, 13340, 18405, 26972, 28343, 32294)
543 };
544 
545 static const u16 default_cfl_alpha_cdf[CFL_ALPHA_CONTEXTS][CDF_SIZE(CFL_ALPHABET_SIZE)] = {
546 	{
547 		AOM_CDF16(7637, 20719, 31401, 32481, 32657, 32688, 32692, 32696, 32700,
548 			  32704, 32708, 32712, 32716, 32720, 32724)
549 	},
550 	{
551 		AOM_CDF16(14365, 23603, 28135, 31168, 32167, 32395, 32487, 32573,
552 			  32620, 32647, 32668, 32672, 32676, 32680, 32684)
553 	},
554 	{
555 		AOM_CDF16(11532, 22380, 28445, 31360, 32349, 32523, 32584, 32649,
556 			  32673, 32677, 32681, 32685, 32689, 32693, 32697)
557 	},
558 	{
559 		AOM_CDF16(26990, 31402, 32282, 32571, 32692, 32696, 32700, 32704,
560 			  32708, 32712, 32716, 32720, 32724, 32728, 32732)
561 	},
562 	{
563 		AOM_CDF16(17248, 26058, 28904, 30608, 31305, 31877, 32126, 32321,
564 			  32394, 32464, 32516, 32560, 32576, 32593, 32622)
565 	},
566 	{
567 		AOM_CDF16(14738, 21678, 25779, 27901, 29024, 30302, 30980, 31843,
568 			  32144, 32413, 32520, 32594, 32622, 32656, 32660)
569 	}
570 };
571 
572 static const u16 default_switchable_interp_cdf[SWITCHABLE_FILTER_CONTEXTS]
573 	[CDF_SIZE(AV1_SWITCHABLE_FILTERS)] = {
574 		{ AOM_CDF3(31935, 32720) }, { AOM_CDF3(5568, 32719) },
575 		{ AOM_CDF3(422, 2938) }, { AOM_CDF3(28244, 32608) },
576 		{ AOM_CDF3(31206, 31953) }, { AOM_CDF3(4862, 32121) },
577 		{ AOM_CDF3(770, 1152) }, { AOM_CDF3(20889, 25637) },
578 		{ AOM_CDF3(31910, 32724) }, { AOM_CDF3(4120, 32712) },
579 		{ AOM_CDF3(305, 2247) }, { AOM_CDF3(27403, 32636) },
580 		{ AOM_CDF3(31022, 32009) }, { AOM_CDF3(2963, 32093) },
581 		{ AOM_CDF3(601, 943) }, { AOM_CDF3(14969, 21398) }
582 };
583 
584 static const u16 default_newmv_cdf[NEWMV_MODE_CONTEXTS][CDF_SIZE(2)] = {
585 	{ AOM_CDF2(24035) }, { AOM_CDF2(16630) }, { AOM_CDF2(15339) },
586 	{ AOM_CDF2(8386) }, { AOM_CDF2(12222) }, { AOM_CDF2(4676) }
587 };
588 
589 static const u16 default_zeromv_cdf[GLOBALMV_MODE_CONTEXTS][CDF_SIZE(2)] = {
590 	{ AOM_CDF2(2175) }, { AOM_CDF2(1054) }
591 };
592 
593 static const u16 default_refmv_cdf[REFMV_MODE_CONTEXTS][CDF_SIZE(2)] = {
594 	{ AOM_CDF2(23974) }, { AOM_CDF2(24188) }, { AOM_CDF2(17848) },
595 	{ AOM_CDF2(28622) }, { AOM_CDF2(24312) }, { AOM_CDF2(19923) }
596 };
597 
598 static const u16 default_drl_cdf[DRL_MODE_CONTEXTS][CDF_SIZE(2)] = {
599 	{ AOM_CDF2(13104) }, { AOM_CDF2(24560) }, { AOM_CDF2(18945) }
600 };
601 
602 static const u16 default_inter_compound_mode_cdf[AV1_INTER_MODE_CONTEXTS]
603 	[CDF_SIZE(INTER_COMPOUND_MODES)] = {
604 		{ AOM_CDF8(7760, 13823, 15808, 17641, 19156, 20666, 26891) },
605 		{ AOM_CDF8(10730, 19452, 21145, 22749, 24039, 25131, 28724) },
606 		{ AOM_CDF8(10664, 20221, 21588, 22906, 24295, 25387, 28436) },
607 		{ AOM_CDF8(13298, 16984, 20471, 24182, 25067, 25736, 26422) },
608 		{ AOM_CDF8(18904, 23325, 25242, 27432, 27898, 28258, 30758) },
609 		{ AOM_CDF8(10725, 17454, 20124, 22820, 24195, 25168, 26046) },
610 		{ AOM_CDF8(17125, 24273, 25814, 27492, 28214, 28704, 30592) },
611 		{ AOM_CDF8(13046, 23214, 24505, 25942, 27435, 28442, 29330) }
612 };
613 
614 static const u16 default_interintra_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(2)] = {
615 	{ AOM_CDF2(16384) }, { AOM_CDF2(26887) }, { AOM_CDF2(27597) },
616 	{ AOM_CDF2(30237) }
617 };
618 
619 static const u16 default_interintra_mode_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(INTERINTRA_MODES)] = {
620 	{ AOM_CDF4(8192, 16384, 24576) },
621 	{ AOM_CDF4(1875, 11082, 27332) },
622 	{ AOM_CDF4(2473, 9996, 26388) },
623 	{ AOM_CDF4(4238, 11537, 25926) }
624 };
625 
626 static const u16 default_wedge_interintra_cdf[BLOCK_SIZES_ALL][CDF_SIZE(2)] = {
627 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
628 	{ AOM_CDF2(20036) }, { AOM_CDF2(24957) }, { AOM_CDF2(26704) },
629 	{ AOM_CDF2(27530) }, { AOM_CDF2(29564) }, { AOM_CDF2(29444) },
630 	{ AOM_CDF2(26872) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
631 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
632 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
633 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
634 	{ AOM_CDF2(16384) }
635 };
636 
637 static const u16 default_compound_type_cdf[BLOCK_SIZES_ALL][CDF_SIZE(COMPOUND_TYPES - 1)] = {
638 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
639 	{ AOM_CDF2(23431) },
640 	{ AOM_CDF2(13171) }, { AOM_CDF2(11470) }, { AOM_CDF2(9770) },
641 	{ AOM_CDF2(9100) },
642 	{ AOM_CDF2(8233) }, { AOM_CDF2(6172) }, { AOM_CDF2(16384) },
643 	{ AOM_CDF2(16384) },
644 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
645 	{ AOM_CDF2(16384) },
646 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(11820) },
647 	{ AOM_CDF2(7701) },
648 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }
649 };
650 
651 static const u16 default_wedge_idx_cdf[BLOCK_SIZES_ALL][CDF_SIZE(16)] = {
652 	{
653 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384,
654 			  18432, 20480, 22528, 24576, 26624, 28672, 30720)
655 	},
656 	{
657 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384,
658 			  18432, 20480, 22528, 24576, 26624, 28672, 30720)
659 	},
660 	{
661 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384,
662 			  18432, 20480, 22528, 24576, 26624, 28672, 30720)
663 	},
664 	{
665 		AOM_CDF16(2438, 4440, 6599, 8663, 11005, 12874, 15751, 18094,
666 			  20359, 22362, 24127, 25702, 27752, 29450, 31171)
667 	},
668 	{
669 		AOM_CDF16(806, 3266, 6005, 6738, 7218, 7367, 7771, 14588, 16323,
670 			  17367, 18452, 19422, 22839, 26127, 29629)
671 	},
672 	{
673 		AOM_CDF16(2779, 3738, 4683, 7213, 7775, 8017, 8655, 14357, 17939,
674 			  21332, 24520, 27470, 29456, 30529, 31656)
675 	},
676 	{
677 		AOM_CDF16(1684, 3625, 5675, 7108, 9302, 11274, 14429, 17144, 19163,
678 			  20961, 22884, 24471, 26719, 28714, 30877)
679 	},
680 	{
681 		AOM_CDF16(1142, 3491, 6277, 7314, 8089, 8355, 9023, 13624, 15369,
682 			  16730, 18114, 19313, 22521, 26012, 29550)
683 	},
684 	{
685 		AOM_CDF16(2742, 4195, 5727, 8035, 8980, 9336, 10146, 14124, 17270,
686 			  20533, 23434, 25972, 27944, 29570, 31416)
687 	},
688 	{
689 		AOM_CDF16(1727, 3948, 6101, 7796, 9841, 12344, 15766, 18944, 20638,
690 			  22038, 23963, 25311, 26988, 28766, 31012)
691 	},
692 	{
693 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
694 			  20480, 22528, 24576, 26624, 28672, 30720)
695 	},
696 	{
697 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
698 			  20480, 22528, 24576, 26624, 28672, 30720)
699 	},
700 	{
701 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
702 			  20480, 22528, 24576, 26624, 28672, 30720)
703 	},
704 	{
705 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
706 			  20480, 22528, 24576, 26624, 28672, 30720)
707 	},
708 	{
709 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
710 			  20480, 22528, 24576, 26624, 28672, 30720)
711 	},
712 	{
713 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
714 			  20480, 22528, 24576, 26624, 28672, 30720)
715 	},
716 	{
717 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
718 			  20480, 22528, 24576, 26624, 28672, 30720)
719 	},
720 	{
721 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
722 			  20480, 22528, 24576, 26624, 28672, 30720)
723 	},
724 	{
725 		AOM_CDF16(154, 987, 1925, 2051, 2088, 2111, 2151, 23033, 23703, 24284,
726 			  24985, 25684, 27259, 28883, 30911)
727 	},
728 	{
729 		AOM_CDF16(1135, 1322, 1493, 2635, 2696, 2737, 2770, 21016, 22935,
730 			  25057, 27251, 29173, 30089, 30960, 31933)
731 	},
732 	{
733 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
734 			  20480, 22528, 24576, 26624, 28672, 30720)
735 	},
736 	{
737 		AOM_CDF16(2048, 4096, 6144, 8192, 10240, 12288, 14336, 16384, 18432,
738 			  20480, 22528, 24576, 26624, 28672, 30720)
739 	}
740 };
741 
742 static const u16 default_motion_mode_cdf[BLOCK_SIZES_ALL][CDF_SIZE(MOTION_MODES)] = {
743 	{ AOM_CDF3(10923, 21845) }, { AOM_CDF3(10923, 21845) },
744 	{ AOM_CDF3(10923, 21845) }, { AOM_CDF3(7651, 24760) },
745 	{ AOM_CDF3(4738, 24765) }, { AOM_CDF3(5391, 25528) },
746 	{ AOM_CDF3(19419, 26810) }, { AOM_CDF3(5123, 23606) },
747 	{ AOM_CDF3(11606, 24308) }, { AOM_CDF3(26260, 29116) },
748 	{ AOM_CDF3(20360, 28062) }, { AOM_CDF3(21679, 26830) },
749 	{ AOM_CDF3(29516, 30701) }, { AOM_CDF3(28898, 30397) },
750 	{ AOM_CDF3(30878, 31335) }, { AOM_CDF3(32507, 32558) },
751 	{ AOM_CDF3(10923, 21845) }, { AOM_CDF3(10923, 21845) },
752 	{ AOM_CDF3(28799, 31390) }, { AOM_CDF3(26431, 30774) },
753 	{ AOM_CDF3(28973, 31594) }, { AOM_CDF3(29742, 31203) }
754 };
755 
756 static const u16 default_obmc_cdf[BLOCK_SIZES_ALL][CDF_SIZE(2)] = {
757 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
758 	{ AOM_CDF2(10437) },
759 	{ AOM_CDF2(9371) }, { AOM_CDF2(9301) }, { AOM_CDF2(17432) },
760 	{ AOM_CDF2(14423) },
761 	{ AOM_CDF2(15142) }, { AOM_CDF2(25817) }, { AOM_CDF2(22823) },
762 	{ AOM_CDF2(22083) },
763 	{ AOM_CDF2(30128) }, { AOM_CDF2(31014) }, { AOM_CDF2(31560) },
764 	{ AOM_CDF2(32638) },
765 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(23664) },
766 	{ AOM_CDF2(20901) },
767 	{ AOM_CDF2(24008) }, { AOM_CDF2(26879) }
768 };
769 
770 static const u16 default_intra_inter_cdf[INTRA_INTER_CONTEXTS][CDF_SIZE(2)] = {
771 	{ AOM_CDF2(806) },
772 	{ AOM_CDF2(16662) },
773 	{ AOM_CDF2(20186) },
774 	{ AOM_CDF2(26538) }
775 };
776 
777 static const u16 default_comp_inter_cdf[COMP_INTER_CONTEXTS][CDF_SIZE(2)] = {
778 	{ AOM_CDF2(26828) },
779 	{ AOM_CDF2(24035) },
780 	{ AOM_CDF2(12031) },
781 	{ AOM_CDF2(10640) },
782 	{ AOM_CDF2(2901) }
783 };
784 
785 static const u16 default_comp_ref_type_cdf[COMP_REF_TYPE_CONTEXTS][CDF_SIZE(2)] = {
786 	{ AOM_CDF2(1198) },
787 	{ AOM_CDF2(2070) },
788 	{ AOM_CDF2(9166) },
789 	{ AOM_CDF2(7499) },
790 	{ AOM_CDF2(22475) }
791 };
792 
793 static const u16 default_uni_comp_ref_cdf[UNI_COMP_REF_CONTEXTS]
794 	[UNIDIR_COMP_REFS - 1][CDF_SIZE(2)] = {
795 	{ { AOM_CDF2(5284)}, { AOM_CDF2(3865)}, { AOM_CDF2(3128)} },
796 	{ { AOM_CDF2(23152)}, { AOM_CDF2(14173)}, { AOM_CDF2(15270)} },
797 	{ { AOM_CDF2(31774)}, { AOM_CDF2(25120)}, { AOM_CDF2(26710)} }
798 };
799 
800 static const u16 default_single_ref_cdf[REF_CONTEXTS][SINGLE_REFS - 1][CDF_SIZE(2)] = {
801 	{
802 		{ AOM_CDF2(4897)},
803 		{ AOM_CDF2(1555)},
804 		{ AOM_CDF2(4236)},
805 		{ AOM_CDF2(8650)},
806 		{ AOM_CDF2(904)},
807 		{ AOM_CDF2(1444)}
808 	},
809 	{
810 		{ AOM_CDF2(16973)},
811 		{ AOM_CDF2(16751)},
812 		{ AOM_CDF2(19647)},
813 		{ AOM_CDF2(24773)},
814 		{ AOM_CDF2(11014)},
815 		{ AOM_CDF2(15087)}
816 	},
817 	{
818 		{ AOM_CDF2(29744)},
819 		{ AOM_CDF2(30279)},
820 		{ AOM_CDF2(31194)},
821 		{ AOM_CDF2(31895)},
822 		{ AOM_CDF2(26875)},
823 		{ AOM_CDF2(30304)}
824 	}
825 };
826 
827 static const u16 default_comp_ref_cdf[REF_CONTEXTS][FWD_REFS - 1][CDF_SIZE(2)] = {
828 	{ { AOM_CDF2(4946)}, { AOM_CDF2(9468)}, { AOM_CDF2(1503)} },
829 	{ { AOM_CDF2(19891)}, { AOM_CDF2(22441)}, { AOM_CDF2(15160)} },
830 	{ { AOM_CDF2(30731)}, { AOM_CDF2(31059)}, { AOM_CDF2(27544)} }
831 };
832 
833 static const u16 default_comp_bwdref_cdf[REF_CONTEXTS][BWD_REFS - 1][CDF_SIZE(2)] = {
834 	{ { AOM_CDF2(2235)}, { AOM_CDF2(1423)} },
835 	{ { AOM_CDF2(17182)}, { AOM_CDF2(15175)} },
836 	{ { AOM_CDF2(30606)}, { AOM_CDF2(30489)} }
837 };
838 
839 static const u16 default_palette_y_size_cdf[PALETTE_BLOCK_SIZES][CDF_SIZE(PALETTE_SIZES)] = {
840 	{ AOM_CDF7(7952, 13000, 18149, 21478, 25527, 29241) },
841 	{ AOM_CDF7(7139, 11421, 16195, 19544, 23666, 28073) },
842 	{ AOM_CDF7(7788, 12741, 17325, 20500, 24315, 28530) },
843 	{ AOM_CDF7(8271, 14064, 18246, 21564, 25071, 28533) },
844 	{ AOM_CDF7(12725, 19180, 21863, 24839, 27535, 30120) },
845 	{ AOM_CDF7(9711, 14888, 16923, 21052, 25661, 27875) },
846 	{ AOM_CDF7(14940, 20797, 21678, 24186, 27033, 28999) }
847 };
848 
849 static const u16 default_palette_uv_size_cdf[PALETTE_BLOCK_SIZES][CDF_SIZE(PALETTE_SIZES)] = {
850 	{ AOM_CDF7(8713, 19979, 27128, 29609, 31331, 32272) },
851 	{ AOM_CDF7(5839, 15573, 23581, 26947, 29848, 31700) },
852 	{ AOM_CDF7(4426, 11260, 17999, 21483, 25863, 29430) },
853 	{ AOM_CDF7(3228, 9464, 14993, 18089, 22523, 27420) },
854 	{ AOM_CDF7(3768, 8886, 13091, 17852, 22495, 27207) },
855 	{ AOM_CDF7(2464, 8451, 12861, 21632, 25525, 28555) },
856 	{ AOM_CDF7(1269, 5435, 10433, 18963, 21700, 25865) }
857 };
858 
859 static const u16 default_palette_y_mode_cdf[PALETTE_BLOCK_SIZES]
860 	[PALETTE_Y_MODE_CONTEXTS][CDF_SIZE(2)] = {
861 	{ { AOM_CDF2(31676)}, { AOM_CDF2(3419)}, { AOM_CDF2(1261)} },
862 	{ { AOM_CDF2(31912)}, { AOM_CDF2(2859)}, { AOM_CDF2(980)} },
863 	{ { AOM_CDF2(31823)}, { AOM_CDF2(3400)}, { AOM_CDF2(781)} },
864 	{ { AOM_CDF2(32030)}, { AOM_CDF2(3561)}, { AOM_CDF2(904)} },
865 	{ { AOM_CDF2(32309)}, { AOM_CDF2(7337)}, { AOM_CDF2(1462)} },
866 	{ { AOM_CDF2(32265)}, { AOM_CDF2(4015)}, { AOM_CDF2(1521)} },
867 	{ { AOM_CDF2(32450)}, { AOM_CDF2(7946)}, { AOM_CDF2(129)} }
868 };
869 
870 static const u16 default_palette_uv_mode_cdf[PALETTE_UV_MODE_CONTEXTS][CDF_SIZE(2)] = {
871 	{ AOM_CDF2(32461) }, { AOM_CDF2(21488) }
872 };
873 
874 static const u16 default_palette_y_color_index_cdf[PALETTE_IDX_CONTEXTS][8] = {
875 	// Palette sizes 2 & 8
876 	{
877 		AOM_CDF2(28710),
878 		AOM_CDF8(21689, 23883, 25163, 26352, 27506, 28827, 30195)
879 	},
880 	{
881 		AOM_CDF2(16384),
882 		AOM_CDF8(6892, 15385, 17840, 21606, 24287, 26753, 29204)
883 	},
884 	{
885 		AOM_CDF2(10553),
886 		AOM_CDF8(5651, 23182, 25042, 26518, 27982, 29392, 30900)
887 	},
888 	{
889 		AOM_CDF2(27036),
890 		AOM_CDF8(19349, 22578, 24418, 25994, 27524, 29031, 30448)
891 	},
892 	{
893 		AOM_CDF2(31603),
894 		AOM_CDF8(31028, 31270, 31504, 31705, 31927, 32153, 32392)
895 	},
896 	// Palette sizes 3 & 7
897 	{
898 		AOM_CDF3(27877, 30490),
899 		AOM_CDF7(23105, 25199, 26464, 27684, 28931, 30318)
900 	},
901 	{
902 		AOM_CDF3(11532, 25697),
903 		AOM_CDF7(6950, 15447, 18952, 22681, 25567, 28563)
904 	},
905 	{
906 		AOM_CDF3(6544, 30234),
907 		AOM_CDF7(7560, 23474, 25490, 27203, 28921, 30708)
908 	},
909 	{
910 		AOM_CDF3(23018, 28072),
911 		AOM_CDF7(18544, 22373, 24457, 26195, 28119, 30045)
912 	},
913 	{
914 		AOM_CDF3(31915, 32385),
915 		AOM_CDF7(31198, 31451, 31670, 31882, 32123, 32391)
916 	},
917 	// Palette sizes 4 & 6
918 	{
919 		AOM_CDF4(25572, 28046, 30045),
920 		AOM_CDF6(23132, 25407, 26970, 28435, 30073)
921 	},
922 	{
923 		AOM_CDF4(9478, 21590, 27256),
924 		AOM_CDF6(7443, 17242, 20717, 24762, 27982)
925 	},
926 	{
927 		AOM_CDF4(7248, 26837, 29824),
928 		AOM_CDF6(6300, 24862, 26944, 28784, 30671)
929 	},
930 	{
931 		AOM_CDF4(19167, 24486, 28349),
932 		AOM_CDF6(18916, 22895, 25267, 27435, 29652)
933 	},
934 	{
935 		AOM_CDF4(31400, 31825, 32250),
936 		AOM_CDF6(31270, 31550, 31808, 32059, 32353)
937 	},
938 	// Palette size 5
939 	{
940 		AOM_CDF5(24779, 26955, 28576, 30282),
941 		AOM_CDF5(8669, 20364, 24073, 28093)
942 	},
943 	{
944 		AOM_CDF5(4255, 27565, 29377, 31067),
945 		AOM_CDF5(19864, 23674, 26716, 29530)
946 	},
947 	{
948 		AOM_CDF5(31646, 31893, 32147, 32426),
949 		0, 0, 0, 0
950 	}
951 };
952 
953 static const u16 default_palette_uv_color_index_cdf[PALETTE_IDX_CONTEXTS][8] = {
954 	// Palette sizes 2 & 8
955 	{
956 		AOM_CDF2(29089),
957 		AOM_CDF8(21442, 23288, 24758, 26246, 27649, 28980, 30563)
958 	},
959 	{
960 		AOM_CDF2(16384),
961 		AOM_CDF8(5863, 14933, 17552, 20668, 23683, 26411, 29273)
962 	},
963 	{
964 		AOM_CDF2(8713),
965 		AOM_CDF8(3415, 25810, 26877, 27990, 29223, 30394, 31618)
966 	},
967 	{
968 		AOM_CDF2(29257),
969 		AOM_CDF8(17965, 20084, 22232, 23974, 26274, 28402, 30390)
970 	},
971 	{
972 		AOM_CDF2(31610),
973 		AOM_CDF8(31190, 31329, 31516, 31679, 31825, 32026, 32322)
974 	},
975 	// Palette sizes 3 & 7
976 	{
977 		AOM_CDF3(25257, 29145),
978 		AOM_CDF7(21239, 23168, 25044, 26962, 28705, 30506)
979 	},
980 	{
981 		AOM_CDF3(12287, 27293),
982 		AOM_CDF7(6545, 15012, 18004, 21817, 25503, 28701)
983 	},
984 	{
985 		AOM_CDF3(7033, 27960),
986 		AOM_CDF7(3448, 26295, 27437, 28704, 30126, 31442)
987 	},
988 	{
989 		AOM_CDF3(20145, 25405),
990 		AOM_CDF7(15889, 18323, 21704, 24698, 26976, 29690)
991 	},
992 	{
993 		AOM_CDF3(30608, 31639),
994 		AOM_CDF7(30988, 31204, 31479, 31734, 31983, 32325)
995 	},
996 	// Palette sizes 4 & 6
997 	{
998 		AOM_CDF4(24210, 27175, 29903),
999 		AOM_CDF6(22217, 24567, 26637, 28683, 30548)
1000 	},
1001 	{
1002 		AOM_CDF4(9888, 22386, 27214),
1003 		AOM_CDF6(7307, 16406, 19636, 24632, 28424)
1004 	},
1005 	{
1006 		AOM_CDF4(5901, 26053, 29293),
1007 		AOM_CDF6(4441, 25064, 26879, 28942, 30919)
1008 	},
1009 	{
1010 		AOM_CDF4(18318, 22152, 28333),
1011 		AOM_CDF6(17210, 20528, 23319, 26750, 29582)
1012 	},
1013 	{
1014 		AOM_CDF4(30459, 31136, 31926),
1015 		AOM_CDF6(30674, 30953, 31396, 31735, 32207)
1016 	},
1017 	// Palette size 5
1018 	{
1019 		AOM_CDF5(22980, 25479, 27781, 29986),
1020 		AOM_CDF5(8413, 21408, 24859, 28874)
1021 	},
1022 	{
1023 		AOM_CDF5(2257, 29449, 30594, 31598),
1024 		AOM_CDF5(19189, 21202, 25915, 28620)
1025 	},
1026 	{
1027 		AOM_CDF5(31844, 32044, 32281, 32518),
1028 		0, 0, 0, 0
1029 	}
1030 };
1031 
1032 static const u16 default_txfm_partition_cdf[TXFM_PARTITION_CONTEXTS][CDF_SIZE(2)] = {
1033 	{ AOM_CDF2(28581) }, { AOM_CDF2(23846) }, { AOM_CDF2(20847) },
1034 	{ AOM_CDF2(24315) }, { AOM_CDF2(18196) }, { AOM_CDF2(12133) },
1035 	{ AOM_CDF2(18791) }, { AOM_CDF2(10887) }, { AOM_CDF2(11005) },
1036 	{ AOM_CDF2(27179) }, { AOM_CDF2(20004) }, { AOM_CDF2(11281) },
1037 	{ AOM_CDF2(26549) }, { AOM_CDF2(19308) }, { AOM_CDF2(14224) },
1038 	{ AOM_CDF2(28015) }, { AOM_CDF2(21546) }, { AOM_CDF2(14400) },
1039 	{ AOM_CDF2(28165) }, { AOM_CDF2(22401) }, { AOM_CDF2(16088) }
1040 };
1041 
1042 static const u16 default_skip_cdfs[SKIP_CONTEXTS][CDF_SIZE(2)] = {
1043 	{ AOM_CDF2(31671) }, { AOM_CDF2(16515) }, { AOM_CDF2(4576) }
1044 };
1045 
1046 static const u16 default_skip_mode_cdfs[SKIP_MODE_CONTEXTS][CDF_SIZE(2)] = {
1047 	{ AOM_CDF2(32621) }, { AOM_CDF2(20708) }, { AOM_CDF2(8127) }
1048 };
1049 
1050 static const u16 default_compound_idx_cdfs[COMP_INDEX_CONTEXTS][CDF_SIZE(2)] = {
1051 	{ AOM_CDF2(18244) }, { AOM_CDF2(12865) }, { AOM_CDF2(7053) },
1052 	{ AOM_CDF2(13259) }, { AOM_CDF2(9334) }, { AOM_CDF2(4644) }
1053 };
1054 
1055 static const u16 default_comp_group_idx_cdfs[COMP_GROUP_IDX_CONTEXTS][CDF_SIZE(2)] = {
1056 	{ AOM_CDF2(26607) }, { AOM_CDF2(22891) }, { AOM_CDF2(18840) },
1057 	{ AOM_CDF2(24594) }, { AOM_CDF2(19934) }, { AOM_CDF2(22674) }
1058 };
1059 
1060 static const u16 default_intrabc_cdf[CDF_SIZE(2)] = { AOM_CDF2(30531) };
1061 
1062 static const u16 default_filter_intra_mode_cdf[CDF_SIZE(FILTER_INTRA_MODES)] = {
1063 	AOM_CDF5(8949, 12776, 17211, 29558)
1064 };
1065 
1066 static const u16 default_filter_intra_cdfs[BLOCK_SIZES_ALL][CDF_SIZE(2)] = {
1067 	{ AOM_CDF2(4621) }, { AOM_CDF2(6743) }, { AOM_CDF2(5893) }, { AOM_CDF2(7866) },
1068 	{ AOM_CDF2(12551) }, { AOM_CDF2(9394) }, { AOM_CDF2(12408) }, { AOM_CDF2(14301) },
1069 	{ AOM_CDF2(12756) }, { AOM_CDF2(22343) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
1070 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) }, { AOM_CDF2(16384) },
1071 	{ AOM_CDF2(12770) }, { AOM_CDF2(10368) }, { AOM_CDF2(20229) }, { AOM_CDF2(18101) },
1072 	{ AOM_CDF2(16384) }, { AOM_CDF2(16384) }
1073 };
1074 
1075 static const u16 default_delta_q_cdf[CDF_SIZE(DELTA_Q_PROBS + 1)] = {
1076 	AOM_CDF4(28160, 32120, 32677)
1077 };
1078 
1079 static const u16 default_delta_lf_multi_cdf[FRAME_LF_COUNT][CDF_SIZE(DELTA_LF_PROBS + 1)] = {
1080 	{ AOM_CDF4(28160, 32120, 32677) },
1081 	{ AOM_CDF4(28160, 32120, 32677) },
1082 	{ AOM_CDF4(28160, 32120, 32677) },
1083 	{ AOM_CDF4(28160, 32120, 32677) }
1084 };
1085 
1086 static const u16 default_delta_lf_cdf[CDF_SIZE(DELTA_LF_PROBS + 1)] = {
1087 	AOM_CDF4(28160, 32120, 32677)
1088 };
1089 
1090 static const u16 default_segment_pred_cdf[SEG_TEMPORAL_PRED_CTXS][CDF_SIZE(2)] = {
1091 	{ AOM_CDF2(128 * 128) },
1092 	{ AOM_CDF2(128 * 128) },
1093 	{ AOM_CDF2(128 * 128) }
1094 };
1095 
1096 static const u16 default_spatial_pred_seg_tree_cdf[SPATIAL_PREDICTION_PROBS]
1097 	[CDF_SIZE(MAX_SEGMENTS)] = {
1098 	{
1099 		AOM_CDF8(5622, 7893, 16093, 18233, 27809, 28373, 32533),
1100 	},
1101 	{
1102 		AOM_CDF8(14274, 18230, 22557, 24935, 29980, 30851, 32344),
1103 	},
1104 	{
1105 		AOM_CDF8(27527, 28487, 28723, 28890, 32397, 32647, 32679),
1106 	},
1107 };
1108 
1109 static const u16 default_tx_size_cdf[MAX_TX_CATS]
1110 	[AV1_TX_SIZE_CONTEXTS][CDF_SIZE(MAX_TX_DEPTH + 1)] = {
1111 	{
1112 		{ AOM_CDF2(19968)},
1113 		{ AOM_CDF2(19968)},
1114 		{ AOM_CDF2(24320)}
1115 	},
1116 	{
1117 		{ AOM_CDF3(12272, 30172)},
1118 		{ AOM_CDF3(12272, 30172)},
1119 		{ AOM_CDF3(18677, 30848)}
1120 	},
1121 	{
1122 		{ AOM_CDF3(12986, 15180)},
1123 		{ AOM_CDF3(12986, 15180)},
1124 		{ AOM_CDF3(24302, 25602)}
1125 	},
1126 	{
1127 		{ AOM_CDF3(5782, 11475)},
1128 		{ AOM_CDF3(5782, 11475)},
1129 		{ AOM_CDF3(16803, 22759)}
1130 	},
1131 };
1132 
1133 static const u16 av1_default_dc_sign_cdfs[TOKEN_CDF_Q_CTXS]
1134 	[PLANE_TYPES][DC_SIGN_CONTEXTS][CDF_SIZE(2)] = {
1135 	{
1136 		{
1137 			{ AOM_CDF2(128 * 125)},
1138 			{ AOM_CDF2(128 * 102)},
1139 			{ AOM_CDF2(128 * 147)},
1140 		},
1141 		{
1142 			{ AOM_CDF2(128 * 119)},
1143 			{ AOM_CDF2(128 * 101)},
1144 			{ AOM_CDF2(128 * 135)},
1145 		}
1146 	},
1147 	{
1148 		{
1149 			{ AOM_CDF2(128 * 125)},
1150 			{ AOM_CDF2(128 * 102)},
1151 			{ AOM_CDF2(128 * 147)},
1152 		},
1153 		{
1154 			{ AOM_CDF2(128 * 119)},
1155 			{ AOM_CDF2(128 * 101)},
1156 			{ AOM_CDF2(128 * 135)},
1157 		}
1158 	},
1159 	{
1160 		{
1161 			{ AOM_CDF2(128 * 125)},
1162 			{ AOM_CDF2(128 * 102)},
1163 			{ AOM_CDF2(128 * 147)},
1164 		},
1165 		{
1166 			{ AOM_CDF2(128 * 119)},
1167 			{ AOM_CDF2(128 * 101)},
1168 			{ AOM_CDF2(128 * 135)},
1169 		}
1170 	},
1171 	{
1172 		{
1173 			{ AOM_CDF2(128 * 125)},
1174 			{ AOM_CDF2(128 * 102)},
1175 			{ AOM_CDF2(128 * 147)},
1176 		},
1177 		{
1178 			{ AOM_CDF2(128 * 119)},
1179 			{ AOM_CDF2(128 * 101)},
1180 			{ AOM_CDF2(128 * 135)},
1181 		}
1182 	},
1183 };
1184 
1185 static const u16 av1_default_txb_skip_cdfs[TOKEN_CDF_Q_CTXS]
1186 	[TX_SIZES][TXB_SKIP_CONTEXTS][CDF_SIZE(2)] = {
1187 	{
1188 		{
1189 			{ AOM_CDF2(31849)},
1190 			{ AOM_CDF2(5892)},
1191 			{ AOM_CDF2(12112)},
1192 			{ AOM_CDF2(21935)},
1193 			{ AOM_CDF2(20289)},
1194 			{ AOM_CDF2(27473)},
1195 			{ AOM_CDF2(32487)},
1196 			{ AOM_CDF2(7654)},
1197 			{ AOM_CDF2(19473)},
1198 			{ AOM_CDF2(29984)},
1199 			{ AOM_CDF2(9961)},
1200 			{ AOM_CDF2(30242)},
1201 			{ AOM_CDF2(32117)}
1202 		},
1203 		{
1204 			{ AOM_CDF2(31548)},
1205 			{ AOM_CDF2(1549)},
1206 			{ AOM_CDF2(10130)},
1207 			{ AOM_CDF2(16656)},
1208 			{ AOM_CDF2(18591)},
1209 			{ AOM_CDF2(26308)},
1210 			{ AOM_CDF2(32537)},
1211 			{ AOM_CDF2(5403)},
1212 			{ AOM_CDF2(18096)},
1213 			{ AOM_CDF2(30003)},
1214 			{ AOM_CDF2(16384)},
1215 			{ AOM_CDF2(16384)},
1216 			{ AOM_CDF2(16384)}
1217 		},
1218 		{
1219 			{ AOM_CDF2(29957)},
1220 			{ AOM_CDF2(5391)},
1221 			{ AOM_CDF2(18039)},
1222 			{ AOM_CDF2(23566)},
1223 			{ AOM_CDF2(22431)},
1224 			{ AOM_CDF2(25822)},
1225 			{ AOM_CDF2(32197)},
1226 			{ AOM_CDF2(3778)},
1227 			{ AOM_CDF2(15336)},
1228 			{ AOM_CDF2(28981)},
1229 			{ AOM_CDF2(16384)},
1230 			{ AOM_CDF2(16384)},
1231 			{ AOM_CDF2(16384)}
1232 		},
1233 		{
1234 			{ AOM_CDF2(17920)},
1235 			{ AOM_CDF2(1818)},
1236 			{ AOM_CDF2(7282)},
1237 			{ AOM_CDF2(25273)},
1238 			{ AOM_CDF2(10923)},
1239 			{ AOM_CDF2(31554)},
1240 			{ AOM_CDF2(32624)},
1241 			{ AOM_CDF2(1366)},
1242 			{ AOM_CDF2(15628)},
1243 			{ AOM_CDF2(30462)},
1244 			{ AOM_CDF2(146)},
1245 			{ AOM_CDF2(5132)},
1246 			{ AOM_CDF2(31657)}
1247 		},
1248 		{
1249 			{ AOM_CDF2(6308)},
1250 			{ AOM_CDF2(117)},
1251 			{ AOM_CDF2(1638)},
1252 			{ AOM_CDF2(2161)},
1253 			{ AOM_CDF2(16384)},
1254 			{ AOM_CDF2(10923)},
1255 			{ AOM_CDF2(30247)},
1256 			{ AOM_CDF2(16384)},
1257 			{ AOM_CDF2(16384)},
1258 			{ AOM_CDF2(16384)},
1259 			{ AOM_CDF2(16384)},
1260 			{ AOM_CDF2(16384)},
1261 			{ AOM_CDF2(16384)}
1262 		}
1263 	},
1264 	{
1265 		{
1266 			{ AOM_CDF2(30371)},
1267 			{ AOM_CDF2(7570)},
1268 			{ AOM_CDF2(13155)},
1269 			{ AOM_CDF2(20751)},
1270 			{ AOM_CDF2(20969)},
1271 			{ AOM_CDF2(27067)},
1272 			{ AOM_CDF2(32013)},
1273 			{ AOM_CDF2(5495)},
1274 			{ AOM_CDF2(17942)},
1275 			{ AOM_CDF2(28280)},
1276 			{ AOM_CDF2(16384)},
1277 			{ AOM_CDF2(16384)},
1278 			{ AOM_CDF2(16384)}
1279 		},
1280 		{
1281 			{ AOM_CDF2(31782)},
1282 			{ AOM_CDF2(1836)},
1283 			{ AOM_CDF2(10689)},
1284 			{ AOM_CDF2(17604)},
1285 			{ AOM_CDF2(21622)},
1286 			{ AOM_CDF2(27518)},
1287 			{ AOM_CDF2(32399)},
1288 			{ AOM_CDF2(4419)},
1289 			{ AOM_CDF2(16294)},
1290 			{ AOM_CDF2(28345)},
1291 			{ AOM_CDF2(16384)},
1292 			{ AOM_CDF2(16384)},
1293 			{ AOM_CDF2(16384)}
1294 		},
1295 		{
1296 			{ AOM_CDF2(31901)},
1297 			{ AOM_CDF2(10311)},
1298 			{ AOM_CDF2(18047)},
1299 			{ AOM_CDF2(24806)},
1300 			{ AOM_CDF2(23288)},
1301 			{ AOM_CDF2(27914)},
1302 			{ AOM_CDF2(32296)},
1303 			{ AOM_CDF2(4215)},
1304 			{ AOM_CDF2(15756)},
1305 			{ AOM_CDF2(28341)},
1306 			{ AOM_CDF2(16384)},
1307 			{ AOM_CDF2(16384)},
1308 			{ AOM_CDF2(16384)}
1309 		},
1310 		{
1311 			{ AOM_CDF2(26726)},
1312 			{ AOM_CDF2(1045)},
1313 			{ AOM_CDF2(11703)},
1314 			{ AOM_CDF2(20590)},
1315 			{ AOM_CDF2(18554)},
1316 			{ AOM_CDF2(25970)},
1317 			{ AOM_CDF2(31938)},
1318 			{ AOM_CDF2(5583)},
1319 			{ AOM_CDF2(21313)},
1320 			{ AOM_CDF2(29390)},
1321 			{ AOM_CDF2(641)},
1322 			{ AOM_CDF2(22265)},
1323 			{ AOM_CDF2(31452)}
1324 		},
1325 		{
1326 			{ AOM_CDF2(26584)},
1327 			{ AOM_CDF2(188)},
1328 			{ AOM_CDF2(8847)},
1329 			{ AOM_CDF2(24519)},
1330 			{ AOM_CDF2(22938)},
1331 			{ AOM_CDF2(30583)},
1332 			{ AOM_CDF2(32608)},
1333 			{ AOM_CDF2(16384)},
1334 			{ AOM_CDF2(16384)},
1335 			{ AOM_CDF2(16384)},
1336 			{ AOM_CDF2(16384)},
1337 			{ AOM_CDF2(16384)},
1338 			{ AOM_CDF2(16384)}
1339 		}
1340 	},
1341 	{
1342 		{
1343 			{ AOM_CDF2(29614)},
1344 			{ AOM_CDF2(9068)},
1345 			{ AOM_CDF2(12924)},
1346 			{ AOM_CDF2(19538)},
1347 			{ AOM_CDF2(17737)},
1348 			{ AOM_CDF2(24619)},
1349 			{ AOM_CDF2(30642)},
1350 			{ AOM_CDF2(4119)},
1351 			{ AOM_CDF2(16026)},
1352 			{ AOM_CDF2(25657)},
1353 			{ AOM_CDF2(16384)},
1354 			{ AOM_CDF2(16384)},
1355 			{ AOM_CDF2(16384)}
1356 		},
1357 		{
1358 			{ AOM_CDF2(31957)},
1359 			{ AOM_CDF2(3230)},
1360 			{ AOM_CDF2(11153)},
1361 			{ AOM_CDF2(18123)},
1362 			{ AOM_CDF2(20143)},
1363 			{ AOM_CDF2(26536)},
1364 			{ AOM_CDF2(31986)},
1365 			{ AOM_CDF2(3050)},
1366 			{ AOM_CDF2(14603)},
1367 			{ AOM_CDF2(25155)},
1368 			{ AOM_CDF2(16384)},
1369 			{ AOM_CDF2(16384)},
1370 			{ AOM_CDF2(16384)}
1371 		},
1372 		{
1373 			{ AOM_CDF2(32363)},
1374 			{ AOM_CDF2(10692)},
1375 			{ AOM_CDF2(19090)},
1376 			{ AOM_CDF2(24357)},
1377 			{ AOM_CDF2(24442)},
1378 			{ AOM_CDF2(28312)},
1379 			{ AOM_CDF2(32169)},
1380 			{ AOM_CDF2(3648)},
1381 			{ AOM_CDF2(15690)},
1382 			{ AOM_CDF2(26815)},
1383 			{ AOM_CDF2(16384)},
1384 			{ AOM_CDF2(16384)},
1385 			{ AOM_CDF2(16384)}
1386 		},
1387 		{
1388 			{ AOM_CDF2(30669)},
1389 			{ AOM_CDF2(3832)},
1390 			{ AOM_CDF2(11663)},
1391 			{ AOM_CDF2(18889)},
1392 			{ AOM_CDF2(19782)},
1393 			{ AOM_CDF2(23313)},
1394 			{ AOM_CDF2(31330)},
1395 			{ AOM_CDF2(5124)},
1396 			{ AOM_CDF2(18719)},
1397 			{ AOM_CDF2(28468)},
1398 			{ AOM_CDF2(3082)},
1399 			{ AOM_CDF2(20982)},
1400 			{ AOM_CDF2(29443)}
1401 		},
1402 		{
1403 			{ AOM_CDF2(28573)},
1404 			{ AOM_CDF2(3183)},
1405 			{ AOM_CDF2(17802)},
1406 			{ AOM_CDF2(25977)},
1407 			{ AOM_CDF2(26677)},
1408 			{ AOM_CDF2(27832)},
1409 			{ AOM_CDF2(32387)},
1410 			{ AOM_CDF2(16384)},
1411 			{ AOM_CDF2(16384)},
1412 			{ AOM_CDF2(16384)},
1413 			{ AOM_CDF2(16384)},
1414 			{ AOM_CDF2(16384)},
1415 			{ AOM_CDF2(16384)}
1416 		}
1417 	},
1418 	{
1419 		{
1420 			{ AOM_CDF2(26887)},
1421 			{ AOM_CDF2(6729)},
1422 			{ AOM_CDF2(10361)},
1423 			{ AOM_CDF2(17442)},
1424 			{ AOM_CDF2(15045)},
1425 			{ AOM_CDF2(22478)},
1426 			{ AOM_CDF2(29072)},
1427 			{ AOM_CDF2(2713)},
1428 			{ AOM_CDF2(11861)},
1429 			{ AOM_CDF2(20773)},
1430 			{ AOM_CDF2(16384)},
1431 			{ AOM_CDF2(16384)},
1432 			{ AOM_CDF2(16384)}
1433 		},
1434 		{
1435 			{ AOM_CDF2(31903)},
1436 			{ AOM_CDF2(2044)},
1437 			{ AOM_CDF2(7528)},
1438 			{ AOM_CDF2(14618)},
1439 			{ AOM_CDF2(16182)},
1440 			{ AOM_CDF2(24168)},
1441 			{ AOM_CDF2(31037)},
1442 			{ AOM_CDF2(2786)},
1443 			{ AOM_CDF2(11194)},
1444 			{ AOM_CDF2(20155)},
1445 			{ AOM_CDF2(16384)},
1446 			{ AOM_CDF2(16384)},
1447 			{ AOM_CDF2(16384)}
1448 		},
1449 		{
1450 			{ AOM_CDF2(32510)},
1451 			{ AOM_CDF2(8430)},
1452 			{ AOM_CDF2(17318)},
1453 			{ AOM_CDF2(24154)},
1454 			{ AOM_CDF2(23674)},
1455 			{ AOM_CDF2(28789)},
1456 			{ AOM_CDF2(32139)},
1457 			{ AOM_CDF2(3440)},
1458 			{ AOM_CDF2(13117)},
1459 			{ AOM_CDF2(22702)},
1460 			{ AOM_CDF2(16384)},
1461 			{ AOM_CDF2(16384)},
1462 			{ AOM_CDF2(16384)}
1463 		},
1464 		{
1465 			{ AOM_CDF2(31671)},
1466 			{ AOM_CDF2(2056)},
1467 			{ AOM_CDF2(11746)},
1468 			{ AOM_CDF2(16852)},
1469 			{ AOM_CDF2(18635)},
1470 			{ AOM_CDF2(24715)},
1471 			{ AOM_CDF2(31484)},
1472 			{ AOM_CDF2(4656)},
1473 			{ AOM_CDF2(16074)},
1474 			{ AOM_CDF2(24704)},
1475 			{ AOM_CDF2(1806)},
1476 			{ AOM_CDF2(14645)},
1477 			{ AOM_CDF2(25336)}
1478 		},
1479 		{
1480 			{ AOM_CDF2(31539)},
1481 			{ AOM_CDF2(8433)},
1482 			{ AOM_CDF2(20576)},
1483 			{ AOM_CDF2(27904)},
1484 			{ AOM_CDF2(27852)},
1485 			{ AOM_CDF2(30026)},
1486 			{ AOM_CDF2(32441)},
1487 			{ AOM_CDF2(16384)},
1488 			{ AOM_CDF2(16384)},
1489 			{ AOM_CDF2(16384)},
1490 			{ AOM_CDF2(16384)},
1491 			{ AOM_CDF2(16384)},
1492 			{ AOM_CDF2(16384)}
1493 		}
1494 	}
1495 };
1496 
1497 static const u16 av1_default_eob_extra_cdfs[TOKEN_CDF_Q_CTXS][TX_SIZES][PLANE_TYPES]
1498 	[EOB_COEF_CONTEXTS][CDF_SIZE(2)] = {
1499 	{
1500 		{
1501 			{
1502 				{ AOM_CDF2(16961)},
1503 				{ AOM_CDF2(17223)},
1504 				{ AOM_CDF2(7621)},
1505 				{ AOM_CDF2(16384)},
1506 				{ AOM_CDF2(16384)},
1507 				{ AOM_CDF2(16384)},
1508 				{ AOM_CDF2(16384)},
1509 				{ AOM_CDF2(16384)},
1510 				{ AOM_CDF2(16384)},
1511 			},
1512 			{
1513 				{ AOM_CDF2(19069)},
1514 				{ AOM_CDF2(22525)},
1515 				{ AOM_CDF2(13377)},
1516 				{ AOM_CDF2(16384)},
1517 				{ AOM_CDF2(16384)},
1518 				{ AOM_CDF2(16384)},
1519 				{ AOM_CDF2(16384)},
1520 				{ AOM_CDF2(16384)},
1521 				{ AOM_CDF2(16384)},
1522 			}
1523 		},
1524 		{
1525 			{
1526 				{ AOM_CDF2(20401)},
1527 				{ AOM_CDF2(17025)},
1528 				{ AOM_CDF2(12845)},
1529 				{ AOM_CDF2(12873)},
1530 				{ AOM_CDF2(14094)},
1531 				{ AOM_CDF2(16384)},
1532 				{ AOM_CDF2(16384)},
1533 				{ AOM_CDF2(16384)},
1534 				{ AOM_CDF2(16384)},
1535 			},
1536 			{
1537 				{ AOM_CDF2(20681)},
1538 				{ AOM_CDF2(20701)},
1539 				{ AOM_CDF2(15250)},
1540 				{ AOM_CDF2(15017)},
1541 				{ AOM_CDF2(14928)},
1542 				{ AOM_CDF2(16384)},
1543 				{ AOM_CDF2(16384)},
1544 				{ AOM_CDF2(16384)},
1545 				{ AOM_CDF2(16384)},
1546 			}
1547 		},
1548 		{
1549 			{
1550 				{ AOM_CDF2(23905)},
1551 				{ AOM_CDF2(17194)},
1552 				{ AOM_CDF2(16170)},
1553 				{ AOM_CDF2(17695)},
1554 				{ AOM_CDF2(13826)},
1555 				{ AOM_CDF2(15810)},
1556 				{ AOM_CDF2(12036)},
1557 				{ AOM_CDF2(16384)},
1558 				{ AOM_CDF2(16384)},
1559 			},
1560 			{
1561 				{ AOM_CDF2(23959)},
1562 				{ AOM_CDF2(20799)},
1563 				{ AOM_CDF2(19021)},
1564 				{ AOM_CDF2(16203)},
1565 				{ AOM_CDF2(17886)},
1566 				{ AOM_CDF2(14144)},
1567 				{ AOM_CDF2(12010)},
1568 				{ AOM_CDF2(16384)},
1569 				{ AOM_CDF2(16384)},
1570 			}
1571 		},
1572 		{
1573 			{
1574 				{ AOM_CDF2(27399)},
1575 				{ AOM_CDF2(16327)},
1576 				{ AOM_CDF2(18071)},
1577 				{ AOM_CDF2(19584)},
1578 				{ AOM_CDF2(20721)},
1579 				{ AOM_CDF2(18432)},
1580 				{ AOM_CDF2(19560)},
1581 				{ AOM_CDF2(10150)},
1582 				{ AOM_CDF2(8805)},
1583 			},
1584 			{
1585 				{ AOM_CDF2(24932)},
1586 				{ AOM_CDF2(20833)},
1587 				{ AOM_CDF2(12027)},
1588 				{ AOM_CDF2(16670)},
1589 				{ AOM_CDF2(19914)},
1590 				{ AOM_CDF2(15106)},
1591 				{ AOM_CDF2(17662)},
1592 				{ AOM_CDF2(13783)},
1593 				{ AOM_CDF2(28756)},
1594 			}
1595 		},
1596 		{
1597 			{
1598 				{ AOM_CDF2(23406)},
1599 				{ AOM_CDF2(21845)},
1600 				{ AOM_CDF2(18432)},
1601 				{ AOM_CDF2(16384)},
1602 				{ AOM_CDF2(17096)},
1603 				{ AOM_CDF2(12561)},
1604 				{ AOM_CDF2(17320)},
1605 				{ AOM_CDF2(22395)},
1606 				{ AOM_CDF2(21370)},
1607 			},
1608 			{
1609 				{ AOM_CDF2(16384)},
1610 				{ AOM_CDF2(16384)},
1611 				{ AOM_CDF2(16384)},
1612 				{ AOM_CDF2(16384)},
1613 				{ AOM_CDF2(16384)},
1614 				{ AOM_CDF2(16384)},
1615 				{ AOM_CDF2(16384)},
1616 				{ AOM_CDF2(16384)},
1617 				{ AOM_CDF2(16384)},
1618 			}
1619 		}
1620 	},
1621 	{
1622 		{
1623 			{
1624 				{ AOM_CDF2(17471)},
1625 				{ AOM_CDF2(20223)},
1626 				{ AOM_CDF2(11357)},
1627 				{ AOM_CDF2(16384)},
1628 				{ AOM_CDF2(16384)},
1629 				{ AOM_CDF2(16384)},
1630 				{ AOM_CDF2(16384)},
1631 				{ AOM_CDF2(16384)},
1632 				{ AOM_CDF2(16384)},
1633 			},
1634 			{
1635 				{ AOM_CDF2(20335)},
1636 				{ AOM_CDF2(21667)},
1637 				{ AOM_CDF2(14818)},
1638 				{ AOM_CDF2(16384)},
1639 				{ AOM_CDF2(16384)},
1640 				{ AOM_CDF2(16384)},
1641 				{ AOM_CDF2(16384)},
1642 				{ AOM_CDF2(16384)},
1643 				{ AOM_CDF2(16384)},
1644 			}
1645 		},
1646 		{
1647 			{
1648 				{ AOM_CDF2(20430)},
1649 				{ AOM_CDF2(20662)},
1650 				{ AOM_CDF2(15367)},
1651 				{ AOM_CDF2(16970)},
1652 				{ AOM_CDF2(14657)},
1653 				{ AOM_CDF2(16384)},
1654 				{ AOM_CDF2(16384)},
1655 				{ AOM_CDF2(16384)},
1656 				{ AOM_CDF2(16384)},
1657 			},
1658 			{
1659 				{ AOM_CDF2(22117)},
1660 				{ AOM_CDF2(22028)},
1661 				{ AOM_CDF2(18650)},
1662 				{ AOM_CDF2(16042)},
1663 				{ AOM_CDF2(15885)},
1664 				{ AOM_CDF2(16384)},
1665 				{ AOM_CDF2(16384)},
1666 				{ AOM_CDF2(16384)},
1667 				{ AOM_CDF2(16384)},
1668 			}
1669 		},
1670 		{
1671 			{
1672 				{ AOM_CDF2(22409)},
1673 				{ AOM_CDF2(21012)},
1674 				{ AOM_CDF2(15650)},
1675 				{ AOM_CDF2(17395)},
1676 				{ AOM_CDF2(15469)},
1677 				{ AOM_CDF2(20205)},
1678 				{ AOM_CDF2(19511)},
1679 				{ AOM_CDF2(16384)},
1680 				{ AOM_CDF2(16384)},
1681 			},
1682 			{
1683 				{ AOM_CDF2(24220)},
1684 				{ AOM_CDF2(22480)},
1685 				{ AOM_CDF2(17737)},
1686 				{ AOM_CDF2(18916)},
1687 				{ AOM_CDF2(19268)},
1688 				{ AOM_CDF2(18412)},
1689 				{ AOM_CDF2(18844)},
1690 				{ AOM_CDF2(16384)},
1691 				{ AOM_CDF2(16384)},
1692 			}
1693 		},
1694 		{
1695 			{
1696 				{ AOM_CDF2(25991)},
1697 				{ AOM_CDF2(20314)},
1698 				{ AOM_CDF2(17731)},
1699 				{ AOM_CDF2(19678)},
1700 				{ AOM_CDF2(18649)},
1701 				{ AOM_CDF2(17307)},
1702 				{ AOM_CDF2(21798)},
1703 				{ AOM_CDF2(17549)},
1704 				{ AOM_CDF2(15630)},
1705 			},
1706 			{
1707 				{ AOM_CDF2(26585)},
1708 				{ AOM_CDF2(21469)},
1709 				{ AOM_CDF2(20432)},
1710 				{ AOM_CDF2(17735)},
1711 				{ AOM_CDF2(19280)},
1712 				{ AOM_CDF2(15235)},
1713 				{ AOM_CDF2(20297)},
1714 				{ AOM_CDF2(22471)},
1715 				{ AOM_CDF2(28997)},
1716 			}
1717 		},
1718 		{
1719 			{
1720 				{ AOM_CDF2(26605)},
1721 				{ AOM_CDF2(11304)},
1722 				{ AOM_CDF2(16726)},
1723 				{ AOM_CDF2(16560)},
1724 				{ AOM_CDF2(20866)},
1725 				{ AOM_CDF2(23524)},
1726 				{ AOM_CDF2(19878)},
1727 				{ AOM_CDF2(13469)},
1728 				{ AOM_CDF2(23084)},
1729 			},
1730 			{
1731 				{ AOM_CDF2(16384)},
1732 				{ AOM_CDF2(16384)},
1733 				{ AOM_CDF2(16384)},
1734 				{ AOM_CDF2(16384)},
1735 				{ AOM_CDF2(16384)},
1736 				{ AOM_CDF2(16384)},
1737 				{ AOM_CDF2(16384)},
1738 				{ AOM_CDF2(16384)},
1739 				{ AOM_CDF2(16384)},
1740 			}
1741 		}
1742 	},
1743 	{
1744 		{
1745 			{
1746 				{ AOM_CDF2(18983)},
1747 				{ AOM_CDF2(20512)},
1748 				{ AOM_CDF2(14885)},
1749 				{ AOM_CDF2(16384)},
1750 				{ AOM_CDF2(16384)},
1751 				{ AOM_CDF2(16384)},
1752 				{ AOM_CDF2(16384)},
1753 				{ AOM_CDF2(16384)},
1754 				{ AOM_CDF2(16384)},
1755 			},
1756 			{
1757 				{ AOM_CDF2(20090)},
1758 				{ AOM_CDF2(19444)},
1759 				{ AOM_CDF2(17286)},
1760 				{ AOM_CDF2(16384)},
1761 				{ AOM_CDF2(16384)},
1762 				{ AOM_CDF2(16384)},
1763 				{ AOM_CDF2(16384)},
1764 				{ AOM_CDF2(16384)},
1765 				{ AOM_CDF2(16384)},
1766 			}
1767 		},
1768 		{
1769 			{
1770 				{ AOM_CDF2(19139)},
1771 				{ AOM_CDF2(21487)},
1772 				{ AOM_CDF2(18959)},
1773 				{ AOM_CDF2(20910)},
1774 				{ AOM_CDF2(19089)},
1775 				{ AOM_CDF2(16384)},
1776 				{ AOM_CDF2(16384)},
1777 				{ AOM_CDF2(16384)},
1778 				{ AOM_CDF2(16384)},
1779 			},
1780 			{
1781 				{ AOM_CDF2(20536)},
1782 				{ AOM_CDF2(20664)},
1783 				{ AOM_CDF2(20625)},
1784 				{ AOM_CDF2(19123)},
1785 				{ AOM_CDF2(14862)},
1786 				{ AOM_CDF2(16384)},
1787 				{ AOM_CDF2(16384)},
1788 				{ AOM_CDF2(16384)},
1789 				{ AOM_CDF2(16384)},
1790 			}
1791 		},
1792 		{
1793 			{
1794 				{ AOM_CDF2(19833)},
1795 				{ AOM_CDF2(21502)},
1796 				{ AOM_CDF2(17485)},
1797 				{ AOM_CDF2(20267)},
1798 				{ AOM_CDF2(18353)},
1799 				{ AOM_CDF2(23329)},
1800 				{ AOM_CDF2(21478)},
1801 				{ AOM_CDF2(16384)},
1802 				{ AOM_CDF2(16384)},
1803 			},
1804 			{
1805 				{ AOM_CDF2(22041)},
1806 				{ AOM_CDF2(23434)},
1807 				{ AOM_CDF2(20001)},
1808 				{ AOM_CDF2(20554)},
1809 				{ AOM_CDF2(20951)},
1810 				{ AOM_CDF2(20145)},
1811 				{ AOM_CDF2(15562)},
1812 				{ AOM_CDF2(16384)},
1813 				{ AOM_CDF2(16384)},
1814 			}
1815 		},
1816 		{
1817 			{
1818 				{ AOM_CDF2(23312)},
1819 				{ AOM_CDF2(21607)},
1820 				{ AOM_CDF2(16526)},
1821 				{ AOM_CDF2(18957)},
1822 				{ AOM_CDF2(18034)},
1823 				{ AOM_CDF2(18934)},
1824 				{ AOM_CDF2(24247)},
1825 				{ AOM_CDF2(16921)},
1826 				{ AOM_CDF2(17080)},
1827 			},
1828 			{
1829 				{ AOM_CDF2(26579)},
1830 				{ AOM_CDF2(24910)},
1831 				{ AOM_CDF2(18637)},
1832 				{ AOM_CDF2(19800)},
1833 				{ AOM_CDF2(20388)},
1834 				{ AOM_CDF2(9887)},
1835 				{ AOM_CDF2(15642)},
1836 				{ AOM_CDF2(30198)},
1837 				{ AOM_CDF2(24721)},
1838 			}
1839 		},
1840 		{
1841 			{
1842 				{ AOM_CDF2(26998)},
1843 				{ AOM_CDF2(16737)},
1844 				{ AOM_CDF2(17838)},
1845 				{ AOM_CDF2(18922)},
1846 				{ AOM_CDF2(19515)},
1847 				{ AOM_CDF2(18636)},
1848 				{ AOM_CDF2(17333)},
1849 				{ AOM_CDF2(15776)},
1850 				{ AOM_CDF2(22658)},
1851 			},
1852 			{
1853 				{ AOM_CDF2(16384)},
1854 				{ AOM_CDF2(16384)},
1855 				{ AOM_CDF2(16384)},
1856 				{ AOM_CDF2(16384)},
1857 				{ AOM_CDF2(16384)},
1858 				{ AOM_CDF2(16384)},
1859 				{ AOM_CDF2(16384)},
1860 				{ AOM_CDF2(16384)},
1861 				{ AOM_CDF2(16384)},
1862 			}
1863 		}
1864 	},
1865 	{
1866 		{
1867 			{
1868 				{ AOM_CDF2(20177)},
1869 				{ AOM_CDF2(20789)},
1870 				{ AOM_CDF2(20262)},
1871 				{ AOM_CDF2(16384)},
1872 				{ AOM_CDF2(16384)},
1873 				{ AOM_CDF2(16384)},
1874 				{ AOM_CDF2(16384)},
1875 				{ AOM_CDF2(16384)},
1876 				{ AOM_CDF2(16384)},
1877 			},
1878 			{
1879 				{ AOM_CDF2(21416)},
1880 				{ AOM_CDF2(20855)},
1881 				{ AOM_CDF2(23410)},
1882 				{ AOM_CDF2(16384)},
1883 				{ AOM_CDF2(16384)},
1884 				{ AOM_CDF2(16384)},
1885 				{ AOM_CDF2(16384)},
1886 				{ AOM_CDF2(16384)},
1887 				{ AOM_CDF2(16384)},
1888 			}
1889 		},
1890 		{
1891 			{
1892 				{ AOM_CDF2(20238)},
1893 				{ AOM_CDF2(21057)},
1894 				{ AOM_CDF2(19159)},
1895 				{ AOM_CDF2(22337)},
1896 				{ AOM_CDF2(20159)},
1897 				{ AOM_CDF2(16384)},
1898 				{ AOM_CDF2(16384)},
1899 				{ AOM_CDF2(16384)},
1900 				{ AOM_CDF2(16384)},
1901 			},
1902 			{
1903 				{ AOM_CDF2(20125)},
1904 				{ AOM_CDF2(20559)},
1905 				{ AOM_CDF2(21707)},
1906 				{ AOM_CDF2(22296)},
1907 				{ AOM_CDF2(17333)},
1908 				{ AOM_CDF2(16384)},
1909 				{ AOM_CDF2(16384)},
1910 				{ AOM_CDF2(16384)},
1911 				{ AOM_CDF2(16384)},
1912 			}
1913 		},
1914 		{
1915 			{
1916 				{ AOM_CDF2(19941)},
1917 				{ AOM_CDF2(20527)},
1918 				{ AOM_CDF2(21470)},
1919 				{ AOM_CDF2(22487)},
1920 				{ AOM_CDF2(19558)},
1921 				{ AOM_CDF2(22354)},
1922 				{ AOM_CDF2(20331)},
1923 				{ AOM_CDF2(16384)},
1924 				{ AOM_CDF2(16384)},
1925 			},
1926 			{
1927 				{ AOM_CDF2(22752)},
1928 				{ AOM_CDF2(25006)},
1929 				{ AOM_CDF2(22075)},
1930 				{ AOM_CDF2(21576)},
1931 				{ AOM_CDF2(17740)},
1932 				{ AOM_CDF2(21690)},
1933 				{ AOM_CDF2(19211)},
1934 				{ AOM_CDF2(16384)},
1935 				{ AOM_CDF2(16384)},
1936 			}
1937 		},
1938 		{
1939 			{
1940 				{ AOM_CDF2(21442)},
1941 				{ AOM_CDF2(22358)},
1942 				{ AOM_CDF2(18503)},
1943 				{ AOM_CDF2(20291)},
1944 				{ AOM_CDF2(19945)},
1945 				{ AOM_CDF2(21294)},
1946 				{ AOM_CDF2(21178)},
1947 				{ AOM_CDF2(19400)},
1948 				{ AOM_CDF2(10556)},
1949 			},
1950 			{
1951 				{ AOM_CDF2(24648)},
1952 				{ AOM_CDF2(24949)},
1953 				{ AOM_CDF2(20708)},
1954 				{ AOM_CDF2(23905)},
1955 				{ AOM_CDF2(20501)},
1956 				{ AOM_CDF2(9558)},
1957 				{ AOM_CDF2(9423)},
1958 				{ AOM_CDF2(30365)},
1959 				{ AOM_CDF2(19253)},
1960 			}
1961 		},
1962 		{
1963 			{
1964 				{ AOM_CDF2(26064)},
1965 				{ AOM_CDF2(22098)},
1966 				{ AOM_CDF2(19613)},
1967 				{ AOM_CDF2(20525)},
1968 				{ AOM_CDF2(17595)},
1969 				{ AOM_CDF2(16618)},
1970 				{ AOM_CDF2(20497)},
1971 				{ AOM_CDF2(18989)},
1972 				{ AOM_CDF2(15513)},
1973 			},
1974 			{
1975 				{ AOM_CDF2(16384)},
1976 				{ AOM_CDF2(16384)},
1977 				{ AOM_CDF2(16384)},
1978 				{ AOM_CDF2(16384)},
1979 				{ AOM_CDF2(16384)},
1980 				{ AOM_CDF2(16384)},
1981 				{ AOM_CDF2(16384)},
1982 				{ AOM_CDF2(16384)},
1983 				{ AOM_CDF2(16384)},
1984 			}
1985 		}
1986 	}
1987 };
1988 
1989 static const u16 av1_default_eob_multi16_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][4] = {
1990 	{
1991 		{
1992 			{ AOM_CDF5(840, 1039, 1980, 4895)},
1993 			{ AOM_CDF5(370, 671, 1883, 4471)}
1994 		},
1995 		{
1996 			{ AOM_CDF5(3247, 4950, 9688, 14563)},
1997 			{ AOM_CDF5(1904, 3354, 7763, 14647)}
1998 		}
1999 	},
2000 	{
2001 		{
2002 			{ AOM_CDF5(2125, 2551, 5165, 8946)},
2003 			{ AOM_CDF5(513, 765, 1859, 6339)}
2004 		},
2005 		{
2006 			{ AOM_CDF5(7637, 9498, 14259, 19108)},
2007 			{ AOM_CDF5(2497, 4096, 8866, 16993)}
2008 		}
2009 	},
2010 	{
2011 		{
2012 			{ AOM_CDF5(4016, 4897, 8881, 14968)},
2013 			{ AOM_CDF5(716, 1105, 2646, 10056)}
2014 		},
2015 		{
2016 			{ AOM_CDF5(11139, 13270, 18241, 23566)},
2017 			{ AOM_CDF5(3192, 5032, 10297, 19755)}
2018 		}
2019 	},
2020 	{
2021 		{
2022 			{ AOM_CDF5(6708, 8958, 14746, 22133)},
2023 			{ AOM_CDF5(1222, 2074, 4783, 15410)}
2024 		},
2025 		{
2026 			{ AOM_CDF5(19575, 21766, 26044, 29709)},
2027 			{ AOM_CDF5(7297, 10767, 19273, 28194)}
2028 		}
2029 	}
2030 };
2031 
2032 static const u16 av1_default_eob_multi32_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][8] = {
2033 	{
2034 		{
2035 			{ AOM_CDF6(400, 520, 977, 2102, 6542)},
2036 			{ AOM_CDF6(210, 405, 1315, 3326, 7537)}
2037 		},
2038 		{
2039 			{ AOM_CDF6(2636, 4273, 7588, 11794, 20401)},
2040 			{ AOM_CDF6(1786, 3179, 6902, 11357, 19054)}
2041 		}
2042 	},
2043 	{
2044 		{
2045 			{ AOM_CDF6(989, 1249, 2019, 4151, 10785)},
2046 			{ AOM_CDF6(313, 441, 1099, 2917, 8562)}
2047 		},
2048 		{
2049 			{ AOM_CDF6(8394, 10352, 13932, 18855, 26014)},
2050 			{ AOM_CDF6(2578, 4124, 8181, 13670, 24234)}
2051 		}
2052 	},
2053 	{
2054 		{
2055 			{ AOM_CDF6(2515, 3003, 4452, 8162, 16041)},
2056 			{ AOM_CDF6(574, 821, 1836, 5089, 13128)}
2057 		},
2058 		{
2059 			{ AOM_CDF6(13468, 16303, 20361, 25105, 29281)},
2060 			{ AOM_CDF6(3542, 5502, 10415, 16760, 25644)}
2061 		}
2062 	},
2063 	{
2064 		{
2065 			{ AOM_CDF6(4617, 5709, 8446, 13584, 23135)},
2066 			{ AOM_CDF6(1156, 1702, 3675, 9274, 20539)}
2067 		},
2068 		{
2069 			{ AOM_CDF6(22086, 24282, 27010, 29770, 31743)},
2070 			{ AOM_CDF6(7699, 10897, 20891, 26926, 31628)}
2071 		}
2072 	}
2073 };
2074 
2075 static const u16 av1_default_eob_multi64_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][8] = {
2076 	{
2077 		{
2078 			{ AOM_CDF7(329, 498, 1101, 1784, 3265, 7758)},
2079 			{ AOM_CDF7(335, 730, 1459, 5494, 8755, 12997)}
2080 		},
2081 		{
2082 			{ AOM_CDF7(3505, 5304, 10086, 13814, 17684, 23370)},
2083 			{ AOM_CDF7(1563, 2700, 4876, 10911, 14706, 22480)}
2084 		}
2085 	},
2086 	{
2087 		{
2088 			{ AOM_CDF7(1260, 1446, 2253, 3712, 6652, 13369)},
2089 			{ AOM_CDF7(401, 605, 1029, 2563, 5845, 12626)}
2090 		},
2091 		{
2092 			{ AOM_CDF7(8609, 10612, 14624, 18714, 22614, 29024)},
2093 			{ AOM_CDF7(1923, 3127, 5867, 9703, 14277, 27100)}
2094 		}
2095 	},
2096 	{
2097 		{
2098 			{ AOM_CDF7(2374, 2772, 4583, 7276, 12288, 19706)},
2099 			{ AOM_CDF7(497, 810, 1315, 3000, 7004, 15641)}
2100 		},
2101 		{
2102 			{ AOM_CDF7(15050, 17126, 21410, 24886, 28156, 30726)},
2103 			{ AOM_CDF7(4034, 6290, 10235, 14982, 21214, 28491)}
2104 		}
2105 	},
2106 	{
2107 		{
2108 			{ AOM_CDF7(6307, 7541, 12060, 16358, 22553, 27865)},
2109 			{ AOM_CDF7(1289, 2320, 3971, 7926, 14153, 24291)}
2110 		},
2111 		{
2112 			{ AOM_CDF7(24212, 25708, 28268, 30035, 31307, 32049)},
2113 			{ AOM_CDF7(8726, 12378, 19409, 26450, 30038, 32462)}
2114 		}
2115 	}
2116 };
2117 
2118 static const u16 av1_default_eob_multi128_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][8] = {
2119 	{
2120 		{
2121 			{ AOM_CDF8(219, 482, 1140, 2091, 3680, 6028, 12586)},
2122 			{ AOM_CDF8(371, 699, 1254, 4830, 9479, 12562, 17497)}
2123 		},
2124 		{
2125 			{ AOM_CDF8(5245, 7456, 12880, 15852, 20033, 23932, 27608)},
2126 			{ AOM_CDF8(2054, 3472, 5869, 14232, 18242, 20590, 26752)}
2127 		}
2128 	},
2129 	{
2130 		{
2131 			{ AOM_CDF8(685, 933, 1488, 2714, 4766, 8562, 19254)},
2132 			{ AOM_CDF8(217, 352, 618, 2303, 5261, 9969, 17472)}
2133 		},
2134 		{
2135 			{ AOM_CDF8(8045, 11200, 15497, 19595, 23948, 27408, 30938)},
2136 			{ AOM_CDF8(2310, 4160, 7471, 14997, 17931, 20768, 30240)}
2137 		}
2138 	},
2139 	{
2140 		{
2141 			{ AOM_CDF8(1366, 1738, 2527, 5016, 9355, 15797, 24643)},
2142 			{ AOM_CDF8(354, 558, 944, 2760, 7287, 14037, 21779)}
2143 		},
2144 		{
2145 			{ AOM_CDF8(13627, 16246, 20173, 24429, 27948, 30415, 31863)},
2146 			{ AOM_CDF8(6275, 9889, 14769, 23164, 27988, 30493, 32272)}
2147 		}
2148 	},
2149 	{
2150 		{
2151 			{ AOM_CDF8(3472, 4885, 7489, 12481, 18517, 24536, 29635)},
2152 			{ AOM_CDF8(886, 1731, 3271, 8469, 15569, 22126, 28383)}
2153 		},
2154 		{
2155 			{ AOM_CDF8(24313, 26062, 28385, 30107, 31217, 31898, 32345)},
2156 			{ AOM_CDF8(9165, 13282, 21150, 30286, 31894, 32571, 32712)}
2157 		}
2158 	}
2159 };
2160 
2161 static const u16 av1_default_eob_multi256_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][8] = {
2162 	{
2163 		{
2164 			{ AOM_CDF9(310, 584, 1887, 3589, 6168, 8611, 11352, 15652)},
2165 			{ AOM_CDF9(998, 1850, 2998, 5604, 17341, 19888, 22899, 25583)}
2166 		},
2167 		{
2168 			{ AOM_CDF9(2520, 3240, 5952, 8870, 12577, 17558, 19954, 24168)},
2169 			{ AOM_CDF9(2203, 4130, 7435, 10739, 20652, 23681, 25609, 27261)}
2170 		}
2171 	},
2172 	{
2173 		{
2174 			{ AOM_CDF9(1448, 2109, 4151, 6263, 9329, 13260, 17944, 23300)},
2175 			{ AOM_CDF9(399, 1019, 1749, 3038, 10444, 15546, 22739, 27294)}
2176 		},
2177 		{
2178 			{ AOM_CDF9(6402, 8148, 12623, 15072, 18728, 22847, 26447, 29377)},
2179 			{ AOM_CDF9(1674, 3252, 5734, 10159, 22397, 23802, 24821, 30940)}
2180 		}
2181 	},
2182 	{
2183 		{
2184 			{ AOM_CDF9(3089, 3920, 6038, 9460, 14266, 19881, 25766, 29176)},
2185 			{ AOM_CDF9(1084, 2358, 3488, 5122, 11483, 18103, 26023, 29799)}
2186 		},
2187 		{
2188 			{ AOM_CDF9(11514, 13794, 17480, 20754, 24361, 27378, 29492, 31277)},
2189 			{ AOM_CDF9(6571, 9610, 15516, 21826, 29092, 30829, 31842, 32708)}
2190 		}
2191 	},
2192 	{
2193 		{
2194 			{ AOM_CDF9(5348, 7113, 11820, 15924, 22106, 26777, 30334, 31757)},
2195 			{ AOM_CDF9(2453, 4474, 6307, 8777, 16474, 22975, 29000, 31547)}
2196 		},
2197 		{
2198 			{ AOM_CDF9(23110, 24597, 27140, 28894, 30167, 30927, 31392, 32094)},
2199 			{ AOM_CDF9(9998, 17661, 25178, 28097, 31308, 32038, 32403, 32695)}
2200 		}
2201 	}
2202 };
2203 
2204 static const u16 av1_default_eob_multi512_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][16] = {
2205 	{
2206 		{
2207 			{ AOM_CDF10(641, 983, 3707, 5430, 10234, 14958, 18788, 23412, 26061)},
2208 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2209 		},
2210 		{
2211 			{ AOM_CDF10(5095, 6446, 9996, 13354, 16017, 17986, 20919, 26129, 29140)},
2212 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2213 		}
2214 	},
2215 	{
2216 		{
2217 			{ AOM_CDF10(1230, 2278, 5035, 7776, 11871, 15346, 19590, 24584, 28749)},
2218 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2219 		},
2220 		{
2221 			{ AOM_CDF10(7265, 9979, 15819, 19250, 21780, 23846, 26478, 28396, 31811)},
2222 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2223 		}
2224 	},
2225 	{
2226 		{
2227 			{ AOM_CDF10(2624, 3936, 6480, 9686, 13979, 17726, 23267, 28410, 31078)},
2228 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2229 		},
2230 		{
2231 			{ AOM_CDF10(12015, 14769, 19588, 22052, 24222, 25812, 27300, 29219, 32114)},
2232 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2233 		}
2234 	},
2235 	{
2236 		{
2237 			{ AOM_CDF10(5927, 7809, 10923, 14597, 19439, 24135, 28456, 31142, 32060)},
2238 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2239 		},
2240 		{
2241 			{ AOM_CDF10(21093, 23043, 25742, 27658, 29097, 29716, 30073, 30820, 31956)},
2242 			{ AOM_CDF10(3277, 6554, 9830, 13107, 16384, 19661, 22938, 26214, 29491)}
2243 		}
2244 	}
2245 };
2246 
2247 static const u16 av1_default_eob_multi1024_cdfs[TOKEN_CDF_Q_CTXS][PLANE_TYPES][2][16] = {
2248 	{
2249 		{
2250 			{ AOM_CDF11(393, 421, 751, 1623, 3160,
2251 				    6352, 13345, 18047, 22571, 25830)},
2252 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2253 				    17873, 20852, 23831, 26810, 29789)}
2254 		},
2255 		{
2256 			{ AOM_CDF11(1865, 1988, 2930, 4242, 10533,
2257 				    16538, 21354, 27255, 28546, 31784)},
2258 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2259 				    17873, 20852, 23831, 26810, 29789)}
2260 		}
2261 	},
2262 	{
2263 		{
2264 			{ AOM_CDF11(696, 948, 3145, 5702, 9706,
2265 				    13217, 17851, 21856, 25692, 28034)},
2266 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2267 				    17873, 20852, 23831, 26810, 29789)}
2268 		},
2269 		{
2270 			{ AOM_CDF11(2672, 3591, 9330, 17084, 22725,
2271 				    24284, 26527, 28027, 28377, 30876)},
2272 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2273 				    17873, 20852, 23831, 26810, 29789)}
2274 		}
2275 	},
2276 	{
2277 		{
2278 			{ AOM_CDF11(2784, 3831, 7041, 10521, 14847,
2279 				    18844, 23155, 26682, 29229, 31045)},
2280 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2281 				    17873, 20852, 23831, 26810, 29789)}
2282 		},
2283 		{
2284 			{ AOM_CDF11(9577, 12466, 17739, 20750, 22061,
2285 				    23215, 24601, 25483, 25843, 32056)},
2286 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2287 				    17873, 20852, 23831, 26810, 29789)}
2288 		}
2289 	},
2290 	{
2291 		{
2292 			{ AOM_CDF11(6698, 8334, 11961, 15762, 20186,
2293 				    23862, 27434, 29326, 31082, 32050)},
2294 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2295 				    17873, 20852, 23831, 26810, 29789)}
2296 		},
2297 		{
2298 			{ AOM_CDF11(20569, 22426, 25569, 26859, 28053,
2299 				    28913, 29486, 29724, 29807, 32570)},
2300 			{ AOM_CDF11(2979, 5958, 8937, 11916, 14895,
2301 				    17873, 20852, 23831, 26810, 29789)}
2302 		}
2303 	}
2304 };
2305 
2306 static const u16 av1_default_coeff_lps_multi_cdfs[TOKEN_CDF_Q_CTXS]
2307 	[TX_SIZES][PLANE_TYPES][LEVEL_CONTEXTS][CDF_SIZE(BR_CDF_SIZE) + 1] = {
2308 	{
2309 		{
2310 			{
2311 				{ AOM_CDF4(14298, 20718, 24174)}, { AOM_CDF4(12536, 19601, 23789)},
2312 				{ AOM_CDF4(8712, 15051, 19503)}, { AOM_CDF4(6170, 11327, 15434)},
2313 				{ AOM_CDF4(4742, 8926, 12538)}, { AOM_CDF4(3803, 7317, 10546)},
2314 				{ AOM_CDF4(1696, 3317, 4871)}, { AOM_CDF4(14392, 19951, 22756)},
2315 				{ AOM_CDF4(15978, 23218, 26818)}, { AOM_CDF4(12187, 19474, 23889)},
2316 				{ AOM_CDF4(9176, 15640, 20259)}, { AOM_CDF4(7068, 12655, 17028)},
2317 				{ AOM_CDF4(5656, 10442, 14472)}, { AOM_CDF4(2580, 4992, 7244)},
2318 				{ AOM_CDF4(12136, 18049, 21426)}, { AOM_CDF4(13784, 20721, 24481)},
2319 				{ AOM_CDF4(10836, 17621, 21900)}, { AOM_CDF4(8372, 14444, 18847)},
2320 				{ AOM_CDF4(6523, 11779, 16000)}, { AOM_CDF4(5337, 9898, 13760)},
2321 				{ AOM_CDF4(3034, 5860, 8462)}
2322 			},
2323 			{
2324 				{ AOM_CDF4(15967, 22905, 26286)}, { AOM_CDF4(13534, 20654, 24579)},
2325 				{ AOM_CDF4(9504, 16092, 20535)}, { AOM_CDF4(6975, 12568, 16903)},
2326 				{ AOM_CDF4(5364, 10091, 14020)}, { AOM_CDF4(4357, 8370, 11857)},
2327 				{ AOM_CDF4(2506, 4934, 7218)}, { AOM_CDF4(23032, 28815, 30936)},
2328 				{ AOM_CDF4(19540, 26704, 29719)}, { AOM_CDF4(15158, 22969, 27097)},
2329 				{ AOM_CDF4(11408, 18865, 23650)}, { AOM_CDF4(8885, 15448, 20250)},
2330 				{ AOM_CDF4(7108, 12853, 17416)}, { AOM_CDF4(4231, 8041, 11480)},
2331 				{ AOM_CDF4(19823, 26490, 29156)}, { AOM_CDF4(18890, 25929, 28932)},
2332 				{ AOM_CDF4(15660, 23491, 27433)}, { AOM_CDF4(12147, 19776, 24488)},
2333 				{ AOM_CDF4(9728, 16774, 21649)}, { AOM_CDF4(7919, 14277, 19066)},
2334 				{ AOM_CDF4(5440, 10170, 14185)}
2335 			}
2336 		},
2337 		{
2338 			{
2339 				{ AOM_CDF4(14406, 20862, 24414)}, { AOM_CDF4(11824, 18907, 23109)},
2340 				{ AOM_CDF4(8257, 14393, 18803)}, { AOM_CDF4(5860, 10747, 14778)},
2341 				{ AOM_CDF4(4475, 8486, 11984)}, { AOM_CDF4(3606, 6954, 10043)},
2342 				{ AOM_CDF4(1736, 3410, 5048)}, { AOM_CDF4(14430, 20046, 22882)},
2343 				{ AOM_CDF4(15593, 22899, 26709)}, { AOM_CDF4(12102, 19368, 23811)},
2344 				{ AOM_CDF4(9059, 15584, 20262)}, { AOM_CDF4(6999, 12603, 17048)},
2345 				{ AOM_CDF4(5684, 10497, 14553)}, { AOM_CDF4(2822, 5438, 7862)},
2346 				{ AOM_CDF4(15785, 21585, 24359)}, { AOM_CDF4(18347, 25229, 28266)},
2347 				{ AOM_CDF4(14974, 22487, 26389)}, { AOM_CDF4(11423, 18681, 23271)},
2348 				{ AOM_CDF4(8863, 15350, 20008)}, { AOM_CDF4(7153, 12852, 17278)},
2349 				{ AOM_CDF4(3707, 7036, 9982)}
2350 			},
2351 			{
2352 				{ AOM_CDF4(15460, 21696, 25469)}, { AOM_CDF4(12170, 19249, 23191)},
2353 				{ AOM_CDF4(8723, 15027, 19332)}, { AOM_CDF4(6428, 11704, 15874)},
2354 				{ AOM_CDF4(4922, 9292, 13052)}, { AOM_CDF4(4139, 7695, 11010)},
2355 				{ AOM_CDF4(2291, 4508, 6598)}, { AOM_CDF4(19856, 26920, 29828)},
2356 				{ AOM_CDF4(17923, 25289, 28792)}, { AOM_CDF4(14278, 21968, 26297)},
2357 				{ AOM_CDF4(10910, 18136, 22950)}, { AOM_CDF4(8423, 14815, 19627)},
2358 				{ AOM_CDF4(6771, 12283, 16774)}, { AOM_CDF4(4074, 7750, 11081)},
2359 				{ AOM_CDF4(19852, 26074, 28672)}, { AOM_CDF4(19371, 26110, 28989)},
2360 				{ AOM_CDF4(16265, 23873, 27663)}, { AOM_CDF4(12758, 20378, 24952)},
2361 				{ AOM_CDF4(10095, 17098, 21961)}, { AOM_CDF4(8250, 14628, 19451)},
2362 				{ AOM_CDF4(5205, 9745, 13622)}
2363 			}
2364 		},
2365 		{
2366 			{
2367 				{ AOM_CDF4(10563, 16233, 19763)}, { AOM_CDF4(9794, 16022, 19804)},
2368 				{ AOM_CDF4(6750, 11945, 15759)}, { AOM_CDF4(4963, 9186, 12752)},
2369 				{ AOM_CDF4(3845, 7435, 10627)}, { AOM_CDF4(3051, 6085, 8834)},
2370 				{ AOM_CDF4(1311, 2596, 3830)}, { AOM_CDF4(11246, 16404, 19689)},
2371 				{ AOM_CDF4(12315, 18911, 22731)}, { AOM_CDF4(10557, 17095, 21289)},
2372 				{ AOM_CDF4(8136, 14006, 18249)}, { AOM_CDF4(6348, 11474, 15565)},
2373 				{ AOM_CDF4(5196, 9655, 13400)}, { AOM_CDF4(2349, 4526, 6587)},
2374 				{ AOM_CDF4(13337, 18730, 21569)}, { AOM_CDF4(19306, 26071, 28882)},
2375 				{ AOM_CDF4(15952, 23540, 27254)}, { AOM_CDF4(12409, 19934, 24430)},
2376 				{ AOM_CDF4(9760, 16706, 21389)}, { AOM_CDF4(8004, 14220, 18818)},
2377 				{ AOM_CDF4(4138, 7794, 10961)}
2378 			},
2379 			{
2380 				{ AOM_CDF4(10870, 16684, 20949)}, { AOM_CDF4(9664, 15230, 18680)},
2381 				{ AOM_CDF4(6886, 12109, 15408)}, { AOM_CDF4(4825, 8900, 12305)},
2382 				{ AOM_CDF4(3630, 7162, 10314)}, { AOM_CDF4(3036, 6429, 9387)},
2383 				{ AOM_CDF4(1671, 3296, 4940)}, { AOM_CDF4(13819, 19159, 23026)},
2384 				{ AOM_CDF4(11984, 19108, 23120)}, { AOM_CDF4(10690, 17210, 21663)},
2385 				{ AOM_CDF4(7984, 14154, 18333)}, { AOM_CDF4(6868, 12294, 16124)},
2386 				{ AOM_CDF4(5274, 8994, 12868)}, { AOM_CDF4(2988, 5771, 8424)},
2387 				{ AOM_CDF4(19736, 26647, 29141)}, { AOM_CDF4(18933, 26070, 28984)},
2388 				{ AOM_CDF4(15779, 23048, 27200)}, { AOM_CDF4(12638, 20061, 24532)},
2389 				{ AOM_CDF4(10692, 17545, 22220)}, { AOM_CDF4(9217, 15251, 20054)},
2390 				{ AOM_CDF4(5078, 9284, 12594)}
2391 			}
2392 		},
2393 		{
2394 			{
2395 				{ AOM_CDF4(2331, 3662, 5244)}, { AOM_CDF4(2891, 4771, 6145)},
2396 				{ AOM_CDF4(4598, 7623, 9729)}, { AOM_CDF4(3520, 6845, 9199)},
2397 				{ AOM_CDF4(3417, 6119, 9324)}, { AOM_CDF4(2601, 5412, 7385)},
2398 				{ AOM_CDF4(600, 1173, 1744)}, { AOM_CDF4(7672, 13286, 17469)},
2399 				{ AOM_CDF4(4232, 7792, 10793)}, { AOM_CDF4(2915, 5317, 7397)},
2400 				{ AOM_CDF4(2318, 4356, 6152)}, { AOM_CDF4(2127, 4000, 5554)},
2401 				{ AOM_CDF4(1850, 3478, 5275)}, { AOM_CDF4(977, 1933, 2843)},
2402 				{ AOM_CDF4(18280, 24387, 27989)}, { AOM_CDF4(15852, 22671, 26185)},
2403 				{ AOM_CDF4(13845, 20951, 24789)}, { AOM_CDF4(11055, 17966, 22129)},
2404 				{ AOM_CDF4(9138, 15422, 19801)}, { AOM_CDF4(7454, 13145, 17456)},
2405 				{ AOM_CDF4(3370, 6393, 9013)}
2406 			},
2407 			{
2408 				{ AOM_CDF4(5842, 9229, 10838)}, { AOM_CDF4(2313, 3491, 4276)},
2409 				{ AOM_CDF4(2998, 6104, 7496)}, { AOM_CDF4(2420, 7447, 9868)},
2410 				{ AOM_CDF4(3034, 8495, 10923)}, { AOM_CDF4(4076, 8937, 10975)},
2411 				{ AOM_CDF4(1086, 2370, 3299)}, { AOM_CDF4(9714, 17254, 20444)},
2412 				{ AOM_CDF4(8543, 13698, 17123)}, { AOM_CDF4(4918, 9007, 11910)},
2413 				{ AOM_CDF4(4129, 7532, 10553)}, { AOM_CDF4(2364, 5533, 8058)},
2414 				{ AOM_CDF4(1834, 3546, 5563)}, { AOM_CDF4(1473, 2908, 4133)},
2415 				{ AOM_CDF4(15405, 21193, 25619)}, { AOM_CDF4(15691, 21952, 26561)},
2416 				{ AOM_CDF4(12962, 19194, 24165)}, { AOM_CDF4(10272, 17855, 22129)},
2417 				{ AOM_CDF4(8588, 15270, 20718)}, { AOM_CDF4(8682, 14669, 19500)},
2418 				{ AOM_CDF4(4870, 9636, 13205)}
2419 			}
2420 		},
2421 		{
2422 			{
2423 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2424 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2425 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2426 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2427 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2428 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2429 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2430 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2431 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2432 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2433 				{ AOM_CDF4(8192, 16384, 24576)}
2434 			},
2435 			{
2436 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2437 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2438 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2439 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2440 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2441 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2442 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2443 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2444 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2445 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2446 				{ AOM_CDF4(8192, 16384, 24576)}
2447 			}
2448 		}
2449 	},
2450 	{
2451 		{
2452 			{
2453 				{ AOM_CDF4(14995, 21341, 24749)}, { AOM_CDF4(13158, 20289, 24601)},
2454 				{ AOM_CDF4(8941, 15326, 19876)}, { AOM_CDF4(6297, 11541, 15807)},
2455 				{ AOM_CDF4(4817, 9029, 12776)}, { AOM_CDF4(3731, 7273, 10627)},
2456 				{ AOM_CDF4(1847, 3617, 5354)}, { AOM_CDF4(14472, 19659, 22343)},
2457 				{ AOM_CDF4(16806, 24162, 27533)}, { AOM_CDF4(12900, 20404, 24713)},
2458 				{ AOM_CDF4(9411, 16112, 20797)}, { AOM_CDF4(7056, 12697, 17148)},
2459 				{ AOM_CDF4(5544, 10339, 14460)}, { AOM_CDF4(2954, 5704, 8319)},
2460 				{ AOM_CDF4(12464, 18071, 21354)}, { AOM_CDF4(15482, 22528, 26034)},
2461 				{ AOM_CDF4(12070, 19269, 23624)}, { AOM_CDF4(8953, 15406, 20106)},
2462 				{ AOM_CDF4(7027, 12730, 17220)}, { AOM_CDF4(5887, 10913, 15140)},
2463 				{ AOM_CDF4(3793, 7278, 10447)}
2464 			},
2465 			{
2466 				{ AOM_CDF4(15571, 22232, 25749)}, { AOM_CDF4(14506, 21575, 25374)},
2467 				{ AOM_CDF4(10189, 17089, 21569)}, { AOM_CDF4(7316, 13301, 17915)},
2468 				{ AOM_CDF4(5783, 10912, 15190)}, { AOM_CDF4(4760, 9155, 13088)},
2469 				{ AOM_CDF4(2993, 5966, 8774)}, { AOM_CDF4(23424, 28903, 30778)},
2470 				{ AOM_CDF4(20775, 27666, 30290)}, { AOM_CDF4(16474, 24410, 28299)},
2471 				{ AOM_CDF4(12471, 20180, 24987)}, { AOM_CDF4(9410, 16487, 21439)},
2472 				{ AOM_CDF4(7536, 13614, 18529)}, { AOM_CDF4(5048, 9586, 13549)},
2473 				{ AOM_CDF4(21090, 27290, 29756)}, { AOM_CDF4(20796, 27402, 30026)},
2474 				{ AOM_CDF4(17819, 25485, 28969)}, { AOM_CDF4(13860, 21909, 26462)},
2475 				{ AOM_CDF4(11002, 18494, 23529)}, { AOM_CDF4(8953, 15929, 20897)},
2476 				{ AOM_CDF4(6448, 11918, 16454)}
2477 			}
2478 		},
2479 		{
2480 			{
2481 				{ AOM_CDF4(15999, 22208, 25449)}, { AOM_CDF4(13050, 19988, 24122)},
2482 				{ AOM_CDF4(8594, 14864, 19378)}, { AOM_CDF4(6033, 11079, 15238)},
2483 				{ AOM_CDF4(4554, 8683, 12347)}, { AOM_CDF4(3672, 7139, 10337)},
2484 				{ AOM_CDF4(1900, 3771, 5576)}, { AOM_CDF4(15788, 21340, 23949)},
2485 				{ AOM_CDF4(16825, 24235, 27758)}, { AOM_CDF4(12873, 20402, 24810)},
2486 				{ AOM_CDF4(9590, 16363, 21094)}, { AOM_CDF4(7352, 13209, 17733)},
2487 				{ AOM_CDF4(5960, 10989, 15184)}, { AOM_CDF4(3232, 6234, 9007)},
2488 				{ AOM_CDF4(15761, 20716, 23224)}, { AOM_CDF4(19318, 25989, 28759)},
2489 				{ AOM_CDF4(15529, 23094, 26929)}, { AOM_CDF4(11662, 18989, 23641)},
2490 				{ AOM_CDF4(8955, 15568, 20366)}, { AOM_CDF4(7281, 13106, 17708)},
2491 				{ AOM_CDF4(4248, 8059, 11440)}
2492 			},
2493 			{
2494 				{ AOM_CDF4(14899, 21217, 24503)}, { AOM_CDF4(13519, 20283, 24047)},
2495 				{ AOM_CDF4(9429, 15966, 20365)}, { AOM_CDF4(6700, 12355, 16652)},
2496 				{ AOM_CDF4(5088, 9704, 13716)}, { AOM_CDF4(4243, 8154, 11731)},
2497 				{ AOM_CDF4(2702, 5364, 7861)}, { AOM_CDF4(22745, 28388, 30454)},
2498 				{ AOM_CDF4(20235, 27146, 29922)}, { AOM_CDF4(15896, 23715, 27637)},
2499 				{ AOM_CDF4(11840, 19350, 24131)}, { AOM_CDF4(9122, 15932, 20880)},
2500 				{ AOM_CDF4(7488, 13581, 18362)}, { AOM_CDF4(5114, 9568, 13370)},
2501 				{ AOM_CDF4(20845, 26553, 28932)}, { AOM_CDF4(20981, 27372, 29884)},
2502 				{ AOM_CDF4(17781, 25335, 28785)}, { AOM_CDF4(13760, 21708, 26297)},
2503 				{ AOM_CDF4(10975, 18415, 23365)}, { AOM_CDF4(9045, 15789, 20686)},
2504 				{ AOM_CDF4(6130, 11199, 15423)}
2505 			}
2506 		},
2507 		{
2508 			{
2509 				{ AOM_CDF4(13549, 19724, 23158)}, { AOM_CDF4(11844, 18382, 22246)},
2510 				{ AOM_CDF4(7919, 13619, 17773)}, { AOM_CDF4(5486, 10143, 13946)},
2511 				{ AOM_CDF4(4166, 7983, 11324)}, { AOM_CDF4(3364, 6506, 9427)},
2512 				{ AOM_CDF4(1598, 3160, 4674)}, { AOM_CDF4(15281, 20979, 23781)},
2513 				{ AOM_CDF4(14939, 22119, 25952)}, { AOM_CDF4(11363, 18407, 22812)},
2514 				{ AOM_CDF4(8609, 14857, 19370)}, { AOM_CDF4(6737, 12184, 16480)},
2515 				{ AOM_CDF4(5506, 10263, 14262)}, { AOM_CDF4(2990, 5786, 8380)},
2516 				{ AOM_CDF4(20249, 25253, 27417)}, { AOM_CDF4(21070, 27518, 30001)},
2517 				{ AOM_CDF4(16854, 24469, 28074)}, { AOM_CDF4(12864, 20486, 25000)},
2518 				{ AOM_CDF4(9962, 16978, 21778)}, { AOM_CDF4(8074, 14338, 19048)},
2519 				{ AOM_CDF4(4494, 8479, 11906)}
2520 			},
2521 			{
2522 				{ AOM_CDF4(13960, 19617, 22829)}, { AOM_CDF4(11150, 17341, 21228)},
2523 				{ AOM_CDF4(7150, 12964, 17190)}, { AOM_CDF4(5331, 10002, 13867)},
2524 				{ AOM_CDF4(4167, 7744, 11057)}, { AOM_CDF4(3480, 6629, 9646)},
2525 				{ AOM_CDF4(1883, 3784, 5686)}, { AOM_CDF4(18752, 25660, 28912)},
2526 				{ AOM_CDF4(16968, 24586, 28030)}, { AOM_CDF4(13520, 21055, 25313)},
2527 				{ AOM_CDF4(10453, 17626, 22280)}, { AOM_CDF4(8386, 14505, 19116)},
2528 				{ AOM_CDF4(6742, 12595, 17008)}, { AOM_CDF4(4273, 8140, 11499)},
2529 				{ AOM_CDF4(22120, 27827, 30233)}, { AOM_CDF4(20563, 27358, 29895)},
2530 				{ AOM_CDF4(17076, 24644, 28153)}, { AOM_CDF4(13362, 20942, 25309)},
2531 				{ AOM_CDF4(10794, 17965, 22695)}, { AOM_CDF4(9014, 15652, 20319)},
2532 				{ AOM_CDF4(5708, 10512, 14497)}
2533 			}
2534 		},
2535 		{
2536 			{
2537 				{ AOM_CDF4(5705, 10930, 15725)}, { AOM_CDF4(7946, 12765, 16115)},
2538 				{ AOM_CDF4(6801, 12123, 16226)}, { AOM_CDF4(5462, 10135, 14200)},
2539 				{ AOM_CDF4(4189, 8011, 11507)}, { AOM_CDF4(3191, 6229, 9408)},
2540 				{ AOM_CDF4(1057, 2137, 3212)}, { AOM_CDF4(10018, 17067, 21491)},
2541 				{ AOM_CDF4(7380, 12582, 16453)}, { AOM_CDF4(6068, 10845, 14339)},
2542 				{ AOM_CDF4(5098, 9198, 12555)}, { AOM_CDF4(4312, 8010, 11119)},
2543 				{ AOM_CDF4(3700, 6966, 9781)}, { AOM_CDF4(1693, 3326, 4887)},
2544 				{ AOM_CDF4(18757, 24930, 27774)}, { AOM_CDF4(17648, 24596, 27817)},
2545 				{ AOM_CDF4(14707, 22052, 26026)}, { AOM_CDF4(11720, 18852, 23292)},
2546 				{ AOM_CDF4(9357, 15952, 20525)}, { AOM_CDF4(7810, 13753, 18210)},
2547 				{ AOM_CDF4(3879, 7333, 10328)}
2548 			},
2549 			{
2550 				{ AOM_CDF4(8278, 13242, 15922)}, { AOM_CDF4(10547, 15867, 18919)},
2551 				{ AOM_CDF4(9106, 15842, 20609)}, { AOM_CDF4(6833, 13007, 17218)},
2552 				{ AOM_CDF4(4811, 9712, 13923)}, { AOM_CDF4(3985, 7352, 11128)},
2553 				{ AOM_CDF4(1688, 3458, 5262)}, { AOM_CDF4(12951, 21861, 26510)},
2554 				{ AOM_CDF4(9788, 16044, 20276)}, { AOM_CDF4(6309, 11244, 14870)},
2555 				{ AOM_CDF4(5183, 9349, 12566)}, { AOM_CDF4(4389, 8229, 11492)},
2556 				{ AOM_CDF4(3633, 6945, 10620)}, { AOM_CDF4(3600, 6847, 9907)},
2557 				{ AOM_CDF4(21748, 28137, 30255)}, { AOM_CDF4(19436, 26581, 29560)},
2558 				{ AOM_CDF4(16359, 24201, 27953)}, { AOM_CDF4(13961, 21693, 25871)},
2559 				{ AOM_CDF4(11544, 18686, 23322)}, { AOM_CDF4(9372, 16462, 20952)},
2560 				{ AOM_CDF4(6138, 11210, 15390)}
2561 			}
2562 		},
2563 		{
2564 			{
2565 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2566 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2567 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2568 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2569 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2570 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2571 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2572 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2573 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2574 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2575 				{ AOM_CDF4(8192, 16384, 24576)}
2576 			},
2577 			{
2578 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2579 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2580 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2581 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2582 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2583 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2584 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2585 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2586 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2587 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2588 				{ AOM_CDF4(8192, 16384, 24576)}
2589 			}
2590 		}
2591 	},
2592 	{
2593 		{
2594 			{
2595 				{ AOM_CDF4(16138, 22223, 25509)}, { AOM_CDF4(15347, 22430, 26332)},
2596 				{ AOM_CDF4(9614, 16736, 21332)}, { AOM_CDF4(6600, 12275, 16907)},
2597 				{ AOM_CDF4(4811, 9424, 13547)}, { AOM_CDF4(3748, 7809, 11420)},
2598 				{ AOM_CDF4(2254, 4587, 6890)}, { AOM_CDF4(15196, 20284, 23177)},
2599 				{ AOM_CDF4(18317, 25469, 28451)}, { AOM_CDF4(13918, 21651, 25842)},
2600 				{ AOM_CDF4(10052, 17150, 21995)}, { AOM_CDF4(7499, 13630, 18587)},
2601 				{ AOM_CDF4(6158, 11417, 16003)}, { AOM_CDF4(4014, 7785, 11252)},
2602 				{ AOM_CDF4(15048, 21067, 24384)}, { AOM_CDF4(18202, 25346, 28553)},
2603 				{ AOM_CDF4(14302, 22019, 26356)}, { AOM_CDF4(10839, 18139, 23166)},
2604 				{ AOM_CDF4(8715, 15744, 20806)}, { AOM_CDF4(7536, 13576, 18544)},
2605 				{ AOM_CDF4(5413, 10335, 14498)}
2606 			},
2607 			{
2608 				{ AOM_CDF4(17394, 24501, 27895)}, { AOM_CDF4(15889, 23420, 27185)},
2609 				{ AOM_CDF4(11561, 19133, 23870)}, { AOM_CDF4(8285, 14812, 19844)},
2610 				{ AOM_CDF4(6496, 12043, 16550)}, { AOM_CDF4(4771, 9574, 13677)},
2611 				{ AOM_CDF4(3603, 6830, 10144)}, { AOM_CDF4(21656, 27704, 30200)},
2612 				{ AOM_CDF4(21324, 27915, 30511)}, { AOM_CDF4(17327, 25336, 28997)},
2613 				{ AOM_CDF4(13417, 21381, 26033)}, { AOM_CDF4(10132, 17425, 22338)},
2614 				{ AOM_CDF4(8580, 15016, 19633)}, { AOM_CDF4(5694, 11477, 16411)},
2615 				{ AOM_CDF4(24116, 29780, 31450)}, { AOM_CDF4(23853, 29695, 31591)},
2616 				{ AOM_CDF4(20085, 27614, 30428)}, { AOM_CDF4(15326, 24335, 28575)},
2617 				{ AOM_CDF4(11814, 19472, 24810)}, { AOM_CDF4(10221, 18611, 24767)},
2618 				{ AOM_CDF4(7689, 14558, 20321)}
2619 			}
2620 		},
2621 		{
2622 			{
2623 				{ AOM_CDF4(16214, 22380, 25770)}, { AOM_CDF4(14213, 21304, 25295)},
2624 				{ AOM_CDF4(9213, 15823, 20455)}, { AOM_CDF4(6395, 11758, 16139)},
2625 				{ AOM_CDF4(4779, 9187, 13066)}, { AOM_CDF4(3821, 7501, 10953)},
2626 				{ AOM_CDF4(2293, 4567, 6795)}, { AOM_CDF4(15859, 21283, 23820)},
2627 				{ AOM_CDF4(18404, 25602, 28726)}, { AOM_CDF4(14325, 21980, 26206)},
2628 				{ AOM_CDF4(10669, 17937, 22720)}, { AOM_CDF4(8297, 14642, 19447)},
2629 				{ AOM_CDF4(6746, 12389, 16893)}, { AOM_CDF4(4324, 8251, 11770)},
2630 				{ AOM_CDF4(16532, 21631, 24475)}, { AOM_CDF4(20667, 27150, 29668)},
2631 				{ AOM_CDF4(16728, 24510, 28175)}, { AOM_CDF4(12861, 20645, 25332)},
2632 				{ AOM_CDF4(10076, 17361, 22417)}, { AOM_CDF4(8395, 14940, 19963)},
2633 				{ AOM_CDF4(5731, 10683, 14912)}
2634 			},
2635 			{
2636 				{ AOM_CDF4(14433, 21155, 24938)}, { AOM_CDF4(14658, 21716, 25545)},
2637 				{ AOM_CDF4(9923, 16824, 21557)}, { AOM_CDF4(6982, 13052, 17721)},
2638 				{ AOM_CDF4(5419, 10503, 15050)}, { AOM_CDF4(4852, 9162, 13014)},
2639 				{ AOM_CDF4(3271, 6395, 9630)}, { AOM_CDF4(22210, 27833, 30109)},
2640 				{ AOM_CDF4(20750, 27368, 29821)}, { AOM_CDF4(16894, 24828, 28573)},
2641 				{ AOM_CDF4(13247, 21276, 25757)}, { AOM_CDF4(10038, 17265, 22563)},
2642 				{ AOM_CDF4(8587, 14947, 20327)}, { AOM_CDF4(5645, 11371, 15252)},
2643 				{ AOM_CDF4(22027, 27526, 29714)}, { AOM_CDF4(23098, 29146, 31221)},
2644 				{ AOM_CDF4(19886, 27341, 30272)}, { AOM_CDF4(15609, 23747, 28046)},
2645 				{ AOM_CDF4(11993, 20065, 24939)}, { AOM_CDF4(9637, 18267, 23671)},
2646 				{ AOM_CDF4(7625, 13801, 19144)}
2647 			}
2648 		},
2649 		{
2650 			{
2651 				{ AOM_CDF4(14438, 20798, 24089)}, { AOM_CDF4(12621, 19203, 23097)},
2652 				{ AOM_CDF4(8177, 14125, 18402)}, { AOM_CDF4(5674, 10501, 14456)},
2653 				{ AOM_CDF4(4236, 8239, 11733)}, { AOM_CDF4(3447, 6750, 9806)},
2654 				{ AOM_CDF4(1986, 3950, 5864)}, { AOM_CDF4(16208, 22099, 24930)},
2655 				{ AOM_CDF4(16537, 24025, 27585)}, { AOM_CDF4(12780, 20381, 24867)},
2656 				{ AOM_CDF4(9767, 16612, 21416)}, { AOM_CDF4(7686, 13738, 18398)},
2657 				{ AOM_CDF4(6333, 11614, 15964)}, { AOM_CDF4(3941, 7571, 10836)},
2658 				{ AOM_CDF4(22819, 27422, 29202)}, { AOM_CDF4(22224, 28514, 30721)},
2659 				{ AOM_CDF4(17660, 25433, 28913)}, { AOM_CDF4(13574, 21482, 26002)},
2660 				{ AOM_CDF4(10629, 17977, 22938)}, { AOM_CDF4(8612, 15298, 20265)},
2661 				{ AOM_CDF4(5607, 10491, 14596)}
2662 			},
2663 			{
2664 				{ AOM_CDF4(13569, 19800, 23206)}, { AOM_CDF4(13128, 19924, 23869)},
2665 				{ AOM_CDF4(8329, 14841, 19403)}, { AOM_CDF4(6130, 10976, 15057)},
2666 				{ AOM_CDF4(4682, 8839, 12518)}, { AOM_CDF4(3656, 7409, 10588)},
2667 				{ AOM_CDF4(2577, 5099, 7412)}, { AOM_CDF4(22427, 28684, 30585)},
2668 				{ AOM_CDF4(20913, 27750, 30139)}, { AOM_CDF4(15840, 24109, 27834)},
2669 				{ AOM_CDF4(12308, 20029, 24569)}, { AOM_CDF4(10216, 16785, 21458)},
2670 				{ AOM_CDF4(8309, 14203, 19113)}, { AOM_CDF4(6043, 11168, 15307)},
2671 				{ AOM_CDF4(23166, 28901, 30998)}, { AOM_CDF4(21899, 28405, 30751)},
2672 				{ AOM_CDF4(18413, 26091, 29443)}, { AOM_CDF4(15233, 23114, 27352)},
2673 				{ AOM_CDF4(12683, 20472, 25288)}, { AOM_CDF4(10702, 18259, 23409)},
2674 				{ AOM_CDF4(8125, 14464, 19226)}
2675 			}
2676 		},
2677 		{
2678 			{
2679 				{ AOM_CDF4(9040, 14786, 18360)}, { AOM_CDF4(9979, 15718, 19415)},
2680 				{ AOM_CDF4(7913, 13918, 18311)}, { AOM_CDF4(5859, 10889, 15184)},
2681 				{ AOM_CDF4(4593, 8677, 12510)}, { AOM_CDF4(3820, 7396, 10791)},
2682 				{ AOM_CDF4(1730, 3471, 5192)}, { AOM_CDF4(11803, 18365, 22709)},
2683 				{ AOM_CDF4(11419, 18058, 22225)}, { AOM_CDF4(9418, 15774, 20243)},
2684 				{ AOM_CDF4(7539, 13325, 17657)}, { AOM_CDF4(6233, 11317, 15384)},
2685 				{ AOM_CDF4(5137, 9656, 13545)}, { AOM_CDF4(2977, 5774, 8349)},
2686 				{ AOM_CDF4(21207, 27246, 29640)}, { AOM_CDF4(19547, 26578, 29497)},
2687 				{ AOM_CDF4(16169, 23871, 27690)}, { AOM_CDF4(12820, 20458, 25018)},
2688 				{ AOM_CDF4(10224, 17332, 22214)}, { AOM_CDF4(8526, 15048, 19884)},
2689 				{ AOM_CDF4(5037, 9410, 13118)}
2690 			},
2691 			{
2692 				{ AOM_CDF4(12339, 17329, 20140)}, { AOM_CDF4(13505, 19895, 23225)},
2693 				{ AOM_CDF4(9847, 16944, 21564)}, { AOM_CDF4(7280, 13256, 18348)},
2694 				{ AOM_CDF4(4712, 10009, 14454)}, { AOM_CDF4(4361, 7914, 12477)},
2695 				{ AOM_CDF4(2870, 5628, 7995)}, { AOM_CDF4(20061, 25504, 28526)},
2696 				{ AOM_CDF4(15235, 22878, 26145)}, { AOM_CDF4(12985, 19958, 24155)},
2697 				{ AOM_CDF4(9782, 16641, 21403)}, { AOM_CDF4(9456, 16360, 20760)},
2698 				{ AOM_CDF4(6855, 12940, 18557)}, { AOM_CDF4(5661, 10564, 15002)},
2699 				{ AOM_CDF4(25656, 30602, 31894)}, { AOM_CDF4(22570, 29107, 31092)},
2700 				{ AOM_CDF4(18917, 26423, 29541)}, { AOM_CDF4(15940, 23649, 27754)},
2701 				{ AOM_CDF4(12803, 20581, 25219)}, { AOM_CDF4(11082, 18695, 23376)},
2702 				{ AOM_CDF4(7939, 14373, 19005)}
2703 			}
2704 		},
2705 		{
2706 			{
2707 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2708 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2709 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2710 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2711 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2712 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2713 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2714 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2715 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2716 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2717 				{ AOM_CDF4(8192, 16384, 24576)}
2718 			},
2719 			{
2720 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2721 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2722 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2723 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2724 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2725 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2726 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2727 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2728 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2729 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2730 				{ AOM_CDF4(8192, 16384, 24576)}
2731 			}
2732 		}
2733 	},
2734 	{
2735 		{
2736 			{
2737 				{ AOM_CDF4(18315, 24289, 27551)}, { AOM_CDF4(16854, 24068, 27835)},
2738 				{ AOM_CDF4(10140, 17927, 23173)}, { AOM_CDF4(6722, 12982, 18267)},
2739 				{ AOM_CDF4(4661, 9826, 14706)}, { AOM_CDF4(3832, 8165, 12294)},
2740 				{ AOM_CDF4(2795, 6098, 9245)}, { AOM_CDF4(17145, 23326, 26672)},
2741 				{ AOM_CDF4(20733, 27680, 30308)}, { AOM_CDF4(16032, 24461, 28546)},
2742 				{ AOM_CDF4(11653, 20093, 25081)}, { AOM_CDF4(9290, 16429, 22086)},
2743 				{ AOM_CDF4(7796, 14598, 19982)}, { AOM_CDF4(6502, 12378, 17441)},
2744 				{ AOM_CDF4(21681, 27732, 30320)}, { AOM_CDF4(22389, 29044, 31261)},
2745 				{ AOM_CDF4(19027, 26731, 30087)}, { AOM_CDF4(14739, 23755, 28624)},
2746 				{ AOM_CDF4(11358, 20778, 25511)}, { AOM_CDF4(10995, 18073, 24190)},
2747 				{ AOM_CDF4(9162, 14990, 20617)}
2748 			},
2749 			{
2750 				{ AOM_CDF4(21425, 27952, 30388)}, { AOM_CDF4(18062, 25838, 29034)},
2751 				{ AOM_CDF4(11956, 19881, 24808)}, { AOM_CDF4(7718, 15000, 20980)},
2752 				{ AOM_CDF4(5702, 11254, 16143)}, { AOM_CDF4(4898, 9088, 16864)},
2753 				{ AOM_CDF4(3679, 6776, 11907)}, { AOM_CDF4(23294, 30160, 31663)},
2754 				{ AOM_CDF4(24397, 29896, 31836)}, { AOM_CDF4(19245, 27128, 30593)},
2755 				{ AOM_CDF4(13202, 19825, 26404)}, { AOM_CDF4(11578, 19297, 23957)},
2756 				{ AOM_CDF4(8073, 13297, 21370)}, { AOM_CDF4(5461, 10923, 19745)},
2757 				{ AOM_CDF4(27367, 30521, 31934)}, { AOM_CDF4(24904, 30671, 31940)},
2758 				{ AOM_CDF4(23075, 28460, 31299)}, { AOM_CDF4(14400, 23658, 30417)},
2759 				{ AOM_CDF4(13885, 23882, 28325)}, { AOM_CDF4(14746, 22938, 27853)},
2760 				{ AOM_CDF4(5461, 16384, 27307)}
2761 			}
2762 		},
2763 		{
2764 			{
2765 				{ AOM_CDF4(18274, 24813, 27890)}, { AOM_CDF4(15537, 23149, 27003)},
2766 				{ AOM_CDF4(9449, 16740, 21827)}, { AOM_CDF4(6700, 12498, 17261)},
2767 				{ AOM_CDF4(4988, 9866, 14198)}, { AOM_CDF4(4236, 8147, 11902)},
2768 				{ AOM_CDF4(2867, 5860, 8654)}, { AOM_CDF4(17124, 23171, 26101)},
2769 				{ AOM_CDF4(20396, 27477, 30148)}, { AOM_CDF4(16573, 24629, 28492)},
2770 				{ AOM_CDF4(12749, 20846, 25674)}, { AOM_CDF4(10233, 17878, 22818)},
2771 				{ AOM_CDF4(8525, 15332, 20363)}, { AOM_CDF4(6283, 11632, 16255)},
2772 				{ AOM_CDF4(20466, 26511, 29286)}, { AOM_CDF4(23059, 29174, 31191)},
2773 				{ AOM_CDF4(19481, 27263, 30241)}, { AOM_CDF4(15458, 23631, 28137)},
2774 				{ AOM_CDF4(12416, 20608, 25693)}, { AOM_CDF4(10261, 18011, 23261)},
2775 				{ AOM_CDF4(8016, 14655, 19666)}
2776 			},
2777 			{
2778 				{ AOM_CDF4(17616, 24586, 28112)}, { AOM_CDF4(15809, 23299, 27155)},
2779 				{ AOM_CDF4(10767, 18890, 23793)}, { AOM_CDF4(7727, 14255, 18865)},
2780 				{ AOM_CDF4(6129, 11926, 16882)}, { AOM_CDF4(4482, 9704, 14861)},
2781 				{ AOM_CDF4(3277, 7452, 11522)}, { AOM_CDF4(22956, 28551, 30730)},
2782 				{ AOM_CDF4(22724, 28937, 30961)}, { AOM_CDF4(18467, 26324, 29580)},
2783 				{ AOM_CDF4(13234, 20713, 25649)}, { AOM_CDF4(11181, 17592, 22481)},
2784 				{ AOM_CDF4(8291, 18358, 24576)}, { AOM_CDF4(7568, 11881, 14984)},
2785 				{ AOM_CDF4(24948, 29001, 31147)}, { AOM_CDF4(25674, 30619, 32151)},
2786 				{ AOM_CDF4(20841, 26793, 29603)}, { AOM_CDF4(14669, 24356, 28666)},
2787 				{ AOM_CDF4(11334, 23593, 28219)}, { AOM_CDF4(8922, 14762, 22873)},
2788 				{ AOM_CDF4(8301, 13544, 20535)}
2789 			}
2790 		},
2791 		{
2792 			{
2793 				{ AOM_CDF4(17113, 23733, 27081)}, { AOM_CDF4(14139, 21406, 25452)},
2794 				{ AOM_CDF4(8552, 15002, 19776)}, { AOM_CDF4(5871, 11120, 15378)},
2795 				{ AOM_CDF4(4455, 8616, 12253)}, { AOM_CDF4(3469, 6910, 10386)},
2796 				{ AOM_CDF4(2255, 4553, 6782)}, { AOM_CDF4(18224, 24376, 27053)},
2797 				{ AOM_CDF4(19290, 26710, 29614)}, { AOM_CDF4(14936, 22991, 27184)},
2798 				{ AOM_CDF4(11238, 18951, 23762)}, { AOM_CDF4(8786, 15617, 20588)},
2799 				{ AOM_CDF4(7317, 13228, 18003)}, { AOM_CDF4(5101, 9512, 13493)},
2800 				{ AOM_CDF4(22639, 28222, 30210)}, { AOM_CDF4(23216, 29331, 31307)},
2801 				{ AOM_CDF4(19075, 26762, 29895)}, { AOM_CDF4(15014, 23113, 27457)},
2802 				{ AOM_CDF4(11938, 19857, 24752)}, { AOM_CDF4(9942, 17280, 22282)},
2803 				{ AOM_CDF4(7167, 13144, 17752)}
2804 			},
2805 			{
2806 				{ AOM_CDF4(15820, 22738, 26488)}, { AOM_CDF4(13530, 20885, 25216)},
2807 				{ AOM_CDF4(8395, 15530, 20452)}, { AOM_CDF4(6574, 12321, 16380)},
2808 				{ AOM_CDF4(5353, 10419, 14568)}, { AOM_CDF4(4613, 8446, 12381)},
2809 				{ AOM_CDF4(3440, 7158, 9903)}, { AOM_CDF4(24247, 29051, 31224)},
2810 				{ AOM_CDF4(22118, 28058, 30369)}, { AOM_CDF4(16498, 24768, 28389)},
2811 				{ AOM_CDF4(12920, 21175, 26137)}, { AOM_CDF4(10730, 18619, 25352)},
2812 				{ AOM_CDF4(10187, 16279, 22791)}, { AOM_CDF4(9310, 14631, 22127)},
2813 				{ AOM_CDF4(24970, 30558, 32057)}, { AOM_CDF4(24801, 29942, 31698)},
2814 				{ AOM_CDF4(22432, 28453, 30855)}, { AOM_CDF4(19054, 25680, 29580)},
2815 				{ AOM_CDF4(14392, 23036, 28109)}, { AOM_CDF4(12495, 20947, 26650)},
2816 				{ AOM_CDF4(12442, 20326, 26214)}
2817 			}
2818 		},
2819 		{
2820 			{
2821 				{ AOM_CDF4(12162, 18785, 22648)}, { AOM_CDF4(12749, 19697, 23806)},
2822 				{ AOM_CDF4(8580, 15297, 20346)}, { AOM_CDF4(6169, 11749, 16543)},
2823 				{ AOM_CDF4(4836, 9391, 13448)}, { AOM_CDF4(3821, 7711, 11613)},
2824 				{ AOM_CDF4(2228, 4601, 7070)}, { AOM_CDF4(16319, 24725, 28280)},
2825 				{ AOM_CDF4(15698, 23277, 27168)}, { AOM_CDF4(12726, 20368, 25047)},
2826 				{ AOM_CDF4(9912, 17015, 21976)}, { AOM_CDF4(7888, 14220, 19179)},
2827 				{ AOM_CDF4(6777, 12284, 17018)}, { AOM_CDF4(4492, 8590, 12252)},
2828 				{ AOM_CDF4(23249, 28904, 30947)}, { AOM_CDF4(21050, 27908, 30512)},
2829 				{ AOM_CDF4(17440, 25340, 28949)}, { AOM_CDF4(14059, 22018, 26541)},
2830 				{ AOM_CDF4(11288, 18903, 23898)}, { AOM_CDF4(9411, 16342, 21428)},
2831 				{ AOM_CDF4(6278, 11588, 15944)}
2832 			},
2833 			{
2834 				{ AOM_CDF4(13981, 20067, 23226)}, { AOM_CDF4(16922, 23580, 26783)},
2835 				{ AOM_CDF4(11005, 19039, 24487)}, { AOM_CDF4(7389, 14218, 19798)},
2836 				{ AOM_CDF4(5598, 11505, 17206)}, { AOM_CDF4(6090, 11213, 15659)},
2837 				{ AOM_CDF4(3820, 7371, 10119)}, { AOM_CDF4(21082, 26925, 29675)},
2838 				{ AOM_CDF4(21262, 28627, 31128)}, { AOM_CDF4(18392, 26454, 30437)},
2839 				{ AOM_CDF4(14870, 22910, 27096)}, { AOM_CDF4(12620, 19484, 24908)},
2840 				{ AOM_CDF4(9290, 16553, 22802)}, { AOM_CDF4(6668, 14288, 20004)},
2841 				{ AOM_CDF4(27704, 31055, 31949)}, { AOM_CDF4(24709, 29978, 31788)},
2842 				{ AOM_CDF4(21668, 29264, 31657)}, { AOM_CDF4(18295, 26968, 30074)},
2843 				{ AOM_CDF4(16399, 24422, 29313)}, { AOM_CDF4(14347, 23026, 28104)},
2844 				{ AOM_CDF4(12370, 19806, 24477)}
2845 			}
2846 		},
2847 		{
2848 			{
2849 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2850 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2851 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2852 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2853 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2854 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2855 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2856 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2857 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2858 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2859 				{ AOM_CDF4(8192, 16384, 24576)}
2860 			},
2861 			{
2862 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2863 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2864 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2865 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2866 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2867 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2868 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2869 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2870 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2871 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2872 				{ AOM_CDF4(8192, 16384, 24576)}
2873 			}
2874 		}
2875 	}
2876 };
2877 
2878 static const u16 av1_default_coeff_base_multi_cdfs
2879 	[TOKEN_CDF_Q_CTXS][TX_SIZES][PLANE_TYPES]
2880 	[SIG_COEF_CONTEXTS][CDF_SIZE(NUM_BASE_LEVELS + 2) + 1] = {
2881 	{
2882 		{
2883 			{
2884 				{ AOM_CDF4(4034, 8930, 12727)}, { AOM_CDF4(18082, 29741, 31877)},
2885 				{ AOM_CDF4(12596, 26124, 30493)}, { AOM_CDF4(9446, 21118, 27005)},
2886 				{ AOM_CDF4(6308, 15141, 21279)}, { AOM_CDF4(2463, 6357, 9783)},
2887 				{ AOM_CDF4(20667, 30546, 31929)}, { AOM_CDF4(13043, 26123, 30134)},
2888 				{ AOM_CDF4(8151, 18757, 24778)}, { AOM_CDF4(5255, 12839, 18632)},
2889 				{ AOM_CDF4(2820, 7206, 11161)}, { AOM_CDF4(8192, 16384, 24576)},
2890 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2891 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2892 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2893 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2894 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(15736, 27553, 30604)},
2895 				{ AOM_CDF4(11210, 23794, 28787)}, { AOM_CDF4(5947, 13874, 19701)},
2896 				{ AOM_CDF4(4215, 9323, 13891)}, { AOM_CDF4(2833, 6462, 10059)},
2897 				{ AOM_CDF4(19605, 30393, 31582)}, { AOM_CDF4(13523, 26252, 30248)},
2898 				{ AOM_CDF4(8446, 18622, 24512)}, { AOM_CDF4(3818, 10343, 15974)},
2899 				{ AOM_CDF4(1481, 4117, 6796)}, { AOM_CDF4(22649, 31302, 32190)},
2900 				{ AOM_CDF4(14829, 27127, 30449)}, { AOM_CDF4(8313, 17702, 23304)},
2901 				{ AOM_CDF4(3022, 8301, 12786)}, { AOM_CDF4(1536, 4412, 7184)},
2902 				{ AOM_CDF4(22354, 29774, 31372)}, { AOM_CDF4(14723, 25472, 29214)},
2903 				{ AOM_CDF4(6673, 13745, 18662)}, { AOM_CDF4(2068, 5766, 9322)},
2904 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
2905 			},
2906 			{
2907 				{ AOM_CDF4(6302, 16444, 21761)}, { AOM_CDF4(23040, 31538, 32475)},
2908 				{ AOM_CDF4(15196, 28452, 31496)}, { AOM_CDF4(10020, 22946, 28514)},
2909 				{ AOM_CDF4(6533, 16862, 23501)}, { AOM_CDF4(3538, 9816, 15076)},
2910 				{ AOM_CDF4(24444, 31875, 32525)}, { AOM_CDF4(15881, 28924, 31635)},
2911 				{ AOM_CDF4(9922, 22873, 28466)}, { AOM_CDF4(6527, 16966, 23691)},
2912 				{ AOM_CDF4(4114, 11303, 17220)}, { AOM_CDF4(8192, 16384, 24576)},
2913 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2914 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2915 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2916 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
2917 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(20201, 30770, 32209)},
2918 				{ AOM_CDF4(14754, 28071, 31258)}, { AOM_CDF4(8378, 20186, 26517)},
2919 				{ AOM_CDF4(5916, 15299, 21978)}, { AOM_CDF4(4268, 11583, 17901)},
2920 				{ AOM_CDF4(24361, 32025, 32581)}, { AOM_CDF4(18673, 30105, 31943)},
2921 				{ AOM_CDF4(10196, 22244, 27576)}, { AOM_CDF4(5495, 14349, 20417)},
2922 				{ AOM_CDF4(2676, 7415, 11498)}, { AOM_CDF4(24678, 31958, 32585)},
2923 				{ AOM_CDF4(18629, 29906, 31831)}, { AOM_CDF4(9364, 20724, 26315)},
2924 				{ AOM_CDF4(4641, 12318, 18094)}, { AOM_CDF4(2758, 7387, 11579)},
2925 				{ AOM_CDF4(25433, 31842, 32469)}, { AOM_CDF4(18795, 29289, 31411)},
2926 				{ AOM_CDF4(7644, 17584, 23592)}, { AOM_CDF4(3408, 9014, 15047)},
2927 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
2928 			}
2929 		},
2930 		{
2931 			{
2932 				{ AOM_CDF4(4536, 10072, 14001)}, { AOM_CDF4(25459, 31416, 32206)},
2933 				{ AOM_CDF4(16605, 28048, 30818)}, { AOM_CDF4(11008, 22857, 27719)},
2934 				{ AOM_CDF4(6915, 16268, 22315)}, { AOM_CDF4(2625, 6812, 10537)},
2935 				{ AOM_CDF4(24257, 31788, 32499)}, { AOM_CDF4(16880, 29454, 31879)},
2936 				{ AOM_CDF4(11958, 25054, 29778)}, { AOM_CDF4(7916, 18718, 25084)},
2937 				{ AOM_CDF4(3383, 8777, 13446)}, { AOM_CDF4(22720, 31603, 32393)},
2938 				{ AOM_CDF4(14960, 28125, 31335)}, { AOM_CDF4(9731, 22210, 27928)},
2939 				{ AOM_CDF4(6304, 15832, 22277)}, { AOM_CDF4(2910, 7818, 12166)},
2940 				{ AOM_CDF4(20375, 30627, 32131)}, { AOM_CDF4(13904, 27284, 30887)},
2941 				{ AOM_CDF4(9368, 21558, 27144)}, { AOM_CDF4(5937, 14966, 21119)},
2942 				{ AOM_CDF4(2667, 7225, 11319)}, { AOM_CDF4(23970, 31470, 32378)},
2943 				{ AOM_CDF4(17173, 29734, 32018)}, { AOM_CDF4(12795, 25441, 29965)},
2944 				{ AOM_CDF4(8981, 19680, 25893)}, { AOM_CDF4(4728, 11372, 16902)},
2945 				{ AOM_CDF4(24287, 31797, 32439)}, { AOM_CDF4(16703, 29145, 31696)},
2946 				{ AOM_CDF4(10833, 23554, 28725)}, { AOM_CDF4(6468, 16566, 23057)},
2947 				{ AOM_CDF4(2415, 6562, 10278)}, { AOM_CDF4(26610, 32395, 32659)},
2948 				{ AOM_CDF4(18590, 30498, 32117)}, { AOM_CDF4(12420, 25756, 29950)},
2949 				{ AOM_CDF4(7639, 18746, 24710)}, { AOM_CDF4(3001, 8086, 12347)},
2950 				{ AOM_CDF4(25076, 32064, 32580)}, { AOM_CDF4(17946, 30128, 32028)},
2951 				{ AOM_CDF4(12024, 24985, 29378)}, { AOM_CDF4(7517, 18390, 24304)},
2952 				{ AOM_CDF4(3243, 8781, 13331)}, { AOM_CDF4(8192, 16384, 24576)}
2953 			},
2954 			{
2955 				{ AOM_CDF4(6037, 16771, 21957)}, { AOM_CDF4(24774, 31704, 32426)},
2956 				{ AOM_CDF4(16830, 28589, 31056)}, { AOM_CDF4(10602, 22828, 27760)},
2957 				{ AOM_CDF4(6733, 16829, 23071)}, { AOM_CDF4(3250, 8914, 13556)},
2958 				{ AOM_CDF4(25582, 32220, 32668)}, { AOM_CDF4(18659, 30342, 32223)},
2959 				{ AOM_CDF4(12546, 26149, 30515)}, { AOM_CDF4(8420, 20451, 26801)},
2960 				{ AOM_CDF4(4636, 12420, 18344)}, { AOM_CDF4(27581, 32362, 32639)},
2961 				{ AOM_CDF4(18987, 30083, 31978)}, { AOM_CDF4(11327, 24248, 29084)},
2962 				{ AOM_CDF4(7264, 17719, 24120)}, { AOM_CDF4(3995, 10768, 16169)},
2963 				{ AOM_CDF4(25893, 31831, 32487)}, { AOM_CDF4(16577, 28587, 31379)},
2964 				{ AOM_CDF4(10189, 22748, 28182)}, { AOM_CDF4(6832, 17094, 23556)},
2965 				{ AOM_CDF4(3708, 10110, 15334)}, { AOM_CDF4(25904, 32282, 32656)},
2966 				{ AOM_CDF4(19721, 30792, 32276)}, { AOM_CDF4(12819, 26243, 30411)},
2967 				{ AOM_CDF4(8572, 20614, 26891)}, { AOM_CDF4(5364, 14059, 20467)},
2968 				{ AOM_CDF4(26580, 32438, 32677)}, { AOM_CDF4(20852, 31225, 32340)},
2969 				{ AOM_CDF4(12435, 25700, 29967)}, { AOM_CDF4(8691, 20825, 26976)},
2970 				{ AOM_CDF4(4446, 12209, 17269)}, { AOM_CDF4(27350, 32429, 32696)},
2971 				{ AOM_CDF4(21372, 30977, 32272)}, { AOM_CDF4(12673, 25270, 29853)},
2972 				{ AOM_CDF4(9208, 20925, 26640)}, { AOM_CDF4(5018, 13351, 18732)},
2973 				{ AOM_CDF4(27351, 32479, 32713)}, { AOM_CDF4(21398, 31209, 32387)},
2974 				{ AOM_CDF4(12162, 25047, 29842)}, { AOM_CDF4(7896, 18691, 25319)},
2975 				{ AOM_CDF4(4670, 12882, 18881)}, { AOM_CDF4(8192, 16384, 24576)}
2976 			}
2977 		},
2978 		{
2979 			{
2980 				{ AOM_CDF4(5487, 10460, 13708)}, { AOM_CDF4(21597, 28303, 30674)},
2981 				{ AOM_CDF4(11037, 21953, 26476)}, { AOM_CDF4(8147, 17962, 22952)},
2982 				{ AOM_CDF4(5242, 13061, 18532)}, { AOM_CDF4(1889, 5208, 8182)},
2983 				{ AOM_CDF4(26774, 32133, 32590)}, { AOM_CDF4(17844, 29564, 31767)},
2984 				{ AOM_CDF4(11690, 24438, 29171)}, { AOM_CDF4(7542, 18215, 24459)},
2985 				{ AOM_CDF4(2993, 8050, 12319)}, { AOM_CDF4(28023, 32328, 32591)},
2986 				{ AOM_CDF4(18651, 30126, 31954)}, { AOM_CDF4(12164, 25146, 29589)},
2987 				{ AOM_CDF4(7762, 18530, 24771)}, { AOM_CDF4(3492, 9183, 13920)},
2988 				{ AOM_CDF4(27591, 32008, 32491)}, { AOM_CDF4(17149, 28853, 31510)},
2989 				{ AOM_CDF4(11485, 24003, 28860)}, { AOM_CDF4(7697, 18086, 24210)},
2990 				{ AOM_CDF4(3075, 7999, 12218)}, { AOM_CDF4(28268, 32482, 32654)},
2991 				{ AOM_CDF4(19631, 31051, 32404)}, { AOM_CDF4(13860, 27260, 31020)},
2992 				{ AOM_CDF4(9605, 21613, 27594)}, { AOM_CDF4(4876, 12162, 17908)},
2993 				{ AOM_CDF4(27248, 32316, 32576)}, { AOM_CDF4(18955, 30457, 32075)},
2994 				{ AOM_CDF4(11824, 23997, 28795)}, { AOM_CDF4(7346, 18196, 24647)},
2995 				{ AOM_CDF4(3403, 9247, 14111)}, { AOM_CDF4(29711, 32655, 32735)},
2996 				{ AOM_CDF4(21169, 31394, 32417)}, { AOM_CDF4(13487, 27198, 30957)},
2997 				{ AOM_CDF4(8828, 21683, 27614)}, { AOM_CDF4(4270, 11451, 17038)},
2998 				{ AOM_CDF4(28708, 32578, 32731)}, { AOM_CDF4(20120, 31241, 32482)},
2999 				{ AOM_CDF4(13692, 27550, 31321)}, { AOM_CDF4(9418, 22514, 28439)},
3000 				{ AOM_CDF4(4999, 13283, 19462)}, { AOM_CDF4(8192, 16384, 24576)}
3001 			},
3002 			{
3003 				{ AOM_CDF4(5673, 14302, 19711)}, { AOM_CDF4(26251, 30701, 31834)},
3004 				{ AOM_CDF4(12782, 23783, 27803)}, { AOM_CDF4(9127, 20657, 25808)},
3005 				{ AOM_CDF4(6368, 16208, 21462)}, { AOM_CDF4(2465, 7177, 10822)},
3006 				{ AOM_CDF4(29961, 32563, 32719)}, { AOM_CDF4(18318, 29891, 31949)},
3007 				{ AOM_CDF4(11361, 24514, 29357)}, { AOM_CDF4(7900, 19603, 25607)},
3008 				{ AOM_CDF4(4002, 10590, 15546)}, { AOM_CDF4(29637, 32310, 32595)},
3009 				{ AOM_CDF4(18296, 29913, 31809)}, { AOM_CDF4(10144, 21515, 26871)},
3010 				{ AOM_CDF4(5358, 14322, 20394)}, { AOM_CDF4(3067, 8362, 13346)},
3011 				{ AOM_CDF4(28652, 32470, 32676)}, { AOM_CDF4(17538, 30771, 32209)},
3012 				{ AOM_CDF4(13924, 26882, 30494)}, { AOM_CDF4(10496, 22837, 27869)},
3013 				{ AOM_CDF4(7236, 16396, 21621)}, { AOM_CDF4(30743, 32687, 32746)},
3014 				{ AOM_CDF4(23006, 31676, 32489)}, { AOM_CDF4(14494, 27828, 31120)},
3015 				{ AOM_CDF4(10174, 22801, 28352)}, { AOM_CDF4(6242, 15281, 21043)},
3016 				{ AOM_CDF4(25817, 32243, 32720)}, { AOM_CDF4(18618, 31367, 32325)},
3017 				{ AOM_CDF4(13997, 28318, 31878)}, { AOM_CDF4(12255, 26534, 31383)},
3018 				{ AOM_CDF4(9561, 21588, 28450)}, { AOM_CDF4(28188, 32635, 32724)},
3019 				{ AOM_CDF4(22060, 32365, 32728)}, { AOM_CDF4(18102, 30690, 32528)},
3020 				{ AOM_CDF4(14196, 28864, 31999)}, { AOM_CDF4(12262, 25792, 30865)},
3021 				{ AOM_CDF4(24176, 32109, 32628)}, { AOM_CDF4(18280, 29681, 31963)},
3022 				{ AOM_CDF4(10205, 23703, 29664)}, { AOM_CDF4(7889, 20025, 27676)},
3023 				{ AOM_CDF4(6060, 16743, 23970)}, { AOM_CDF4(8192, 16384, 24576)}
3024 			}
3025 		},
3026 		{
3027 			{
3028 				{ AOM_CDF4(5141, 7096, 8260)}, { AOM_CDF4(27186, 29022, 29789)},
3029 				{ AOM_CDF4(6668, 12568, 15682)}, { AOM_CDF4(2172, 6181, 8638)},
3030 				{ AOM_CDF4(1126, 3379, 4531)}, { AOM_CDF4(443, 1361, 2254)},
3031 				{ AOM_CDF4(26083, 31153, 32436)}, { AOM_CDF4(13486, 24603, 28483)},
3032 				{ AOM_CDF4(6508, 14840, 19910)}, { AOM_CDF4(3386, 8800, 13286)},
3033 				{ AOM_CDF4(1530, 4322, 7054)}, { AOM_CDF4(29639, 32080, 32548)},
3034 				{ AOM_CDF4(15897, 27552, 30290)}, { AOM_CDF4(8588, 20047, 25383)},
3035 				{ AOM_CDF4(4889, 13339, 19269)}, { AOM_CDF4(2240, 6871, 10498)},
3036 				{ AOM_CDF4(28165, 32197, 32517)}, { AOM_CDF4(20735, 30427, 31568)},
3037 				{ AOM_CDF4(14325, 24671, 27692)}, { AOM_CDF4(5119, 12554, 17805)},
3038 				{ AOM_CDF4(1810, 5441, 8261)}, { AOM_CDF4(31212, 32724, 32748)},
3039 				{ AOM_CDF4(23352, 31766, 32545)}, { AOM_CDF4(14669, 27570, 31059)},
3040 				{ AOM_CDF4(8492, 20894, 27272)}, { AOM_CDF4(3644, 10194, 15204)},
3041 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3042 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3043 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3044 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3045 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3046 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3047 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3048 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3049 			},
3050 			{
3051 				{ AOM_CDF4(2461, 7013, 9371)}, { AOM_CDF4(24749, 29600, 30986)},
3052 				{ AOM_CDF4(9466, 19037, 22417)}, { AOM_CDF4(3584, 9280, 14400)},
3053 				{ AOM_CDF4(1505, 3929, 5433)}, { AOM_CDF4(677, 1500, 2736)},
3054 				{ AOM_CDF4(23987, 30702, 32117)}, { AOM_CDF4(13554, 24571, 29263)},
3055 				{ AOM_CDF4(6211, 14556, 21155)}, { AOM_CDF4(3135, 10972, 15625)},
3056 				{ AOM_CDF4(2435, 7127, 11427)}, { AOM_CDF4(31300, 32532, 32550)},
3057 				{ AOM_CDF4(14757, 30365, 31954)}, { AOM_CDF4(4405, 11612, 18553)},
3058 				{ AOM_CDF4(580, 4132, 7322)}, { AOM_CDF4(1695, 10169, 14124)},
3059 				{ AOM_CDF4(30008, 32282, 32591)}, { AOM_CDF4(19244, 30108, 31748)},
3060 				{ AOM_CDF4(11180, 24158, 29555)}, { AOM_CDF4(5650, 14972, 19209)},
3061 				{ AOM_CDF4(2114, 5109, 8456)}, { AOM_CDF4(31856, 32716, 32748)},
3062 				{ AOM_CDF4(23012, 31664, 32572)}, { AOM_CDF4(13694, 26656, 30636)},
3063 				{ AOM_CDF4(8142, 19508, 26093)}, { AOM_CDF4(4253, 10955, 16724)},
3064 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3065 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3066 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3067 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3068 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3069 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3070 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3071 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3072 			}
3073 		},
3074 		{
3075 			{
3076 				{ AOM_CDF4(601, 983, 1311)}, { AOM_CDF4(18725, 23406, 28087)},
3077 				{ AOM_CDF4(5461, 8192, 10923)}, { AOM_CDF4(3781, 15124, 21425)},
3078 				{ AOM_CDF4(2587, 7761, 12072)}, { AOM_CDF4(106, 458, 810)},
3079 				{ AOM_CDF4(22282, 29710, 31894)}, { AOM_CDF4(8508, 20926, 25984)},
3080 				{ AOM_CDF4(3726, 12713, 18083)}, { AOM_CDF4(1620, 7112, 10893)},
3081 				{ AOM_CDF4(729, 2236, 3495)}, { AOM_CDF4(30163, 32474, 32684)},
3082 				{ AOM_CDF4(18304, 30464, 32000)}, { AOM_CDF4(11443, 26526, 29647)},
3083 				{ AOM_CDF4(6007, 15292, 21299)}, { AOM_CDF4(2234, 6703, 8937)},
3084 				{ AOM_CDF4(30954, 32177, 32571)}, { AOM_CDF4(17363, 29562, 31076)},
3085 				{ AOM_CDF4(9686, 22464, 27410)}, { AOM_CDF4(8192, 16384, 21390)},
3086 				{ AOM_CDF4(1755, 8046, 11264)}, { AOM_CDF4(31168, 32734, 32748)},
3087 				{ AOM_CDF4(22486, 31441, 32471)}, { AOM_CDF4(12833, 25627, 29738)},
3088 				{ AOM_CDF4(6980, 17379, 23122)}, { AOM_CDF4(3111, 8887, 13479)},
3089 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3090 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3091 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3092 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3093 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3094 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3095 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3096 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3097 			},
3098 			{
3099 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3100 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3101 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3102 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3103 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3104 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3105 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3106 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3107 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3108 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3109 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3110 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3111 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3112 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3113 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3114 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3115 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3116 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3117 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3118 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3119 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3120 			}
3121 		}
3122 	},
3123 	{
3124 		{
3125 			{
3126 				{ AOM_CDF4(6041, 11854, 15927)}, { AOM_CDF4(20326, 30905, 32251)},
3127 				{ AOM_CDF4(14164, 26831, 30725)}, { AOM_CDF4(9760, 20647, 26585)},
3128 				{ AOM_CDF4(6416, 14953, 21219)}, { AOM_CDF4(2966, 7151, 10891)},
3129 				{ AOM_CDF4(23567, 31374, 32254)}, { AOM_CDF4(14978, 27416, 30946)},
3130 				{ AOM_CDF4(9434, 20225, 26254)}, { AOM_CDF4(6658, 14558, 20535)},
3131 				{ AOM_CDF4(3916, 8677, 12989)}, { AOM_CDF4(8192, 16384, 24576)},
3132 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3133 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3134 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3135 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3136 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(18088, 29545, 31587)},
3137 				{ AOM_CDF4(13062, 25843, 30073)}, { AOM_CDF4(8940, 16827, 22251)},
3138 				{ AOM_CDF4(7654, 13220, 17973)}, { AOM_CDF4(5733, 10316, 14456)},
3139 				{ AOM_CDF4(22879, 31388, 32114)}, { AOM_CDF4(15215, 27993, 30955)},
3140 				{ AOM_CDF4(9397, 19445, 24978)}, { AOM_CDF4(3442, 9813, 15344)},
3141 				{ AOM_CDF4(1368, 3936, 6532)}, { AOM_CDF4(25494, 32033, 32406)},
3142 				{ AOM_CDF4(16772, 27963, 30718)}, { AOM_CDF4(9419, 18165, 23260)},
3143 				{ AOM_CDF4(2677, 7501, 11797)}, { AOM_CDF4(1516, 4344, 7170)},
3144 				{ AOM_CDF4(26556, 31454, 32101)}, { AOM_CDF4(17128, 27035, 30108)},
3145 				{ AOM_CDF4(8324, 15344, 20249)}, { AOM_CDF4(1903, 5696, 9469)},
3146 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3147 			},
3148 			{
3149 				{ AOM_CDF4(8455, 19003, 24368)}, { AOM_CDF4(23563, 32021, 32604)},
3150 				{ AOM_CDF4(16237, 29446, 31935)}, { AOM_CDF4(10724, 23999, 29358)},
3151 				{ AOM_CDF4(6725, 17528, 24416)}, { AOM_CDF4(3927, 10927, 16825)},
3152 				{ AOM_CDF4(26313, 32288, 32634)}, { AOM_CDF4(17430, 30095, 32095)},
3153 				{ AOM_CDF4(11116, 24606, 29679)}, { AOM_CDF4(7195, 18384, 25269)},
3154 				{ AOM_CDF4(4726, 12852, 19315)}, { AOM_CDF4(8192, 16384, 24576)},
3155 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3156 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3157 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3158 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3159 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(22822, 31648, 32483)},
3160 				{ AOM_CDF4(16724, 29633, 31929)}, { AOM_CDF4(10261, 23033, 28725)},
3161 				{ AOM_CDF4(7029, 17840, 24528)}, { AOM_CDF4(4867, 13886, 21502)},
3162 				{ AOM_CDF4(25298, 31892, 32491)}, { AOM_CDF4(17809, 29330, 31512)},
3163 				{ AOM_CDF4(9668, 21329, 26579)}, { AOM_CDF4(4774, 12956, 18976)},
3164 				{ AOM_CDF4(2322, 7030, 11540)}, { AOM_CDF4(25472, 31920, 32543)},
3165 				{ AOM_CDF4(17957, 29387, 31632)}, { AOM_CDF4(9196, 20593, 26400)},
3166 				{ AOM_CDF4(4680, 12705, 19202)}, { AOM_CDF4(2917, 8456, 13436)},
3167 				{ AOM_CDF4(26471, 32059, 32574)}, { AOM_CDF4(18458, 29783, 31909)},
3168 				{ AOM_CDF4(8400, 19464, 25956)}, { AOM_CDF4(3812, 10973, 17206)},
3169 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3170 			}
3171 		},
3172 		{
3173 			{
3174 				{ AOM_CDF4(6779, 13743, 17678)}, { AOM_CDF4(24806, 31797, 32457)},
3175 				{ AOM_CDF4(17616, 29047, 31372)}, { AOM_CDF4(11063, 23175, 28003)},
3176 				{ AOM_CDF4(6521, 16110, 22324)}, { AOM_CDF4(2764, 7504, 11654)},
3177 				{ AOM_CDF4(25266, 32367, 32637)}, { AOM_CDF4(19054, 30553, 32175)},
3178 				{ AOM_CDF4(12139, 25212, 29807)}, { AOM_CDF4(7311, 18162, 24704)},
3179 				{ AOM_CDF4(3397, 9164, 14074)}, { AOM_CDF4(25988, 32208, 32522)},
3180 				{ AOM_CDF4(16253, 28912, 31526)}, { AOM_CDF4(9151, 21387, 27372)},
3181 				{ AOM_CDF4(5688, 14915, 21496)}, { AOM_CDF4(2717, 7627, 12004)},
3182 				{ AOM_CDF4(23144, 31855, 32443)}, { AOM_CDF4(16070, 28491, 31325)},
3183 				{ AOM_CDF4(8702, 20467, 26517)}, { AOM_CDF4(5243, 13956, 20367)},
3184 				{ AOM_CDF4(2621, 7335, 11567)}, { AOM_CDF4(26636, 32340, 32630)},
3185 				{ AOM_CDF4(19990, 31050, 32341)}, { AOM_CDF4(13243, 26105, 30315)},
3186 				{ AOM_CDF4(8588, 19521, 25918)}, { AOM_CDF4(4717, 11585, 17304)},
3187 				{ AOM_CDF4(25844, 32292, 32582)}, { AOM_CDF4(19090, 30635, 32097)},
3188 				{ AOM_CDF4(11963, 24546, 28939)}, { AOM_CDF4(6218, 16087, 22354)},
3189 				{ AOM_CDF4(2340, 6608, 10426)}, { AOM_CDF4(28046, 32576, 32694)},
3190 				{ AOM_CDF4(21178, 31313, 32296)}, { AOM_CDF4(13486, 26184, 29870)},
3191 				{ AOM_CDF4(7149, 17871, 23723)}, { AOM_CDF4(2833, 7958, 12259)},
3192 				{ AOM_CDF4(27710, 32528, 32686)}, { AOM_CDF4(20674, 31076, 32268)},
3193 				{ AOM_CDF4(12413, 24955, 29243)}, { AOM_CDF4(6676, 16927, 23097)},
3194 				{ AOM_CDF4(2966, 8333, 12919)}, { AOM_CDF4(8192, 16384, 24576)}
3195 			},
3196 			{
3197 				{ AOM_CDF4(8639, 19339, 24429)}, { AOM_CDF4(24404, 31837, 32525)},
3198 				{ AOM_CDF4(16997, 29425, 31784)}, { AOM_CDF4(11253, 24234, 29149)},
3199 				{ AOM_CDF4(6751, 17394, 24028)}, { AOM_CDF4(3490, 9830, 15191)},
3200 				{ AOM_CDF4(26283, 32471, 32714)}, { AOM_CDF4(19599, 31168, 32442)},
3201 				{ AOM_CDF4(13146, 26954, 30893)}, { AOM_CDF4(8214, 20588, 26890)},
3202 				{ AOM_CDF4(4699, 13081, 19300)}, { AOM_CDF4(28212, 32458, 32669)},
3203 				{ AOM_CDF4(18594, 30316, 32100)}, { AOM_CDF4(11219, 24408, 29234)},
3204 				{ AOM_CDF4(6865, 17656, 24149)}, { AOM_CDF4(3678, 10362, 16006)},
3205 				{ AOM_CDF4(25825, 32136, 32616)}, { AOM_CDF4(17313, 29853, 32021)},
3206 				{ AOM_CDF4(11197, 24471, 29472)}, { AOM_CDF4(6947, 17781, 24405)},
3207 				{ AOM_CDF4(3768, 10660, 16261)}, { AOM_CDF4(27352, 32500, 32706)},
3208 				{ AOM_CDF4(20850, 31468, 32469)}, { AOM_CDF4(14021, 27707, 31133)},
3209 				{ AOM_CDF4(8964, 21748, 27838)}, { AOM_CDF4(5437, 14665, 21187)},
3210 				{ AOM_CDF4(26304, 32492, 32698)}, { AOM_CDF4(20409, 31380, 32385)},
3211 				{ AOM_CDF4(13682, 27222, 30632)}, { AOM_CDF4(8974, 21236, 26685)},
3212 				{ AOM_CDF4(4234, 11665, 16934)}, { AOM_CDF4(26273, 32357, 32711)},
3213 				{ AOM_CDF4(20672, 31242, 32441)}, { AOM_CDF4(14172, 27254, 30902)},
3214 				{ AOM_CDF4(9870, 21898, 27275)}, { AOM_CDF4(5164, 13506, 19270)},
3215 				{ AOM_CDF4(26725, 32459, 32728)}, { AOM_CDF4(20991, 31442, 32527)},
3216 				{ AOM_CDF4(13071, 26434, 30811)}, { AOM_CDF4(8184, 20090, 26742)},
3217 				{ AOM_CDF4(4803, 13255, 19895)}, { AOM_CDF4(8192, 16384, 24576)}
3218 			}
3219 		},
3220 		{
3221 			{
3222 				{ AOM_CDF4(7555, 14942, 18501)}, { AOM_CDF4(24410, 31178, 32287)},
3223 				{ AOM_CDF4(14394, 26738, 30253)}, { AOM_CDF4(8413, 19554, 25195)},
3224 				{ AOM_CDF4(4766, 12924, 18785)}, { AOM_CDF4(2029, 5806, 9207)},
3225 				{ AOM_CDF4(26776, 32364, 32663)}, { AOM_CDF4(18732, 29967, 31931)},
3226 				{ AOM_CDF4(11005, 23786, 28852)}, { AOM_CDF4(6466, 16909, 23510)},
3227 				{ AOM_CDF4(3044, 8638, 13419)}, { AOM_CDF4(29208, 32582, 32704)},
3228 				{ AOM_CDF4(20068, 30857, 32208)}, { AOM_CDF4(12003, 25085, 29595)},
3229 				{ AOM_CDF4(6947, 17750, 24189)}, { AOM_CDF4(3245, 9103, 14007)},
3230 				{ AOM_CDF4(27359, 32465, 32669)}, { AOM_CDF4(19421, 30614, 32174)},
3231 				{ AOM_CDF4(11915, 25010, 29579)}, { AOM_CDF4(6950, 17676, 24074)},
3232 				{ AOM_CDF4(3007, 8473, 13096)}, { AOM_CDF4(29002, 32676, 32735)},
3233 				{ AOM_CDF4(22102, 31849, 32576)}, { AOM_CDF4(14408, 28009, 31405)},
3234 				{ AOM_CDF4(9027, 21679, 27931)}, { AOM_CDF4(4694, 12678, 18748)},
3235 				{ AOM_CDF4(28216, 32528, 32682)}, { AOM_CDF4(20849, 31264, 32318)},
3236 				{ AOM_CDF4(12756, 25815, 29751)}, { AOM_CDF4(7565, 18801, 24923)},
3237 				{ AOM_CDF4(3509, 9533, 14477)}, { AOM_CDF4(30133, 32687, 32739)},
3238 				{ AOM_CDF4(23063, 31910, 32515)}, { AOM_CDF4(14588, 28051, 31132)},
3239 				{ AOM_CDF4(9085, 21649, 27457)}, { AOM_CDF4(4261, 11654, 17264)},
3240 				{ AOM_CDF4(29518, 32691, 32748)}, { AOM_CDF4(22451, 31959, 32613)},
3241 				{ AOM_CDF4(14864, 28722, 31700)}, { AOM_CDF4(9695, 22964, 28716)},
3242 				{ AOM_CDF4(4932, 13358, 19502)}, { AOM_CDF4(8192, 16384, 24576)}
3243 			},
3244 			{
3245 				{ AOM_CDF4(6465, 16958, 21688)}, { AOM_CDF4(25199, 31514, 32360)},
3246 				{ AOM_CDF4(14774, 27149, 30607)}, { AOM_CDF4(9257, 21438, 26972)},
3247 				{ AOM_CDF4(5723, 15183, 21882)}, { AOM_CDF4(3150, 8879, 13731)},
3248 				{ AOM_CDF4(26989, 32262, 32682)}, { AOM_CDF4(17396, 29937, 32085)},
3249 				{ AOM_CDF4(11387, 24901, 29784)}, { AOM_CDF4(7289, 18821, 25548)},
3250 				{ AOM_CDF4(3734, 10577, 16086)}, { AOM_CDF4(29728, 32501, 32695)},
3251 				{ AOM_CDF4(17431, 29701, 31903)}, { AOM_CDF4(9921, 22826, 28300)},
3252 				{ AOM_CDF4(5896, 15434, 22068)}, { AOM_CDF4(3430, 9646, 14757)},
3253 				{ AOM_CDF4(28614, 32511, 32705)}, { AOM_CDF4(19364, 30638, 32263)},
3254 				{ AOM_CDF4(13129, 26254, 30402)}, { AOM_CDF4(8754, 20484, 26440)},
3255 				{ AOM_CDF4(4378, 11607, 17110)}, { AOM_CDF4(30292, 32671, 32744)},
3256 				{ AOM_CDF4(21780, 31603, 32501)}, { AOM_CDF4(14314, 27829, 31291)},
3257 				{ AOM_CDF4(9611, 22327, 28263)}, { AOM_CDF4(4890, 13087, 19065)},
3258 				{ AOM_CDF4(25862, 32567, 32733)}, { AOM_CDF4(20794, 32050, 32567)},
3259 				{ AOM_CDF4(17243, 30625, 32254)}, { AOM_CDF4(13283, 27628, 31474)},
3260 				{ AOM_CDF4(9669, 22532, 28918)}, { AOM_CDF4(27435, 32697, 32748)},
3261 				{ AOM_CDF4(24922, 32390, 32714)}, { AOM_CDF4(21449, 31504, 32536)},
3262 				{ AOM_CDF4(16392, 29729, 31832)}, { AOM_CDF4(11692, 24884, 29076)},
3263 				{ AOM_CDF4(24193, 32290, 32735)}, { AOM_CDF4(18909, 31104, 32563)},
3264 				{ AOM_CDF4(12236, 26841, 31403)}, { AOM_CDF4(8171, 21840, 29082)},
3265 				{ AOM_CDF4(7224, 17280, 25275)}, { AOM_CDF4(8192, 16384, 24576)}
3266 			}
3267 		},
3268 		{
3269 			{
3270 				{ AOM_CDF4(3078, 6839, 9890)}, { AOM_CDF4(13837, 20450, 24479)},
3271 				{ AOM_CDF4(5914, 14222, 19328)}, { AOM_CDF4(3866, 10267, 14762)},
3272 				{ AOM_CDF4(2612, 7208, 11042)}, { AOM_CDF4(1067, 2991, 4776)},
3273 				{ AOM_CDF4(25817, 31646, 32529)}, { AOM_CDF4(13708, 26338, 30385)},
3274 				{ AOM_CDF4(7328, 18585, 24870)}, { AOM_CDF4(4691, 13080, 19276)},
3275 				{ AOM_CDF4(1825, 5253, 8352)}, { AOM_CDF4(29386, 32315, 32624)},
3276 				{ AOM_CDF4(17160, 29001, 31360)}, { AOM_CDF4(9602, 21862, 27396)},
3277 				{ AOM_CDF4(5915, 15772, 22148)}, { AOM_CDF4(2786, 7779, 12047)},
3278 				{ AOM_CDF4(29246, 32450, 32663)}, { AOM_CDF4(18696, 29929, 31818)},
3279 				{ AOM_CDF4(10510, 23369, 28560)}, { AOM_CDF4(6229, 16499, 23125)},
3280 				{ AOM_CDF4(2608, 7448, 11705)}, { AOM_CDF4(30753, 32710, 32748)},
3281 				{ AOM_CDF4(21638, 31487, 32503)}, { AOM_CDF4(12937, 26854, 30870)},
3282 				{ AOM_CDF4(8182, 20596, 26970)}, { AOM_CDF4(3637, 10269, 15497)},
3283 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3284 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3285 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3286 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3287 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3288 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3289 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3290 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3291 			},
3292 			{
3293 				{ AOM_CDF4(5244, 12150, 16906)}, { AOM_CDF4(20486, 26858, 29701)},
3294 				{ AOM_CDF4(7756, 18317, 23735)}, { AOM_CDF4(3452, 9256, 13146)},
3295 				{ AOM_CDF4(2020, 5206, 8229)}, { AOM_CDF4(1801, 4993, 7903)},
3296 				{ AOM_CDF4(27051, 31858, 32531)}, { AOM_CDF4(15988, 27531, 30619)},
3297 				{ AOM_CDF4(9188, 21484, 26719)}, { AOM_CDF4(6273, 17186, 23800)},
3298 				{ AOM_CDF4(3108, 9355, 14764)}, { AOM_CDF4(31076, 32520, 32680)},
3299 				{ AOM_CDF4(18119, 30037, 31850)}, { AOM_CDF4(10244, 22969, 27472)},
3300 				{ AOM_CDF4(4692, 14077, 19273)}, { AOM_CDF4(3694, 11677, 17556)},
3301 				{ AOM_CDF4(30060, 32581, 32720)}, { AOM_CDF4(21011, 30775, 32120)},
3302 				{ AOM_CDF4(11931, 24820, 29289)}, { AOM_CDF4(7119, 17662, 24356)},
3303 				{ AOM_CDF4(3833, 10706, 16304)}, { AOM_CDF4(31954, 32731, 32748)},
3304 				{ AOM_CDF4(23913, 31724, 32489)}, { AOM_CDF4(15520, 28060, 31286)},
3305 				{ AOM_CDF4(11517, 23008, 28571)}, { AOM_CDF4(6193, 14508, 20629)},
3306 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3307 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3308 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3309 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3310 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3311 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3312 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3313 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3314 			}
3315 		},
3316 		{
3317 			{
3318 				{ AOM_CDF4(1035, 2807, 4156)}, { AOM_CDF4(13162, 18138, 20939)},
3319 				{ AOM_CDF4(2696, 6633, 8755)}, { AOM_CDF4(1373, 4161, 6853)},
3320 				{ AOM_CDF4(1099, 2746, 4716)}, { AOM_CDF4(340, 1021, 1599)},
3321 				{ AOM_CDF4(22826, 30419, 32135)}, { AOM_CDF4(10395, 21762, 26942)},
3322 				{ AOM_CDF4(4726, 12407, 17361)}, { AOM_CDF4(2447, 7080, 10593)},
3323 				{ AOM_CDF4(1227, 3717, 6011)}, { AOM_CDF4(28156, 31424, 31934)},
3324 				{ AOM_CDF4(16915, 27754, 30373)}, { AOM_CDF4(9148, 20990, 26431)},
3325 				{ AOM_CDF4(5950, 15515, 21148)}, { AOM_CDF4(2492, 7327, 11526)},
3326 				{ AOM_CDF4(30602, 32477, 32670)}, { AOM_CDF4(20026, 29955, 31568)},
3327 				{ AOM_CDF4(11220, 23628, 28105)}, { AOM_CDF4(6652, 17019, 22973)},
3328 				{ AOM_CDF4(3064, 8536, 13043)}, { AOM_CDF4(31769, 32724, 32748)},
3329 				{ AOM_CDF4(22230, 30887, 32373)}, { AOM_CDF4(12234, 25079, 29731)},
3330 				{ AOM_CDF4(7326, 18816, 25353)}, { AOM_CDF4(3933, 10907, 16616)},
3331 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3332 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3333 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3334 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3335 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3336 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3337 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3338 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3339 			},
3340 			{
3341 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3342 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3343 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3344 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3345 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3346 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3347 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3348 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3349 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3350 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3351 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3352 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3353 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3354 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3355 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3356 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3357 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3358 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3359 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3360 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3361 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3362 			}
3363 		}
3364 	},
3365 	{
3366 		{
3367 			{
3368 				{ AOM_CDF4(8896, 16227, 20630)}, { AOM_CDF4(23629, 31782, 32527)},
3369 				{ AOM_CDF4(15173, 27755, 31321)}, { AOM_CDF4(10158, 21233, 27382)},
3370 				{ AOM_CDF4(6420, 14857, 21558)}, { AOM_CDF4(3269, 8155, 12646)},
3371 				{ AOM_CDF4(24835, 32009, 32496)}, { AOM_CDF4(16509, 28421, 31579)},
3372 				{ AOM_CDF4(10957, 21514, 27418)}, { AOM_CDF4(7881, 15930, 22096)},
3373 				{ AOM_CDF4(5388, 10960, 15918)}, { AOM_CDF4(8192, 16384, 24576)},
3374 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3375 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3376 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3377 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3378 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(20745, 30773, 32093)},
3379 				{ AOM_CDF4(15200, 27221, 30861)}, { AOM_CDF4(13032, 20873, 25667)},
3380 				{ AOM_CDF4(12285, 18663, 23494)}, { AOM_CDF4(11563, 17481, 21489)},
3381 				{ AOM_CDF4(26260, 31982, 32320)}, { AOM_CDF4(15397, 28083, 31100)},
3382 				{ AOM_CDF4(9742, 19217, 24824)}, { AOM_CDF4(3261, 9629, 15362)},
3383 				{ AOM_CDF4(1480, 4322, 7499)}, { AOM_CDF4(27599, 32256, 32460)},
3384 				{ AOM_CDF4(16857, 27659, 30774)}, { AOM_CDF4(9551, 18290, 23748)},
3385 				{ AOM_CDF4(3052, 8933, 14103)}, { AOM_CDF4(2021, 5910, 9787)},
3386 				{ AOM_CDF4(29005, 32015, 32392)}, { AOM_CDF4(17677, 27694, 30863)},
3387 				{ AOM_CDF4(9204, 17356, 23219)}, { AOM_CDF4(2403, 7516, 12814)},
3388 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3389 			},
3390 			{
3391 				{ AOM_CDF4(10808, 22056, 26896)}, { AOM_CDF4(25739, 32313, 32676)},
3392 				{ AOM_CDF4(17288, 30203, 32221)}, { AOM_CDF4(11359, 24878, 29896)},
3393 				{ AOM_CDF4(6949, 17767, 24893)}, { AOM_CDF4(4287, 11796, 18071)},
3394 				{ AOM_CDF4(27880, 32521, 32705)}, { AOM_CDF4(19038, 31004, 32414)},
3395 				{ AOM_CDF4(12564, 26345, 30768)}, { AOM_CDF4(8269, 19947, 26779)},
3396 				{ AOM_CDF4(5674, 14657, 21674)}, { AOM_CDF4(8192, 16384, 24576)},
3397 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3398 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3399 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3400 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3401 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(25742, 32319, 32671)},
3402 				{ AOM_CDF4(19557, 31164, 32454)}, { AOM_CDF4(13381, 26381, 30755)},
3403 				{ AOM_CDF4(10101, 21466, 26722)}, { AOM_CDF4(9209, 19650, 26825)},
3404 				{ AOM_CDF4(27107, 31917, 32432)}, { AOM_CDF4(18056, 28893, 31203)},
3405 				{ AOM_CDF4(10200, 21434, 26764)}, { AOM_CDF4(4660, 12913, 19502)},
3406 				{ AOM_CDF4(2368, 6930, 12504)}, { AOM_CDF4(26960, 32158, 32613)},
3407 				{ AOM_CDF4(18628, 30005, 32031)}, { AOM_CDF4(10233, 22442, 28232)},
3408 				{ AOM_CDF4(5471, 14630, 21516)}, { AOM_CDF4(3235, 10767, 17109)},
3409 				{ AOM_CDF4(27696, 32440, 32692)}, { AOM_CDF4(20032, 31167, 32438)},
3410 				{ AOM_CDF4(8700, 21341, 28442)}, { AOM_CDF4(5662, 14831, 21795)},
3411 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3412 			}
3413 		},
3414 		{
3415 			{
3416 				{ AOM_CDF4(9704, 17294, 21132)}, { AOM_CDF4(26762, 32278, 32633)},
3417 				{ AOM_CDF4(18382, 29620, 31819)}, { AOM_CDF4(10891, 23475, 28723)},
3418 				{ AOM_CDF4(6358, 16583, 23309)}, { AOM_CDF4(3248, 9118, 14141)},
3419 				{ AOM_CDF4(27204, 32573, 32699)}, { AOM_CDF4(19818, 30824, 32329)},
3420 				{ AOM_CDF4(11772, 25120, 30041)}, { AOM_CDF4(6995, 18033, 25039)},
3421 				{ AOM_CDF4(3752, 10442, 16098)}, { AOM_CDF4(27222, 32256, 32559)},
3422 				{ AOM_CDF4(15356, 28399, 31475)}, { AOM_CDF4(8821, 20635, 27057)},
3423 				{ AOM_CDF4(5511, 14404, 21239)}, { AOM_CDF4(2935, 8222, 13051)},
3424 				{ AOM_CDF4(24875, 32120, 32529)}, { AOM_CDF4(15233, 28265, 31445)},
3425 				{ AOM_CDF4(8605, 20570, 26932)}, { AOM_CDF4(5431, 14413, 21196)},
3426 				{ AOM_CDF4(2994, 8341, 13223)}, { AOM_CDF4(28201, 32604, 32700)},
3427 				{ AOM_CDF4(21041, 31446, 32456)}, { AOM_CDF4(13221, 26213, 30475)},
3428 				{ AOM_CDF4(8255, 19385, 26037)}, { AOM_CDF4(4930, 12585, 18830)},
3429 				{ AOM_CDF4(28768, 32448, 32627)}, { AOM_CDF4(19705, 30561, 32021)},
3430 				{ AOM_CDF4(11572, 23589, 28220)}, { AOM_CDF4(5532, 15034, 21446)},
3431 				{ AOM_CDF4(2460, 7150, 11456)}, { AOM_CDF4(29874, 32619, 32699)},
3432 				{ AOM_CDF4(21621, 31071, 32201)}, { AOM_CDF4(12511, 24747, 28992)},
3433 				{ AOM_CDF4(6281, 16395, 22748)}, { AOM_CDF4(3246, 9278, 14497)},
3434 				{ AOM_CDF4(29715, 32625, 32712)}, { AOM_CDF4(20958, 31011, 32283)},
3435 				{ AOM_CDF4(11233, 23671, 28806)}, { AOM_CDF4(6012, 16128, 22868)},
3436 				{ AOM_CDF4(3427, 9851, 15414)}, { AOM_CDF4(8192, 16384, 24576)}
3437 			},
3438 			{
3439 				{ AOM_CDF4(11016, 22111, 26794)}, { AOM_CDF4(25946, 32357, 32677)},
3440 				{ AOM_CDF4(17890, 30452, 32252)}, { AOM_CDF4(11678, 25142, 29816)},
3441 				{ AOM_CDF4(6720, 17534, 24584)}, { AOM_CDF4(4230, 11665, 17820)},
3442 				{ AOM_CDF4(28400, 32623, 32747)}, { AOM_CDF4(21164, 31668, 32575)},
3443 				{ AOM_CDF4(13572, 27388, 31182)}, { AOM_CDF4(8234, 20750, 27358)},
3444 				{ AOM_CDF4(5065, 14055, 20897)}, { AOM_CDF4(28981, 32547, 32705)},
3445 				{ AOM_CDF4(18681, 30543, 32239)}, { AOM_CDF4(10919, 24075, 29286)},
3446 				{ AOM_CDF4(6431, 17199, 24077)}, { AOM_CDF4(3819, 10464, 16618)},
3447 				{ AOM_CDF4(26870, 32467, 32693)}, { AOM_CDF4(19041, 30831, 32347)},
3448 				{ AOM_CDF4(11794, 25211, 30016)}, { AOM_CDF4(6888, 18019, 24970)},
3449 				{ AOM_CDF4(4370, 12363, 18992)}, { AOM_CDF4(29578, 32670, 32744)},
3450 				{ AOM_CDF4(23159, 32007, 32613)}, { AOM_CDF4(15315, 28669, 31676)},
3451 				{ AOM_CDF4(9298, 22607, 28782)}, { AOM_CDF4(6144, 15913, 22968)},
3452 				{ AOM_CDF4(28110, 32499, 32669)}, { AOM_CDF4(21574, 30937, 32015)},
3453 				{ AOM_CDF4(12759, 24818, 28727)}, { AOM_CDF4(6545, 16761, 23042)},
3454 				{ AOM_CDF4(3649, 10597, 16833)}, { AOM_CDF4(28163, 32552, 32728)},
3455 				{ AOM_CDF4(22101, 31469, 32464)}, { AOM_CDF4(13160, 25472, 30143)},
3456 				{ AOM_CDF4(7303, 18684, 25468)}, { AOM_CDF4(5241, 13975, 20955)},
3457 				{ AOM_CDF4(28400, 32631, 32744)}, { AOM_CDF4(22104, 31793, 32603)},
3458 				{ AOM_CDF4(13557, 26571, 30846)}, { AOM_CDF4(7749, 19861, 26675)},
3459 				{ AOM_CDF4(4873, 14030, 21234)}, { AOM_CDF4(8192, 16384, 24576)}
3460 			}
3461 		},
3462 		{
3463 			{
3464 				{ AOM_CDF4(9800, 17635, 21073)}, { AOM_CDF4(26153, 31885, 32527)},
3465 				{ AOM_CDF4(15038, 27852, 31006)}, { AOM_CDF4(8718, 20564, 26486)},
3466 				{ AOM_CDF4(5128, 14076, 20514)}, { AOM_CDF4(2636, 7566, 11925)},
3467 				{ AOM_CDF4(27551, 32504, 32701)}, { AOM_CDF4(18310, 30054, 32100)},
3468 				{ AOM_CDF4(10211, 23420, 29082)}, { AOM_CDF4(6222, 16876, 23916)},
3469 				{ AOM_CDF4(3462, 9954, 15498)}, { AOM_CDF4(29991, 32633, 32721)},
3470 				{ AOM_CDF4(19883, 30751, 32201)}, { AOM_CDF4(11141, 24184, 29285)},
3471 				{ AOM_CDF4(6420, 16940, 23774)}, { AOM_CDF4(3392, 9753, 15118)},
3472 				{ AOM_CDF4(28465, 32616, 32712)}, { AOM_CDF4(19850, 30702, 32244)},
3473 				{ AOM_CDF4(10983, 24024, 29223)}, { AOM_CDF4(6294, 16770, 23582)},
3474 				{ AOM_CDF4(3244, 9283, 14509)}, { AOM_CDF4(30023, 32717, 32748)},
3475 				{ AOM_CDF4(22940, 32032, 32626)}, { AOM_CDF4(14282, 27928, 31473)},
3476 				{ AOM_CDF4(8562, 21327, 27914)}, { AOM_CDF4(4846, 13393, 19919)},
3477 				{ AOM_CDF4(29981, 32590, 32695)}, { AOM_CDF4(20465, 30963, 32166)},
3478 				{ AOM_CDF4(11479, 23579, 28195)}, { AOM_CDF4(5916, 15648, 22073)},
3479 				{ AOM_CDF4(3031, 8605, 13398)}, { AOM_CDF4(31146, 32691, 32739)},
3480 				{ AOM_CDF4(23106, 31724, 32444)}, { AOM_CDF4(13783, 26738, 30439)},
3481 				{ AOM_CDF4(7852, 19468, 25807)}, { AOM_CDF4(3860, 11124, 16853)},
3482 				{ AOM_CDF4(31014, 32724, 32748)}, { AOM_CDF4(23629, 32109, 32628)},
3483 				{ AOM_CDF4(14747, 28115, 31403)}, { AOM_CDF4(8545, 21242, 27478)},
3484 				{ AOM_CDF4(4574, 12781, 19067)}, { AOM_CDF4(8192, 16384, 24576)}
3485 			},
3486 			{
3487 				{ AOM_CDF4(9185, 19694, 24688)}, { AOM_CDF4(26081, 31985, 32621)},
3488 				{ AOM_CDF4(16015, 29000, 31787)}, { AOM_CDF4(10542, 23690, 29206)},
3489 				{ AOM_CDF4(6732, 17945, 24677)}, { AOM_CDF4(3916, 11039, 16722)},
3490 				{ AOM_CDF4(28224, 32566, 32744)}, { AOM_CDF4(19100, 31138, 32485)},
3491 				{ AOM_CDF4(12528, 26620, 30879)}, { AOM_CDF4(7741, 20277, 26885)},
3492 				{ AOM_CDF4(4566, 12845, 18990)}, { AOM_CDF4(29933, 32593, 32718)},
3493 				{ AOM_CDF4(17670, 30333, 32155)}, { AOM_CDF4(10385, 23600, 28909)},
3494 				{ AOM_CDF4(6243, 16236, 22407)}, { AOM_CDF4(3976, 10389, 16017)},
3495 				{ AOM_CDF4(28377, 32561, 32738)}, { AOM_CDF4(19366, 31175, 32482)},
3496 				{ AOM_CDF4(13327, 27175, 31094)}, { AOM_CDF4(8258, 20769, 27143)},
3497 				{ AOM_CDF4(4703, 13198, 19527)}, { AOM_CDF4(31086, 32706, 32748)},
3498 				{ AOM_CDF4(22853, 31902, 32583)}, { AOM_CDF4(14759, 28186, 31419)},
3499 				{ AOM_CDF4(9284, 22382, 28348)}, { AOM_CDF4(5585, 15192, 21868)},
3500 				{ AOM_CDF4(28291, 32652, 32746)}, { AOM_CDF4(19849, 32107, 32571)},
3501 				{ AOM_CDF4(14834, 26818, 29214)}, { AOM_CDF4(10306, 22594, 28672)},
3502 				{ AOM_CDF4(6615, 17384, 23384)}, { AOM_CDF4(28947, 32604, 32745)},
3503 				{ AOM_CDF4(25625, 32289, 32646)}, { AOM_CDF4(18758, 28672, 31403)},
3504 				{ AOM_CDF4(10017, 23430, 28523)}, { AOM_CDF4(6862, 15269, 22131)},
3505 				{ AOM_CDF4(23933, 32509, 32739)}, { AOM_CDF4(19927, 31495, 32631)},
3506 				{ AOM_CDF4(11903, 26023, 30621)}, { AOM_CDF4(7026, 20094, 27252)},
3507 				{ AOM_CDF4(5998, 18106, 24437)}, { AOM_CDF4(8192, 16384, 24576)}
3508 			}
3509 		},
3510 		{
3511 			{
3512 				{ AOM_CDF4(4456, 11274, 15533)}, { AOM_CDF4(21219, 29079, 31616)},
3513 				{ AOM_CDF4(11173, 23774, 28567)}, { AOM_CDF4(7282, 18293, 24263)},
3514 				{ AOM_CDF4(4890, 13286, 19115)}, { AOM_CDF4(1890, 5508, 8659)},
3515 				{ AOM_CDF4(26651, 32136, 32647)}, { AOM_CDF4(14630, 28254, 31455)},
3516 				{ AOM_CDF4(8716, 21287, 27395)}, { AOM_CDF4(5615, 15331, 22008)},
3517 				{ AOM_CDF4(2675, 7700, 12150)}, { AOM_CDF4(29954, 32526, 32690)},
3518 				{ AOM_CDF4(16126, 28982, 31633)}, { AOM_CDF4(9030, 21361, 27352)},
3519 				{ AOM_CDF4(5411, 14793, 21271)}, { AOM_CDF4(2943, 8422, 13163)},
3520 				{ AOM_CDF4(29539, 32601, 32730)}, { AOM_CDF4(18125, 30385, 32201)},
3521 				{ AOM_CDF4(10422, 24090, 29468)}, { AOM_CDF4(6468, 17487, 24438)},
3522 				{ AOM_CDF4(2970, 8653, 13531)}, { AOM_CDF4(30912, 32715, 32748)},
3523 				{ AOM_CDF4(20666, 31373, 32497)}, { AOM_CDF4(12509, 26640, 30917)},
3524 				{ AOM_CDF4(8058, 20629, 27290)}, { AOM_CDF4(4231, 12006, 18052)},
3525 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3526 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3527 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3528 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3529 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3530 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3531 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3532 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3533 			},
3534 			{
3535 				{ AOM_CDF4(10202, 20633, 25484)}, { AOM_CDF4(27336, 31445, 32352)},
3536 				{ AOM_CDF4(12420, 24384, 28552)}, { AOM_CDF4(7648, 18115, 23856)},
3537 				{ AOM_CDF4(5662, 14341, 19902)}, { AOM_CDF4(3611, 10328, 15390)},
3538 				{ AOM_CDF4(30945, 32616, 32736)}, { AOM_CDF4(18682, 30505, 32253)},
3539 				{ AOM_CDF4(11513, 25336, 30203)}, { AOM_CDF4(7449, 19452, 26148)},
3540 				{ AOM_CDF4(4482, 13051, 18886)}, { AOM_CDF4(32022, 32690, 32747)},
3541 				{ AOM_CDF4(18578, 30501, 32146)}, { AOM_CDF4(11249, 23368, 28631)},
3542 				{ AOM_CDF4(5645, 16958, 22158)}, { AOM_CDF4(5009, 11444, 16637)},
3543 				{ AOM_CDF4(31357, 32710, 32748)}, { AOM_CDF4(21552, 31494, 32504)},
3544 				{ AOM_CDF4(13891, 27677, 31340)}, { AOM_CDF4(9051, 22098, 28172)},
3545 				{ AOM_CDF4(5190, 13377, 19486)}, { AOM_CDF4(32364, 32740, 32748)},
3546 				{ AOM_CDF4(24839, 31907, 32551)}, { AOM_CDF4(17160, 28779, 31696)},
3547 				{ AOM_CDF4(12452, 24137, 29602)}, { AOM_CDF4(6165, 15389, 22477)},
3548 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3549 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3550 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3551 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3552 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3553 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3554 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3555 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3556 			}
3557 		},
3558 		{
3559 			{
3560 				{ AOM_CDF4(2575, 7281, 11077)}, { AOM_CDF4(14002, 20866, 25402)},
3561 				{ AOM_CDF4(6343, 15056, 19658)}, { AOM_CDF4(4474, 11858, 17041)},
3562 				{ AOM_CDF4(2865, 8299, 12534)}, { AOM_CDF4(1344, 3949, 6391)},
3563 				{ AOM_CDF4(24720, 31239, 32459)}, { AOM_CDF4(12585, 25356, 29968)},
3564 				{ AOM_CDF4(7181, 18246, 24444)}, { AOM_CDF4(5025, 13667, 19885)},
3565 				{ AOM_CDF4(2521, 7304, 11605)}, { AOM_CDF4(29908, 32252, 32584)},
3566 				{ AOM_CDF4(17421, 29156, 31575)}, { AOM_CDF4(9889, 22188, 27782)},
3567 				{ AOM_CDF4(5878, 15647, 22123)}, { AOM_CDF4(2814, 8665, 13323)},
3568 				{ AOM_CDF4(30183, 32568, 32713)}, { AOM_CDF4(18528, 30195, 32049)},
3569 				{ AOM_CDF4(10982, 24606, 29657)}, { AOM_CDF4(6957, 18165, 25231)},
3570 				{ AOM_CDF4(3508, 10118, 15468)}, { AOM_CDF4(31761, 32736, 32748)},
3571 				{ AOM_CDF4(21041, 31328, 32546)}, { AOM_CDF4(12568, 26732, 31166)},
3572 				{ AOM_CDF4(8052, 20720, 27733)}, { AOM_CDF4(4336, 12192, 18396)},
3573 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3574 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3575 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3576 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3577 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3578 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3579 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3580 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3581 			},
3582 			{
3583 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3584 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3585 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3586 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3587 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3588 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3589 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3590 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3591 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3592 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3593 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3594 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3595 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3596 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3597 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3598 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3599 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3600 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3601 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3602 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3603 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3604 			}
3605 		}
3606 	},
3607 	{
3608 		{
3609 			{
3610 				{ AOM_CDF4(7062, 16472, 22319)}, { AOM_CDF4(24538, 32261, 32674)},
3611 				{ AOM_CDF4(13675, 28041, 31779)}, { AOM_CDF4(8590, 20674, 27631)},
3612 				{ AOM_CDF4(5685, 14675, 22013)}, { AOM_CDF4(3655, 9898, 15731)},
3613 				{ AOM_CDF4(26493, 32418, 32658)}, { AOM_CDF4(16376, 29342, 32090)},
3614 				{ AOM_CDF4(10594, 22649, 28970)}, { AOM_CDF4(8176, 17170, 24303)},
3615 				{ AOM_CDF4(5605, 12694, 19139)}, { AOM_CDF4(8192, 16384, 24576)},
3616 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3617 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3618 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3619 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3620 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(23888, 31902, 32542)},
3621 				{ AOM_CDF4(18612, 29687, 31987)}, { AOM_CDF4(16245, 24852, 29249)},
3622 				{ AOM_CDF4(15765, 22608, 27559)}, { AOM_CDF4(19895, 24699, 27510)},
3623 				{ AOM_CDF4(28401, 32212, 32457)}, { AOM_CDF4(15274, 27825, 30980)},
3624 				{ AOM_CDF4(9364, 18128, 24332)}, { AOM_CDF4(2283, 8193, 15082)},
3625 				{ AOM_CDF4(1228, 3972, 7881)}, { AOM_CDF4(29455, 32469, 32620)},
3626 				{ AOM_CDF4(17981, 28245, 31388)}, { AOM_CDF4(10921, 20098, 26240)},
3627 				{ AOM_CDF4(3743, 11829, 18657)}, { AOM_CDF4(2374, 9593, 15715)},
3628 				{ AOM_CDF4(31068, 32466, 32635)}, { AOM_CDF4(20321, 29572, 31971)},
3629 				{ AOM_CDF4(10771, 20255, 27119)}, { AOM_CDF4(2795, 10410, 17361)},
3630 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3631 			},
3632 			{
3633 				{ AOM_CDF4(9320, 22102, 27840)}, { AOM_CDF4(27057, 32464, 32724)},
3634 				{ AOM_CDF4(16331, 30268, 32309)}, { AOM_CDF4(10319, 23935, 29720)},
3635 				{ AOM_CDF4(6189, 16448, 24106)}, { AOM_CDF4(3589, 10884, 18808)},
3636 				{ AOM_CDF4(29026, 32624, 32748)}, { AOM_CDF4(19226, 31507, 32587)},
3637 				{ AOM_CDF4(12692, 26921, 31203)}, { AOM_CDF4(7049, 19532, 27635)},
3638 				{ AOM_CDF4(7727, 15669, 23252)}, { AOM_CDF4(8192, 16384, 24576)},
3639 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3640 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3641 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3642 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3643 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(28056, 32625, 32748)},
3644 				{ AOM_CDF4(22383, 32075, 32669)}, { AOM_CDF4(15417, 27098, 31749)},
3645 				{ AOM_CDF4(18127, 26493, 27190)}, { AOM_CDF4(5461, 16384, 21845)},
3646 				{ AOM_CDF4(27982, 32091, 32584)}, { AOM_CDF4(19045, 29868, 31972)},
3647 				{ AOM_CDF4(10397, 22266, 27932)}, { AOM_CDF4(5990, 13697, 21500)},
3648 				{ AOM_CDF4(1792, 6912, 15104)}, { AOM_CDF4(28198, 32501, 32718)},
3649 				{ AOM_CDF4(21534, 31521, 32569)}, { AOM_CDF4(11109, 25217, 30017)},
3650 				{ AOM_CDF4(5671, 15124, 26151)}, { AOM_CDF4(4681, 14043, 18725)},
3651 				{ AOM_CDF4(28688, 32580, 32741)}, { AOM_CDF4(22576, 32079, 32661)},
3652 				{ AOM_CDF4(10627, 22141, 28340)}, { AOM_CDF4(9362, 14043, 28087)},
3653 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3654 			}
3655 		},
3656 		{
3657 			{
3658 				{ AOM_CDF4(7754, 16948, 22142)}, { AOM_CDF4(25670, 32330, 32691)},
3659 				{ AOM_CDF4(15663, 29225, 31994)}, { AOM_CDF4(9878, 23288, 29158)},
3660 				{ AOM_CDF4(6419, 17088, 24336)}, { AOM_CDF4(3859, 11003, 17039)},
3661 				{ AOM_CDF4(27562, 32595, 32725)}, { AOM_CDF4(17575, 30588, 32399)},
3662 				{ AOM_CDF4(10819, 24838, 30309)}, { AOM_CDF4(7124, 18686, 25916)},
3663 				{ AOM_CDF4(4479, 12688, 19340)}, { AOM_CDF4(28385, 32476, 32673)},
3664 				{ AOM_CDF4(15306, 29005, 31938)}, { AOM_CDF4(8937, 21615, 28322)},
3665 				{ AOM_CDF4(5982, 15603, 22786)}, { AOM_CDF4(3620, 10267, 16136)},
3666 				{ AOM_CDF4(27280, 32464, 32667)}, { AOM_CDF4(15607, 29160, 32004)},
3667 				{ AOM_CDF4(9091, 22135, 28740)}, { AOM_CDF4(6232, 16632, 24020)},
3668 				{ AOM_CDF4(4047, 11377, 17672)}, { AOM_CDF4(29220, 32630, 32718)},
3669 				{ AOM_CDF4(19650, 31220, 32462)}, { AOM_CDF4(13050, 26312, 30827)},
3670 				{ AOM_CDF4(9228, 20870, 27468)}, { AOM_CDF4(6146, 15149, 21971)},
3671 				{ AOM_CDF4(30169, 32481, 32623)}, { AOM_CDF4(17212, 29311, 31554)},
3672 				{ AOM_CDF4(9911, 21311, 26882)}, { AOM_CDF4(4487, 13314, 20372)},
3673 				{ AOM_CDF4(2570, 7772, 12889)}, { AOM_CDF4(30924, 32613, 32708)},
3674 				{ AOM_CDF4(19490, 30206, 32107)}, { AOM_CDF4(11232, 23998, 29276)},
3675 				{ AOM_CDF4(6769, 17955, 25035)}, { AOM_CDF4(4398, 12623, 19214)},
3676 				{ AOM_CDF4(30609, 32627, 32722)}, { AOM_CDF4(19370, 30582, 32287)},
3677 				{ AOM_CDF4(10457, 23619, 29409)}, { AOM_CDF4(6443, 17637, 24834)},
3678 				{ AOM_CDF4(4645, 13236, 20106)}, { AOM_CDF4(8192, 16384, 24576)}
3679 			},
3680 			{
3681 				{ AOM_CDF4(8626, 20271, 26216)}, { AOM_CDF4(26707, 32406, 32711)},
3682 				{ AOM_CDF4(16999, 30329, 32286)}, { AOM_CDF4(11445, 25123, 30286)},
3683 				{ AOM_CDF4(6411, 18828, 25601)}, { AOM_CDF4(6801, 12458, 20248)},
3684 				{ AOM_CDF4(29918, 32682, 32748)}, { AOM_CDF4(20649, 31739, 32618)},
3685 				{ AOM_CDF4(12879, 27773, 31581)}, { AOM_CDF4(7896, 21751, 28244)},
3686 				{ AOM_CDF4(5260, 14870, 23698)}, { AOM_CDF4(29252, 32593, 32731)},
3687 				{ AOM_CDF4(17072, 30460, 32294)}, { AOM_CDF4(10653, 24143, 29365)},
3688 				{ AOM_CDF4(6536, 17490, 23983)}, { AOM_CDF4(4929, 13170, 20085)},
3689 				{ AOM_CDF4(28137, 32518, 32715)}, { AOM_CDF4(18171, 30784, 32407)},
3690 				{ AOM_CDF4(11437, 25436, 30459)}, { AOM_CDF4(7252, 18534, 26176)},
3691 				{ AOM_CDF4(4126, 13353, 20978)}, { AOM_CDF4(31162, 32726, 32748)},
3692 				{ AOM_CDF4(23017, 32222, 32701)}, { AOM_CDF4(15629, 29233, 32046)},
3693 				{ AOM_CDF4(9387, 22621, 29480)}, { AOM_CDF4(6922, 17616, 25010)},
3694 				{ AOM_CDF4(28838, 32265, 32614)}, { AOM_CDF4(19701, 30206, 31920)},
3695 				{ AOM_CDF4(11214, 22410, 27933)}, { AOM_CDF4(5320, 14177, 23034)},
3696 				{ AOM_CDF4(5049, 12881, 17827)}, { AOM_CDF4(27484, 32471, 32734)},
3697 				{ AOM_CDF4(21076, 31526, 32561)}, { AOM_CDF4(12707, 26303, 31211)},
3698 				{ AOM_CDF4(8169, 21722, 28219)}, { AOM_CDF4(6045, 19406, 27042)},
3699 				{ AOM_CDF4(27753, 32572, 32745)}, { AOM_CDF4(20832, 31878, 32653)},
3700 				{ AOM_CDF4(13250, 27356, 31674)}, { AOM_CDF4(7718, 21508, 29858)},
3701 				{ AOM_CDF4(7209, 18350, 25559)}, { AOM_CDF4(8192, 16384, 24576)}
3702 			}
3703 		},
3704 		{
3705 			{
3706 				{ AOM_CDF4(7876, 16901, 21741)}, { AOM_CDF4(24001, 31898, 32625)},
3707 				{ AOM_CDF4(14529, 27959, 31451)}, { AOM_CDF4(8273, 20818, 27258)},
3708 				{ AOM_CDF4(5278, 14673, 21510)}, { AOM_CDF4(2983, 8843, 14039)},
3709 				{ AOM_CDF4(28016, 32574, 32732)}, { AOM_CDF4(17471, 30306, 32301)},
3710 				{ AOM_CDF4(10224, 24063, 29728)}, { AOM_CDF4(6602, 17954, 25052)},
3711 				{ AOM_CDF4(4002, 11585, 17759)}, { AOM_CDF4(30190, 32634, 32739)},
3712 				{ AOM_CDF4(17497, 30282, 32270)}, { AOM_CDF4(10229, 23729, 29538)},
3713 				{ AOM_CDF4(6344, 17211, 24440)}, { AOM_CDF4(3849, 11189, 17108)},
3714 				{ AOM_CDF4(28570, 32583, 32726)}, { AOM_CDF4(17521, 30161, 32238)},
3715 				{ AOM_CDF4(10153, 23565, 29378)}, { AOM_CDF4(6455, 17341, 24443)},
3716 				{ AOM_CDF4(3907, 11042, 17024)}, { AOM_CDF4(30689, 32715, 32748)},
3717 				{ AOM_CDF4(21546, 31840, 32610)}, { AOM_CDF4(13547, 27581, 31459)},
3718 				{ AOM_CDF4(8912, 21757, 28309)}, { AOM_CDF4(5548, 15080, 22046)},
3719 				{ AOM_CDF4(30783, 32540, 32685)}, { AOM_CDF4(17540, 29528, 31668)},
3720 				{ AOM_CDF4(10160, 21468, 26783)}, { AOM_CDF4(4724, 13393, 20054)},
3721 				{ AOM_CDF4(2702, 8174, 13102)}, { AOM_CDF4(31648, 32686, 32742)},
3722 				{ AOM_CDF4(20954, 31094, 32337)}, { AOM_CDF4(12420, 25698, 30179)},
3723 				{ AOM_CDF4(7304, 19320, 26248)}, { AOM_CDF4(4366, 12261, 18864)},
3724 				{ AOM_CDF4(31581, 32723, 32748)}, { AOM_CDF4(21373, 31586, 32525)},
3725 				{ AOM_CDF4(12744, 26625, 30885)}, { AOM_CDF4(7431, 20322, 26950)},
3726 				{ AOM_CDF4(4692, 13323, 20111)}, { AOM_CDF4(8192, 16384, 24576)}
3727 			},
3728 			{
3729 				{ AOM_CDF4(7833, 18369, 24095)}, { AOM_CDF4(26650, 32273, 32702)},
3730 				{ AOM_CDF4(16371, 29961, 32191)}, { AOM_CDF4(11055, 24082, 29629)},
3731 				{ AOM_CDF4(6892, 18644, 25400)}, { AOM_CDF4(5006, 13057, 19240)},
3732 				{ AOM_CDF4(29834, 32666, 32748)}, { AOM_CDF4(19577, 31335, 32570)},
3733 				{ AOM_CDF4(12253, 26509, 31122)}, { AOM_CDF4(7991, 20772, 27711)},
3734 				{ AOM_CDF4(5677, 15910, 23059)}, { AOM_CDF4(30109, 32532, 32720)},
3735 				{ AOM_CDF4(16747, 30166, 32252)}, { AOM_CDF4(10134, 23542, 29184)},
3736 				{ AOM_CDF4(5791, 16176, 23556)}, { AOM_CDF4(4362, 10414, 17284)},
3737 				{ AOM_CDF4(29492, 32626, 32748)}, { AOM_CDF4(19894, 31402, 32525)},
3738 				{ AOM_CDF4(12942, 27071, 30869)}, { AOM_CDF4(8346, 21216, 27405)},
3739 				{ AOM_CDF4(6572, 17087, 23859)}, { AOM_CDF4(32035, 32735, 32748)},
3740 				{ AOM_CDF4(22957, 31838, 32618)}, { AOM_CDF4(14724, 28572, 31772)},
3741 				{ AOM_CDF4(10364, 23999, 29553)}, { AOM_CDF4(7004, 18433, 25655)},
3742 				{ AOM_CDF4(27528, 32277, 32681)}, { AOM_CDF4(16959, 31171, 32096)},
3743 				{ AOM_CDF4(10486, 23593, 27962)}, { AOM_CDF4(8192, 16384, 23211)},
3744 				{ AOM_CDF4(8937, 17873, 20852)}, { AOM_CDF4(27715, 32002, 32615)},
3745 				{ AOM_CDF4(15073, 29491, 31676)}, { AOM_CDF4(11264, 24576, 28672)},
3746 				{ AOM_CDF4(2341, 18725, 23406)}, { AOM_CDF4(7282, 18204, 25486)},
3747 				{ AOM_CDF4(28547, 32213, 32657)}, { AOM_CDF4(20788, 29773, 32239)},
3748 				{ AOM_CDF4(6780, 21469, 30508)}, { AOM_CDF4(5958, 14895, 23831)},
3749 				{ AOM_CDF4(16384, 21845, 27307)}, { AOM_CDF4(8192, 16384, 24576)}
3750 			}
3751 		},
3752 		{
3753 			{
3754 				{ AOM_CDF4(5992, 14304, 19765)}, { AOM_CDF4(22612, 31238, 32456)},
3755 				{ AOM_CDF4(13456, 27162, 31087)}, { AOM_CDF4(8001, 20062, 26504)},
3756 				{ AOM_CDF4(5168, 14105, 20764)}, { AOM_CDF4(2632, 7771, 12385)},
3757 				{ AOM_CDF4(27034, 32344, 32709)}, { AOM_CDF4(15850, 29415, 31997)},
3758 				{ AOM_CDF4(9494, 22776, 28841)}, { AOM_CDF4(6151, 16830, 23969)},
3759 				{ AOM_CDF4(3461, 10039, 15722)}, { AOM_CDF4(30134, 32569, 32731)},
3760 				{ AOM_CDF4(15638, 29422, 31945)}, { AOM_CDF4(9150, 21865, 28218)},
3761 				{ AOM_CDF4(5647, 15719, 22676)}, { AOM_CDF4(3402, 9772, 15477)},
3762 				{ AOM_CDF4(28530, 32586, 32735)}, { AOM_CDF4(17139, 30298, 32292)},
3763 				{ AOM_CDF4(10200, 24039, 29685)}, { AOM_CDF4(6419, 17674, 24786)},
3764 				{ AOM_CDF4(3544, 10225, 15824)}, { AOM_CDF4(31333, 32726, 32748)},
3765 				{ AOM_CDF4(20618, 31487, 32544)}, { AOM_CDF4(12901, 27217, 31232)},
3766 				{ AOM_CDF4(8624, 21734, 28171)}, { AOM_CDF4(5104, 14191, 20748)},
3767 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3768 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3769 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3770 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3771 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3772 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3773 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3774 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3775 			},
3776 			{
3777 				{ AOM_CDF4(11206, 21090, 26561)}, { AOM_CDF4(28759, 32279, 32671)},
3778 				{ AOM_CDF4(14171, 27952, 31569)}, { AOM_CDF4(9743, 22907, 29141)},
3779 				{ AOM_CDF4(6871, 17886, 24868)}, { AOM_CDF4(4960, 13152, 19315)},
3780 				{ AOM_CDF4(31077, 32661, 32748)}, { AOM_CDF4(19400, 31195, 32515)},
3781 				{ AOM_CDF4(12752, 26858, 31040)}, { AOM_CDF4(8370, 22098, 28591)},
3782 				{ AOM_CDF4(5457, 15373, 22298)}, { AOM_CDF4(31697, 32706, 32748)},
3783 				{ AOM_CDF4(17860, 30657, 32333)}, { AOM_CDF4(12510, 24812, 29261)},
3784 				{ AOM_CDF4(6180, 19124, 24722)}, { AOM_CDF4(5041, 13548, 17959)},
3785 				{ AOM_CDF4(31552, 32716, 32748)}, { AOM_CDF4(21908, 31769, 32623)},
3786 				{ AOM_CDF4(14470, 28201, 31565)}, { AOM_CDF4(9493, 22982, 28608)},
3787 				{ AOM_CDF4(6858, 17240, 24137)}, { AOM_CDF4(32543, 32752, 32756)},
3788 				{ AOM_CDF4(24286, 32097, 32666)}, { AOM_CDF4(15958, 29217, 32024)},
3789 				{ AOM_CDF4(10207, 24234, 29958)}, { AOM_CDF4(6929, 18305, 25652)},
3790 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3791 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3792 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3793 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3794 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3795 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3796 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3797 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3798 			}
3799 		},
3800 		{
3801 			{
3802 				{ AOM_CDF4(4137, 10847, 15682)}, { AOM_CDF4(17824, 27001, 30058)},
3803 				{ AOM_CDF4(10204, 22796, 28291)}, { AOM_CDF4(6076, 15935, 22125)},
3804 				{ AOM_CDF4(3852, 10937, 16816)}, { AOM_CDF4(2252, 6324, 10131)},
3805 				{ AOM_CDF4(25840, 32016, 32662)}, { AOM_CDF4(15109, 28268, 31531)},
3806 				{ AOM_CDF4(9385, 22231, 28340)}, { AOM_CDF4(6082, 16672, 23479)},
3807 				{ AOM_CDF4(3318, 9427, 14681)}, { AOM_CDF4(30594, 32574, 32718)},
3808 				{ AOM_CDF4(16836, 29552, 31859)}, { AOM_CDF4(9556, 22542, 28356)},
3809 				{ AOM_CDF4(6305, 16725, 23540)}, { AOM_CDF4(3376, 9895, 15184)},
3810 				{ AOM_CDF4(29383, 32617, 32745)}, { AOM_CDF4(18891, 30809, 32401)},
3811 				{ AOM_CDF4(11688, 25942, 30687)}, { AOM_CDF4(7468, 19469, 26651)},
3812 				{ AOM_CDF4(3909, 11358, 17012)}, { AOM_CDF4(31564, 32736, 32748)},
3813 				{ AOM_CDF4(20906, 31611, 32600)}, { AOM_CDF4(13191, 27621, 31537)},
3814 				{ AOM_CDF4(8768, 22029, 28676)}, { AOM_CDF4(5079, 14109, 20906)},
3815 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3816 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3817 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3818 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3819 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3820 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3821 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3822 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3823 			},
3824 			{
3825 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3826 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3827 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3828 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3829 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3830 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3831 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3832 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3833 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3834 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3835 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3836 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3837 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3838 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3839 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3840 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3841 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3842 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3843 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3844 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)},
3845 				{ AOM_CDF4(8192, 16384, 24576)}, { AOM_CDF4(8192, 16384, 24576)}
3846 			}
3847 		}
3848 	}
3849 };
3850 
3851 static const u16 av1_default_coeff_base_eob_multi_cdfs[TOKEN_CDF_Q_CTXS][TX_SIZES]
3852 	[PLANE_TYPES][SIG_COEF_CONTEXTS_EOB][CDF_SIZE(NUM_BASE_LEVELS + 1)] = {
3853 	{
3854 		{
3855 			{
3856 				{ AOM_CDF3(17837, 29055)},
3857 				{ AOM_CDF3(29600, 31446)},
3858 				{ AOM_CDF3(30844, 31878)},
3859 				{ AOM_CDF3(24926, 28948)}
3860 			},
3861 			{
3862 				{ AOM_CDF3(21365, 30026)},
3863 				{ AOM_CDF3(30512, 32423)},
3864 				{ AOM_CDF3(31658, 32621)},
3865 				{ AOM_CDF3(29630, 31881)}
3866 			}
3867 		},
3868 		{
3869 			{
3870 				{ AOM_CDF3(5717, 26477)},
3871 				{ AOM_CDF3(30491, 31703)},
3872 				{ AOM_CDF3(31550, 32158)},
3873 				{ AOM_CDF3(29648, 31491)}
3874 			},
3875 			{
3876 				{ AOM_CDF3(12608, 27820)},
3877 				{ AOM_CDF3(30680, 32225)},
3878 				{ AOM_CDF3(30809, 32335)},
3879 				{ AOM_CDF3(31299, 32423)}
3880 			}
3881 		},
3882 		{
3883 			{
3884 				{ AOM_CDF3(1786, 12612)},
3885 				{ AOM_CDF3(30663, 31625)},
3886 				{ AOM_CDF3(32339, 32468)},
3887 				{ AOM_CDF3(31148, 31833)}
3888 			},
3889 			{
3890 				{ AOM_CDF3(18857, 23865)},
3891 				{ AOM_CDF3(31428, 32428)},
3892 				{ AOM_CDF3(31744, 32373)},
3893 				{ AOM_CDF3(31775, 32526)}
3894 			}
3895 		},
3896 		{
3897 			{
3898 				{ AOM_CDF3(1787, 2532)},
3899 				{ AOM_CDF3(30832, 31662)},
3900 				{ AOM_CDF3(31824, 32682)},
3901 				{ AOM_CDF3(32133, 32569)}
3902 			},
3903 			{
3904 				{ AOM_CDF3(13751, 22235)},
3905 				{ AOM_CDF3(32089, 32409)},
3906 				{ AOM_CDF3(27084, 27920)},
3907 				{ AOM_CDF3(29291, 32594)}
3908 			}
3909 		},
3910 		{
3911 			{
3912 				{ AOM_CDF3(1725, 3449)},
3913 				{ AOM_CDF3(31102, 31935)},
3914 				{ AOM_CDF3(32457, 32613)},
3915 				{ AOM_CDF3(32412, 32649)}
3916 			},
3917 			{
3918 				{ AOM_CDF3(10923, 21845)},
3919 				{ AOM_CDF3(10923, 21845)},
3920 				{ AOM_CDF3(10923, 21845)},
3921 				{ AOM_CDF3(10923, 21845)}
3922 			}
3923 		}
3924 	},
3925 	{
3926 		{
3927 			{
3928 				{ AOM_CDF3(17560, 29888)},
3929 				{ AOM_CDF3(29671, 31549)},
3930 				{ AOM_CDF3(31007, 32056)},
3931 				{ AOM_CDF3(27286, 30006)}
3932 			},
3933 			{
3934 				{ AOM_CDF3(26594, 31212)},
3935 				{ AOM_CDF3(31208, 32582)},
3936 				{ AOM_CDF3(31835, 32637)},
3937 				{ AOM_CDF3(30595, 32206)}
3938 			}
3939 		},
3940 		{
3941 			{
3942 				{ AOM_CDF3(15239, 29932)},
3943 				{ AOM_CDF3(31315, 32095)},
3944 				{ AOM_CDF3(32130, 32434)},
3945 				{ AOM_CDF3(30864, 31996)}
3946 			},
3947 			{
3948 				{ AOM_CDF3(26279, 30968)},
3949 				{ AOM_CDF3(31142, 32495)},
3950 				{ AOM_CDF3(31713, 32540)},
3951 				{ AOM_CDF3(31929, 32594)}
3952 			}
3953 		},
3954 		{
3955 			{
3956 				{ AOM_CDF3(2644, 25198)},
3957 				{ AOM_CDF3(32038, 32451)},
3958 				{ AOM_CDF3(32639, 32695)},
3959 				{ AOM_CDF3(32166, 32518)}
3960 			},
3961 			{
3962 				{ AOM_CDF3(17187, 27668)},
3963 				{ AOM_CDF3(31714, 32550)},
3964 				{ AOM_CDF3(32283, 32678)},
3965 				{ AOM_CDF3(31930, 32563)}
3966 			}
3967 		},
3968 		{
3969 			{
3970 				{ AOM_CDF3(1044, 2257)},
3971 				{ AOM_CDF3(30755, 31923)},
3972 				{ AOM_CDF3(32208, 32693)},
3973 				{ AOM_CDF3(32244, 32615)}
3974 			},
3975 			{
3976 				{ AOM_CDF3(21317, 26207)},
3977 				{ AOM_CDF3(29133, 30868)},
3978 				{ AOM_CDF3(29311, 31231)},
3979 				{ AOM_CDF3(29657, 31087)}
3980 			}
3981 		},
3982 		{
3983 			{
3984 				{ AOM_CDF3(478, 1834)},
3985 				{ AOM_CDF3(31005, 31987)},
3986 				{ AOM_CDF3(32317, 32724)},
3987 				{ AOM_CDF3(30865, 32648)}
3988 			},
3989 			{
3990 				{ AOM_CDF3(10923, 21845)},
3991 				{ AOM_CDF3(10923, 21845)},
3992 				{ AOM_CDF3(10923, 21845)},
3993 				{ AOM_CDF3(10923, 21845)}
3994 			}
3995 		}
3996 	},
3997 	{
3998 		{
3999 			{
4000 				{ AOM_CDF3(20092, 30774)},
4001 				{ AOM_CDF3(30695, 32020)},
4002 				{ AOM_CDF3(31131, 32103)},
4003 				{ AOM_CDF3(28666, 30870)}
4004 			},
4005 			{
4006 				{ AOM_CDF3(27258, 31095)},
4007 				{ AOM_CDF3(31804, 32623)},
4008 				{ AOM_CDF3(31763, 32528)},
4009 				{ AOM_CDF3(31438, 32506)}
4010 			}
4011 		},
4012 		{
4013 			{
4014 				{ AOM_CDF3(18049, 30489)},
4015 				{ AOM_CDF3(31706, 32286)},
4016 				{ AOM_CDF3(32163, 32473)},
4017 				{ AOM_CDF3(31550, 32184)}
4018 			},
4019 			{
4020 				{ AOM_CDF3(27116, 30842)},
4021 				{ AOM_CDF3(31971, 32598)},
4022 				{ AOM_CDF3(32088, 32576)},
4023 				{ AOM_CDF3(32067, 32664)}
4024 			}
4025 		},
4026 		{
4027 			{
4028 				{ AOM_CDF3(12854, 29093)},
4029 				{ AOM_CDF3(32272, 32558)},
4030 				{ AOM_CDF3(32667, 32729)},
4031 				{ AOM_CDF3(32306, 32585)}
4032 			},
4033 			{
4034 				{ AOM_CDF3(25476, 30366)},
4035 				{ AOM_CDF3(32169, 32687)},
4036 				{ AOM_CDF3(32479, 32689)},
4037 				{ AOM_CDF3(31673, 32634)}
4038 			}
4039 		},
4040 		{
4041 			{
4042 				{ AOM_CDF3(2809, 19301)},
4043 				{ AOM_CDF3(32205, 32622)},
4044 				{ AOM_CDF3(32338, 32730)},
4045 				{ AOM_CDF3(31786, 32616)}
4046 			},
4047 			{
4048 				{ AOM_CDF3(22737, 29105)},
4049 				{ AOM_CDF3(30810, 32362)},
4050 				{ AOM_CDF3(30014, 32627)},
4051 				{ AOM_CDF3(30528, 32574)}
4052 			}
4053 		},
4054 		{
4055 			{
4056 				{ AOM_CDF3(935, 3382)},
4057 				{ AOM_CDF3(30789, 31909)},
4058 				{ AOM_CDF3(32466, 32756)},
4059 				{ AOM_CDF3(30860, 32513)}
4060 			},
4061 			{
4062 				{ AOM_CDF3(10923, 21845)},
4063 				{ AOM_CDF3(10923, 21845)},
4064 				{ AOM_CDF3(10923, 21845)},
4065 				{ AOM_CDF3(10923, 21845)}
4066 			}
4067 		}
4068 	},
4069 	{
4070 		{
4071 			{
4072 				{ AOM_CDF3(22497, 31198)},
4073 				{ AOM_CDF3(31715, 32495)},
4074 				{ AOM_CDF3(31606, 32337)},
4075 				{ AOM_CDF3(30388, 31990)}
4076 			},
4077 			{
4078 				{ AOM_CDF3(27877, 31584)},
4079 				{ AOM_CDF3(32170, 32728)},
4080 				{ AOM_CDF3(32155, 32688)},
4081 				{ AOM_CDF3(32219, 32702)}
4082 			}
4083 		},
4084 		{
4085 			{
4086 				{ AOM_CDF3(21457, 31043)},
4087 				{ AOM_CDF3(31951, 32483)},
4088 				{ AOM_CDF3(32153, 32562)},
4089 				{ AOM_CDF3(31473, 32215)}
4090 			},
4091 			{
4092 				{ AOM_CDF3(27558, 31151)},
4093 				{ AOM_CDF3(32020, 32640)},
4094 				{ AOM_CDF3(32097, 32575)},
4095 				{ AOM_CDF3(32242, 32719)}
4096 			}
4097 		},
4098 		{
4099 			{
4100 				{ AOM_CDF3(19980, 30591)},
4101 				{ AOM_CDF3(32219, 32597)},
4102 				{ AOM_CDF3(32581, 32706)},
4103 				{ AOM_CDF3(31803, 32287)}
4104 			},
4105 			{
4106 				{ AOM_CDF3(26473, 30507)},
4107 				{ AOM_CDF3(32431, 32723)},
4108 				{ AOM_CDF3(32196, 32611)},
4109 				{ AOM_CDF3(31588, 32528)}
4110 			}
4111 		},
4112 		{
4113 			{
4114 				{ AOM_CDF3(24647, 30463)},
4115 				{ AOM_CDF3(32412, 32695)},
4116 				{ AOM_CDF3(32468, 32720)},
4117 				{ AOM_CDF3(31269, 32523)}
4118 			},
4119 			{
4120 				{ AOM_CDF3(28482, 31505)},
4121 				{ AOM_CDF3(32152, 32701)},
4122 				{ AOM_CDF3(31732, 32598)},
4123 				{ AOM_CDF3(31767, 32712)}
4124 			}
4125 		},
4126 		{
4127 			{
4128 				{ AOM_CDF3(12358, 24977)},
4129 				{ AOM_CDF3(31331, 32385)},
4130 				{ AOM_CDF3(32634, 32756)},
4131 				{ AOM_CDF3(30411, 32548)}
4132 			},
4133 			{
4134 				{ AOM_CDF3(10923, 21845)},
4135 				{ AOM_CDF3(10923, 21845)},
4136 				{ AOM_CDF3(10923, 21845)},
4137 				{ AOM_CDF3(10923, 21845)}
4138 			}
4139 		}
4140 	}
4141 };
4142 
4143 static const u16 default_joint_cdf[] = { ICDF(4096), ICDF(11264), ICDF(19328)};
4144 static const u16 default_clsss_cdf[][10] = {
4145 	// Vertical component
4146 	{
4147 		ICDF(28672), ICDF(30976), ICDF(31858), ICDF(32320), ICDF(32551),
4148 		ICDF(32656), ICDF(32740), ICDF(32757), ICDF(32762), ICDF(32767)
4149 	},
4150 	// Horizontal component
4151 	{
4152 		ICDF(28672), ICDF(30976), ICDF(31858), ICDF(32320), ICDF(32551),
4153 		ICDF(32656), ICDF(32740), ICDF(32757), ICDF(32762), ICDF(32767)
4154 	}
4155 };
4156 
4157 static const u16 default_clsss0_fp_cdf[][2][3] = {
4158 	// Vertical component
4159 	{
4160 		{ ICDF(16384), ICDF(24576), ICDF(26624)},
4161 		{ ICDF(12288), ICDF(21248), ICDF(24128)}
4162 	},
4163 	// Horizontal component
4164 	{
4165 		{ ICDF(16384), ICDF(24576), ICDF(26624)},
4166 		{ ICDF(12288), ICDF(21248), ICDF(24128)}
4167 	}
4168 };
4169 
4170 static const u16 default_fp_cdf[][3] = {
4171 	// Vertical component
4172 	{
4173 		ICDF(8192), ICDF(17408), ICDF(21248)
4174 	},
4175 	// Horizontal component
4176 	{
4177 		ICDF(8192), ICDF(17408), ICDF(21248)
4178 	}
4179 };
4180 
4181 static const u16 default_sign_cdf[] = { ICDF(128 * 128), ICDF(128 * 128)};
4182 static const u16 default_class0_hp_cdf[] = { ICDF(160 * 128), ICDF(160 * 128)};
4183 static const u16 default_hp_cdf[] = { ICDF(128 * 128), ICDF(128 * 128)};
4184 static const u16 default_class0_cdf[] = { ICDF(216 * 128), ICDF(216 * 128)};
4185 static const u16 default_bits_cdf[][10] = {
4186 	{
4187 		ICDF(128 * 136), ICDF(128 * 140), ICDF(128 * 148), ICDF(128 * 160),
4188 		ICDF(128 * 176), ICDF(128 * 192), ICDF(128 * 224), ICDF(128 * 234),
4189 		ICDF(128 * 234), ICDF(128 * 240)
4190 	},
4191 	{
4192 		ICDF(128 * 136), ICDF(128 * 140), ICDF(128 * 148), ICDF(128 * 160),
4193 		ICDF(128 * 176), ICDF(128 * 192), ICDF(128 * 224), ICDF(128 * 234),
4194 		ICDF(128 * 234), ICDF(128 * 240)
4195 	}
4196 };
4197 
rockchip_av1_get_q_ctx(int q)4198 static int rockchip_av1_get_q_ctx(int q)
4199 {
4200 	if (q <= 20)
4201 		return 0;
4202 	if (q <= 60)
4203 		return 1;
4204 	if (q <= 120)
4205 		return 2;
4206 	return 3;
4207 }
4208 
rockchip_av1_default_coeff_probs(u32 base_qindex,void * ptr)4209 void rockchip_av1_default_coeff_probs(u32 base_qindex, void *ptr)
4210 {
4211 	struct av1cdfs *cdfs = (struct av1cdfs *)ptr;
4212 	const int index = rockchip_av1_get_q_ctx(base_qindex);
4213 
4214 	memcpy(cdfs->txb_skip_cdf, av1_default_txb_skip_cdfs[index],
4215 	       sizeof(av1_default_txb_skip_cdfs[0]));
4216 	memcpy(cdfs->eob_extra_cdf, av1_default_eob_extra_cdfs[index],
4217 	       sizeof(av1_default_eob_extra_cdfs[0]));
4218 	memcpy(cdfs->dc_sign_cdf, av1_default_dc_sign_cdfs[index],
4219 	       sizeof(av1_default_dc_sign_cdfs[0]));
4220 	memcpy(cdfs->coeff_br_cdf, av1_default_coeff_lps_multi_cdfs[index],
4221 	       sizeof(av1_default_coeff_lps_multi_cdfs[0]));
4222 	memcpy(cdfs->coeff_base_cdf, av1_default_coeff_base_multi_cdfs[index],
4223 	       sizeof(av1_default_coeff_base_multi_cdfs[0]));
4224 	memcpy(cdfs->coeff_base_eob_cdf,
4225 	       av1_default_coeff_base_eob_multi_cdfs[index],
4226 	       sizeof(av1_default_coeff_base_eob_multi_cdfs[0]));
4227 	memcpy(cdfs->eob_flag_cdf16, av1_default_eob_multi16_cdfs[index],
4228 	       sizeof(av1_default_eob_multi16_cdfs[0]));
4229 	memcpy(cdfs->eob_flag_cdf32, av1_default_eob_multi32_cdfs[index],
4230 	       sizeof(av1_default_eob_multi32_cdfs[0]));
4231 	memcpy(cdfs->eob_flag_cdf64, av1_default_eob_multi64_cdfs[index],
4232 	       sizeof(av1_default_eob_multi64_cdfs[0]));
4233 	memcpy(cdfs->eob_flag_cdf128, av1_default_eob_multi128_cdfs[index],
4234 	       sizeof(av1_default_eob_multi128_cdfs[0]));
4235 	memcpy(cdfs->eob_flag_cdf256, av1_default_eob_multi256_cdfs[index],
4236 	       sizeof(av1_default_eob_multi256_cdfs[0]));
4237 	memcpy(cdfs->eob_flag_cdf512, av1_default_eob_multi512_cdfs[index],
4238 	       sizeof(av1_default_eob_multi512_cdfs[0]));
4239 	memcpy(cdfs->eob_flag_cdf1024, av1_default_eob_multi1024_cdfs[index],
4240 	       sizeof(av1_default_eob_multi1024_cdfs[0]));
4241 }
4242 
rockchip_av1_set_default_cdfs(struct av1cdfs * cdfs,struct mvcdfs * cdfs_ndvc)4243 void rockchip_av1_set_default_cdfs(struct av1cdfs *cdfs,
4244 				   struct mvcdfs *cdfs_ndvc)
4245 {
4246 	memcpy(cdfs->partition_cdf, default_partition_cdf,
4247 	       sizeof(cdfs->partition_cdf));
4248 
4249 	memcpy(cdfs->tx_type_intra0_cdf, default_intra_ext_tx0_cdf,
4250 	       sizeof(cdfs->tx_type_intra0_cdf));
4251 	memcpy(cdfs->tx_type_intra1_cdf, default_intra_ext_tx1_cdf,
4252 	       sizeof(cdfs->tx_type_intra1_cdf));
4253 	memcpy(cdfs->tx_type_inter_cdf, default_inter_ext_tx_cdf,
4254 	       sizeof(cdfs->tx_type_inter_cdf));
4255 
4256 	memcpy(cdfs->vartx_part_cdf, default_txfm_partition_cdf,
4257 	       sizeof(cdfs->vartx_part_cdf));
4258 	memcpy(cdfs->mbskip_cdf, default_skip_cdfs, sizeof(cdfs->mbskip_cdf));
4259 	memcpy(cdfs->delta_q_cdf, default_delta_q_cdf,
4260 	       sizeof(cdfs->delta_q_cdf));
4261 	memcpy(cdfs->delta_lf_multi_cdf, default_delta_lf_multi_cdf,
4262 	       sizeof(cdfs->delta_lf_multi_cdf));
4263 	memcpy(cdfs->delta_lf_cdf, default_delta_lf_cdf,
4264 	       sizeof(cdfs->delta_lf_cdf));
4265 
4266 	memcpy(cdfs->segment_pred_cdf, default_segment_pred_cdf,
4267 	       sizeof(cdfs->segment_pred_cdf));
4268 
4269 	memcpy(cdfs->spatial_pred_seg_tree_cdf,
4270 	       default_spatial_pred_seg_tree_cdf,
4271 	       sizeof(cdfs->spatial_pred_seg_tree_cdf));
4272 
4273 	memcpy(cdfs->skip_mode_cdf, default_skip_mode_cdfs,
4274 	       sizeof(cdfs->skip_mode_cdf));
4275 
4276 	memcpy(cdfs->tx_size_cdf, default_tx_size_cdf,
4277 	       sizeof(cdfs->tx_size_cdf));
4278 
4279 	memcpy(cdfs->kf_ymode_cdf, default_kf_y_mode_cdf,
4280 	       sizeof(cdfs->kf_ymode_cdf));
4281 	memcpy(cdfs->uv_mode_cdf, default_uv_mode_cdf,
4282 	       sizeof(cdfs->uv_mode_cdf));
4283 	memcpy(cdfs->if_ymode_cdf, default_if_y_mode_cdf,
4284 	       sizeof(cdfs->if_ymode_cdf));
4285 
4286 	memcpy(cdfs->intra_inter_cdf, default_intra_inter_cdf,
4287 	       sizeof(cdfs->intra_inter_cdf));
4288 
4289 	memcpy(cdfs->comp_ref_cdf, default_comp_ref_cdf,
4290 	       sizeof(cdfs->comp_ref_cdf));
4291 	memcpy(cdfs->comp_bwdref_cdf, default_comp_bwdref_cdf,
4292 	       sizeof(cdfs->comp_bwdref_cdf));
4293 
4294 	memcpy(cdfs->comp_inter_cdf, default_comp_inter_cdf,
4295 	       sizeof(cdfs->comp_inter_cdf));
4296 
4297 	memcpy(cdfs->single_ref_cdf, default_single_ref_cdf,
4298 	       sizeof(cdfs->single_ref_cdf));
4299 	memcpy(cdfs->comp_ref_type_cdf, default_comp_ref_type_cdf,
4300 	       sizeof(cdfs->comp_ref_type_cdf));
4301 	memcpy(cdfs->uni_comp_ref_cdf, default_uni_comp_ref_cdf,
4302 	       sizeof(cdfs->uni_comp_ref_cdf));
4303 
4304 	memcpy(cdfs->newmv_cdf, default_newmv_cdf, sizeof(cdfs->newmv_cdf));
4305 	memcpy(cdfs->zeromv_cdf, default_zeromv_cdf, sizeof(cdfs->zeromv_cdf));
4306 	memcpy(cdfs->refmv_cdf, default_refmv_cdf, sizeof(cdfs->refmv_cdf));
4307 	memcpy(cdfs->drl_cdf, default_drl_cdf, sizeof(cdfs->drl_cdf));
4308 
4309 	memcpy(cdfs->interp_filter_cdf, default_switchable_interp_cdf,
4310 	       sizeof(cdfs->interp_filter_cdf));
4311 
4312 	// Regular MV cdfs
4313 	memcpy(cdfs->mv_cdf.joint_cdf, default_joint_cdf,
4314 	       sizeof(cdfs->mv_cdf.joint_cdf));
4315 	memcpy(cdfs->mv_cdf.sign_cdf, default_sign_cdf,
4316 	       sizeof(cdfs->mv_cdf.sign_cdf));
4317 	memcpy(cdfs->mv_cdf.clsss_cdf, default_clsss_cdf,
4318 	       sizeof(cdfs->mv_cdf.clsss_cdf));
4319 	memcpy(cdfs->mv_cdf.clsss0_fp_cdf, default_clsss0_fp_cdf,
4320 	       sizeof(cdfs->mv_cdf.clsss0_fp_cdf));
4321 	memcpy(cdfs->mv_cdf.fp_cdf, default_fp_cdf,
4322 	       sizeof(cdfs->mv_cdf.fp_cdf));
4323 	memcpy(cdfs->mv_cdf.class0_hp_cdf, default_class0_hp_cdf,
4324 	       sizeof(cdfs->mv_cdf.class0_hp_cdf));
4325 	memcpy(cdfs->mv_cdf.hp_cdf, default_hp_cdf,
4326 	       sizeof(cdfs->mv_cdf.hp_cdf));
4327 	memcpy(cdfs->mv_cdf.class0_cdf, default_class0_cdf,
4328 	       sizeof(cdfs->mv_cdf.class0_cdf));
4329 	memcpy(cdfs->mv_cdf.bits_cdf, default_bits_cdf,
4330 	       sizeof(cdfs->mv_cdf.bits_cdf));
4331 
4332 	// Intrabc cdfs
4333 	memcpy(cdfs_ndvc->joint_cdf, default_joint_cdf,
4334 	       sizeof(cdfs_ndvc->joint_cdf));
4335 	memcpy(cdfs_ndvc->sign_cdf, default_sign_cdf,
4336 	       sizeof(cdfs_ndvc->sign_cdf));
4337 	memcpy(cdfs_ndvc->clsss_cdf, default_clsss_cdf,
4338 	       sizeof(cdfs_ndvc->clsss_cdf));
4339 	memcpy(cdfs_ndvc->clsss0_fp_cdf, default_clsss0_fp_cdf,
4340 	       sizeof(cdfs_ndvc->clsss0_fp_cdf));
4341 	memcpy(cdfs_ndvc->fp_cdf, default_fp_cdf, sizeof(cdfs_ndvc->fp_cdf));
4342 	memcpy(cdfs_ndvc->class0_hp_cdf, default_class0_hp_cdf,
4343 	       sizeof(cdfs_ndvc->class0_hp_cdf));
4344 	memcpy(cdfs_ndvc->hp_cdf, default_hp_cdf, sizeof(cdfs_ndvc->hp_cdf));
4345 	memcpy(cdfs_ndvc->class0_cdf, default_class0_cdf,
4346 	       sizeof(cdfs_ndvc->class0_cdf));
4347 	memcpy(cdfs_ndvc->bits_cdf, default_bits_cdf,
4348 	       sizeof(cdfs_ndvc->bits_cdf));
4349 
4350 	memcpy(cdfs->obmc_cdf, default_obmc_cdf, sizeof(cdfs->obmc_cdf));
4351 	memcpy(cdfs->motion_mode_cdf, default_motion_mode_cdf,
4352 	       sizeof(cdfs->motion_mode_cdf));
4353 
4354 	memcpy(cdfs->inter_compound_mode_cdf, default_inter_compound_mode_cdf,
4355 	       sizeof(cdfs->inter_compound_mode_cdf));
4356 	memcpy(cdfs->compound_type_cdf, default_compound_type_cdf,
4357 	       sizeof(cdfs->compound_type_cdf));
4358 	memcpy(cdfs->interintra_cdf, default_interintra_cdf,
4359 	       sizeof(cdfs->interintra_cdf));
4360 	memcpy(cdfs->interintra_mode_cdf, default_interintra_mode_cdf,
4361 	       sizeof(cdfs->interintra_mode_cdf));
4362 	memcpy(cdfs->wedge_interintra_cdf, default_wedge_interintra_cdf,
4363 	       sizeof(cdfs->wedge_interintra_cdf));
4364 	memcpy(cdfs->wedge_idx_cdf, default_wedge_idx_cdf,
4365 	       sizeof(cdfs->wedge_idx_cdf));
4366 
4367 	memcpy(cdfs->palette_y_mode_cdf, default_palette_y_mode_cdf,
4368 	       sizeof(cdfs->palette_y_mode_cdf));
4369 	memcpy(cdfs->palette_uv_mode_cdf, default_palette_uv_mode_cdf,
4370 	       sizeof(cdfs->palette_uv_mode_cdf));
4371 	memcpy(cdfs->palette_y_size_cdf, default_palette_y_size_cdf,
4372 	       sizeof(cdfs->palette_y_size_cdf));
4373 	memcpy(cdfs->palette_uv_size_cdf, default_palette_uv_size_cdf,
4374 	       sizeof(cdfs->palette_uv_size_cdf));
4375 	memcpy(cdfs->palette_y_color_index_cdf,
4376 	       default_palette_y_color_index_cdf,
4377 	       sizeof(cdfs->palette_y_color_index_cdf));
4378 	memcpy(cdfs->palette_uv_color_index_cdf,
4379 	       default_palette_uv_color_index_cdf,
4380 	       sizeof(cdfs->palette_uv_color_index_cdf));
4381 
4382 	memcpy(cdfs->cfl_sign_cdf, default_cfl_sign_cdf,
4383 	       sizeof(cdfs->cfl_sign_cdf));
4384 	memcpy(cdfs->cfl_alpha_cdf, default_cfl_alpha_cdf,
4385 	       sizeof(cdfs->cfl_alpha_cdf));
4386 
4387 	memcpy(cdfs->intrabc_cdf, default_intrabc_cdf,
4388 	       sizeof(cdfs->intrabc_cdf));
4389 	memcpy(cdfs->angle_delta_cdf, default_angle_delta_cdf,
4390 	       sizeof(cdfs->angle_delta_cdf));
4391 	memcpy(cdfs->filter_intra_mode_cdf, default_filter_intra_mode_cdf,
4392 	       sizeof(cdfs->filter_intra_mode_cdf));
4393 	memcpy(cdfs->filter_intra_cdf, default_filter_intra_cdfs,
4394 	       sizeof(cdfs->filter_intra_cdf));
4395 	memcpy(cdfs->comp_group_idx_cdf, default_comp_group_idx_cdfs,
4396 	       sizeof(cdfs->comp_group_idx_cdf));
4397 	memcpy(cdfs->compound_idx_cdf, default_compound_idx_cdfs,
4398 	       sizeof(cdfs->compound_idx_cdf));
4399 }
4400 
rockchip_av1_get_cdfs(struct hantro_ctx * ctx,u32 ref_idx)4401 void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx)
4402 {
4403 	struct hantro_av1_dec_hw_ctx *av1_dec = &ctx->av1_dec;
4404 
4405 	av1_dec->cdfs = &av1_dec->cdfs_last[ref_idx];
4406 	av1_dec->cdfs_ndvc = &av1_dec->cdfs_last_ndvc[ref_idx];
4407 }
4408 
rockchip_av1_store_cdfs(struct hantro_ctx * ctx,u32 refresh_frame_flags)4409 void rockchip_av1_store_cdfs(struct hantro_ctx *ctx,
4410 			     u32 refresh_frame_flags)
4411 {
4412 	struct hantro_av1_dec_hw_ctx *av1_dec = &ctx->av1_dec;
4413 	int i;
4414 
4415 	for (i = 0; i < NUM_REF_FRAMES; i++) {
4416 		if (refresh_frame_flags & (1 << i)) {
4417 			if (&av1_dec->cdfs_last[i] != av1_dec->cdfs) {
4418 				av1_dec->cdfs_last[i] = *av1_dec->cdfs;
4419 				av1_dec->cdfs_last_ndvc[i] =
4420 				    *av1_dec->cdfs_ndvc;
4421 			}
4422 		}
4423 	}
4424 }
4425