Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / platform / ti-vpe / sc_coeff.h
blob5bfa5c03aec6375d4e601214bfdb606988b6955c
1 /*
2 * VPE SC coefs
4 * Copyright (c) 2013 Texas Instruments Inc.
6 * David Griego, <dagriego@biglakesoftware.com>
7 * Dale Farnsworth, <dale@farnsworth.org>
8 * Archit Taneja, <archit@ti.com>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License version 2 as published by
12 * the Free Software Foundation.
15 #ifndef __TI_SC_COEFF_H
16 #define __TI_SC_COEFF_H
18 /* horizontal scaler coefficients */
19 enum {
20 HS_UP_SCALE = 0,
21 HS_LT_9_16_SCALE,
22 HS_LT_10_16_SCALE,
23 HS_LT_11_16_SCALE,
24 HS_LT_12_16_SCALE,
25 HS_LT_13_16_SCALE,
26 HS_LT_14_16_SCALE,
27 HS_LT_15_16_SCALE,
28 HS_LE_16_16_SCALE,
31 static const u16 scaler_hs_coeffs[13][SC_NUM_PHASES * 2 * SC_H_NUM_TAPS] = {
32 [HS_UP_SCALE] = {
33 /* Luma */
34 0x001F, 0x1F90, 0x00D2, 0x06FE, 0x00D2, 0x1F90, 0x001F,
35 0x001C, 0x1F9E, 0x009F, 0x06FB, 0x0108, 0x1F82, 0x0022,
36 0x0019, 0x1FAC, 0x006F, 0x06F3, 0x0140, 0x1F74, 0x0025,
37 0x0016, 0x1FB9, 0x0041, 0x06E7, 0x017B, 0x1F66, 0x0028,
38 0x0013, 0x1FC6, 0x0017, 0x06D6, 0x01B7, 0x1F58, 0x002B,
39 0x0010, 0x1FD3, 0x1FEF, 0x06C0, 0x01F6, 0x1F4B, 0x002D,
40 0x000E, 0x1FDF, 0x1FCB, 0x06A5, 0x0235, 0x1F3F, 0x002F,
41 0x000B, 0x1FEA, 0x1FAA, 0x0686, 0x0277, 0x1F33, 0x0031,
42 0x0009, 0x1FF5, 0x1F8C, 0x0663, 0x02B8, 0x1F28, 0x0033,
43 0x0007, 0x1FFF, 0x1F72, 0x063A, 0x02FB, 0x1F1F, 0x0034,
44 0x0005, 0x0008, 0x1F5A, 0x060F, 0x033E, 0x1F17, 0x0035,
45 0x0003, 0x0010, 0x1F46, 0x05E0, 0x0382, 0x1F10, 0x0035,
46 0x0002, 0x0017, 0x1F34, 0x05AF, 0x03C5, 0x1F0B, 0x0034,
47 0x0001, 0x001E, 0x1F26, 0x0579, 0x0407, 0x1F08, 0x0033,
48 0x0000, 0x0023, 0x1F1A, 0x0541, 0x0449, 0x1F07, 0x0032,
49 0x1FFF, 0x0028, 0x1F12, 0x0506, 0x048A, 0x1F08, 0x002F,
50 0x002C, 0x1F0C, 0x04C8, 0x04C8, 0x1F0C, 0x002C, 0x0000,
51 0x002F, 0x1F08, 0x048A, 0x0506, 0x1F12, 0x0028, 0x1FFF,
52 0x0032, 0x1F07, 0x0449, 0x0541, 0x1F1A, 0x0023, 0x0000,
53 0x0033, 0x1F08, 0x0407, 0x0579, 0x1F26, 0x001E, 0x0001,
54 0x0034, 0x1F0B, 0x03C5, 0x05AF, 0x1F34, 0x0017, 0x0002,
55 0x0035, 0x1F10, 0x0382, 0x05E0, 0x1F46, 0x0010, 0x0003,
56 0x0035, 0x1F17, 0x033E, 0x060F, 0x1F5A, 0x0008, 0x0005,
57 0x0034, 0x1F1F, 0x02FB, 0x063A, 0x1F72, 0x1FFF, 0x0007,
58 0x0033, 0x1F28, 0x02B8, 0x0663, 0x1F8C, 0x1FF5, 0x0009,
59 0x0031, 0x1F33, 0x0277, 0x0686, 0x1FAA, 0x1FEA, 0x000B,
60 0x002F, 0x1F3F, 0x0235, 0x06A5, 0x1FCB, 0x1FDF, 0x000E,
61 0x002D, 0x1F4B, 0x01F6, 0x06C0, 0x1FEF, 0x1FD3, 0x0010,
62 0x002B, 0x1F58, 0x01B7, 0x06D6, 0x0017, 0x1FC6, 0x0013,
63 0x0028, 0x1F66, 0x017B, 0x06E7, 0x0041, 0x1FB9, 0x0016,
64 0x0025, 0x1F74, 0x0140, 0x06F3, 0x006F, 0x1FAC, 0x0019,
65 0x0022, 0x1F82, 0x0108, 0x06FB, 0x009F, 0x1F9E, 0x001C,
66 /* Chroma */
67 0x001F, 0x1F90, 0x00D2, 0x06FE, 0x00D2, 0x1F90, 0x001F,
68 0x001C, 0x1F9E, 0x009F, 0x06FB, 0x0108, 0x1F82, 0x0022,
69 0x0019, 0x1FAC, 0x006F, 0x06F3, 0x0140, 0x1F74, 0x0025,
70 0x0016, 0x1FB9, 0x0041, 0x06E7, 0x017B, 0x1F66, 0x0028,
71 0x0013, 0x1FC6, 0x0017, 0x06D6, 0x01B7, 0x1F58, 0x002B,
72 0x0010, 0x1FD3, 0x1FEF, 0x06C0, 0x01F6, 0x1F4B, 0x002D,
73 0x000E, 0x1FDF, 0x1FCB, 0x06A5, 0x0235, 0x1F3F, 0x002F,
74 0x000B, 0x1FEA, 0x1FAA, 0x0686, 0x0277, 0x1F33, 0x0031,
75 0x0009, 0x1FF5, 0x1F8C, 0x0663, 0x02B8, 0x1F28, 0x0033,
76 0x0007, 0x1FFF, 0x1F72, 0x063A, 0x02FB, 0x1F1F, 0x0034,
77 0x0005, 0x0008, 0x1F5A, 0x060F, 0x033E, 0x1F17, 0x0035,
78 0x0003, 0x0010, 0x1F46, 0x05E0, 0x0382, 0x1F10, 0x0035,
79 0x0002, 0x0017, 0x1F34, 0x05AF, 0x03C5, 0x1F0B, 0x0034,
80 0x0001, 0x001E, 0x1F26, 0x0579, 0x0407, 0x1F08, 0x0033,
81 0x0000, 0x0023, 0x1F1A, 0x0541, 0x0449, 0x1F07, 0x0032,
82 0x1FFF, 0x0028, 0x1F12, 0x0506, 0x048A, 0x1F08, 0x002F,
83 0x002C, 0x1F0C, 0x04C8, 0x04C8, 0x1F0C, 0x002C, 0x0000,
84 0x002F, 0x1F08, 0x048A, 0x0506, 0x1F12, 0x0028, 0x1FFF,
85 0x0032, 0x1F07, 0x0449, 0x0541, 0x1F1A, 0x0023, 0x0000,
86 0x0033, 0x1F08, 0x0407, 0x0579, 0x1F26, 0x001E, 0x0001,
87 0x0034, 0x1F0B, 0x03C5, 0x05AF, 0x1F34, 0x0017, 0x0002,
88 0x0035, 0x1F10, 0x0382, 0x05E0, 0x1F46, 0x0010, 0x0003,
89 0x0035, 0x1F17, 0x033E, 0x060F, 0x1F5A, 0x0008, 0x0005,
90 0x0034, 0x1F1F, 0x02FB, 0x063A, 0x1F72, 0x1FFF, 0x0007,
91 0x0033, 0x1F28, 0x02B8, 0x0663, 0x1F8C, 0x1FF5, 0x0009,
92 0x0031, 0x1F33, 0x0277, 0x0686, 0x1FAA, 0x1FEA, 0x000B,
93 0x002F, 0x1F3F, 0x0235, 0x06A5, 0x1FCB, 0x1FDF, 0x000E,
94 0x002D, 0x1F4B, 0x01F6, 0x06C0, 0x1FEF, 0x1FD3, 0x0010,
95 0x002B, 0x1F58, 0x01B7, 0x06D6, 0x0017, 0x1FC6, 0x0013,
96 0x0028, 0x1F66, 0x017B, 0x06E7, 0x0041, 0x1FB9, 0x0016,
97 0x0025, 0x1F74, 0x0140, 0x06F3, 0x006F, 0x1FAC, 0x0019,
98 0x0022, 0x1F82, 0x0108, 0x06FB, 0x009F, 0x1F9E, 0x001C,
100 [HS_LT_9_16_SCALE] = {
101 /* Luma */
102 0x1FA3, 0x005E, 0x024A, 0x036A, 0x024A, 0x005E, 0x1FA3,
103 0x1FA3, 0x0052, 0x023A, 0x036A, 0x0259, 0x006A, 0x1FA4,
104 0x1FA3, 0x0046, 0x022A, 0x036A, 0x0269, 0x0076, 0x1FA4,
105 0x1FA3, 0x003B, 0x021A, 0x0368, 0x0278, 0x0083, 0x1FA5,
106 0x1FA4, 0x0031, 0x020A, 0x0365, 0x0286, 0x0090, 0x1FA6,
107 0x1FA5, 0x0026, 0x01F9, 0x0362, 0x0294, 0x009E, 0x1FA8,
108 0x1FA6, 0x001C, 0x01E8, 0x035E, 0x02A3, 0x00AB, 0x1FAA,
109 0x1FA7, 0x0013, 0x01D7, 0x035A, 0x02B0, 0x00B9, 0x1FAC,
110 0x1FA9, 0x000A, 0x01C6, 0x0354, 0x02BD, 0x00C7, 0x1FAF,
111 0x1FAA, 0x0001, 0x01B6, 0x034E, 0x02C9, 0x00D6, 0x1FB2,
112 0x1FAC, 0x1FF9, 0x01A5, 0x0347, 0x02D5, 0x00E5, 0x1FB5,
113 0x1FAE, 0x1FF1, 0x0194, 0x0340, 0x02E1, 0x00F3, 0x1FB9,
114 0x1FB0, 0x1FEA, 0x0183, 0x0338, 0x02EC, 0x0102, 0x1FBD,
115 0x1FB2, 0x1FE3, 0x0172, 0x0330, 0x02F6, 0x0112, 0x1FC1,
116 0x1FB4, 0x1FDC, 0x0161, 0x0327, 0x0301, 0x0121, 0x1FC6,
117 0x1FB7, 0x1FD6, 0x0151, 0x031D, 0x030A, 0x0130, 0x1FCB,
118 0x1FD2, 0x0136, 0x02F8, 0x02F8, 0x0136, 0x1FD2, 0x0000,
119 0x1FCB, 0x0130, 0x030A, 0x031D, 0x0151, 0x1FD6, 0x1FB7,
120 0x1FC6, 0x0121, 0x0301, 0x0327, 0x0161, 0x1FDC, 0x1FB4,
121 0x1FC1, 0x0112, 0x02F6, 0x0330, 0x0172, 0x1FE3, 0x1FB2,
122 0x1FBD, 0x0102, 0x02EC, 0x0338, 0x0183, 0x1FEA, 0x1FB0,
123 0x1FB9, 0x00F3, 0x02E1, 0x0340, 0x0194, 0x1FF1, 0x1FAE,
124 0x1FB5, 0x00E5, 0x02D5, 0x0347, 0x01A5, 0x1FF9, 0x1FAC,
125 0x1FB2, 0x00D6, 0x02C9, 0x034E, 0x01B6, 0x0001, 0x1FAA,
126 0x1FAF, 0x00C7, 0x02BD, 0x0354, 0x01C6, 0x000A, 0x1FA9,
127 0x1FAC, 0x00B9, 0x02B0, 0x035A, 0x01D7, 0x0013, 0x1FA7,
128 0x1FAA, 0x00AB, 0x02A3, 0x035E, 0x01E8, 0x001C, 0x1FA6,
129 0x1FA8, 0x009E, 0x0294, 0x0362, 0x01F9, 0x0026, 0x1FA5,
130 0x1FA6, 0x0090, 0x0286, 0x0365, 0x020A, 0x0031, 0x1FA4,
131 0x1FA5, 0x0083, 0x0278, 0x0368, 0x021A, 0x003B, 0x1FA3,
132 0x1FA4, 0x0076, 0x0269, 0x036A, 0x022A, 0x0046, 0x1FA3,
133 0x1FA4, 0x006A, 0x0259, 0x036A, 0x023A, 0x0052, 0x1FA3,
134 /* Chroma */
135 0x1FA3, 0x005E, 0x024A, 0x036A, 0x024A, 0x005E, 0x1FA3,
136 0x1FA3, 0x0052, 0x023A, 0x036A, 0x0259, 0x006A, 0x1FA4,
137 0x1FA3, 0x0046, 0x022A, 0x036A, 0x0269, 0x0076, 0x1FA4,
138 0x1FA3, 0x003B, 0x021A, 0x0368, 0x0278, 0x0083, 0x1FA5,
139 0x1FA4, 0x0031, 0x020A, 0x0365, 0x0286, 0x0090, 0x1FA6,
140 0x1FA5, 0x0026, 0x01F9, 0x0362, 0x0294, 0x009E, 0x1FA8,
141 0x1FA6, 0x001C, 0x01E8, 0x035E, 0x02A3, 0x00AB, 0x1FAA,
142 0x1FA7, 0x0013, 0x01D7, 0x035A, 0x02B0, 0x00B9, 0x1FAC,
143 0x1FA9, 0x000A, 0x01C6, 0x0354, 0x02BD, 0x00C7, 0x1FAF,
144 0x1FAA, 0x0001, 0x01B6, 0x034E, 0x02C9, 0x00D6, 0x1FB2,
145 0x1FAC, 0x1FF9, 0x01A5, 0x0347, 0x02D5, 0x00E5, 0x1FB5,
146 0x1FAE, 0x1FF1, 0x0194, 0x0340, 0x02E1, 0x00F3, 0x1FB9,
147 0x1FB0, 0x1FEA, 0x0183, 0x0338, 0x02EC, 0x0102, 0x1FBD,
148 0x1FB2, 0x1FE3, 0x0172, 0x0330, 0x02F6, 0x0112, 0x1FC1,
149 0x1FB4, 0x1FDC, 0x0161, 0x0327, 0x0301, 0x0121, 0x1FC6,
150 0x1FB7, 0x1FD6, 0x0151, 0x031D, 0x030A, 0x0130, 0x1FCB,
151 0x1FD2, 0x0136, 0x02F8, 0x02F8, 0x0136, 0x1FD2, 0x0000,
152 0x1FCB, 0x0130, 0x030A, 0x031D, 0x0151, 0x1FD6, 0x1FB7,
153 0x1FC6, 0x0121, 0x0301, 0x0327, 0x0161, 0x1FDC, 0x1FB4,
154 0x1FC1, 0x0112, 0x02F6, 0x0330, 0x0172, 0x1FE3, 0x1FB2,
155 0x1FBD, 0x0102, 0x02EC, 0x0338, 0x0183, 0x1FEA, 0x1FB0,
156 0x1FB9, 0x00F3, 0x02E1, 0x0340, 0x0194, 0x1FF1, 0x1FAE,
157 0x1FB5, 0x00E5, 0x02D5, 0x0347, 0x01A5, 0x1FF9, 0x1FAC,
158 0x1FB2, 0x00D6, 0x02C9, 0x034E, 0x01B6, 0x0001, 0x1FAA,
159 0x1FAF, 0x00C7, 0x02BD, 0x0354, 0x01C6, 0x000A, 0x1FA9,
160 0x1FAC, 0x00B9, 0x02B0, 0x035A, 0x01D7, 0x0013, 0x1FA7,
161 0x1FAA, 0x00AB, 0x02A3, 0x035E, 0x01E8, 0x001C, 0x1FA6,
162 0x1FA8, 0x009E, 0x0294, 0x0362, 0x01F9, 0x0026, 0x1FA5,
163 0x1FA6, 0x0090, 0x0286, 0x0365, 0x020A, 0x0031, 0x1FA4,
164 0x1FA5, 0x0083, 0x0278, 0x0368, 0x021A, 0x003B, 0x1FA3,
165 0x1FA4, 0x0076, 0x0269, 0x036A, 0x022A, 0x0046, 0x1FA3,
166 0x1FA4, 0x006A, 0x0259, 0x036A, 0x023A, 0x0052, 0x1FA3,
168 [HS_LT_10_16_SCALE] = {
169 /* Luma */
170 0x1F8D, 0x000C, 0x026A, 0x03FA, 0x026A, 0x000C, 0x1F8D,
171 0x1F8F, 0x0000, 0x0255, 0x03FA, 0x027F, 0x0019, 0x1F8A,
172 0x1F92, 0x1FF5, 0x023F, 0x03F8, 0x0293, 0x0027, 0x1F88,
173 0x1F95, 0x1FEA, 0x022A, 0x03F6, 0x02A7, 0x0034, 0x1F86,
174 0x1F99, 0x1FDF, 0x0213, 0x03F2, 0x02BB, 0x0043, 0x1F85,
175 0x1F9C, 0x1FD5, 0x01FE, 0x03ED, 0x02CF, 0x0052, 0x1F83,
176 0x1FA0, 0x1FCC, 0x01E8, 0x03E7, 0x02E1, 0x0061, 0x1F83,
177 0x1FA4, 0x1FC3, 0x01D2, 0x03E0, 0x02F4, 0x0071, 0x1F82,
178 0x1FA7, 0x1FBB, 0x01BC, 0x03D9, 0x0306, 0x0081, 0x1F82,
179 0x1FAB, 0x1FB4, 0x01A6, 0x03D0, 0x0317, 0x0092, 0x1F82,
180 0x1FAF, 0x1FAD, 0x0190, 0x03C7, 0x0327, 0x00A3, 0x1F83,
181 0x1FB3, 0x1FA7, 0x017A, 0x03BC, 0x0337, 0x00B5, 0x1F84,
182 0x1FB8, 0x1FA1, 0x0165, 0x03B0, 0x0346, 0x00C7, 0x1F85,
183 0x1FBC, 0x1F9C, 0x0150, 0x03A4, 0x0354, 0x00D9, 0x1F87,
184 0x1FC0, 0x1F98, 0x013A, 0x0397, 0x0361, 0x00EC, 0x1F8A,
185 0x1FC4, 0x1F93, 0x0126, 0x0389, 0x036F, 0x00FE, 0x1F8D,
186 0x1F93, 0x010A, 0x0363, 0x0363, 0x010A, 0x1F93, 0x0000,
187 0x1F8D, 0x00FE, 0x036F, 0x0389, 0x0126, 0x1F93, 0x1FC4,
188 0x1F8A, 0x00EC, 0x0361, 0x0397, 0x013A, 0x1F98, 0x1FC0,
189 0x1F87, 0x00D9, 0x0354, 0x03A4, 0x0150, 0x1F9C, 0x1FBC,
190 0x1F85, 0x00C7, 0x0346, 0x03B0, 0x0165, 0x1FA1, 0x1FB8,
191 0x1F84, 0x00B5, 0x0337, 0x03BC, 0x017A, 0x1FA7, 0x1FB3,
192 0x1F83, 0x00A3, 0x0327, 0x03C7, 0x0190, 0x1FAD, 0x1FAF,
193 0x1F82, 0x0092, 0x0317, 0x03D0, 0x01A6, 0x1FB4, 0x1FAB,
194 0x1F82, 0x0081, 0x0306, 0x03D9, 0x01BC, 0x1FBB, 0x1FA7,
195 0x1F82, 0x0071, 0x02F4, 0x03E0, 0x01D2, 0x1FC3, 0x1FA4,
196 0x1F83, 0x0061, 0x02E1, 0x03E7, 0x01E8, 0x1FCC, 0x1FA0,
197 0x1F83, 0x0052, 0x02CF, 0x03ED, 0x01FE, 0x1FD5, 0x1F9C,
198 0x1F85, 0x0043, 0x02BB, 0x03F2, 0x0213, 0x1FDF, 0x1F99,
199 0x1F86, 0x0034, 0x02A7, 0x03F6, 0x022A, 0x1FEA, 0x1F95,
200 0x1F88, 0x0027, 0x0293, 0x03F8, 0x023F, 0x1FF5, 0x1F92,
201 0x1F8A, 0x0019, 0x027F, 0x03FA, 0x0255, 0x0000, 0x1F8F,
202 /* Chroma */
203 0x1F8D, 0x000C, 0x026A, 0x03FA, 0x026A, 0x000C, 0x1F8D,
204 0x1F8F, 0x0000, 0x0255, 0x03FA, 0x027F, 0x0019, 0x1F8A,
205 0x1F92, 0x1FF5, 0x023F, 0x03F8, 0x0293, 0x0027, 0x1F88,
206 0x1F95, 0x1FEA, 0x022A, 0x03F6, 0x02A7, 0x0034, 0x1F86,
207 0x1F99, 0x1FDF, 0x0213, 0x03F2, 0x02BB, 0x0043, 0x1F85,
208 0x1F9C, 0x1FD5, 0x01FE, 0x03ED, 0x02CF, 0x0052, 0x1F83,
209 0x1FA0, 0x1FCC, 0x01E8, 0x03E7, 0x02E1, 0x0061, 0x1F83,
210 0x1FA4, 0x1FC3, 0x01D2, 0x03E0, 0x02F4, 0x0071, 0x1F82,
211 0x1FA7, 0x1FBB, 0x01BC, 0x03D9, 0x0306, 0x0081, 0x1F82,
212 0x1FAB, 0x1FB4, 0x01A6, 0x03D0, 0x0317, 0x0092, 0x1F82,
213 0x1FAF, 0x1FAD, 0x0190, 0x03C7, 0x0327, 0x00A3, 0x1F83,
214 0x1FB3, 0x1FA7, 0x017A, 0x03BC, 0x0337, 0x00B5, 0x1F84,
215 0x1FB8, 0x1FA1, 0x0165, 0x03B0, 0x0346, 0x00C7, 0x1F85,
216 0x1FBC, 0x1F9C, 0x0150, 0x03A4, 0x0354, 0x00D9, 0x1F87,
217 0x1FC0, 0x1F98, 0x013A, 0x0397, 0x0361, 0x00EC, 0x1F8A,
218 0x1FC4, 0x1F93, 0x0126, 0x0389, 0x036F, 0x00FE, 0x1F8D,
219 0x1F93, 0x010A, 0x0363, 0x0363, 0x010A, 0x1F93, 0x0000,
220 0x1F8D, 0x00FE, 0x036F, 0x0389, 0x0126, 0x1F93, 0x1FC4,
221 0x1F8A, 0x00EC, 0x0361, 0x0397, 0x013A, 0x1F98, 0x1FC0,
222 0x1F87, 0x00D9, 0x0354, 0x03A4, 0x0150, 0x1F9C, 0x1FBC,
223 0x1F85, 0x00C7, 0x0346, 0x03B0, 0x0165, 0x1FA1, 0x1FB8,
224 0x1F84, 0x00B5, 0x0337, 0x03BC, 0x017A, 0x1FA7, 0x1FB3,
225 0x1F83, 0x00A3, 0x0327, 0x03C7, 0x0190, 0x1FAD, 0x1FAF,
226 0x1F82, 0x0092, 0x0317, 0x03D0, 0x01A6, 0x1FB4, 0x1FAB,
227 0x1F82, 0x0081, 0x0306, 0x03D9, 0x01BC, 0x1FBB, 0x1FA7,
228 0x1F82, 0x0071, 0x02F4, 0x03E0, 0x01D2, 0x1FC3, 0x1FA4,
229 0x1F83, 0x0061, 0x02E1, 0x03E7, 0x01E8, 0x1FCC, 0x1FA0,
230 0x1F83, 0x0052, 0x02CF, 0x03ED, 0x01FE, 0x1FD5, 0x1F9C,
231 0x1F85, 0x0043, 0x02BB, 0x03F2, 0x0213, 0x1FDF, 0x1F99,
232 0x1F86, 0x0034, 0x02A7, 0x03F6, 0x022A, 0x1FEA, 0x1F95,
233 0x1F88, 0x0027, 0x0293, 0x03F8, 0x023F, 0x1FF5, 0x1F92,
234 0x1F8A, 0x0019, 0x027F, 0x03FA, 0x0255, 0x0000, 0x1F8F,
236 [HS_LT_11_16_SCALE] = {
237 /* Luma */
238 0x1F95, 0x1FB5, 0x0272, 0x0488, 0x0272, 0x1FB5, 0x1F95,
239 0x1F9B, 0x1FAA, 0x0257, 0x0486, 0x028D, 0x1FC1, 0x1F90,
240 0x1FA0, 0x1FA0, 0x023C, 0x0485, 0x02A8, 0x1FCD, 0x1F8A,
241 0x1FA6, 0x1F96, 0x0221, 0x0481, 0x02C2, 0x1FDB, 0x1F85,
242 0x1FAC, 0x1F8E, 0x0205, 0x047C, 0x02DC, 0x1FE9, 0x1F80,
243 0x1FB1, 0x1F86, 0x01E9, 0x0476, 0x02F6, 0x1FF8, 0x1F7C,
244 0x1FB7, 0x1F7F, 0x01CE, 0x046E, 0x030F, 0x0008, 0x1F77,
245 0x1FBD, 0x1F79, 0x01B3, 0x0465, 0x0326, 0x0019, 0x1F73,
246 0x1FC3, 0x1F73, 0x0197, 0x045B, 0x033E, 0x002A, 0x1F70,
247 0x1FC8, 0x1F6F, 0x017D, 0x044E, 0x0355, 0x003C, 0x1F6D,
248 0x1FCE, 0x1F6B, 0x0162, 0x0441, 0x036B, 0x004F, 0x1F6A,
249 0x1FD3, 0x1F68, 0x0148, 0x0433, 0x0380, 0x0063, 0x1F67,
250 0x1FD8, 0x1F65, 0x012E, 0x0424, 0x0395, 0x0077, 0x1F65,
251 0x1FDE, 0x1F63, 0x0115, 0x0413, 0x03A8, 0x008B, 0x1F64,
252 0x1FE3, 0x1F62, 0x00FC, 0x0403, 0x03BA, 0x00A0, 0x1F62,
253 0x1FE7, 0x1F62, 0x00E4, 0x03EF, 0x03CC, 0x00B6, 0x1F62,
254 0x1F63, 0x00CA, 0x03D3, 0x03D3, 0x00CA, 0x1F63, 0x0000,
255 0x1F62, 0x00B6, 0x03CC, 0x03EF, 0x00E4, 0x1F62, 0x1FE7,
256 0x1F62, 0x00A0, 0x03BA, 0x0403, 0x00FC, 0x1F62, 0x1FE3,
257 0x1F64, 0x008B, 0x03A8, 0x0413, 0x0115, 0x1F63, 0x1FDE,
258 0x1F65, 0x0077, 0x0395, 0x0424, 0x012E, 0x1F65, 0x1FD8,
259 0x1F67, 0x0063, 0x0380, 0x0433, 0x0148, 0x1F68, 0x1FD3,
260 0x1F6A, 0x004F, 0x036B, 0x0441, 0x0162, 0x1F6B, 0x1FCE,
261 0x1F6D, 0x003C, 0x0355, 0x044E, 0x017D, 0x1F6F, 0x1FC8,
262 0x1F70, 0x002A, 0x033E, 0x045B, 0x0197, 0x1F73, 0x1FC3,
263 0x1F73, 0x0019, 0x0326, 0x0465, 0x01B3, 0x1F79, 0x1FBD,
264 0x1F77, 0x0008, 0x030F, 0x046E, 0x01CE, 0x1F7F, 0x1FB7,
265 0x1F7C, 0x1FF8, 0x02F6, 0x0476, 0x01E9, 0x1F86, 0x1FB1,
266 0x1F80, 0x1FE9, 0x02DC, 0x047C, 0x0205, 0x1F8E, 0x1FAC,
267 0x1F85, 0x1FDB, 0x02C2, 0x0481, 0x0221, 0x1F96, 0x1FA6,
268 0x1F8A, 0x1FCD, 0x02A8, 0x0485, 0x023C, 0x1FA0, 0x1FA0,
269 0x1F90, 0x1FC1, 0x028D, 0x0486, 0x0257, 0x1FAA, 0x1F9B,
270 /* Chroma */
271 0x1F95, 0x1FB5, 0x0272, 0x0488, 0x0272, 0x1FB5, 0x1F95,
272 0x1F9B, 0x1FAA, 0x0257, 0x0486, 0x028D, 0x1FC1, 0x1F90,
273 0x1FA0, 0x1FA0, 0x023C, 0x0485, 0x02A8, 0x1FCD, 0x1F8A,
274 0x1FA6, 0x1F96, 0x0221, 0x0481, 0x02C2, 0x1FDB, 0x1F85,
275 0x1FAC, 0x1F8E, 0x0205, 0x047C, 0x02DC, 0x1FE9, 0x1F80,
276 0x1FB1, 0x1F86, 0x01E9, 0x0476, 0x02F6, 0x1FF8, 0x1F7C,
277 0x1FB7, 0x1F7F, 0x01CE, 0x046E, 0x030F, 0x0008, 0x1F77,
278 0x1FBD, 0x1F79, 0x01B3, 0x0465, 0x0326, 0x0019, 0x1F73,
279 0x1FC3, 0x1F73, 0x0197, 0x045B, 0x033E, 0x002A, 0x1F70,
280 0x1FC8, 0x1F6F, 0x017D, 0x044E, 0x0355, 0x003C, 0x1F6D,
281 0x1FCE, 0x1F6B, 0x0162, 0x0441, 0x036B, 0x004F, 0x1F6A,
282 0x1FD3, 0x1F68, 0x0148, 0x0433, 0x0380, 0x0063, 0x1F67,
283 0x1FD8, 0x1F65, 0x012E, 0x0424, 0x0395, 0x0077, 0x1F65,
284 0x1FDE, 0x1F63, 0x0115, 0x0413, 0x03A8, 0x008B, 0x1F64,
285 0x1FE3, 0x1F62, 0x00FC, 0x0403, 0x03BA, 0x00A0, 0x1F62,
286 0x1FE7, 0x1F62, 0x00E4, 0x03EF, 0x03CC, 0x00B6, 0x1F62,
287 0x1F63, 0x00CA, 0x03D3, 0x03D3, 0x00CA, 0x1F63, 0x0000,
288 0x1F62, 0x00B6, 0x03CC, 0x03EF, 0x00E4, 0x1F62, 0x1FE7,
289 0x1F62, 0x00A0, 0x03BA, 0x0403, 0x00FC, 0x1F62, 0x1FE3,
290 0x1F64, 0x008B, 0x03A8, 0x0413, 0x0115, 0x1F63, 0x1FDE,
291 0x1F65, 0x0077, 0x0395, 0x0424, 0x012E, 0x1F65, 0x1FD8,
292 0x1F67, 0x0063, 0x0380, 0x0433, 0x0148, 0x1F68, 0x1FD3,
293 0x1F6A, 0x004F, 0x036B, 0x0441, 0x0162, 0x1F6B, 0x1FCE,
294 0x1F6D, 0x003C, 0x0355, 0x044E, 0x017D, 0x1F6F, 0x1FC8,
295 0x1F70, 0x002A, 0x033E, 0x045B, 0x0197, 0x1F73, 0x1FC3,
296 0x1F73, 0x0019, 0x0326, 0x0465, 0x01B3, 0x1F79, 0x1FBD,
297 0x1F77, 0x0008, 0x030F, 0x046E, 0x01CE, 0x1F7F, 0x1FB7,
298 0x1F7C, 0x1FF8, 0x02F6, 0x0476, 0x01E9, 0x1F86, 0x1FB1,
299 0x1F80, 0x1FE9, 0x02DC, 0x047C, 0x0205, 0x1F8E, 0x1FAC,
300 0x1F85, 0x1FDB, 0x02C2, 0x0481, 0x0221, 0x1F96, 0x1FA6,
301 0x1F8A, 0x1FCD, 0x02A8, 0x0485, 0x023C, 0x1FA0, 0x1FA0,
302 0x1F90, 0x1FC1, 0x028D, 0x0486, 0x0257, 0x1FAA, 0x1F9B,
304 [HS_LT_12_16_SCALE] = {
305 /* Luma */
306 0x1FBB, 0x1F65, 0x025E, 0x0504, 0x025E, 0x1F65, 0x1FBB,
307 0x1FC3, 0x1F5D, 0x023C, 0x0503, 0x027F, 0x1F6E, 0x1FB4,
308 0x1FCA, 0x1F56, 0x021B, 0x0501, 0x02A0, 0x1F78, 0x1FAC,
309 0x1FD1, 0x1F50, 0x01FA, 0x04FD, 0x02C0, 0x1F83, 0x1FA5,
310 0x1FD8, 0x1F4B, 0x01D9, 0x04F6, 0x02E1, 0x1F90, 0x1F9D,
311 0x1FDF, 0x1F47, 0x01B8, 0x04EF, 0x0301, 0x1F9D, 0x1F95,
312 0x1FE6, 0x1F43, 0x0198, 0x04E5, 0x0321, 0x1FAB, 0x1F8E,
313 0x1FEC, 0x1F41, 0x0178, 0x04DA, 0x0340, 0x1FBB, 0x1F86,
314 0x1FF2, 0x1F40, 0x0159, 0x04CC, 0x035E, 0x1FCC, 0x1F7F,
315 0x1FF8, 0x1F40, 0x013A, 0x04BE, 0x037B, 0x1FDD, 0x1F78,
316 0x1FFE, 0x1F40, 0x011B, 0x04AD, 0x0398, 0x1FF0, 0x1F72,
317 0x0003, 0x1F41, 0x00FD, 0x049C, 0x03B4, 0x0004, 0x1F6B,
318 0x0008, 0x1F43, 0x00E0, 0x0489, 0x03CE, 0x0019, 0x1F65,
319 0x000D, 0x1F46, 0x00C4, 0x0474, 0x03E8, 0x002E, 0x1F5F,
320 0x0011, 0x1F49, 0x00A9, 0x045E, 0x0400, 0x0045, 0x1F5A,
321 0x0015, 0x1F4D, 0x008E, 0x0447, 0x0418, 0x005C, 0x1F55,
322 0x1F4F, 0x0076, 0x043B, 0x043B, 0x0076, 0x1F4F, 0x0000,
323 0x1F55, 0x005C, 0x0418, 0x0447, 0x008E, 0x1F4D, 0x0015,
324 0x1F5A, 0x0045, 0x0400, 0x045E, 0x00A9, 0x1F49, 0x0011,
325 0x1F5F, 0x002E, 0x03E8, 0x0474, 0x00C4, 0x1F46, 0x000D,
326 0x1F65, 0x0019, 0x03CE, 0x0489, 0x00E0, 0x1F43, 0x0008,
327 0x1F6B, 0x0004, 0x03B4, 0x049C, 0x00FD, 0x1F41, 0x0003,
328 0x1F72, 0x1FF0, 0x0398, 0x04AD, 0x011B, 0x1F40, 0x1FFE,
329 0x1F78, 0x1FDD, 0x037B, 0x04BE, 0x013A, 0x1F40, 0x1FF8,
330 0x1F7F, 0x1FCC, 0x035E, 0x04CC, 0x0159, 0x1F40, 0x1FF2,
331 0x1F86, 0x1FBB, 0x0340, 0x04DA, 0x0178, 0x1F41, 0x1FEC,
332 0x1F8E, 0x1FAB, 0x0321, 0x04E5, 0x0198, 0x1F43, 0x1FE6,
333 0x1F95, 0x1F9D, 0x0301, 0x04EF, 0x01B8, 0x1F47, 0x1FDF,
334 0x1F9D, 0x1F90, 0x02E1, 0x04F6, 0x01D9, 0x1F4B, 0x1FD8,
335 0x1FA5, 0x1F83, 0x02C0, 0x04FD, 0x01FA, 0x1F50, 0x1FD1,
336 0x1FAC, 0x1F78, 0x02A0, 0x0501, 0x021B, 0x1F56, 0x1FCA,
337 0x1FB4, 0x1F6E, 0x027F, 0x0503, 0x023C, 0x1F5D, 0x1FC3,
338 /* Chroma */
339 0x1FBB, 0x1F65, 0x025E, 0x0504, 0x025E, 0x1F65, 0x1FBB,
340 0x1FC3, 0x1F5D, 0x023C, 0x0503, 0x027F, 0x1F6E, 0x1FB4,
341 0x1FCA, 0x1F56, 0x021B, 0x0501, 0x02A0, 0x1F78, 0x1FAC,
342 0x1FD1, 0x1F50, 0x01FA, 0x04FD, 0x02C0, 0x1F83, 0x1FA5,
343 0x1FD8, 0x1F4B, 0x01D9, 0x04F6, 0x02E1, 0x1F90, 0x1F9D,
344 0x1FDF, 0x1F47, 0x01B8, 0x04EF, 0x0301, 0x1F9D, 0x1F95,
345 0x1FE6, 0x1F43, 0x0198, 0x04E5, 0x0321, 0x1FAB, 0x1F8E,
346 0x1FEC, 0x1F41, 0x0178, 0x04DA, 0x0340, 0x1FBB, 0x1F86,
347 0x1FF2, 0x1F40, 0x0159, 0x04CC, 0x035E, 0x1FCC, 0x1F7F,
348 0x1FF8, 0x1F40, 0x013A, 0x04BE, 0x037B, 0x1FDD, 0x1F78,
349 0x1FFE, 0x1F40, 0x011B, 0x04AD, 0x0398, 0x1FF0, 0x1F72,
350 0x0003, 0x1F41, 0x00FD, 0x049C, 0x03B4, 0x0004, 0x1F6B,
351 0x0008, 0x1F43, 0x00E0, 0x0489, 0x03CE, 0x0019, 0x1F65,
352 0x000D, 0x1F46, 0x00C4, 0x0474, 0x03E8, 0x002E, 0x1F5F,
353 0x0011, 0x1F49, 0x00A9, 0x045E, 0x0400, 0x0045, 0x1F5A,
354 0x0015, 0x1F4D, 0x008E, 0x0447, 0x0418, 0x005C, 0x1F55,
355 0x1F4F, 0x0076, 0x043B, 0x043B, 0x0076, 0x1F4F, 0x0000,
356 0x1F55, 0x005C, 0x0418, 0x0447, 0x008E, 0x1F4D, 0x0015,
357 0x1F5A, 0x0045, 0x0400, 0x045E, 0x00A9, 0x1F49, 0x0011,
358 0x1F5F, 0x002E, 0x03E8, 0x0474, 0x00C4, 0x1F46, 0x000D,
359 0x1F65, 0x0019, 0x03CE, 0x0489, 0x00E0, 0x1F43, 0x0008,
360 0x1F6B, 0x0004, 0x03B4, 0x049C, 0x00FD, 0x1F41, 0x0003,
361 0x1F72, 0x1FF0, 0x0398, 0x04AD, 0x011B, 0x1F40, 0x1FFE,
362 0x1F78, 0x1FDD, 0x037B, 0x04BE, 0x013A, 0x1F40, 0x1FF8,
363 0x1F7F, 0x1FCC, 0x035E, 0x04CC, 0x0159, 0x1F40, 0x1FF2,
364 0x1F86, 0x1FBB, 0x0340, 0x04DA, 0x0178, 0x1F41, 0x1FEC,
365 0x1F8E, 0x1FAB, 0x0321, 0x04E5, 0x0198, 0x1F43, 0x1FE6,
366 0x1F95, 0x1F9D, 0x0301, 0x04EF, 0x01B8, 0x1F47, 0x1FDF,
367 0x1F9D, 0x1F90, 0x02E1, 0x04F6, 0x01D9, 0x1F4B, 0x1FD8,
368 0x1FA5, 0x1F83, 0x02C0, 0x04FD, 0x01FA, 0x1F50, 0x1FD1,
369 0x1FAC, 0x1F78, 0x02A0, 0x0501, 0x021B, 0x1F56, 0x1FCA,
370 0x1FB4, 0x1F6E, 0x027F, 0x0503, 0x023C, 0x1F5D, 0x1FC3,
372 [HS_LT_13_16_SCALE] = {
373 /* Luma */
374 0x1FF4, 0x1F29, 0x022D, 0x056C, 0x022D, 0x1F29, 0x1FF4,
375 0x1FFC, 0x1F26, 0x0206, 0x056A, 0x0254, 0x1F2E, 0x1FEC,
376 0x0003, 0x1F24, 0x01E0, 0x0567, 0x027A, 0x1F34, 0x1FE4,
377 0x000A, 0x1F23, 0x01BA, 0x0561, 0x02A2, 0x1F3B, 0x1FDB,
378 0x0011, 0x1F22, 0x0194, 0x055B, 0x02C9, 0x1F43, 0x1FD2,
379 0x0017, 0x1F23, 0x016F, 0x0551, 0x02F0, 0x1F4D, 0x1FC9,
380 0x001D, 0x1F25, 0x014B, 0x0545, 0x0316, 0x1F58, 0x1FC0,
381 0x0022, 0x1F28, 0x0127, 0x0538, 0x033C, 0x1F65, 0x1FB6,
382 0x0027, 0x1F2C, 0x0104, 0x0528, 0x0361, 0x1F73, 0x1FAD,
383 0x002B, 0x1F30, 0x00E2, 0x0518, 0x0386, 0x1F82, 0x1FA3,
384 0x002F, 0x1F36, 0x00C2, 0x0504, 0x03AA, 0x1F92, 0x1F99,
385 0x0032, 0x1F3C, 0x00A2, 0x04EF, 0x03CD, 0x1FA4, 0x1F90,
386 0x0035, 0x1F42, 0x0083, 0x04D9, 0x03EF, 0x1FB8, 0x1F86,
387 0x0038, 0x1F49, 0x0065, 0x04C0, 0x0410, 0x1FCD, 0x1F7D,
388 0x003A, 0x1F51, 0x0048, 0x04A6, 0x0431, 0x1FE3, 0x1F73,
389 0x003C, 0x1F59, 0x002D, 0x048A, 0x0450, 0x1FFA, 0x1F6A,
390 0x1F5D, 0x0014, 0x048F, 0x048F, 0x0014, 0x1F5D, 0x0000,
391 0x1F6A, 0x1FFA, 0x0450, 0x048A, 0x002D, 0x1F59, 0x003C,
392 0x1F73, 0x1FE3, 0x0431, 0x04A6, 0x0048, 0x1F51, 0x003A,
393 0x1F7D, 0x1FCD, 0x0410, 0x04C0, 0x0065, 0x1F49, 0x0038,
394 0x1F86, 0x1FB8, 0x03EF, 0x04D9, 0x0083, 0x1F42, 0x0035,
395 0x1F90, 0x1FA4, 0x03CD, 0x04EF, 0x00A2, 0x1F3C, 0x0032,
396 0x1F99, 0x1F92, 0x03AA, 0x0504, 0x00C2, 0x1F36, 0x002F,
397 0x1FA3, 0x1F82, 0x0386, 0x0518, 0x00E2, 0x1F30, 0x002B,
398 0x1FAD, 0x1F73, 0x0361, 0x0528, 0x0104, 0x1F2C, 0x0027,
399 0x1FB6, 0x1F65, 0x033C, 0x0538, 0x0127, 0x1F28, 0x0022,
400 0x1FC0, 0x1F58, 0x0316, 0x0545, 0x014B, 0x1F25, 0x001D,
401 0x1FC9, 0x1F4D, 0x02F0, 0x0551, 0x016F, 0x1F23, 0x0017,
402 0x1FD2, 0x1F43, 0x02C9, 0x055B, 0x0194, 0x1F22, 0x0011,
403 0x1FDB, 0x1F3B, 0x02A2, 0x0561, 0x01BA, 0x1F23, 0x000A,
404 0x1FE4, 0x1F34, 0x027A, 0x0567, 0x01E0, 0x1F24, 0x0003,
405 0x1FEC, 0x1F2E, 0x0254, 0x056A, 0x0206, 0x1F26, 0x1FFC,
406 /* Chroma */
407 0x1FF4, 0x1F29, 0x022D, 0x056C, 0x022D, 0x1F29, 0x1FF4,
408 0x1FFC, 0x1F26, 0x0206, 0x056A, 0x0254, 0x1F2E, 0x1FEC,
409 0x0003, 0x1F24, 0x01E0, 0x0567, 0x027A, 0x1F34, 0x1FE4,
410 0x000A, 0x1F23, 0x01BA, 0x0561, 0x02A2, 0x1F3B, 0x1FDB,
411 0x0011, 0x1F22, 0x0194, 0x055B, 0x02C9, 0x1F43, 0x1FD2,
412 0x0017, 0x1F23, 0x016F, 0x0551, 0x02F0, 0x1F4D, 0x1FC9,
413 0x001D, 0x1F25, 0x014B, 0x0545, 0x0316, 0x1F58, 0x1FC0,
414 0x0022, 0x1F28, 0x0127, 0x0538, 0x033C, 0x1F65, 0x1FB6,
415 0x0027, 0x1F2C, 0x0104, 0x0528, 0x0361, 0x1F73, 0x1FAD,
416 0x002B, 0x1F30, 0x00E2, 0x0518, 0x0386, 0x1F82, 0x1FA3,
417 0x002F, 0x1F36, 0x00C2, 0x0504, 0x03AA, 0x1F92, 0x1F99,
418 0x0032, 0x1F3C, 0x00A2, 0x04EF, 0x03CD, 0x1FA4, 0x1F90,
419 0x0035, 0x1F42, 0x0083, 0x04D9, 0x03EF, 0x1FB8, 0x1F86,
420 0x0038, 0x1F49, 0x0065, 0x04C0, 0x0410, 0x1FCD, 0x1F7D,
421 0x003A, 0x1F51, 0x0048, 0x04A6, 0x0431, 0x1FE3, 0x1F73,
422 0x003C, 0x1F59, 0x002D, 0x048A, 0x0450, 0x1FFA, 0x1F6A,
423 0x1F5D, 0x0014, 0x048F, 0x048F, 0x0014, 0x1F5D, 0x0000,
424 0x1F6A, 0x1FFA, 0x0450, 0x048A, 0x002D, 0x1F59, 0x003C,
425 0x1F73, 0x1FE3, 0x0431, 0x04A6, 0x0048, 0x1F51, 0x003A,
426 0x1F7D, 0x1FCD, 0x0410, 0x04C0, 0x0065, 0x1F49, 0x0038,
427 0x1F86, 0x1FB8, 0x03EF, 0x04D9, 0x0083, 0x1F42, 0x0035,
428 0x1F90, 0x1FA4, 0x03CD, 0x04EF, 0x00A2, 0x1F3C, 0x0032,
429 0x1F99, 0x1F92, 0x03AA, 0x0504, 0x00C2, 0x1F36, 0x002F,
430 0x1FA3, 0x1F82, 0x0386, 0x0518, 0x00E2, 0x1F30, 0x002B,
431 0x1FAD, 0x1F73, 0x0361, 0x0528, 0x0104, 0x1F2C, 0x0027,
432 0x1FB6, 0x1F65, 0x033C, 0x0538, 0x0127, 0x1F28, 0x0022,
433 0x1FC0, 0x1F58, 0x0316, 0x0545, 0x014B, 0x1F25, 0x001D,
434 0x1FC9, 0x1F4D, 0x02F0, 0x0551, 0x016F, 0x1F23, 0x0017,
435 0x1FD2, 0x1F43, 0x02C9, 0x055B, 0x0194, 0x1F22, 0x0011,
436 0x1FDB, 0x1F3B, 0x02A2, 0x0561, 0x01BA, 0x1F23, 0x000A,
437 0x1FE4, 0x1F34, 0x027A, 0x0567, 0x01E0, 0x1F24, 0x0003,
438 0x1FEC, 0x1F2E, 0x0254, 0x056A, 0x0206, 0x1F26, 0x1FFC,
440 [HS_LT_14_16_SCALE] = {
441 /* Luma */
442 0x002F, 0x1F0B, 0x01E7, 0x05BE, 0x01E7, 0x1F0B, 0x002F,
443 0x0035, 0x1F0D, 0x01BC, 0x05BD, 0x0213, 0x1F0A, 0x0028,
444 0x003A, 0x1F11, 0x0191, 0x05BA, 0x023F, 0x1F0A, 0x0021,
445 0x003F, 0x1F15, 0x0167, 0x05B3, 0x026C, 0x1F0C, 0x001A,
446 0x0043, 0x1F1B, 0x013E, 0x05AA, 0x0299, 0x1F0F, 0x0012,
447 0x0046, 0x1F21, 0x0116, 0x05A1, 0x02C6, 0x1F13, 0x0009,
448 0x0049, 0x1F28, 0x00EF, 0x0593, 0x02F4, 0x1F19, 0x0000,
449 0x004C, 0x1F30, 0x00C9, 0x0584, 0x0321, 0x1F20, 0x1FF6,
450 0x004E, 0x1F39, 0x00A4, 0x0572, 0x034D, 0x1F2A, 0x1FEC,
451 0x004F, 0x1F43, 0x0080, 0x055E, 0x037A, 0x1F34, 0x1FE2,
452 0x0050, 0x1F4D, 0x005E, 0x0548, 0x03A5, 0x1F41, 0x1FD7,
453 0x0050, 0x1F57, 0x003D, 0x0531, 0x03D1, 0x1F4F, 0x1FCB,
454 0x0050, 0x1F62, 0x001E, 0x0516, 0x03FB, 0x1F5F, 0x1FC0,
455 0x004F, 0x1F6D, 0x0000, 0x04FA, 0x0425, 0x1F71, 0x1FB4,
456 0x004E, 0x1F79, 0x1FE4, 0x04DC, 0x044D, 0x1F84, 0x1FA8,
457 0x004D, 0x1F84, 0x1FCA, 0x04BC, 0x0474, 0x1F99, 0x1F9C,
458 0x1F8C, 0x1FAE, 0x04C6, 0x04C6, 0x1FAE, 0x1F8C, 0x0000,
459 0x1F9C, 0x1F99, 0x0474, 0x04BC, 0x1FCA, 0x1F84, 0x004D,
460 0x1FA8, 0x1F84, 0x044D, 0x04DC, 0x1FE4, 0x1F79, 0x004E,
461 0x1FB4, 0x1F71, 0x0425, 0x04FA, 0x0000, 0x1F6D, 0x004F,
462 0x1FC0, 0x1F5F, 0x03FB, 0x0516, 0x001E, 0x1F62, 0x0050,
463 0x1FCB, 0x1F4F, 0x03D1, 0x0531, 0x003D, 0x1F57, 0x0050,
464 0x1FD7, 0x1F41, 0x03A5, 0x0548, 0x005E, 0x1F4D, 0x0050,
465 0x1FE2, 0x1F34, 0x037A, 0x055E, 0x0080, 0x1F43, 0x004F,
466 0x1FEC, 0x1F2A, 0x034D, 0x0572, 0x00A4, 0x1F39, 0x004E,
467 0x1FF6, 0x1F20, 0x0321, 0x0584, 0x00C9, 0x1F30, 0x004C,
468 0x0000, 0x1F19, 0x02F4, 0x0593, 0x00EF, 0x1F28, 0x0049,
469 0x0009, 0x1F13, 0x02C6, 0x05A1, 0x0116, 0x1F21, 0x0046,
470 0x0012, 0x1F0F, 0x0299, 0x05AA, 0x013E, 0x1F1B, 0x0043,
471 0x001A, 0x1F0C, 0x026C, 0x05B3, 0x0167, 0x1F15, 0x003F,
472 0x0021, 0x1F0A, 0x023F, 0x05BA, 0x0191, 0x1F11, 0x003A,
473 0x0028, 0x1F0A, 0x0213, 0x05BD, 0x01BC, 0x1F0D, 0x0035,
474 /* Chroma */
475 0x002F, 0x1F0B, 0x01E7, 0x05BE, 0x01E7, 0x1F0B, 0x002F,
476 0x0035, 0x1F0D, 0x01BC, 0x05BD, 0x0213, 0x1F0A, 0x0028,
477 0x003A, 0x1F11, 0x0191, 0x05BA, 0x023F, 0x1F0A, 0x0021,
478 0x003F, 0x1F15, 0x0167, 0x05B3, 0x026C, 0x1F0C, 0x001A,
479 0x0043, 0x1F1B, 0x013E, 0x05AA, 0x0299, 0x1F0F, 0x0012,
480 0x0046, 0x1F21, 0x0116, 0x05A1, 0x02C6, 0x1F13, 0x0009,
481 0x0049, 0x1F28, 0x00EF, 0x0593, 0x02F4, 0x1F19, 0x0000,
482 0x004C, 0x1F30, 0x00C9, 0x0584, 0x0321, 0x1F20, 0x1FF6,
483 0x004E, 0x1F39, 0x00A4, 0x0572, 0x034D, 0x1F2A, 0x1FEC,
484 0x004F, 0x1F43, 0x0080, 0x055E, 0x037A, 0x1F34, 0x1FE2,
485 0x0050, 0x1F4D, 0x005E, 0x0548, 0x03A5, 0x1F41, 0x1FD7,
486 0x0050, 0x1F57, 0x003D, 0x0531, 0x03D1, 0x1F4F, 0x1FCB,
487 0x0050, 0x1F62, 0x001E, 0x0516, 0x03FB, 0x1F5F, 0x1FC0,
488 0x004F, 0x1F6D, 0x0000, 0x04FA, 0x0425, 0x1F71, 0x1FB4,
489 0x004E, 0x1F79, 0x1FE4, 0x04DC, 0x044D, 0x1F84, 0x1FA8,
490 0x004D, 0x1F84, 0x1FCA, 0x04BC, 0x0474, 0x1F99, 0x1F9C,
491 0x1F8C, 0x1FAE, 0x04C6, 0x04C6, 0x1FAE, 0x1F8C, 0x0000,
492 0x1F9C, 0x1F99, 0x0474, 0x04BC, 0x1FCA, 0x1F84, 0x004D,
493 0x1FA8, 0x1F84, 0x044D, 0x04DC, 0x1FE4, 0x1F79, 0x004E,
494 0x1FB4, 0x1F71, 0x0425, 0x04FA, 0x0000, 0x1F6D, 0x004F,
495 0x1FC0, 0x1F5F, 0x03FB, 0x0516, 0x001E, 0x1F62, 0x0050,
496 0x1FCB, 0x1F4F, 0x03D1, 0x0531, 0x003D, 0x1F57, 0x0050,
497 0x1FD7, 0x1F41, 0x03A5, 0x0548, 0x005E, 0x1F4D, 0x0050,
498 0x1FE2, 0x1F34, 0x037A, 0x055E, 0x0080, 0x1F43, 0x004F,
499 0x1FEC, 0x1F2A, 0x034D, 0x0572, 0x00A4, 0x1F39, 0x004E,
500 0x1FF6, 0x1F20, 0x0321, 0x0584, 0x00C9, 0x1F30, 0x004C,
501 0x0000, 0x1F19, 0x02F4, 0x0593, 0x00EF, 0x1F28, 0x0049,
502 0x0009, 0x1F13, 0x02C6, 0x05A1, 0x0116, 0x1F21, 0x0046,
503 0x0012, 0x1F0F, 0x0299, 0x05AA, 0x013E, 0x1F1B, 0x0043,
504 0x001A, 0x1F0C, 0x026C, 0x05B3, 0x0167, 0x1F15, 0x003F,
505 0x0021, 0x1F0A, 0x023F, 0x05BA, 0x0191, 0x1F11, 0x003A,
506 0x0028, 0x1F0A, 0x0213, 0x05BD, 0x01BC, 0x1F0D, 0x0035,
508 [HS_LT_15_16_SCALE] = {
509 /* Luma */
510 0x005B, 0x1F0A, 0x0195, 0x060C, 0x0195, 0x1F0A, 0x005B,
511 0x005D, 0x1F13, 0x0166, 0x0609, 0x01C6, 0x1F03, 0x0058,
512 0x005F, 0x1F1C, 0x0138, 0x0605, 0x01F7, 0x1EFD, 0x0054,
513 0x0060, 0x1F26, 0x010B, 0x05FF, 0x0229, 0x1EF8, 0x004F,
514 0x0060, 0x1F31, 0x00DF, 0x05F5, 0x025C, 0x1EF5, 0x004A,
515 0x0060, 0x1F3D, 0x00B5, 0x05E8, 0x028F, 0x1EF3, 0x0044,
516 0x005F, 0x1F49, 0x008C, 0x05DA, 0x02C3, 0x1EF2, 0x003D,
517 0x005E, 0x1F56, 0x0065, 0x05C7, 0x02F6, 0x1EF4, 0x0036,
518 0x005C, 0x1F63, 0x003F, 0x05B3, 0x032B, 0x1EF7, 0x002D,
519 0x0059, 0x1F71, 0x001B, 0x059D, 0x035F, 0x1EFB, 0x0024,
520 0x0057, 0x1F7F, 0x1FF9, 0x0583, 0x0392, 0x1F02, 0x001A,
521 0x0053, 0x1F8D, 0x1FD9, 0x0567, 0x03C5, 0x1F0B, 0x0010,
522 0x0050, 0x1F9B, 0x1FBB, 0x0548, 0x03F8, 0x1F15, 0x0005,
523 0x004C, 0x1FA9, 0x1F9E, 0x0528, 0x042A, 0x1F22, 0x1FF9,
524 0x0048, 0x1FB7, 0x1F84, 0x0505, 0x045A, 0x1F31, 0x1FED,
525 0x0043, 0x1FC5, 0x1F6C, 0x04E0, 0x048A, 0x1F42, 0x1FE0,
526 0x1FD1, 0x1F50, 0x04DF, 0x04DF, 0x1F50, 0x1FD1, 0x0000,
527 0x1FE0, 0x1F42, 0x048A, 0x04E0, 0x1F6C, 0x1FC5, 0x0043,
528 0x1FED, 0x1F31, 0x045A, 0x0505, 0x1F84, 0x1FB7, 0x0048,
529 0x1FF9, 0x1F22, 0x042A, 0x0528, 0x1F9E, 0x1FA9, 0x004C,
530 0x0005, 0x1F15, 0x03F8, 0x0548, 0x1FBB, 0x1F9B, 0x0050,
531 0x0010, 0x1F0B, 0x03C5, 0x0567, 0x1FD9, 0x1F8D, 0x0053,
532 0x001A, 0x1F02, 0x0392, 0x0583, 0x1FF9, 0x1F7F, 0x0057,
533 0x0024, 0x1EFB, 0x035F, 0x059D, 0x001B, 0x1F71, 0x0059,
534 0x002D, 0x1EF7, 0x032B, 0x05B3, 0x003F, 0x1F63, 0x005C,
535 0x0036, 0x1EF4, 0x02F6, 0x05C7, 0x0065, 0x1F56, 0x005E,
536 0x003D, 0x1EF2, 0x02C3, 0x05DA, 0x008C, 0x1F49, 0x005F,
537 0x0044, 0x1EF3, 0x028F, 0x05E8, 0x00B5, 0x1F3D, 0x0060,
538 0x004A, 0x1EF5, 0x025C, 0x05F5, 0x00DF, 0x1F31, 0x0060,
539 0x004F, 0x1EF8, 0x0229, 0x05FF, 0x010B, 0x1F26, 0x0060,
540 0x0054, 0x1EFD, 0x01F7, 0x0605, 0x0138, 0x1F1C, 0x005F,
541 0x0058, 0x1F03, 0x01C6, 0x0609, 0x0166, 0x1F13, 0x005D,
542 /* Chroma */
543 0x005B, 0x1F0A, 0x0195, 0x060C, 0x0195, 0x1F0A, 0x005B,
544 0x005D, 0x1F13, 0x0166, 0x0609, 0x01C6, 0x1F03, 0x0058,
545 0x005F, 0x1F1C, 0x0138, 0x0605, 0x01F7, 0x1EFD, 0x0054,
546 0x0060, 0x1F26, 0x010B, 0x05FF, 0x0229, 0x1EF8, 0x004F,
547 0x0060, 0x1F31, 0x00DF, 0x05F5, 0x025C, 0x1EF5, 0x004A,
548 0x0060, 0x1F3D, 0x00B5, 0x05E8, 0x028F, 0x1EF3, 0x0044,
549 0x005F, 0x1F49, 0x008C, 0x05DA, 0x02C3, 0x1EF2, 0x003D,
550 0x005E, 0x1F56, 0x0065, 0x05C7, 0x02F6, 0x1EF4, 0x0036,
551 0x005C, 0x1F63, 0x003F, 0x05B3, 0x032B, 0x1EF7, 0x002D,
552 0x0059, 0x1F71, 0x001B, 0x059D, 0x035F, 0x1EFB, 0x0024,
553 0x0057, 0x1F7F, 0x1FF9, 0x0583, 0x0392, 0x1F02, 0x001A,
554 0x0053, 0x1F8D, 0x1FD9, 0x0567, 0x03C5, 0x1F0B, 0x0010,
555 0x0050, 0x1F9B, 0x1FBB, 0x0548, 0x03F8, 0x1F15, 0x0005,
556 0x004C, 0x1FA9, 0x1F9E, 0x0528, 0x042A, 0x1F22, 0x1FF9,
557 0x0048, 0x1FB7, 0x1F84, 0x0505, 0x045A, 0x1F31, 0x1FED,
558 0x0043, 0x1FC5, 0x1F6C, 0x04E0, 0x048A, 0x1F42, 0x1FE0,
559 0x1FD1, 0x1F50, 0x04DF, 0x04DF, 0x1F50, 0x1FD1, 0x0000,
560 0x1FE0, 0x1F42, 0x048A, 0x04E0, 0x1F6C, 0x1FC5, 0x0043,
561 0x1FED, 0x1F31, 0x045A, 0x0505, 0x1F84, 0x1FB7, 0x0048,
562 0x1FF9, 0x1F22, 0x042A, 0x0528, 0x1F9E, 0x1FA9, 0x004C,
563 0x0005, 0x1F15, 0x03F8, 0x0548, 0x1FBB, 0x1F9B, 0x0050,
564 0x0010, 0x1F0B, 0x03C5, 0x0567, 0x1FD9, 0x1F8D, 0x0053,
565 0x001A, 0x1F02, 0x0392, 0x0583, 0x1FF9, 0x1F7F, 0x0057,
566 0x0024, 0x1EFB, 0x035F, 0x059D, 0x001B, 0x1F71, 0x0059,
567 0x002D, 0x1EF7, 0x032B, 0x05B3, 0x003F, 0x1F63, 0x005C,
568 0x0036, 0x1EF4, 0x02F6, 0x05C7, 0x0065, 0x1F56, 0x005E,
569 0x003D, 0x1EF2, 0x02C3, 0x05DA, 0x008C, 0x1F49, 0x005F,
570 0x0044, 0x1EF3, 0x028F, 0x05E8, 0x00B5, 0x1F3D, 0x0060,
571 0x004A, 0x1EF5, 0x025C, 0x05F5, 0x00DF, 0x1F31, 0x0060,
572 0x004F, 0x1EF8, 0x0229, 0x05FF, 0x010B, 0x1F26, 0x0060,
573 0x0054, 0x1EFD, 0x01F7, 0x0605, 0x0138, 0x1F1C, 0x005F,
574 0x0058, 0x1F03, 0x01C6, 0x0609, 0x0166, 0x1F13, 0x005D,
576 [HS_LE_16_16_SCALE] = {
577 /* Luma */
578 0x006E, 0x1F24, 0x013E, 0x0660, 0x013E, 0x1F24, 0x006E,
579 0x006C, 0x1F33, 0x010B, 0x065D, 0x0172, 0x1F17, 0x0070,
580 0x0069, 0x1F41, 0x00DA, 0x0659, 0x01A8, 0x1F0B, 0x0070,
581 0x0066, 0x1F51, 0x00AA, 0x0650, 0x01DF, 0x1F00, 0x0070,
582 0x0062, 0x1F61, 0x007D, 0x0644, 0x0217, 0x1EF6, 0x006F,
583 0x005E, 0x1F71, 0x0051, 0x0636, 0x0250, 0x1EED, 0x006D,
584 0x0059, 0x1F81, 0x0028, 0x0624, 0x028A, 0x1EE5, 0x006B,
585 0x0054, 0x1F91, 0x0000, 0x060F, 0x02C5, 0x1EE0, 0x0067,
586 0x004E, 0x1FA2, 0x1FDB, 0x05F6, 0x0300, 0x1EDC, 0x0063,
587 0x0049, 0x1FB2, 0x1FB8, 0x05DB, 0x033B, 0x1EDA, 0x005D,
588 0x0043, 0x1FC3, 0x1F98, 0x05BC, 0x0376, 0x1ED9, 0x0057,
589 0x003D, 0x1FD3, 0x1F7A, 0x059B, 0x03B1, 0x1EDB, 0x004F,
590 0x0036, 0x1FE2, 0x1F5E, 0x0578, 0x03EC, 0x1EDF, 0x0047,
591 0x0030, 0x1FF1, 0x1F45, 0x0551, 0x0426, 0x1EE6, 0x003D,
592 0x002A, 0x0000, 0x1F2E, 0x0528, 0x045F, 0x1EEE, 0x0033,
593 0x0023, 0x000E, 0x1F19, 0x04FD, 0x0498, 0x1EFA, 0x0027,
594 0x001B, 0x1F04, 0x04E1, 0x04E1, 0x1F04, 0x001B, 0x0000,
595 0x0027, 0x1EFA, 0x0498, 0x04FD, 0x1F19, 0x000E, 0x0023,
596 0x0033, 0x1EEE, 0x045F, 0x0528, 0x1F2E, 0x0000, 0x002A,
597 0x003D, 0x1EE6, 0x0426, 0x0551, 0x1F45, 0x1FF1, 0x0030,
598 0x0047, 0x1EDF, 0x03EC, 0x0578, 0x1F5E, 0x1FE2, 0x0036,
599 0x004F, 0x1EDB, 0x03B1, 0x059B, 0x1F7A, 0x1FD3, 0x003D,
600 0x0057, 0x1ED9, 0x0376, 0x05BC, 0x1F98, 0x1FC3, 0x0043,
601 0x005D, 0x1EDA, 0x033B, 0x05DB, 0x1FB8, 0x1FB2, 0x0049,
602 0x0063, 0x1EDC, 0x0300, 0x05F6, 0x1FDB, 0x1FA2, 0x004E,
603 0x0067, 0x1EE0, 0x02C5, 0x060F, 0x0000, 0x1F91, 0x0054,
604 0x006B, 0x1EE5, 0x028A, 0x0624, 0x0028, 0x1F81, 0x0059,
605 0x006D, 0x1EED, 0x0250, 0x0636, 0x0051, 0x1F71, 0x005E,
606 0x006F, 0x1EF6, 0x0217, 0x0644, 0x007D, 0x1F61, 0x0062,
607 0x0070, 0x1F00, 0x01DF, 0x0650, 0x00AA, 0x1F51, 0x0066,
608 0x0070, 0x1F0B, 0x01A8, 0x0659, 0x00DA, 0x1F41, 0x0069,
609 0x0070, 0x1F17, 0x0172, 0x065D, 0x010B, 0x1F33, 0x006C,
610 /* Chroma */
611 0x006E, 0x1F24, 0x013E, 0x0660, 0x013E, 0x1F24, 0x006E,
612 0x006C, 0x1F33, 0x010B, 0x065D, 0x0172, 0x1F17, 0x0070,
613 0x0069, 0x1F41, 0x00DA, 0x0659, 0x01A8, 0x1F0B, 0x0070,
614 0x0066, 0x1F51, 0x00AA, 0x0650, 0x01DF, 0x1F00, 0x0070,
615 0x0062, 0x1F61, 0x007D, 0x0644, 0x0217, 0x1EF6, 0x006F,
616 0x005E, 0x1F71, 0x0051, 0x0636, 0x0250, 0x1EED, 0x006D,
617 0x0059, 0x1F81, 0x0028, 0x0624, 0x028A, 0x1EE5, 0x006B,
618 0x0054, 0x1F91, 0x0000, 0x060F, 0x02C5, 0x1EE0, 0x0067,
619 0x004E, 0x1FA2, 0x1FDB, 0x05F6, 0x0300, 0x1EDC, 0x0063,
620 0x0049, 0x1FB2, 0x1FB8, 0x05DB, 0x033B, 0x1EDA, 0x005D,
621 0x0043, 0x1FC3, 0x1F98, 0x05BC, 0x0376, 0x1ED9, 0x0057,
622 0x003D, 0x1FD3, 0x1F7A, 0x059B, 0x03B1, 0x1EDB, 0x004F,
623 0x0036, 0x1FE2, 0x1F5E, 0x0578, 0x03EC, 0x1EDF, 0x0047,
624 0x0030, 0x1FF1, 0x1F45, 0x0551, 0x0426, 0x1EE6, 0x003D,
625 0x002A, 0x0000, 0x1F2E, 0x0528, 0x045F, 0x1EEE, 0x0033,
626 0x0023, 0x000E, 0x1F19, 0x04FD, 0x0498, 0x1EFA, 0x0027,
627 0x001B, 0x1F04, 0x04E1, 0x04E1, 0x1F04, 0x001B, 0x0000,
628 0x0027, 0x1EFA, 0x0498, 0x04FD, 0x1F19, 0x000E, 0x0023,
629 0x0033, 0x1EEE, 0x045F, 0x0528, 0x1F2E, 0x0000, 0x002A,
630 0x003D, 0x1EE6, 0x0426, 0x0551, 0x1F45, 0x1FF1, 0x0030,
631 0x0047, 0x1EDF, 0x03EC, 0x0578, 0x1F5E, 0x1FE2, 0x0036,
632 0x004F, 0x1EDB, 0x03B1, 0x059B, 0x1F7A, 0x1FD3, 0x003D,
633 0x0057, 0x1ED9, 0x0376, 0x05BC, 0x1F98, 0x1FC3, 0x0043,
634 0x005D, 0x1EDA, 0x033B, 0x05DB, 0x1FB8, 0x1FB2, 0x0049,
635 0x0063, 0x1EDC, 0x0300, 0x05F6, 0x1FDB, 0x1FA2, 0x004E,
636 0x0067, 0x1EE0, 0x02C5, 0x060F, 0x0000, 0x1F91, 0x0054,
637 0x006B, 0x1EE5, 0x028A, 0x0624, 0x0028, 0x1F81, 0x0059,
638 0x006D, 0x1EED, 0x0250, 0x0636, 0x0051, 0x1F71, 0x005E,
639 0x006F, 0x1EF6, 0x0217, 0x0644, 0x007D, 0x1F61, 0x0062,
640 0x0070, 0x1F00, 0x01DF, 0x0650, 0x00AA, 0x1F51, 0x0066,
641 0x0070, 0x1F0B, 0x01A8, 0x0659, 0x00DA, 0x1F41, 0x0069,
642 0x0070, 0x1F17, 0x0172, 0x065D, 0x010B, 0x1F33, 0x006C,
646 /* vertical scaler coefficients */
647 enum {
648 VS_UP_SCALE = 0,
649 VS_LT_9_16_SCALE,
650 VS_LT_10_16_SCALE,
651 VS_LT_11_16_SCALE,
652 VS_LT_12_16_SCALE,
653 VS_LT_13_16_SCALE,
654 VS_LT_14_16_SCALE,
655 VS_LT_15_16_SCALE,
656 VS_LT_16_16_SCALE,
657 VS_1_TO_1_SCALE,
660 static const u16 scaler_vs_coeffs[15][SC_NUM_PHASES * 2 * SC_V_NUM_TAPS] = {
661 [VS_UP_SCALE] = {
662 /* Luma */
663 0x1FD1, 0x00B1, 0x06FC, 0x00B1, 0x1FD1,
664 0x1FD8, 0x0085, 0x06F9, 0x00E1, 0x1FC9,
665 0x1FDF, 0x005B, 0x06F2, 0x0114, 0x1FC0,
666 0x1FE5, 0x0035, 0x06E5, 0x014A, 0x1FB7,
667 0x1FEB, 0x0012, 0x06D3, 0x0182, 0x1FAE,
668 0x1FF1, 0x1FF3, 0x06BA, 0x01BD, 0x1FA5,
669 0x1FF5, 0x1FD7, 0x069D, 0x01FB, 0x1F9C,
670 0x1FF9, 0x1FBE, 0x067C, 0x023A, 0x1F93,
671 0x1FFD, 0x1FA8, 0x0656, 0x027B, 0x1F8A,
672 0x0000, 0x1F95, 0x062B, 0x02BF, 0x1F81,
673 0x0002, 0x1F86, 0x05FC, 0x0303, 0x1F79,
674 0x0004, 0x1F79, 0x05CA, 0x0347, 0x1F72,
675 0x0005, 0x1F6F, 0x0594, 0x038D, 0x1F6B,
676 0x0006, 0x1F67, 0x055B, 0x03D2, 0x1F66,
677 0x0007, 0x1F62, 0x051E, 0x0417, 0x1F62,
678 0x0007, 0x1F5F, 0x04DF, 0x045C, 0x1F5F,
679 0x1F5E, 0x04A2, 0x04A2, 0x1F5E, 0x0000,
680 0x1F5F, 0x045C, 0x04DF, 0x1F5F, 0x0007,
681 0x1F62, 0x0417, 0x051E, 0x1F62, 0x0007,
682 0x1F66, 0x03D2, 0x055B, 0x1F67, 0x0006,
683 0x1F6B, 0x038D, 0x0594, 0x1F6F, 0x0005,
684 0x1F72, 0x0347, 0x05CA, 0x1F79, 0x0004,
685 0x1F79, 0x0303, 0x05FC, 0x1F86, 0x0002,
686 0x1F81, 0x02BF, 0x062B, 0x1F95, 0x0000,
687 0x1F8A, 0x027B, 0x0656, 0x1FA8, 0x1FFD,
688 0x1F93, 0x023A, 0x067C, 0x1FBE, 0x1FF9,
689 0x1F9C, 0x01FB, 0x069D, 0x1FD7, 0x1FF5,
690 0x1FA5, 0x01BD, 0x06BA, 0x1FF3, 0x1FF1,
691 0x1FAE, 0x0182, 0x06D3, 0x0012, 0x1FEB,
692 0x1FB7, 0x014A, 0x06E5, 0x0035, 0x1FE5,
693 0x1FC0, 0x0114, 0x06F2, 0x005B, 0x1FDF,
694 0x1FC9, 0x00E1, 0x06F9, 0x0085, 0x1FD8,
695 /* Chroma */
696 0x1FD1, 0x00B1, 0x06FC, 0x00B1, 0x1FD1,
697 0x1FD8, 0x0085, 0x06F9, 0x00E1, 0x1FC9,
698 0x1FDF, 0x005B, 0x06F2, 0x0114, 0x1FC0,
699 0x1FE5, 0x0035, 0x06E5, 0x014A, 0x1FB7,
700 0x1FEB, 0x0012, 0x06D3, 0x0182, 0x1FAE,
701 0x1FF1, 0x1FF3, 0x06BA, 0x01BD, 0x1FA5,
702 0x1FF5, 0x1FD7, 0x069D, 0x01FB, 0x1F9C,
703 0x1FF9, 0x1FBE, 0x067C, 0x023A, 0x1F93,
704 0x1FFD, 0x1FA8, 0x0656, 0x027B, 0x1F8A,
705 0x0000, 0x1F95, 0x062B, 0x02BF, 0x1F81,
706 0x0002, 0x1F86, 0x05FC, 0x0303, 0x1F79,
707 0x0004, 0x1F79, 0x05CA, 0x0347, 0x1F72,
708 0x0005, 0x1F6F, 0x0594, 0x038D, 0x1F6B,
709 0x0006, 0x1F67, 0x055B, 0x03D2, 0x1F66,
710 0x0007, 0x1F62, 0x051E, 0x0417, 0x1F62,
711 0x0007, 0x1F5F, 0x04DF, 0x045C, 0x1F5F,
712 0x1F5E, 0x04A2, 0x04A2, 0x1F5E, 0x0000,
713 0x1F5F, 0x045C, 0x04DF, 0x1F5F, 0x0007,
714 0x1F62, 0x0417, 0x051E, 0x1F62, 0x0007,
715 0x1F66, 0x03D2, 0x055B, 0x1F67, 0x0006,
716 0x1F6B, 0x038D, 0x0594, 0x1F6F, 0x0005,
717 0x1F72, 0x0347, 0x05CA, 0x1F79, 0x0004,
718 0x1F79, 0x0303, 0x05FC, 0x1F86, 0x0002,
719 0x1F81, 0x02BF, 0x062B, 0x1F95, 0x0000,
720 0x1F8A, 0x027B, 0x0656, 0x1FA8, 0x1FFD,
721 0x1F93, 0x023A, 0x067C, 0x1FBE, 0x1FF9,
722 0x1F9C, 0x01FB, 0x069D, 0x1FD7, 0x1FF5,
723 0x1FA5, 0x01BD, 0x06BA, 0x1FF3, 0x1FF1,
724 0x1FAE, 0x0182, 0x06D3, 0x0012, 0x1FEB,
725 0x1FB7, 0x014A, 0x06E5, 0x0035, 0x1FE5,
726 0x1FC0, 0x0114, 0x06F2, 0x005B, 0x1FDF,
727 0x1FC9, 0x00E1, 0x06F9, 0x0085, 0x1FD8,
729 [VS_LT_9_16_SCALE] = {
730 /* Luma */
731 0x001C, 0x01F6, 0x03DC, 0x01F6, 0x001C,
732 0x0018, 0x01DF, 0x03DB, 0x020C, 0x0022,
733 0x0013, 0x01C9, 0x03D9, 0x0223, 0x0028,
734 0x000F, 0x01B3, 0x03D6, 0x023A, 0x002E,
735 0x000C, 0x019D, 0x03D2, 0x0250, 0x0035,
736 0x0009, 0x0188, 0x03CC, 0x0266, 0x003D,
737 0x0006, 0x0173, 0x03C5, 0x027D, 0x0045,
738 0x0004, 0x015E, 0x03BD, 0x0293, 0x004E,
739 0x0002, 0x014A, 0x03B4, 0x02A8, 0x0058,
740 0x0000, 0x0136, 0x03AA, 0x02BE, 0x0062,
741 0x1FFF, 0x0123, 0x039E, 0x02D3, 0x006D,
742 0x1FFE, 0x0110, 0x0392, 0x02E8, 0x0078,
743 0x1FFD, 0x00FE, 0x0384, 0x02FC, 0x0085,
744 0x1FFD, 0x00ED, 0x0376, 0x030F, 0x0091,
745 0x1FFC, 0x00DC, 0x0367, 0x0322, 0x009F,
746 0x1FFC, 0x00CC, 0x0357, 0x0334, 0x00AD,
747 0x00BC, 0x0344, 0x0344, 0x00BC, 0x0000,
748 0x00AD, 0x0334, 0x0357, 0x00CC, 0x1FFC,
749 0x009F, 0x0322, 0x0367, 0x00DC, 0x1FFC,
750 0x0091, 0x030F, 0x0376, 0x00ED, 0x1FFD,
751 0x0085, 0x02FC, 0x0384, 0x00FE, 0x1FFD,
752 0x0078, 0x02E8, 0x0392, 0x0110, 0x1FFE,
753 0x006D, 0x02D3, 0x039E, 0x0123, 0x1FFF,
754 0x0062, 0x02BE, 0x03AA, 0x0136, 0x0000,
755 0x0058, 0x02A8, 0x03B4, 0x014A, 0x0002,
756 0x004E, 0x0293, 0x03BD, 0x015E, 0x0004,
757 0x0045, 0x027D, 0x03C5, 0x0173, 0x0006,
758 0x003D, 0x0266, 0x03CC, 0x0188, 0x0009,
759 0x0035, 0x0250, 0x03D2, 0x019D, 0x000C,
760 0x002E, 0x023A, 0x03D6, 0x01B3, 0x000F,
761 0x0028, 0x0223, 0x03D9, 0x01C9, 0x0013,
762 0x0022, 0x020C, 0x03DB, 0x01DF, 0x0018,
763 /* Chroma */
764 0x001C, 0x01F6, 0x03DC, 0x01F6, 0x001C,
765 0x0018, 0x01DF, 0x03DB, 0x020C, 0x0022,
766 0x0013, 0x01C9, 0x03D9, 0x0223, 0x0028,
767 0x000F, 0x01B3, 0x03D6, 0x023A, 0x002E,
768 0x000C, 0x019D, 0x03D2, 0x0250, 0x0035,
769 0x0009, 0x0188, 0x03CC, 0x0266, 0x003D,
770 0x0006, 0x0173, 0x03C5, 0x027D, 0x0045,
771 0x0004, 0x015E, 0x03BD, 0x0293, 0x004E,
772 0x0002, 0x014A, 0x03B4, 0x02A8, 0x0058,
773 0x0000, 0x0136, 0x03AA, 0x02BE, 0x0062,
774 0x1FFF, 0x0123, 0x039E, 0x02D3, 0x006D,
775 0x1FFE, 0x0110, 0x0392, 0x02E8, 0x0078,
776 0x1FFD, 0x00FE, 0x0384, 0x02FC, 0x0085,
777 0x1FFD, 0x00ED, 0x0376, 0x030F, 0x0091,
778 0x1FFC, 0x00DC, 0x0367, 0x0322, 0x009F,
779 0x1FFC, 0x00CC, 0x0357, 0x0334, 0x00AD,
780 0x00BC, 0x0344, 0x0344, 0x00BC, 0x0000,
781 0x00AD, 0x0334, 0x0357, 0x00CC, 0x1FFC,
782 0x009F, 0x0322, 0x0367, 0x00DC, 0x1FFC,
783 0x0091, 0x030F, 0x0376, 0x00ED, 0x1FFD,
784 0x0085, 0x02FC, 0x0384, 0x00FE, 0x1FFD,
785 0x0078, 0x02E8, 0x0392, 0x0110, 0x1FFE,
786 0x006D, 0x02D3, 0x039E, 0x0123, 0x1FFF,
787 0x0062, 0x02BE, 0x03AA, 0x0136, 0x0000,
788 0x0058, 0x02A8, 0x03B4, 0x014A, 0x0002,
789 0x004E, 0x0293, 0x03BD, 0x015E, 0x0004,
790 0x0045, 0x027D, 0x03C5, 0x0173, 0x0006,
791 0x003D, 0x0266, 0x03CC, 0x0188, 0x0009,
792 0x0035, 0x0250, 0x03D2, 0x019D, 0x000C,
793 0x002E, 0x023A, 0x03D6, 0x01B3, 0x000F,
794 0x0028, 0x0223, 0x03D9, 0x01C9, 0x0013,
795 0x0022, 0x020C, 0x03DB, 0x01DF, 0x0018,
797 [VS_LT_10_16_SCALE] = {
798 /* Luma */
799 0x0003, 0x01E9, 0x0428, 0x01E9, 0x0003,
800 0x0000, 0x01D0, 0x0426, 0x0203, 0x0007,
801 0x1FFD, 0x01B7, 0x0424, 0x021C, 0x000C,
802 0x1FFB, 0x019E, 0x0420, 0x0236, 0x0011,
803 0x1FF9, 0x0186, 0x041A, 0x0250, 0x0017,
804 0x1FF7, 0x016E, 0x0414, 0x026A, 0x001D,
805 0x1FF6, 0x0157, 0x040B, 0x0284, 0x0024,
806 0x1FF5, 0x0140, 0x0401, 0x029E, 0x002C,
807 0x1FF4, 0x012A, 0x03F6, 0x02B7, 0x0035,
808 0x1FF4, 0x0115, 0x03E9, 0x02D0, 0x003E,
809 0x1FF4, 0x0100, 0x03DB, 0x02E9, 0x0048,
810 0x1FF4, 0x00EC, 0x03CC, 0x0301, 0x0053,
811 0x1FF4, 0x00D9, 0x03BC, 0x0318, 0x005F,
812 0x1FF5, 0x00C7, 0x03AA, 0x032F, 0x006B,
813 0x1FF6, 0x00B5, 0x0398, 0x0345, 0x0078,
814 0x1FF6, 0x00A5, 0x0384, 0x035B, 0x0086,
815 0x0094, 0x036C, 0x036C, 0x0094, 0x0000,
816 0x0086, 0x035B, 0x0384, 0x00A5, 0x1FF6,
817 0x0078, 0x0345, 0x0398, 0x00B5, 0x1FF6,
818 0x006B, 0x032F, 0x03AA, 0x00C7, 0x1FF5,
819 0x005F, 0x0318, 0x03BC, 0x00D9, 0x1FF4,
820 0x0053, 0x0301, 0x03CC, 0x00EC, 0x1FF4,
821 0x0048, 0x02E9, 0x03DB, 0x0100, 0x1FF4,
822 0x003E, 0x02D0, 0x03E9, 0x0115, 0x1FF4,
823 0x0035, 0x02B7, 0x03F6, 0x012A, 0x1FF4,
824 0x002C, 0x029E, 0x0401, 0x0140, 0x1FF5,
825 0x0024, 0x0284, 0x040B, 0x0157, 0x1FF6,
826 0x001D, 0x026A, 0x0414, 0x016E, 0x1FF7,
827 0x0017, 0x0250, 0x041A, 0x0186, 0x1FF9,
828 0x0011, 0x0236, 0x0420, 0x019E, 0x1FFB,
829 0x000C, 0x021C, 0x0424, 0x01B7, 0x1FFD,
830 0x0007, 0x0203, 0x0426, 0x01D0, 0x0000,
831 /* Chroma */
832 0x0003, 0x01E9, 0x0428, 0x01E9, 0x0003,
833 0x0000, 0x01D0, 0x0426, 0x0203, 0x0007,
834 0x1FFD, 0x01B7, 0x0424, 0x021C, 0x000C,
835 0x1FFB, 0x019E, 0x0420, 0x0236, 0x0011,
836 0x1FF9, 0x0186, 0x041A, 0x0250, 0x0017,
837 0x1FF7, 0x016E, 0x0414, 0x026A, 0x001D,
838 0x1FF6, 0x0157, 0x040B, 0x0284, 0x0024,
839 0x1FF5, 0x0140, 0x0401, 0x029E, 0x002C,
840 0x1FF4, 0x012A, 0x03F6, 0x02B7, 0x0035,
841 0x1FF4, 0x0115, 0x03E9, 0x02D0, 0x003E,
842 0x1FF4, 0x0100, 0x03DB, 0x02E9, 0x0048,
843 0x1FF4, 0x00EC, 0x03CC, 0x0301, 0x0053,
844 0x1FF4, 0x00D9, 0x03BC, 0x0318, 0x005F,
845 0x1FF5, 0x00C7, 0x03AA, 0x032F, 0x006B,
846 0x1FF6, 0x00B5, 0x0398, 0x0345, 0x0078,
847 0x1FF6, 0x00A5, 0x0384, 0x035B, 0x0086,
848 0x0094, 0x036C, 0x036C, 0x0094, 0x0000,
849 0x0086, 0x035B, 0x0384, 0x00A5, 0x1FF6,
850 0x0078, 0x0345, 0x0398, 0x00B5, 0x1FF6,
851 0x006B, 0x032F, 0x03AA, 0x00C7, 0x1FF5,
852 0x005F, 0x0318, 0x03BC, 0x00D9, 0x1FF4,
853 0x0053, 0x0301, 0x03CC, 0x00EC, 0x1FF4,
854 0x0048, 0x02E9, 0x03DB, 0x0100, 0x1FF4,
855 0x003E, 0x02D0, 0x03E9, 0x0115, 0x1FF4,
856 0x0035, 0x02B7, 0x03F6, 0x012A, 0x1FF4,
857 0x002C, 0x029E, 0x0401, 0x0140, 0x1FF5,
858 0x0024, 0x0284, 0x040B, 0x0157, 0x1FF6,
859 0x001D, 0x026A, 0x0414, 0x016E, 0x1FF7,
860 0x0017, 0x0250, 0x041A, 0x0186, 0x1FF9,
861 0x0011, 0x0236, 0x0420, 0x019E, 0x1FFB,
862 0x000C, 0x021C, 0x0424, 0x01B7, 0x1FFD,
863 0x0007, 0x0203, 0x0426, 0x01D0, 0x0000,
865 [VS_LT_11_16_SCALE] = {
866 /* Luma */
867 0x1FEC, 0x01D6, 0x047C, 0x01D6, 0x1FEC,
868 0x1FEA, 0x01BA, 0x047B, 0x01F3, 0x1FEE,
869 0x1FE9, 0x019D, 0x0478, 0x0211, 0x1FF1,
870 0x1FE8, 0x0182, 0x0473, 0x022E, 0x1FF5,
871 0x1FE8, 0x0167, 0x046C, 0x024C, 0x1FF9,
872 0x1FE8, 0x014D, 0x0464, 0x026A, 0x1FFD,
873 0x1FE8, 0x0134, 0x0459, 0x0288, 0x0003,
874 0x1FE9, 0x011B, 0x044D, 0x02A6, 0x0009,
875 0x1FE9, 0x0104, 0x0440, 0x02C3, 0x0010,
876 0x1FEA, 0x00ED, 0x0430, 0x02E1, 0x0018,
877 0x1FEB, 0x00D7, 0x0420, 0x02FD, 0x0021,
878 0x1FED, 0x00C2, 0x040D, 0x0319, 0x002B,
879 0x1FEE, 0x00AE, 0x03F9, 0x0336, 0x0035,
880 0x1FF0, 0x009C, 0x03E3, 0x0350, 0x0041,
881 0x1FF1, 0x008A, 0x03CD, 0x036B, 0x004D,
882 0x1FF3, 0x0079, 0x03B5, 0x0384, 0x005B,
883 0x0069, 0x0397, 0x0397, 0x0069, 0x0000,
884 0x005B, 0x0384, 0x03B5, 0x0079, 0x1FF3,
885 0x004D, 0x036B, 0x03CD, 0x008A, 0x1FF1,
886 0x0041, 0x0350, 0x03E3, 0x009C, 0x1FF0,
887 0x0035, 0x0336, 0x03F9, 0x00AE, 0x1FEE,
888 0x002B, 0x0319, 0x040D, 0x00C2, 0x1FED,
889 0x0021, 0x02FD, 0x0420, 0x00D7, 0x1FEB,
890 0x0018, 0x02E1, 0x0430, 0x00ED, 0x1FEA,
891 0x0010, 0x02C3, 0x0440, 0x0104, 0x1FE9,
892 0x0009, 0x02A6, 0x044D, 0x011B, 0x1FE9,
893 0x0003, 0x0288, 0x0459, 0x0134, 0x1FE8,
894 0x1FFD, 0x026A, 0x0464, 0x014D, 0x1FE8,
895 0x1FF9, 0x024C, 0x046C, 0x0167, 0x1FE8,
896 0x1FF5, 0x022E, 0x0473, 0x0182, 0x1FE8,
897 0x1FF1, 0x0211, 0x0478, 0x019D, 0x1FE9,
898 0x1FEE, 0x01F3, 0x047B, 0x01BA, 0x1FEA,
899 /* Chroma */
900 0x1FEC, 0x01D6, 0x047C, 0x01D6, 0x1FEC,
901 0x1FEA, 0x01BA, 0x047B, 0x01F3, 0x1FEE,
902 0x1FE9, 0x019D, 0x0478, 0x0211, 0x1FF1,
903 0x1FE8, 0x0182, 0x0473, 0x022E, 0x1FF5,
904 0x1FE8, 0x0167, 0x046C, 0x024C, 0x1FF9,
905 0x1FE8, 0x014D, 0x0464, 0x026A, 0x1FFD,
906 0x1FE8, 0x0134, 0x0459, 0x0288, 0x0003,
907 0x1FE9, 0x011B, 0x044D, 0x02A6, 0x0009,
908 0x1FE9, 0x0104, 0x0440, 0x02C3, 0x0010,
909 0x1FEA, 0x00ED, 0x0430, 0x02E1, 0x0018,
910 0x1FEB, 0x00D7, 0x0420, 0x02FD, 0x0021,
911 0x1FED, 0x00C2, 0x040D, 0x0319, 0x002B,
912 0x1FEE, 0x00AE, 0x03F9, 0x0336, 0x0035,
913 0x1FF0, 0x009C, 0x03E3, 0x0350, 0x0041,
914 0x1FF1, 0x008A, 0x03CD, 0x036B, 0x004D,
915 0x1FF3, 0x0079, 0x03B5, 0x0384, 0x005B,
916 0x0069, 0x0397, 0x0397, 0x0069, 0x0000,
917 0x005B, 0x0384, 0x03B5, 0x0079, 0x1FF3,
918 0x004D, 0x036B, 0x03CD, 0x008A, 0x1FF1,
919 0x0041, 0x0350, 0x03E3, 0x009C, 0x1FF0,
920 0x0035, 0x0336, 0x03F9, 0x00AE, 0x1FEE,
921 0x002B, 0x0319, 0x040D, 0x00C2, 0x1FED,
922 0x0021, 0x02FD, 0x0420, 0x00D7, 0x1FEB,
923 0x0018, 0x02E1, 0x0430, 0x00ED, 0x1FEA,
924 0x0010, 0x02C3, 0x0440, 0x0104, 0x1FE9,
925 0x0009, 0x02A6, 0x044D, 0x011B, 0x1FE9,
926 0x0003, 0x0288, 0x0459, 0x0134, 0x1FE8,
927 0x1FFD, 0x026A, 0x0464, 0x014D, 0x1FE8,
928 0x1FF9, 0x024C, 0x046C, 0x0167, 0x1FE8,
929 0x1FF5, 0x022E, 0x0473, 0x0182, 0x1FE8,
930 0x1FF1, 0x0211, 0x0478, 0x019D, 0x1FE9,
931 0x1FEE, 0x01F3, 0x047B, 0x01BA, 0x1FEA,
933 [VS_LT_12_16_SCALE] = {
934 /* Luma */
935 0x1FD8, 0x01BC, 0x04D8, 0x01BC, 0x1FD8,
936 0x1FD8, 0x019C, 0x04D8, 0x01DC, 0x1FD8,
937 0x1FD8, 0x017D, 0x04D4, 0x01FE, 0x1FD9,
938 0x1FD9, 0x015E, 0x04CF, 0x0220, 0x1FDA,
939 0x1FDB, 0x0141, 0x04C7, 0x0241, 0x1FDC,
940 0x1FDC, 0x0125, 0x04BC, 0x0264, 0x1FDF,
941 0x1FDE, 0x0109, 0x04B0, 0x0286, 0x1FE3,
942 0x1FE0, 0x00EF, 0x04A1, 0x02A9, 0x1FE7,
943 0x1FE2, 0x00D6, 0x0491, 0x02CB, 0x1FEC,
944 0x1FE4, 0x00BE, 0x047E, 0x02EE, 0x1FF2,
945 0x1FE6, 0x00A7, 0x046A, 0x030F, 0x1FFA,
946 0x1FE9, 0x0092, 0x0453, 0x0330, 0x0002,
947 0x1FEB, 0x007E, 0x043B, 0x0351, 0x000B,
948 0x1FED, 0x006B, 0x0421, 0x0372, 0x0015,
949 0x1FEF, 0x005A, 0x0406, 0x0391, 0x0020,
950 0x1FF1, 0x0049, 0x03EA, 0x03AF, 0x002D,
951 0x003A, 0x03C6, 0x03C6, 0x003A, 0x0000,
952 0x002D, 0x03AF, 0x03EA, 0x0049, 0x1FF1,
953 0x0020, 0x0391, 0x0406, 0x005A, 0x1FEF,
954 0x0015, 0x0372, 0x0421, 0x006B, 0x1FED,
955 0x000B, 0x0351, 0x043B, 0x007E, 0x1FEB,
956 0x0002, 0x0330, 0x0453, 0x0092, 0x1FE9,
957 0x1FFA, 0x030F, 0x046A, 0x00A7, 0x1FE6,
958 0x1FF2, 0x02EE, 0x047E, 0x00BE, 0x1FE4,
959 0x1FEC, 0x02CB, 0x0491, 0x00D6, 0x1FE2,
960 0x1FE7, 0x02A9, 0x04A1, 0x00EF, 0x1FE0,
961 0x1FE3, 0x0286, 0x04B0, 0x0109, 0x1FDE,
962 0x1FDF, 0x0264, 0x04BC, 0x0125, 0x1FDC,
963 0x1FDC, 0x0241, 0x04C7, 0x0141, 0x1FDB,
964 0x1FDA, 0x0220, 0x04CF, 0x015E, 0x1FD9,
965 0x1FD9, 0x01FE, 0x04D4, 0x017D, 0x1FD8,
966 0x1FD8, 0x01DC, 0x04D8, 0x019C, 0x1FD8,
967 /* Chroma */
968 0x1FD8, 0x01BC, 0x04D8, 0x01BC, 0x1FD8,
969 0x1FD8, 0x019C, 0x04D8, 0x01DC, 0x1FD8,
970 0x1FD8, 0x017D, 0x04D4, 0x01FE, 0x1FD9,
971 0x1FD9, 0x015E, 0x04CF, 0x0220, 0x1FDA,
972 0x1FDB, 0x0141, 0x04C7, 0x0241, 0x1FDC,
973 0x1FDC, 0x0125, 0x04BC, 0x0264, 0x1FDF,
974 0x1FDE, 0x0109, 0x04B0, 0x0286, 0x1FE3,
975 0x1FE0, 0x00EF, 0x04A1, 0x02A9, 0x1FE7,
976 0x1FE2, 0x00D6, 0x0491, 0x02CB, 0x1FEC,
977 0x1FE4, 0x00BE, 0x047E, 0x02EE, 0x1FF2,
978 0x1FE6, 0x00A7, 0x046A, 0x030F, 0x1FFA,
979 0x1FE9, 0x0092, 0x0453, 0x0330, 0x0002,
980 0x1FEB, 0x007E, 0x043B, 0x0351, 0x000B,
981 0x1FED, 0x006B, 0x0421, 0x0372, 0x0015,
982 0x1FEF, 0x005A, 0x0406, 0x0391, 0x0020,
983 0x1FF1, 0x0049, 0x03EA, 0x03AF, 0x002D,
984 0x003A, 0x03C6, 0x03C6, 0x003A, 0x0000,
985 0x002D, 0x03AF, 0x03EA, 0x0049, 0x1FF1,
986 0x0020, 0x0391, 0x0406, 0x005A, 0x1FEF,
987 0x0015, 0x0372, 0x0421, 0x006B, 0x1FED,
988 0x000B, 0x0351, 0x043B, 0x007E, 0x1FEB,
989 0x0002, 0x0330, 0x0453, 0x0092, 0x1FE9,
990 0x1FFA, 0x030F, 0x046A, 0x00A7, 0x1FE6,
991 0x1FF2, 0x02EE, 0x047E, 0x00BE, 0x1FE4,
992 0x1FEC, 0x02CB, 0x0491, 0x00D6, 0x1FE2,
993 0x1FE7, 0x02A9, 0x04A1, 0x00EF, 0x1FE0,
994 0x1FE3, 0x0286, 0x04B0, 0x0109, 0x1FDE,
995 0x1FDF, 0x0264, 0x04BC, 0x0125, 0x1FDC,
996 0x1FDC, 0x0241, 0x04C7, 0x0141, 0x1FDB,
997 0x1FDA, 0x0220, 0x04CF, 0x015E, 0x1FD9,
998 0x1FD9, 0x01FE, 0x04D4, 0x017D, 0x1FD8,
999 0x1FD8, 0x01DC, 0x04D8, 0x019C, 0x1FD8,
1001 [VS_LT_13_16_SCALE] = {
1002 /* Luma */
1003 0x1FC8, 0x0199, 0x053E, 0x0199, 0x1FC8,
1004 0x1FCA, 0x0175, 0x053E, 0x01BD, 0x1FC6,
1005 0x1FCD, 0x0153, 0x0539, 0x01E2, 0x1FC5,
1006 0x1FCF, 0x0132, 0x0532, 0x0209, 0x1FC4,
1007 0x1FD2, 0x0112, 0x0529, 0x022F, 0x1FC4,
1008 0x1FD5, 0x00F4, 0x051C, 0x0256, 0x1FC5,
1009 0x1FD8, 0x00D7, 0x050D, 0x027E, 0x1FC6,
1010 0x1FDC, 0x00BB, 0x04FB, 0x02A6, 0x1FC8,
1011 0x1FDF, 0x00A1, 0x04E7, 0x02CE, 0x1FCB,
1012 0x1FE2, 0x0089, 0x04D1, 0x02F5, 0x1FCF,
1013 0x1FE5, 0x0072, 0x04B8, 0x031D, 0x1FD4,
1014 0x1FE8, 0x005D, 0x049E, 0x0344, 0x1FD9,
1015 0x1FEB, 0x0049, 0x0480, 0x036B, 0x1FE1,
1016 0x1FEE, 0x0037, 0x0462, 0x0390, 0x1FE9,
1017 0x1FF0, 0x0026, 0x0442, 0x03B6, 0x1FF2,
1018 0x1FF2, 0x0017, 0x0420, 0x03DA, 0x1FFD,
1019 0x0009, 0x03F7, 0x03F7, 0x0009, 0x0000,
1020 0x1FFD, 0x03DA, 0x0420, 0x0017, 0x1FF2,
1021 0x1FF2, 0x03B6, 0x0442, 0x0026, 0x1FF0,
1022 0x1FE9, 0x0390, 0x0462, 0x0037, 0x1FEE,
1023 0x1FE1, 0x036B, 0x0480, 0x0049, 0x1FEB,
1024 0x1FD9, 0x0344, 0x049E, 0x005D, 0x1FE8,
1025 0x1FD4, 0x031D, 0x04B8, 0x0072, 0x1FE5,
1026 0x1FCF, 0x02F5, 0x04D1, 0x0089, 0x1FE2,
1027 0x1FCB, 0x02CE, 0x04E7, 0x00A1, 0x1FDF,
1028 0x1FC8, 0x02A6, 0x04FB, 0x00BB, 0x1FDC,
1029 0x1FC6, 0x027E, 0x050D, 0x00D7, 0x1FD8,
1030 0x1FC5, 0x0256, 0x051C, 0x00F4, 0x1FD5,
1031 0x1FC4, 0x022F, 0x0529, 0x0112, 0x1FD2,
1032 0x1FC4, 0x0209, 0x0532, 0x0132, 0x1FCF,
1033 0x1FC5, 0x01E2, 0x0539, 0x0153, 0x1FCD,
1034 0x1FC6, 0x01BD, 0x053E, 0x0175, 0x1FCA,
1035 /* Chroma */
1036 0x1FC8, 0x0199, 0x053E, 0x0199, 0x1FC8,
1037 0x1FCA, 0x0175, 0x053E, 0x01BD, 0x1FC6,
1038 0x1FCD, 0x0153, 0x0539, 0x01E2, 0x1FC5,
1039 0x1FCF, 0x0132, 0x0532, 0x0209, 0x1FC4,
1040 0x1FD2, 0x0112, 0x0529, 0x022F, 0x1FC4,
1041 0x1FD5, 0x00F4, 0x051C, 0x0256, 0x1FC5,
1042 0x1FD8, 0x00D7, 0x050D, 0x027E, 0x1FC6,
1043 0x1FDC, 0x00BB, 0x04FB, 0x02A6, 0x1FC8,
1044 0x1FDF, 0x00A1, 0x04E7, 0x02CE, 0x1FCB,
1045 0x1FE2, 0x0089, 0x04D1, 0x02F5, 0x1FCF,
1046 0x1FE5, 0x0072, 0x04B8, 0x031D, 0x1FD4,
1047 0x1FE8, 0x005D, 0x049E, 0x0344, 0x1FD9,
1048 0x1FEB, 0x0049, 0x0480, 0x036B, 0x1FE1,
1049 0x1FEE, 0x0037, 0x0462, 0x0390, 0x1FE9,
1050 0x1FF0, 0x0026, 0x0442, 0x03B6, 0x1FF2,
1051 0x1FF2, 0x0017, 0x0420, 0x03DA, 0x1FFD,
1052 0x0009, 0x03F7, 0x03F7, 0x0009, 0x0000,
1053 0x1FFD, 0x03DA, 0x0420, 0x0017, 0x1FF2,
1054 0x1FF2, 0x03B6, 0x0442, 0x0026, 0x1FF0,
1055 0x1FE9, 0x0390, 0x0462, 0x0037, 0x1FEE,
1056 0x1FE1, 0x036B, 0x0480, 0x0049, 0x1FEB,
1057 0x1FD9, 0x0344, 0x049E, 0x005D, 0x1FE8,
1058 0x1FD4, 0x031D, 0x04B8, 0x0072, 0x1FE5,
1059 0x1FCF, 0x02F5, 0x04D1, 0x0089, 0x1FE2,
1060 0x1FCB, 0x02CE, 0x04E7, 0x00A1, 0x1FDF,
1061 0x1FC8, 0x02A6, 0x04FB, 0x00BB, 0x1FDC,
1062 0x1FC6, 0x027E, 0x050D, 0x00D7, 0x1FD8,
1063 0x1FC5, 0x0256, 0x051C, 0x00F4, 0x1FD5,
1064 0x1FC4, 0x022F, 0x0529, 0x0112, 0x1FD2,
1065 0x1FC4, 0x0209, 0x0532, 0x0132, 0x1FCF,
1066 0x1FC5, 0x01E2, 0x0539, 0x0153, 0x1FCD,
1067 0x1FC6, 0x01BD, 0x053E, 0x0175, 0x1FCA,
1069 [VS_LT_14_16_SCALE] = {
1070 /* Luma */
1071 0x1FBF, 0x016C, 0x05AA, 0x016C, 0x1FBF,
1072 0x1FC3, 0x0146, 0x05A8, 0x0194, 0x1FBB,
1073 0x1FC7, 0x0121, 0x05A3, 0x01BD, 0x1FB8,
1074 0x1FCB, 0x00FD, 0x059B, 0x01E8, 0x1FB5,
1075 0x1FD0, 0x00DC, 0x058F, 0x0213, 0x1FB2,
1076 0x1FD4, 0x00BC, 0x0580, 0x0240, 0x1FB0,
1077 0x1FD8, 0x009E, 0x056E, 0x026D, 0x1FAF,
1078 0x1FDC, 0x0082, 0x055A, 0x029A, 0x1FAE,
1079 0x1FE0, 0x0067, 0x0542, 0x02C9, 0x1FAE,
1080 0x1FE4, 0x004F, 0x0528, 0x02F6, 0x1FAF,
1081 0x1FE8, 0x0038, 0x050A, 0x0325, 0x1FB1,
1082 0x1FEB, 0x0024, 0x04EB, 0x0352, 0x1FB4,
1083 0x1FEE, 0x0011, 0x04C8, 0x0380, 0x1FB9,
1084 0x1FF1, 0x0000, 0x04A4, 0x03AC, 0x1FBF,
1085 0x1FF4, 0x1FF1, 0x047D, 0x03D8, 0x1FC6,
1086 0x1FF6, 0x1FE4, 0x0455, 0x0403, 0x1FCE,
1087 0x1FD8, 0x0428, 0x0428, 0x1FD8, 0x0000,
1088 0x1FCE, 0x0403, 0x0455, 0x1FE4, 0x1FF6,
1089 0x1FC6, 0x03D8, 0x047D, 0x1FF1, 0x1FF4,
1090 0x1FBF, 0x03AC, 0x04A4, 0x0000, 0x1FF1,
1091 0x1FB9, 0x0380, 0x04C8, 0x0011, 0x1FEE,
1092 0x1FB4, 0x0352, 0x04EB, 0x0024, 0x1FEB,
1093 0x1FB1, 0x0325, 0x050A, 0x0038, 0x1FE8,
1094 0x1FAF, 0x02F6, 0x0528, 0x004F, 0x1FE4,
1095 0x1FAE, 0x02C9, 0x0542, 0x0067, 0x1FE0,
1096 0x1FAE, 0x029A, 0x055A, 0x0082, 0x1FDC,
1097 0x1FAF, 0x026D, 0x056E, 0x009E, 0x1FD8,
1098 0x1FB0, 0x0240, 0x0580, 0x00BC, 0x1FD4,
1099 0x1FB2, 0x0213, 0x058F, 0x00DC, 0x1FD0,
1100 0x1FB5, 0x01E8, 0x059B, 0x00FD, 0x1FCB,
1101 0x1FB8, 0x01BD, 0x05A3, 0x0121, 0x1FC7,
1102 0x1FBB, 0x0194, 0x05A8, 0x0146, 0x1FC3,
1103 /* Chroma */
1104 0x1FBF, 0x016C, 0x05AA, 0x016C, 0x1FBF,
1105 0x1FC3, 0x0146, 0x05A8, 0x0194, 0x1FBB,
1106 0x1FC7, 0x0121, 0x05A3, 0x01BD, 0x1FB8,
1107 0x1FCB, 0x00FD, 0x059B, 0x01E8, 0x1FB5,
1108 0x1FD0, 0x00DC, 0x058F, 0x0213, 0x1FB2,
1109 0x1FD4, 0x00BC, 0x0580, 0x0240, 0x1FB0,
1110 0x1FD8, 0x009E, 0x056E, 0x026D, 0x1FAF,
1111 0x1FDC, 0x0082, 0x055A, 0x029A, 0x1FAE,
1112 0x1FE0, 0x0067, 0x0542, 0x02C9, 0x1FAE,
1113 0x1FE4, 0x004F, 0x0528, 0x02F6, 0x1FAF,
1114 0x1FE8, 0x0038, 0x050A, 0x0325, 0x1FB1,
1115 0x1FEB, 0x0024, 0x04EB, 0x0352, 0x1FB4,
1116 0x1FEE, 0x0011, 0x04C8, 0x0380, 0x1FB9,
1117 0x1FF1, 0x0000, 0x04A4, 0x03AC, 0x1FBF,
1118 0x1FF4, 0x1FF1, 0x047D, 0x03D8, 0x1FC6,
1119 0x1FF6, 0x1FE4, 0x0455, 0x0403, 0x1FCE,
1120 0x1FD8, 0x0428, 0x0428, 0x1FD8, 0x0000,
1121 0x1FCE, 0x0403, 0x0455, 0x1FE4, 0x1FF6,
1122 0x1FC6, 0x03D8, 0x047D, 0x1FF1, 0x1FF4,
1123 0x1FBF, 0x03AC, 0x04A4, 0x0000, 0x1FF1,
1124 0x1FB9, 0x0380, 0x04C8, 0x0011, 0x1FEE,
1125 0x1FB4, 0x0352, 0x04EB, 0x0024, 0x1FEB,
1126 0x1FB1, 0x0325, 0x050A, 0x0038, 0x1FE8,
1127 0x1FAF, 0x02F6, 0x0528, 0x004F, 0x1FE4,
1128 0x1FAE, 0x02C9, 0x0542, 0x0067, 0x1FE0,
1129 0x1FAE, 0x029A, 0x055A, 0x0082, 0x1FDC,
1130 0x1FAF, 0x026D, 0x056E, 0x009E, 0x1FD8,
1131 0x1FB0, 0x0240, 0x0580, 0x00BC, 0x1FD4,
1132 0x1FB2, 0x0213, 0x058F, 0x00DC, 0x1FD0,
1133 0x1FB5, 0x01E8, 0x059B, 0x00FD, 0x1FCB,
1134 0x1FB8, 0x01BD, 0x05A3, 0x0121, 0x1FC7,
1135 0x1FBB, 0x0194, 0x05A8, 0x0146, 0x1FC3,
1137 [VS_LT_15_16_SCALE] = {
1138 /* Luma */
1139 0x1FBD, 0x0136, 0x061A, 0x0136, 0x1FBD,
1140 0x1FC3, 0x010D, 0x0617, 0x0161, 0x1FB8,
1141 0x1FC9, 0x00E6, 0x0611, 0x018E, 0x1FB2,
1142 0x1FCE, 0x00C1, 0x0607, 0x01BD, 0x1FAD,
1143 0x1FD4, 0x009E, 0x05F9, 0x01ED, 0x1FA8,
1144 0x1FD9, 0x007D, 0x05E8, 0x021F, 0x1FA3,
1145 0x1FDE, 0x005E, 0x05D3, 0x0252, 0x1F9F,
1146 0x1FE2, 0x0042, 0x05BC, 0x0285, 0x1F9B,
1147 0x1FE7, 0x0029, 0x059F, 0x02B9, 0x1F98,
1148 0x1FEA, 0x0011, 0x0580, 0x02EF, 0x1F96,
1149 0x1FEE, 0x1FFC, 0x055D, 0x0324, 0x1F95,
1150 0x1FF1, 0x1FE9, 0x0538, 0x0359, 0x1F95,
1151 0x1FF4, 0x1FD8, 0x0510, 0x038E, 0x1F96,
1152 0x1FF7, 0x1FC9, 0x04E5, 0x03C2, 0x1F99,
1153 0x1FF9, 0x1FBD, 0x04B8, 0x03F5, 0x1F9D,
1154 0x1FFB, 0x1FB2, 0x0489, 0x0428, 0x1FA2,
1155 0x1FAA, 0x0456, 0x0456, 0x1FAA, 0x0000,
1156 0x1FA2, 0x0428, 0x0489, 0x1FB2, 0x1FFB,
1157 0x1F9D, 0x03F5, 0x04B8, 0x1FBD, 0x1FF9,
1158 0x1F99, 0x03C2, 0x04E5, 0x1FC9, 0x1FF7,
1159 0x1F96, 0x038E, 0x0510, 0x1FD8, 0x1FF4,
1160 0x1F95, 0x0359, 0x0538, 0x1FE9, 0x1FF1,
1161 0x1F95, 0x0324, 0x055D, 0x1FFC, 0x1FEE,
1162 0x1F96, 0x02EF, 0x0580, 0x0011, 0x1FEA,
1163 0x1F98, 0x02B9, 0x059F, 0x0029, 0x1FE7,
1164 0x1F9B, 0x0285, 0x05BC, 0x0042, 0x1FE2,
1165 0x1F9F, 0x0252, 0x05D3, 0x005E, 0x1FDE,
1166 0x1FA3, 0x021F, 0x05E8, 0x007D, 0x1FD9,
1167 0x1FA8, 0x01ED, 0x05F9, 0x009E, 0x1FD4,
1168 0x1FAD, 0x01BD, 0x0607, 0x00C1, 0x1FCE,
1169 0x1FB2, 0x018E, 0x0611, 0x00E6, 0x1FC9,
1170 0x1FB8, 0x0161, 0x0617, 0x010D, 0x1FC3,
1171 /* Chroma */
1172 0x1FBD, 0x0136, 0x061A, 0x0136, 0x1FBD,
1173 0x1FC3, 0x010D, 0x0617, 0x0161, 0x1FB8,
1174 0x1FC9, 0x00E6, 0x0611, 0x018E, 0x1FB2,
1175 0x1FCE, 0x00C1, 0x0607, 0x01BD, 0x1FAD,
1176 0x1FD4, 0x009E, 0x05F9, 0x01ED, 0x1FA8,
1177 0x1FD9, 0x007D, 0x05E8, 0x021F, 0x1FA3,
1178 0x1FDE, 0x005E, 0x05D3, 0x0252, 0x1F9F,
1179 0x1FE2, 0x0042, 0x05BC, 0x0285, 0x1F9B,
1180 0x1FE7, 0x0029, 0x059F, 0x02B9, 0x1F98,
1181 0x1FEA, 0x0011, 0x0580, 0x02EF, 0x1F96,
1182 0x1FEE, 0x1FFC, 0x055D, 0x0324, 0x1F95,
1183 0x1FF1, 0x1FE9, 0x0538, 0x0359, 0x1F95,
1184 0x1FF4, 0x1FD8, 0x0510, 0x038E, 0x1F96,
1185 0x1FF7, 0x1FC9, 0x04E5, 0x03C2, 0x1F99,
1186 0x1FF9, 0x1FBD, 0x04B8, 0x03F5, 0x1F9D,
1187 0x1FFB, 0x1FB2, 0x0489, 0x0428, 0x1FA2,
1188 0x1FAA, 0x0456, 0x0456, 0x1FAA, 0x0000,
1189 0x1FA2, 0x0428, 0x0489, 0x1FB2, 0x1FFB,
1190 0x1F9D, 0x03F5, 0x04B8, 0x1FBD, 0x1FF9,
1191 0x1F99, 0x03C2, 0x04E5, 0x1FC9, 0x1FF7,
1192 0x1F96, 0x038E, 0x0510, 0x1FD8, 0x1FF4,
1193 0x1F95, 0x0359, 0x0538, 0x1FE9, 0x1FF1,
1194 0x1F95, 0x0324, 0x055D, 0x1FFC, 0x1FEE,
1195 0x1F96, 0x02EF, 0x0580, 0x0011, 0x1FEA,
1196 0x1F98, 0x02B9, 0x059F, 0x0029, 0x1FE7,
1197 0x1F9B, 0x0285, 0x05BC, 0x0042, 0x1FE2,
1198 0x1F9F, 0x0252, 0x05D3, 0x005E, 0x1FDE,
1199 0x1FA3, 0x021F, 0x05E8, 0x007D, 0x1FD9,
1200 0x1FA8, 0x01ED, 0x05F9, 0x009E, 0x1FD4,
1201 0x1FAD, 0x01BD, 0x0607, 0x00C1, 0x1FCE,
1202 0x1FB2, 0x018E, 0x0611, 0x00E6, 0x1FC9,
1203 0x1FB8, 0x0161, 0x0617, 0x010D, 0x1FC3,
1205 [VS_LT_16_16_SCALE] = {
1206 /* Luma */
1207 0x1FC3, 0x00F8, 0x068A, 0x00F8, 0x1FC3,
1208 0x1FCA, 0x00CC, 0x0689, 0x0125, 0x1FBC,
1209 0x1FD1, 0x00A3, 0x0681, 0x0156, 0x1FB5,
1210 0x1FD7, 0x007D, 0x0676, 0x0188, 0x1FAE,
1211 0x1FDD, 0x005A, 0x0666, 0x01BD, 0x1FA6,
1212 0x1FE3, 0x0039, 0x0652, 0x01F3, 0x1F9F,
1213 0x1FE8, 0x001B, 0x0639, 0x022C, 0x1F98,
1214 0x1FEC, 0x0000, 0x061D, 0x0265, 0x1F92,
1215 0x1FF0, 0x1FE8, 0x05FC, 0x02A0, 0x1F8C,
1216 0x1FF4, 0x1FD2, 0x05D7, 0x02DC, 0x1F87,
1217 0x1FF7, 0x1FBF, 0x05AF, 0x0319, 0x1F82,
1218 0x1FFA, 0x1FAF, 0x0583, 0x0356, 0x1F7E,
1219 0x1FFC, 0x1FA1, 0x0554, 0x0393, 0x1F7C,
1220 0x1FFE, 0x1F95, 0x0523, 0x03CF, 0x1F7B,
1221 0x0000, 0x1F8C, 0x04EE, 0x040B, 0x1F7B,
1222 0x0001, 0x1F85, 0x04B8, 0x0446, 0x1F7C,
1223 0x1F80, 0x0480, 0x0480, 0x1F80, 0x0000,
1224 0x1F7C, 0x0446, 0x04B8, 0x1F85, 0x0001,
1225 0x1F7B, 0x040B, 0x04EE, 0x1F8C, 0x0000,
1226 0x1F7B, 0x03CF, 0x0523, 0x1F95, 0x1FFE,
1227 0x1F7C, 0x0393, 0x0554, 0x1FA1, 0x1FFC,
1228 0x1F7E, 0x0356, 0x0583, 0x1FAF, 0x1FFA,
1229 0x1F82, 0x0319, 0x05AF, 0x1FBF, 0x1FF7,
1230 0x1F87, 0x02DC, 0x05D7, 0x1FD2, 0x1FF4,
1231 0x1F8C, 0x02A0, 0x05FC, 0x1FE8, 0x1FF0,
1232 0x1F92, 0x0265, 0x061D, 0x0000, 0x1FEC,
1233 0x1F98, 0x022C, 0x0639, 0x001B, 0x1FE8,
1234 0x1F9F, 0x01F3, 0x0652, 0x0039, 0x1FE3,
1235 0x1FA6, 0x01BD, 0x0666, 0x005A, 0x1FDD,
1236 0x1FAE, 0x0188, 0x0676, 0x007D, 0x1FD7,
1237 0x1FB5, 0x0156, 0x0681, 0x00A3, 0x1FD1,
1238 0x1FBC, 0x0125, 0x0689, 0x00CC, 0x1FCA,
1239 /* Chroma */
1240 0x1FC3, 0x00F8, 0x068A, 0x00F8, 0x1FC3,
1241 0x1FCA, 0x00CC, 0x0689, 0x0125, 0x1FBC,
1242 0x1FD1, 0x00A3, 0x0681, 0x0156, 0x1FB5,
1243 0x1FD7, 0x007D, 0x0676, 0x0188, 0x1FAE,
1244 0x1FDD, 0x005A, 0x0666, 0x01BD, 0x1FA6,
1245 0x1FE3, 0x0039, 0x0652, 0x01F3, 0x1F9F,
1246 0x1FE8, 0x001B, 0x0639, 0x022C, 0x1F98,
1247 0x1FEC, 0x0000, 0x061D, 0x0265, 0x1F92,
1248 0x1FF0, 0x1FE8, 0x05FC, 0x02A0, 0x1F8C,
1249 0x1FF4, 0x1FD2, 0x05D7, 0x02DC, 0x1F87,
1250 0x1FF7, 0x1FBF, 0x05AF, 0x0319, 0x1F82,
1251 0x1FFA, 0x1FAF, 0x0583, 0x0356, 0x1F7E,
1252 0x1FFC, 0x1FA1, 0x0554, 0x0393, 0x1F7C,
1253 0x1FFE, 0x1F95, 0x0523, 0x03CF, 0x1F7B,
1254 0x0000, 0x1F8C, 0x04EE, 0x040B, 0x1F7B,
1255 0x0001, 0x1F85, 0x04B8, 0x0446, 0x1F7C,
1256 0x1F80, 0x0480, 0x0480, 0x1F80, 0x0000,
1257 0x1F7C, 0x0446, 0x04B8, 0x1F85, 0x0001,
1258 0x1F7B, 0x040B, 0x04EE, 0x1F8C, 0x0000,
1259 0x1F7B, 0x03CF, 0x0523, 0x1F95, 0x1FFE,
1260 0x1F7C, 0x0393, 0x0554, 0x1FA1, 0x1FFC,
1261 0x1F7E, 0x0356, 0x0583, 0x1FAF, 0x1FFA,
1262 0x1F82, 0x0319, 0x05AF, 0x1FBF, 0x1FF7,
1263 0x1F87, 0x02DC, 0x05D7, 0x1FD2, 0x1FF4,
1264 0x1F8C, 0x02A0, 0x05FC, 0x1FE8, 0x1FF0,
1265 0x1F92, 0x0265, 0x061D, 0x0000, 0x1FEC,
1266 0x1F98, 0x022C, 0x0639, 0x001B, 0x1FE8,
1267 0x1F9F, 0x01F3, 0x0652, 0x0039, 0x1FE3,
1268 0x1FA6, 0x01BD, 0x0666, 0x005A, 0x1FDD,
1269 0x1FAE, 0x0188, 0x0676, 0x007D, 0x1FD7,
1270 0x1FB5, 0x0156, 0x0681, 0x00A3, 0x1FD1,
1271 0x1FBC, 0x0125, 0x0689, 0x00CC, 0x1FCA,
1273 [VS_1_TO_1_SCALE] = {
1274 /* Luma */
1275 0x0000, 0x0000, 0x0800, 0x0000, 0x0000,
1276 0x1FD8, 0x0085, 0x06F9, 0x00E1, 0x1FC9,
1277 0x1FDF, 0x005B, 0x06F2, 0x0114, 0x1FC0,
1278 0x1FE5, 0x0035, 0x06E5, 0x014A, 0x1FB7,
1279 0x1FEB, 0x0012, 0x06D3, 0x0182, 0x1FAE,
1280 0x1FF1, 0x1FF3, 0x06BA, 0x01BD, 0x1FA5,
1281 0x1FF5, 0x1FD7, 0x069D, 0x01FB, 0x1F9C,
1282 0x1FF9, 0x1FBE, 0x067C, 0x023A, 0x1F93,
1283 0x1FFD, 0x1FA8, 0x0656, 0x027B, 0x1F8A,
1284 0x0000, 0x1F95, 0x062B, 0x02BF, 0x1F81,
1285 0x0002, 0x1F86, 0x05FC, 0x0303, 0x1F79,
1286 0x0004, 0x1F79, 0x05CA, 0x0347, 0x1F72,
1287 0x0005, 0x1F6F, 0x0594, 0x038D, 0x1F6B,
1288 0x0006, 0x1F67, 0x055B, 0x03D2, 0x1F66,
1289 0x0007, 0x1F62, 0x051E, 0x0417, 0x1F62,
1290 0x0007, 0x1F5F, 0x04DF, 0x045C, 0x1F5F,
1291 0x1F5E, 0x04A2, 0x04A2, 0x1F5E, 0x0000,
1292 0x1F5F, 0x045C, 0x04DF, 0x1F5F, 0x0007,
1293 0x1F62, 0x0417, 0x051E, 0x1F62, 0x0007,
1294 0x1F66, 0x03D2, 0x055B, 0x1F67, 0x0006,
1295 0x1F6B, 0x038D, 0x0594, 0x1F6F, 0x0005,
1296 0x1F72, 0x0347, 0x05CA, 0x1F79, 0x0004,
1297 0x1F79, 0x0303, 0x05FC, 0x1F86, 0x0002,
1298 0x1F81, 0x02BF, 0x062B, 0x1F95, 0x0000,
1299 0x1F8A, 0x027B, 0x0656, 0x1FA8, 0x1FFD,
1300 0x1F93, 0x023A, 0x067C, 0x1FBE, 0x1FF9,
1301 0x1F9C, 0x01FB, 0x069D, 0x1FD7, 0x1FF5,
1302 0x1FA5, 0x01BD, 0x06BA, 0x1FF3, 0x1FF1,
1303 0x1FAE, 0x0182, 0x06D3, 0x0012, 0x1FEB,
1304 0x1FB7, 0x014A, 0x06E5, 0x0035, 0x1FE5,
1305 0x1FC0, 0x0114, 0x06F2, 0x005B, 0x1FDF,
1306 0x1FC9, 0x00E1, 0x06F9, 0x0085, 0x1FD8,
1307 /* Chroma */
1308 0x0000, 0x0000, 0x0800, 0x0000, 0x0000,
1309 0x1FD8, 0x0085, 0x06F9, 0x00E1, 0x1FC9,
1310 0x1FDF, 0x005B, 0x06F2, 0x0114, 0x1FC0,
1311 0x1FE5, 0x0035, 0x06E5, 0x014A, 0x1FB7,
1312 0x1FEB, 0x0012, 0x06D3, 0x0182, 0x1FAE,
1313 0x1FF1, 0x1FF3, 0x06BA, 0x01BD, 0x1FA5,
1314 0x1FF5, 0x1FD7, 0x069D, 0x01FB, 0x1F9C,
1315 0x1FF9, 0x1FBE, 0x067C, 0x023A, 0x1F93,
1316 0x1FFD, 0x1FA8, 0x0656, 0x027B, 0x1F8A,
1317 0x0000, 0x1F95, 0x062B, 0x02BF, 0x1F81,
1318 0x0002, 0x1F86, 0x05FC, 0x0303, 0x1F79,
1319 0x0004, 0x1F79, 0x05CA, 0x0347, 0x1F72,
1320 0x0005, 0x1F6F, 0x0594, 0x038D, 0x1F6B,
1321 0x0006, 0x1F67, 0x055B, 0x03D2, 0x1F66,
1322 0x0007, 0x1F62, 0x051E, 0x0417, 0x1F62,
1323 0x0007, 0x1F5F, 0x04DF, 0x045C, 0x1F5F,
1324 0x1F5E, 0x04A2, 0x04A2, 0x1F5E, 0x0000,
1325 0x1F5F, 0x045C, 0x04DF, 0x1F5F, 0x0007,
1326 0x1F62, 0x0417, 0x051E, 0x1F62, 0x0007,
1327 0x1F66, 0x03D2, 0x055B, 0x1F67, 0x0006,
1328 0x1F6B, 0x038D, 0x0594, 0x1F6F, 0x0005,
1329 0x1F72, 0x0347, 0x05CA, 0x1F79, 0x0004,
1330 0x1F79, 0x0303, 0x05FC, 0x1F86, 0x0002,
1331 0x1F81, 0x02BF, 0x062B, 0x1F95, 0x0000,
1332 0x1F8A, 0x027B, 0x0656, 0x1FA8, 0x1FFD,
1333 0x1F93, 0x023A, 0x067C, 0x1FBE, 0x1FF9,
1334 0x1F9C, 0x01FB, 0x069D, 0x1FD7, 0x1FF5,
1335 0x1FA5, 0x01BD, 0x06BA, 0x1FF3, 0x1FF1,
1336 0x1FAE, 0x0182, 0x06D3, 0x0012, 0x1FEB,
1337 0x1FB7, 0x014A, 0x06E5, 0x0035, 0x1FE5,
1338 0x1FC0, 0x0114, 0x06F2, 0x005B, 0x1FDF,
1339 0x1FC9, 0x00E1, 0x06F9, 0x0085, 0x1FD8,
1342 #endif