sc_coeff.h 61 KB

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