home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Examples / Printer / HP_DeskJet_CMYK / data.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-30  |  26.1 KB  |  492 lines

  1. /*
  2.  * $Id: data.c 44.7 1999/09/16 09:20:27 olsen Exp olsen $
  3.  *
  4.  * :ts=8
  5.  *
  6.  * COPYRIGHT:
  7.  *
  8.  *   Unless otherwise noted, all files are Copyright (c) 1999 Amiga, Inc.
  9.  *   All rights reserved.
  10.  *
  11.  * DISCLAIMER:
  12.  *
  13.  *   This software is provided "as is". No representations or warranties
  14.  *   are made with respect to the accuracy, reliability, performance,
  15.  *   currentness, or operation of this software, and all use is at your
  16.  *   own risk. Neither Amiga nor the authors assume any responsibility
  17.  *   or liability whatsoever with respect to your use of this software.
  18.  *
  19.  */
  20.  
  21. #include "global.h"
  22.  
  23. /****************************************************************************/
  24.  
  25. #include "config.h"
  26.  
  27. /****************************************************************************/
  28.  
  29. struct Library * SysBase;
  30. struct Library * UtilityBase;
  31.  
  32. /****************************************************************************/
  33.  
  34. struct PrinterExtendedData * PED;
  35. struct PrinterData * PD;
  36.  
  37. /****************************************************************************/
  38.  
  39. PWRITE_T PWrite;
  40. PBOTHREADY_T PBothReady;
  41.  
  42. /****************************************************************************/
  43.  
  44. STRPTR CommandTable[aRAW+1] =
  45. {
  46.     "\375\033E\375",    /* 00 aRIS reset            */
  47.     "\377",            /* 01 aRIN initialize            */
  48.     "\012",            /* 02 aIND linefeed            */
  49.     "\015\012",        /* 03 aNEL CRLF                */
  50.     "\033&a-1R",        /* 04 aRI reverse LF            */
  51.  
  52.     "\033&d@\033(sbS",    /* 05 aSGR0 normal char set        */
  53.     "\033(s1S",        /* 06 aSGR3 italics on            */
  54.     "\033(sS",        /* 07 aSGR23 italics off        */
  55.     "\033&dD",        /* 08 aSGR4 underline on        */
  56.     "\033&d@",        /* 09 aSGR24 underline off        */
  57.     "\033(s5B",        /* 10 aSGR1 boldface on            */
  58.     "\033(sB",        /* 11 aSGR22 boldface off        */
  59.     "\377",            /* 12 aSFC set foreground color        */
  60.     "\377",            /* 13 aSBC set background color        */
  61.  
  62.     "\033(s10h1T",        /* 14 aSHORP0 normal pitch        */
  63.     "\033(s12h2T",        /* 15 aSHORP2 elite on            */
  64.     "\033(s10h1T",        /* 16 aSHORP1 elite off            */
  65.     "\033(s15H",        /* 17 aSHORP4 condensed fine on        */
  66.     "\033(s10H",        /* 18 aSHORP3 condensed fine off    */
  67.     "\377",            /* 19 aSHORP6 enlarge on        */
  68.     "\377",            /* 20 aSHORP5 enlarge off        */
  69.  
  70.     "\033(s7B",        /* 21 aDEN6 shadow print on        */
  71.     "\033(sB",        /* 22 aDEN5 shadow print off        */
  72.     "\033(s3B",        /* 23 aDEN4 double strike on        */
  73.     "\033(sB",        /* 24 aDEN3 double strike off        */
  74.     "\033(s2Q",        /* 25 aDEN2 NLQ on            */
  75.     "\033(s0Q",        /* 26 aDEN1 NLQ off            */
  76.  
  77.     "\377",            /* 27 aSUS2 superscript on        */
  78.     "\377",            /* 28 aSUS1 superscript off        */
  79.     "\377",            /* 29 aSUS4 subscript on        */
  80.     "\377",            /* 30 aSUS3 subscript off        */
  81.     "\377",            /* 31 aSUS0 normalize the line        */
  82.     "\033&a-.5R",        /* 32 aPLU partial line up        */
  83.     "\033=",        /* 33 aPLD partial line down        */
  84.  
  85.     "\033(s3T",        /* 34 aFNT0 Typeface 0            */
  86.     "\033(s0T",        /* 35 aFNT1 Typeface 1            */
  87.     "\033(s1T",        /* 36 aFNT2 Typeface 2            */
  88.     "\033(s2T",        /* 37 aFNT3 Typeface 3            */
  89.     "\033(s4T",        /* 38 aFNT4 Typeface 4            */
  90.     "\033(s5T",        /* 39 aFNT5 Typeface 5            */
  91.     "\033(s6T",        /* 40 aFNT6 Typeface 6            */
  92.     "\033(s7T",        /* 41 aFNT7 Typeface 7            */
  93.     "\033(s8T",        /* 42 aFNT8 Typeface 8            */
  94.     "\033(s9T",        /* 43 aFNT9 Typeface 9            */
  95.     "\033(s10T",        /* 44 aFNT10 Typeface 10        */
  96.                               
  97.     "\033(s1P",        /* 45 aPROP2 proportional on        */
  98.     "\033(sP",        /* 46 aPROP1 proportional off        */
  99.     "\033(sP",        /* 47 aPROP0 proportional clear        */
  100.     "\377",            /* 48 aTSS set proportional offset    */
  101.     "\377",            /* 49 aJFY5 auto left justify        */
  102.     "\377",            /* 50 aJFY7 auto right justify        */
  103.     "\377",            /* 51 aJFY6 auto full jusitfy        */
  104.     "\377",            /* 52 aJFY0 auto jusity off        */
  105.     "\377",            /* 53 aJFY3 letter space        */
  106.     "\377",            /* 54 aJFY1 word fill            */
  107.  
  108.     "\033&l8D",        /* 55 aVERP0 1/8" line spacing        */
  109.     "\033&l6D",        /* 56 aVERP1 1/6" line spacing        */
  110.     "\377",            /* 57 aSLPP set form length        */
  111.     "\033&l1L",        /* 58 aPERF perf skip n (n > 0)        */
  112.     "\033&lL",        /* 59 aPERF0 perf skip off        */
  113.                         
  114.     "\377",            /* 60 aLMS set left margin        */
  115.     "\377",            /* 61 aRMS set right margin        */
  116.     "\377",            /* 62 aTMS set top margin        */
  117.     "\377",            /* 63 aBMS set bottom margin        */
  118.     "\377",            /* 64 aSTBM set T&B margins        */
  119.     "\377",            /* 65 aSLRM set L&R margins        */
  120.     "\0339\015",        /* 66 aCAM clear margins        */
  121.  
  122.     "\377",            /* 67 aHTS set horiz tab        */
  123.     "\377",            /* 68 aVTS set vert tab            */
  124.     "\377",            /* 69 aTBC0 clear horiz tab        */
  125.     "\377",            /* 70 aTBC3 clear all horiz tabs    */
  126.     "\377",            /* 71 aTBC1 clear vert tab        */
  127.     "\377",            /* 72 aTBC4 clear all vert tabs        */
  128.     "\377",            /* 73 aTBCALL clear all h & v tabs    */
  129.     "\377",            /* 74 aTBSALL set default tabs        */
  130.  
  131.     "\377",            /* 75 aEXTEND extended commands        */
  132.     "\377"            /* 76 aRAW next 'n' chars are raw    */
  133. };
  134.  
  135. /****************************************************************************/
  136.  
  137. STRPTR ExtendedCharTable[96] =
  138. {
  139.     " ", "¡", "¢", "£", "¤", "¥", "¦", "§",
  140.     "¨", "©", "ª", "«", "¬", "­", "®", "¯",
  141.     "°", "±", "²", "³", "´", "µ", "¶", "·",
  142.     "¸", "¹", "º", "»", "¼", "½", "¾", "¿",
  143.     "À", "Á", "Â", "Ã", "Ä", "Å", "Æ", "Ç",
  144.     "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï",
  145.     "Ð", "Ñ", "Ò", "Ó", "Ô", "Õ", "Ö", "×",
  146.     "Ø", "Ù", "Ú", "Û", "Ü", "Ý", "Þ", "ß",
  147.     "à", "á", "â", "ã", "ä", "å", "æ", "ç",
  148.     "è", "é", "ê", "ë", "ì", "í", "î", "ï",
  149.     "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "÷",
  150.     "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ"
  151. };
  152.  
  153. /****************************************************************************/
  154.  
  155. #if CONFIG_SUPPORTS_COLOR
  156. #define DENSITY_INFO_TAG PRTA_DensityInfo
  157. #else 
  158. #define DENSITY_INFO_TAG TAG_IGNORE
  159. #endif /* CONFIG_SUPPORTS_COLOR */
  160.  
  161. /****************************************************************************/
  162.  
  163. /* Filled in by locale.c */
  164. STRPTR DensityNames[8];
  165.  
  166. /****************************************************************************/
  167.  
  168. struct TagItem PropertyTagList[] =
  169. {
  170.     { PRTA_8BitGuns,    TRUE                },
  171.     { PRTA_FloydDithering,    TRUE                },
  172.     { DENSITY_INFO_TAG,    (ULONG)DensityNames        },
  173.     { PRTA_MixBWColor,    CONFIG_COLOR_BW_SAME_RESOLUTION    },
  174.     { PRTA_LeftBorder,    166                },    /* 50 dots at 300 DPI */
  175.     { PRTA_TopBorder,    166                },    /* 50 dots at 300 DPI */
  176.  
  177.     { TAG_DONE }
  178. };
  179.  
  180. /****************************************************************************/
  181.  
  182. #if CONFIG_SUPPORTS_COLOR
  183.  
  184. /****************************************************************************/
  185.  
  186. UBYTE GammaTables[15][256] =
  187. {
  188.     /* Gamma = 1.1 */
  189.     {
  190.         0x00,0x01,0x01,0x02,0x03,0x03,0x04,0x05,0x06,0x06,0x07,0x08,0x09,0x0A,0x0A,0x0B,
  191.         0x0C,0x0D,0x0E,0x0F,0x10,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x16,0x17,0x18,0x19,
  192.         0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
  193.         0x29,0x2A,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
  194.         0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,
  195.         0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,0x53,0x54,0x55,0x56,
  196.         0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65,0x66,
  197.         0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,
  198.         0x77,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,
  199.         0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,0x90,0x91,0x92,0x93,0x95,0x96,0x97,0x98,
  200.         0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA9,
  201.         0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xBA,
  202.         0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC9,0xCA,0xCB,
  203.         0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,
  204.         0xDD,0xDE,0xDF,0xE0,0xE1,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,
  205.         0xEF,0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
  206.     },
  207.  
  208.     /* Gamma = 1.2 */
  209.     {
  210.         0x00,0x00,0x01,0x01,0x02,0x02,0x03,0x03,0x04,0x05,0x05,0x06,0x07,0x07,0x08,0x09,
  211.         0x09,0x0A,0x0B,0x0B,0x0C,0x0D,0x0D,0x0E,0x0F,0x10,0x10,0x11,0x12,0x13,0x14,0x14,
  212.         0x15,0x16,0x17,0x18,0x18,0x19,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,
  213.         0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,
  214.         0x31,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3E,
  215.         0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,
  216.         0x4F,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,
  217.         0x5F,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,
  218.         0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
  219.         0x80,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x90,0x91,
  220.         0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,
  221.         0xA3,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,
  222.         0xB5,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC7,
  223.         0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD6,0xD7,0xD8,0xD9,
  224.         0xDA,0xDB,0xDD,0xDE,0xDF,0xE0,0xE1,0xE2,0xE4,0xE5,0xE6,0xE7,0xE8,0xEA,0xEB,0xEC,
  225.         0xED,0xEE,0xEF,0xF1,0xF2,0xF3,0xF4,0xF5,0xF7,0xF8,0xF9,0xFA,0xFB,0xFD,0xFE,0xFF
  226.     },
  227.  
  228.     /* Gamma = 1.3 */
  229.     {
  230.         0x00,0x00,0x00,0x01,0x01,0x02,0x02,0x02,0x03,0x03,0x04,0x04,0x05,0x05,0x06,0x06,
  231.         0x07,0x08,0x08,0x09,0x09,0x0A,0x0B,0x0B,0x0C,0x0C,0x0D,0x0E,0x0E,0x0F,0x10,0x10,
  232.         0x11,0x12,0x13,0x13,0x14,0x15,0x15,0x16,0x17,0x18,0x18,0x19,0x1A,0x1B,0x1C,0x1C,
  233.         0x1D,0x1E,0x1F,0x1F,0x20,0x21,0x22,0x23,0x24,0x24,0x25,0x26,0x27,0x28,0x29,0x29,
  234.         0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,
  235.         0x39,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
  236.         0x48,0x49,0x4A,0x4B,0x4C,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,0x53,0x54,0x55,0x56,
  237.         0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
  238.         0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,
  239.         0x79,0x7A,0x7C,0x7D,0x7E,0x7F,0x80,0x81,0x82,0x83,0x84,0x85,0x87,0x88,0x89,0x8A,
  240.         0x8B,0x8C,0x8D,0x8F,0x90,0x91,0x92,0x93,0x94,0x95,0x97,0x98,0x99,0x9A,0x9B,0x9C,
  241.         0x9D,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA6,0xA7,0xA8,0xA9,0xAA,0xAC,0xAD,0xAE,0xAF,
  242.         0xB0,0xB2,0xB3,0xB4,0xB5,0xB6,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBF,0xC0,0xC1,0xC2,
  243.         0xC4,0xC5,0xC6,0xC7,0xC9,0xCA,0xCB,0xCC,0xCE,0xCF,0xD0,0xD1,0xD2,0xD4,0xD5,0xD6,
  244.         0xD7,0xD9,0xDA,0xDB,0xDC,0xDE,0xDF,0xE0,0xE2,0xE3,0xE4,0xE5,0xE7,0xE8,0xE9,0xEA,
  245.         0xEC,0xED,0xEE,0xF0,0xF1,0xF2,0xF3,0xF5,0xF6,0xF7,0xF9,0xFA,0xFB,0xFC,0xFE,0xFF
  246.     },
  247.  
  248.     /* Gamma = 1.4 */
  249.     {
  250.         0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x03,0x03,0x04,0x04,0x04,0x05,
  251.         0x05,0x06,0x06,0x07,0x07,0x08,0x08,0x09,0x09,0x0A,0x0A,0x0B,0x0C,0x0C,0x0D,0x0D,
  252.         0x0E,0x0F,0x0F,0x10,0x10,0x11,0x12,0x12,0x13,0x14,0x14,0x15,0x16,0x16,0x17,0x18,
  253.         0x19,0x19,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1F,0x1F,0x20,0x21,0x22,0x22,0x23,0x24,
  254.         0x25,0x26,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x31,
  255.         0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,
  256.         0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,
  257.         0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,
  258.         0x61,0x62,0x63,0x64,0x65,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,0x70,0x71,
  259.         0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7C,0x7D,0x7E,0x7F,0x80,0x81,0x82,0x84,
  260.         0x85,0x86,0x87,0x88,0x89,0x8B,0x8C,0x8D,0x8E,0x8F,0x91,0x92,0x93,0x94,0x95,0x97,
  261.         0x98,0x99,0x9A,0x9B,0x9D,0x9E,0x9F,0xA0,0xA1,0xA3,0xA4,0xA5,0xA6,0xA8,0xA9,0xAA,
  262.         0xAB,0xAD,0xAE,0xAF,0xB0,0xB2,0xB3,0xB4,0xB5,0xB7,0xB8,0xB9,0xBB,0xBC,0xBD,0xBE,
  263.         0xC0,0xC1,0xC2,0xC4,0xC5,0xC6,0xC8,0xC9,0xCA,0xCB,0xCD,0xCE,0xCF,0xD1,0xD2,0xD3,
  264.         0xD5,0xD6,0xD7,0xD9,0xDA,0xDB,0xDD,0xDE,0xDF,0xE1,0xE2,0xE3,0xE5,0xE6,0xE8,0xE9,
  265.         0xEA,0xEC,0xED,0xEE,0xF0,0xF1,0xF2,0xF4,0xF5,0xF7,0xF8,0xF9,0xFB,0xFC,0xFE,0xFF
  266.     },
  267.  
  268.     /* Gamma = 1.5 */
  269.     {
  270.         0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x03,0x03,0x03,0x04,
  271.         0x04,0x04,0x05,0x05,0x06,0x06,0x06,0x07,0x07,0x08,0x08,0x09,0x09,0x0A,0x0A,0x0B,
  272.         0x0B,0x0C,0x0C,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x12,0x12,0x13,0x14,0x14,
  273.         0x15,0x15,0x16,0x17,0x17,0x18,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1F,0x1F,
  274.         0x20,0x21,0x22,0x22,0x23,0x24,0x25,0x25,0x26,0x27,0x28,0x29,0x29,0x2A,0x2B,0x2C,
  275.         0x2D,0x2E,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x35,0x36,0x37,0x38,0x39,0x3A,
  276.         0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,
  277.         0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x58,0x59,0x5A,
  278.         0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x66,0x67,0x68,0x69,0x6A,0x6B,
  279.         0x6C,0x6D,0x6E,0x70,0x71,0x72,0x73,0x74,0x75,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7E,
  280.         0x7F,0x80,0x81,0x82,0x84,0x85,0x86,0x87,0x88,0x8A,0x8B,0x8C,0x8D,0x8E,0x90,0x91,
  281.         0x92,0x93,0x95,0x96,0x97,0x98,0x9A,0x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA3,0xA4,0xA5,
  282.         0xA7,0xA8,0xA9,0xAB,0xAC,0xAD,0xAE,0xB0,0xB1,0xB2,0xB4,0xB5,0xB6,0xB8,0xB9,0xBB,
  283.         0xBC,0xBD,0xBF,0xC0,0xC1,0xC3,0xC4,0xC5,0xC7,0xC8,0xCA,0xCB,0xCC,0xCE,0xCF,0xD1,
  284.         0xD2,0xD3,0xD5,0xD6,0xD8,0xD9,0xDA,0xDC,0xDD,0xDF,0xE0,0xE2,0xE3,0xE4,0xE6,0xE7,
  285.         0xE9,0xEA,0xEC,0xED,0xEF,0xF0,0xF2,0xF3,0xF5,0xF6,0xF8,0xF9,0xFB,0xFC,0xFE,0xFF
  286.     },
  287.  
  288.     /* Gamma = 1.6 */
  289.     {
  290.         0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x03,
  291.         0x03,0x03,0x04,0x04,0x04,0x05,0x05,0x05,0x06,0x06,0x07,0x07,0x07,0x08,0x08,0x09,
  292.         0x09,0x0A,0x0A,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,
  293.         0x12,0x12,0x13,0x13,0x14,0x15,0x15,0x16,0x17,0x17,0x18,0x19,0x19,0x1A,0x1B,0x1B,
  294.         0x1C,0x1D,0x1D,0x1E,0x1F,0x1F,0x20,0x21,0x22,0x22,0x23,0x24,0x25,0x26,0x26,0x27,
  295.         0x28,0x29,0x2A,0x2A,0x2B,0x2C,0x2D,0x2E,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,
  296.         0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x40,0x41,0x42,0x43,
  297.         0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,
  298.         0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x61,0x62,0x63,0x64,0x65,
  299.         0x66,0x67,0x68,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,0x71,0x72,0x73,0x74,0x75,0x77,0x78,
  300.         0x79,0x7A,0x7B,0x7D,0x7E,0x7F,0x80,0x82,0x83,0x84,0x85,0x87,0x88,0x89,0x8A,0x8C,
  301.         0x8D,0x8E,0x8F,0x91,0x92,0x93,0x95,0x96,0x97,0x99,0x9A,0x9B,0x9D,0x9E,0x9F,0xA1,
  302.         0xA2,0xA3,0xA5,0xA6,0xA7,0xA9,0xAA,0xAB,0xAD,0xAE,0xB0,0xB1,0xB2,0xB4,0xB5,0xB7,
  303.         0xB8,0xB9,0xBB,0xBC,0xBE,0xBF,0xC1,0xC2,0xC4,0xC5,0xC6,0xC8,0xC9,0xCB,0xCC,0xCE,
  304.         0xCF,0xD1,0xD2,0xD4,0xD5,0xD7,0xD8,0xDA,0xDB,0xDD,0xDE,0xE0,0xE1,0xE3,0xE4,0xE6,
  305.         0xE7,0xE9,0xEB,0xEC,0xEE,0xEF,0xF1,0xF2,0xF4,0xF5,0xF7,0xF9,0xFA,0xFC,0xFD,0xFF
  306.     },
  307.  
  308.     /* Gamma = 1.7 */
  309.     {
  310.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,
  311.         0x02,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x05,0x05,0x05,0x06,0x06,0x06,0x07,0x07,
  312.         0x07,0x08,0x08,0x09,0x09,0x0A,0x0A,0x0A,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0E,0x0E,
  313.         0x0F,0x0F,0x10,0x11,0x11,0x12,0x12,0x13,0x13,0x14,0x15,0x15,0x16,0x16,0x17,0x18,
  314.         0x18,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,0x20,0x21,0x21,0x22,0x23,
  315.         0x24,0x24,0x25,0x26,0x27,0x27,0x28,0x29,0x2A,0x2B,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,
  316.         0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,
  317.         0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,
  318.         0x4F,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
  319.         0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x69,0x6A,0x6B,0x6C,0x6D,0x6F,0x70,0x71,0x72,
  320.         0x73,0x75,0x76,0x77,0x78,0x7A,0x7B,0x7C,0x7D,0x7F,0x80,0x81,0x83,0x84,0x85,0x86,
  321.         0x88,0x89,0x8A,0x8C,0x8D,0x8E,0x90,0x91,0x92,0x94,0x95,0x97,0x98,0x99,0x9B,0x9C,
  322.         0x9D,0x9F,0xA0,0xA2,0xA3,0xA4,0xA6,0xA7,0xA9,0xAA,0xAC,0xAD,0xAE,0xB0,0xB1,0xB3,
  323.         0xB4,0xB6,0xB7,0xB9,0xBA,0xBC,0xBD,0xBF,0xC0,0xC2,0xC3,0xC5,0xC6,0xC8,0xC9,0xCB,
  324.         0xCD,0xCE,0xD0,0xD1,0xD3,0xD4,0xD6,0xD8,0xD9,0xDB,0xDC,0xDE,0xE0,0xE1,0xE3,0xE4,
  325.         0xE6,0xE8,0xE9,0xEB,0xED,0xEE,0xF0,0xF2,0xF3,0xF5,0xF7,0xF8,0xFA,0xFC,0xFD,0xFF
  326.     },
  327.  
  328.     /* Gamma = 1.8 */
  329.     {
  330.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
  331.         0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x04,0x05,0x05,0x05,0x06,
  332.         0x06,0x06,0x07,0x07,0x08,0x08,0x08,0x09,0x09,0x0A,0x0A,0x0A,0x0B,0x0B,0x0C,0x0C,
  333.         0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x13,0x14,0x15,
  334.         0x15,0x16,0x16,0x17,0x18,0x18,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,
  335.         0x20,0x20,0x21,0x22,0x23,0x23,0x24,0x25,0x26,0x26,0x27,0x28,0x29,0x29,0x2A,0x2B,
  336.         0x2C,0x2D,0x2E,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x35,0x36,0x37,0x38,0x39,
  337.         0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,
  338.         0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,0x53,0x54,0x56,0x57,0x58,0x59,0x5A,
  339.         0x5B,0x5C,0x5D,0x5F,0x60,0x61,0x62,0x63,0x64,0x66,0x67,0x68,0x69,0x6B,0x6C,0x6D,
  340.         0x6E,0x6F,0x71,0x72,0x73,0x74,0x76,0x77,0x78,0x7A,0x7B,0x7C,0x7E,0x7F,0x80,0x81,
  341.         0x83,0x84,0x86,0x87,0x88,0x8A,0x8B,0x8C,0x8E,0x8F,0x91,0x92,0x93,0x95,0x96,0x98,
  342.         0x99,0x9A,0x9C,0x9D,0x9F,0xA0,0xA2,0xA3,0xA5,0xA6,0xA8,0xA9,0xAB,0xAC,0xAE,0xAF,
  343.         0xB1,0xB2,0xB4,0xB5,0xB7,0xB8,0xBA,0xBC,0xBD,0xBF,0xC0,0xC2,0xC3,0xC5,0xC7,0xC8,
  344.         0xCA,0xCC,0xCD,0xCF,0xD0,0xD2,0xD4,0xD5,0xD7,0xD9,0xDA,0xDC,0xDE,0xE0,0xE1,0xE3,
  345.         0xE5,0xE6,0xE8,0xEA,0xEC,0xED,0xEF,0xF1,0xF3,0xF4,0xF6,0xF8,0xFA,0xFB,0xFD,0xFF
  346.     },
  347.  
  348.     /* Gamma = 1.9 */
  349.     {
  350.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,
  351.         0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x04,0x05,
  352.         0x05,0x05,0x06,0x06,0x06,0x07,0x07,0x07,0x08,0x08,0x08,0x09,0x09,0x09,0x0A,0x0A,
  353.         0x0B,0x0B,0x0C,0x0C,0x0C,0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x11,0x12,
  354.         0x12,0x13,0x14,0x14,0x15,0x15,0x16,0x16,0x17,0x18,0x18,0x19,0x1A,0x1A,0x1B,0x1C,
  355.         0x1C,0x1D,0x1E,0x1E,0x1F,0x20,0x20,0x21,0x22,0x23,0x23,0x24,0x25,0x26,0x26,0x27,
  356.         0x28,0x29,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,
  357.         0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,
  358.         0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x51,0x52,0x53,0x54,0x55,
  359.         0x56,0x57,0x58,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x61,0x62,0x63,0x64,0x65,0x67,0x68,
  360.         0x69,0x6A,0x6C,0x6D,0x6E,0x70,0x71,0x72,0x73,0x75,0x76,0x77,0x79,0x7A,0x7B,0x7D,
  361.         0x7E,0x7F,0x81,0x82,0x84,0x85,0x86,0x88,0x89,0x8B,0x8C,0x8D,0x8F,0x90,0x92,0x93,
  362.         0x95,0x96,0x98,0x99,0x9B,0x9C,0x9E,0x9F,0xA1,0xA2,0xA4,0xA5,0xA7,0xA8,0xAA,0xAC,
  363.         0xAD,0xAF,0xB0,0xB2,0xB4,0xB5,0xB7,0xB8,0xBA,0xBC,0xBD,0xBF,0xC1,0xC2,0xC4,0xC6,
  364.         0xC7,0xC9,0xCB,0xCC,0xCE,0xD0,0xD2,0xD3,0xD5,0xD7,0xD9,0xDA,0xDC,0xDE,0xE0,0xE1,
  365.         0xE3,0xE5,0xE7,0xE9,0xEB,0xEC,0xEE,0xF0,0xF2,0xF4,0xF6,0xF7,0xF9,0xFB,0xFD,0xFF
  366.     },
  367.  
  368.     /* Gamma = 2.0 */
  369.     {
  370.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,
  371.         0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x04,0x04,
  372.         0x04,0x04,0x05,0x05,0x05,0x05,0x06,0x06,0x06,0x07,0x07,0x07,0x08,0x08,0x08,0x09,
  373.         0x09,0x09,0x0A,0x0A,0x0B,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,
  374.         0x10,0x11,0x11,0x12,0x12,0x13,0x13,0x14,0x14,0x15,0x15,0x16,0x17,0x17,0x18,0x18,
  375.         0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,0x20,0x20,0x21,0x22,0x23,0x23,
  376.         0x24,0x25,0x26,0x26,0x27,0x28,0x29,0x2A,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x2F,0x30,
  377.         0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
  378.         0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,
  379.         0x51,0x52,0x54,0x55,0x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x61,0x62,0x63,
  380.         0x64,0x66,0x67,0x68,0x69,0x6B,0x6C,0x6D,0x6F,0x70,0x71,0x73,0x74,0x75,0x77,0x78,
  381.         0x79,0x7B,0x7C,0x7E,0x7F,0x80,0x82,0x83,0x85,0x86,0x88,0x89,0x8B,0x8C,0x8E,0x8F,
  382.         0x91,0x92,0x94,0x95,0x97,0x98,0x9A,0x9B,0x9D,0x9E,0xA0,0xA2,0xA3,0xA5,0xA6,0xA8,
  383.         0xAA,0xAB,0xAD,0xAF,0xB0,0xB2,0xB4,0xB5,0xB7,0xB9,0xBA,0xBC,0xBE,0xC0,0xC1,0xC3,
  384.         0xC5,0xC7,0xC8,0xCA,0xCC,0xCE,0xCF,0xD1,0xD3,0xD5,0xD7,0xD9,0xDA,0xDC,0xDE,0xE0,
  385.         0xE2,0xE4,0xE6,0xE8,0xE9,0xEB,0xED,0xEF,0xF1,0xF3,0xF5,0xF7,0xF9,0xFB,0xFD,0xFF
  386.     },
  387.  
  388.     /* Gamma = 2.1 */
  389.     {
  390.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,
  391.         0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,
  392.         0x03,0x03,0x04,0x04,0x04,0x04,0x05,0x05,0x05,0x05,0x06,0x06,0x06,0x07,0x07,0x07,
  393.         0x08,0x08,0x08,0x09,0x09,0x09,0x0A,0x0A,0x0B,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0E,
  394.         0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x14,0x14,0x15,0x15,0x16,
  395.         0x16,0x17,0x18,0x18,0x19,0x19,0x1A,0x1B,0x1B,0x1C,0x1D,0x1D,0x1E,0x1F,0x1F,0x20,
  396.         0x21,0x21,0x22,0x23,0x24,0x24,0x25,0x26,0x27,0x28,0x28,0x29,0x2A,0x2B,0x2C,0x2C,
  397.         0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,
  398.         0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4B,0x4C,
  399.         0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x55,0x56,0x57,0x58,0x5A,0x5B,0x5C,0x5D,0x5F,
  400.         0x60,0x61,0x62,0x64,0x65,0x66,0x68,0x69,0x6A,0x6B,0x6D,0x6E,0x70,0x71,0x72,0x74,
  401.         0x75,0x76,0x78,0x79,0x7B,0x7C,0x7E,0x7F,0x81,0x82,0x83,0x85,0x86,0x88,0x89,0x8B,
  402.         0x8D,0x8E,0x90,0x91,0x93,0x94,0x96,0x97,0x99,0x9B,0x9C,0x9E,0xA0,0xA1,0xA3,0xA5,
  403.         0xA6,0xA8,0xAA,0xAB,0xAD,0xAF,0xB0,0xB2,0xB4,0xB6,0xB7,0xB9,0xBB,0xBD,0xBF,0xC0,
  404.         0xC2,0xC4,0xC6,0xC8,0xCA,0xCB,0xCD,0xCF,0xD1,0xD3,0xD5,0xD7,0xD9,0xDB,0xDD,0xDF,
  405.         0xE1,0xE2,0xE4,0xE6,0xE8,0xEA,0xEC,0xEE,0xF1,0xF3,0xF5,0xF7,0xF9,0xFB,0xFD,0xFF
  406.     },
  407.  
  408.     /* Gamma = 2.2 */
  409.     {
  410.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
  411.         0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
  412.         0x03,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x04,0x05,0x05,0x05,0x05,0x06,0x06,0x06,
  413.         0x06,0x07,0x07,0x07,0x08,0x08,0x08,0x09,0x09,0x09,0x0A,0x0A,0x0B,0x0B,0x0B,0x0C,
  414.         0x0C,0x0D,0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x13,
  415.         0x14,0x14,0x15,0x16,0x16,0x17,0x17,0x18,0x19,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,
  416.         0x1E,0x1E,0x1F,0x20,0x21,0x21,0x22,0x23,0x23,0x24,0x25,0x26,0x27,0x27,0x28,0x29,
  417.         0x2A,0x2B,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
  418.         0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
  419.         0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x51,0x52,0x53,0x54,0x55,0x57,0x58,0x59,0x5A,
  420.         0x5B,0x5D,0x5E,0x5F,0x61,0x62,0x63,0x64,0x66,0x67,0x69,0x6A,0x6B,0x6D,0x6E,0x6F,
  421.         0x71,0x72,0x74,0x75,0x77,0x78,0x79,0x7B,0x7C,0x7E,0x7F,0x81,0x82,0x84,0x85,0x87,
  422.         0x89,0x8A,0x8C,0x8D,0x8F,0x91,0x92,0x94,0x95,0x97,0x99,0x9A,0x9C,0x9E,0x9F,0xA1,
  423.         0xA3,0xA5,0xA6,0xA8,0xAA,0xAC,0xAD,0xAF,0xB1,0xB3,0xB5,0xB6,0xB8,0xBA,0xBC,0xBE,
  424.         0xC0,0xC2,0xC4,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,0xD3,0xD5,0xD7,0xD9,0xDB,0xDD,
  425.         0xDF,0xE1,0xE3,0xE5,0xE7,0xEA,0xEC,0xEE,0xF0,0xF2,0xF4,0xF6,0xF8,0xFB,0xFD,0xFF
  426.     },
  427.  
  428.     /* Gamma = 2.3 */
  429.     {
  430.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  431.         0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,
  432.         0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x04,0x04,0x05,0x05,0x05,
  433.         0x05,0x06,0x06,0x06,0x07,0x07,0x07,0x07,0x08,0x08,0x08,0x09,0x09,0x0A,0x0A,0x0A,
  434.         0x0B,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0D,0x0E,0x0E,0x0F,0x0F,0x10,0x10,0x11,0x11,
  435.         0x12,0x12,0x13,0x13,0x14,0x14,0x15,0x15,0x16,0x17,0x17,0x18,0x18,0x19,0x1A,0x1A,
  436.         0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,0x20,0x20,0x21,0x22,0x23,0x23,0x24,0x25,0x26,
  437.         0x26,0x27,0x28,0x29,0x2A,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x31,0x32,0x33,
  438.         0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,
  439.         0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4E,0x4F,0x50,0x51,0x52,0x54,0x55,0x56,
  440.         0x57,0x59,0x5A,0x5B,0x5C,0x5E,0x5F,0x60,0x62,0x63,0x64,0x66,0x67,0x68,0x6A,0x6B,
  441.         0x6D,0x6E,0x70,0x71,0x72,0x74,0x75,0x77,0x78,0x7A,0x7B,0x7D,0x7E,0x80,0x82,0x83,
  442.         0x85,0x86,0x88,0x8A,0x8B,0x8D,0x8F,0x90,0x92,0x94,0x95,0x97,0x99,0x9A,0x9C,0x9E,
  443.         0xA0,0xA1,0xA3,0xA5,0xA7,0xA9,0xAA,0xAC,0xAE,0xB0,0xB2,0xB4,0xB6,0xB7,0xB9,0xBB,
  444.         0xBD,0xBF,0xC1,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,0xD3,0xD5,0xD7,0xDA,0xDC,
  445.         0xDE,0xE0,0xE2,0xE4,0xE6,0xE9,0xEB,0xED,0xEF,0xF1,0xF4,0xF6,0xF8,0xFA,0xFD,0xFF
  446.     },
  447.  
  448.     /* Gamma = 2.4 */
  449.     {
  450.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  451.         0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
  452.         0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x03,0x04,0x04,0x04,0x04,0x04,
  453.         0x05,0x05,0x05,0x05,0x06,0x06,0x06,0x06,0x07,0x07,0x07,0x08,0x08,0x08,0x09,0x09,
  454.         0x09,0x0A,0x0A,0x0A,0x0B,0x0B,0x0B,0x0C,0x0C,0x0D,0x0D,0x0E,0x0E,0x0E,0x0F,0x0F,
  455.         0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x13,0x14,0x14,0x15,0x16,0x16,0x17,0x17,0x18,
  456.         0x18,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,0x20,0x20,0x21,0x22,0x23,
  457.         0x23,0x24,0x25,0x26,0x27,0x27,0x28,0x29,0x2A,0x2B,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,
  458.         0x31,0x32,0x33,0x34,0x35,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3E,0x3F,0x40,
  459.         0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x50,0x51,0x52,
  460.         0x53,0x55,0x56,0x57,0x58,0x5A,0x5B,0x5C,0x5E,0x5F,0x60,0x62,0x63,0x64,0x66,0x67,
  461.         0x69,0x6A,0x6C,0x6D,0x6F,0x70,0x72,0x73,0x75,0x76,0x78,0x79,0x7B,0x7C,0x7E,0x7F,
  462.         0x81,0x83,0x84,0x86,0x88,0x89,0x8B,0x8D,0x8E,0x90,0x92,0x94,0x95,0x97,0x99,0x9B,
  463.         0x9C,0x9E,0xA0,0xA2,0xA4,0xA6,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,
  464.         0xBB,0xBD,0xBF,0xC1,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD2,0xD4,0xD6,0xD8,0xDA,
  465.         0xDC,0xDF,0xE1,0xE3,0xE5,0xE8,0xEA,0xEC,0xEF,0xF1,0xF3,0xF6,0xF8,0xFA,0xFD,0xFF
  466.     },
  467.  
  468.     /* Gamma = 2.5 */
  469.     {
  470.         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  471.         0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
  472.         0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x03,0x03,0x03,0x04,0x04,
  473.         0x04,0x04,0x04,0x05,0x05,0x05,0x05,0x06,0x06,0x06,0x06,0x07,0x07,0x07,0x07,0x08,
  474.         0x08,0x08,0x09,0x09,0x09,0x0A,0x0A,0x0A,0x0B,0x0B,0x0C,0x0C,0x0C,0x0D,0x0D,0x0E,
  475.         0x0E,0x0F,0x0F,0x0F,0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x13,0x14,0x14,0x15,0x16,
  476.         0x16,0x17,0x17,0x18,0x19,0x19,0x1A,0x1A,0x1B,0x1C,0x1C,0x1D,0x1E,0x1E,0x1F,0x20,
  477.         0x21,0x21,0x22,0x23,0x24,0x24,0x25,0x26,0x27,0x28,0x28,0x29,0x2A,0x2B,0x2C,0x2D,
  478.         0x2E,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,
  479.         0x3D,0x3E,0x3F,0x40,0x41,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4B,0x4C,0x4D,0x4E,
  480.         0x50,0x51,0x52,0x53,0x55,0x56,0x57,0x59,0x5A,0x5B,0x5D,0x5E,0x5F,0x61,0x62,0x63,
  481.         0x65,0x66,0x68,0x69,0x6B,0x6C,0x6E,0x6F,0x71,0x72,0x74,0x75,0x77,0x79,0x7A,0x7C,
  482.         0x7D,0x7F,0x81,0x82,0x84,0x86,0x87,0x89,0x8B,0x8D,0x8E,0x90,0x92,0x94,0x96,0x97,
  483.         0x99,0x9B,0x9D,0x9F,0xA1,0xA3,0xA5,0xA6,0xA8,0xAA,0xAC,0xAE,0xB0,0xB2,0xB4,0xB6,
  484.         0xB8,0xBA,0xBD,0xBF,0xC1,0xC3,0xC5,0xC7,0xC9,0xCC,0xCE,0xD0,0xD2,0xD4,0xD7,0xD9,
  485.         0xDB,0xDD,0xE0,0xE2,0xE4,0xE7,0xE9,0xEB,0xEE,0xF0,0xF3,0xF5,0xF8,0xFA,0xFD,0xFF
  486.     }
  487. };
  488.  
  489. /****************************************************************************/
  490.  
  491. #endif /* CONFIG_SUPPORTS_COLOR */
  492.