//
// Header for 3Deep GammaRamp
// (c) Copyright 1998, Sonnetech, Ltd.
//

#ifndef _3DEEP_GAMMARAMP_H_
#define _3DEEP_GAMMARAMP_H_

// 3 arrays of 256 words in RGB order
// with values packed in the most significant bits.
//
WORD awHomeworldLUT[3][256] = {
{
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,   256,   256,   256,
  256,   256,   256,   256,   256,   256,   512,   512,
  512,   512,   512,   512,   768,   768,   768,   768,
 1024,  1024,  1024,  1024,  1280,  1280,  1280,  1280,
 1536,  1536,  1536,  1792,  1792,  1792,  2048,  2048,
 2048,  2304,  2304,  2304,  2560,  2560,  2816,  2816,
 3072,  3072,  3072,  3328,  3328,  3584,  3584,  3840,
 3840,  4096,  4096,  4352,  4352,  4608,  4864,  4864,
 5120,  5120,  5376,  5376,  5632,  5888,  5888,  6144,
 6400,  6400,  6656,  6912,  6912,  7168,  7424,  7424,
 7680,  7936,  8192,  8192,  8448,  8704,  8960,  9216,
 9216,  9472,  9728,  9984, 10240, 10240, 10496, 10752,
11008, 11264, 11520, 11776, 12032, 12288, 12544, 12544,
12800, 13056, 13312, 13568, 13824, 14080, 14336, 14592,
14848, 15104, 15616, 15872, 16128, 16384, 16640, 16896,
17152, 17408, 17664, 17920, 18432, 18688, 18944, 19200,
19456, 19968, 20224, 20480, 20736, 20992, 21504, 21760,
22016, 22528, 22784, 23040, 23296, 23808, 24064, 24320,
24832, 25088, 25600, 25856, 26112, 26624, 26880, 27392,
27648, 27904, 28416, 28672, 29184, 29440, 29952, 30208,
30720, 30976, 31488, 32000, 32256, 32768, 33024, 33536,
33792, 34304, 34816, 35072, 35584, 36096, 36352, 36864,
37376, 37632, 38144, 38656, 39168, 39424, 39936, 40448,
40960, 41216, 41728, 42240, 42752, 43264, 43520, 44032,
44544, 45056, 45568, 46080, 46592, 47104, 47616, 47872,
48384, 48896, 49408, 49920, 50432, 50944, 51456, 51968,
52480, 52992, 53504, 54016, 54784, 55296, 55808, 56320,
56832, 57344, 57856, 58368, 59136, 59648, 60160, 60672,
61184, 61696, 62464, 62976, 63488, 64000, 64768, 65280
},
{
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,   256,   256,   256,
  256,   256,   256,   256,   256,   256,   512,   512,
  512,   512,   512,   512,   768,   768,   768,   768,
 1024,  1024,  1024,  1024,  1280,  1280,  1280,  1280,
 1536,  1536,  1536,  1792,  1792,  1792,  2048,  2048,
 2048,  2304,  2304,  2304,  2560,  2560,  2816,  2816,
 3072,  3072,  3072,  3328,  3328,  3584,  3584,  3840,
 3840,  4096,  4096,  4352,  4352,  4608,  4864,  4864,
 5120,  5120,  5376,  5376,  5632,  5888,  5888,  6144,
 6400,  6400,  6656,  6912,  6912,  7168,  7424,  7424,
 7680,  7936,  8192,  8192,  8448,  8704,  8960,  9216,
 9216,  9472,  9728,  9984, 10240, 10240, 10496, 10752,
11008, 11264, 11520, 11776, 12032, 12288, 12544, 12544,
12800, 13056, 13312, 13568, 13824, 14080, 14336, 14592,
14848, 15104, 15616, 15872, 16128, 16384, 16640, 16896,
17152, 17408, 17664, 17920, 18432, 18688, 18944, 19200,
19456, 19968, 20224, 20480, 20736, 20992, 21504, 21760,
22016, 22528, 22784, 23040, 23296, 23808, 24064, 24320,
24832, 25088, 25600, 25856, 26112, 26624, 26880, 27392,
27648, 27904, 28416, 28672, 29184, 29440, 29952, 30208,
30720, 30976, 31488, 32000, 32256, 32768, 33024, 33536,
33792, 34304, 34816, 35072, 35584, 36096, 36352, 36864,
37376, 37632, 38144, 38656, 39168, 39424, 39936, 40448,
40960, 41216, 41728, 42240, 42752, 43264, 43520, 44032,
44544, 45056, 45568, 46080, 46592, 47104, 47616, 47872,
48384, 48896, 49408, 49920, 50432, 50944, 51456, 51968,
52480, 52992, 53504, 54016, 54784, 55296, 55808, 56320,
56832, 57344, 57856, 58368, 59136, 59648, 60160, 60672,
61184, 61696, 62464, 62976, 63488, 64000, 64768, 65280
},
{
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,     0,     0,     0,
    0,     0,     0,     0,     0,   256,   256,   256,
  256,   256,   256,   256,   256,   256,   512,   512,
  512,   512,   512,   512,   768,   768,   768,   768,
 1024,  1024,  1024,  1024,  1280,  1280,  1280,  1280,
 1536,  1536,  1536,  1792,  1792,  1792,  2048,  2048,
 2048,  2304,  2304,  2304,  2560,  2560,  2816,  2816,
 3072,  3072,  3072,  3328,  3328,  3584,  3584,  3840,
 3840,  4096,  4096,  4352,  4352,  4608,  4864,  4864,
 5120,  5120,  5376,  5376,  5632,  5888,  5888,  6144,
 6400,  6400,  6656,  6912,  6912,  7168,  7424,  7424,
 7680,  7936,  8192,  8192,  8448,  8704,  8960,  9216,
 9216,  9472,  9728,  9984, 10240, 10240, 10496, 10752,
11008, 11264, 11520, 11776, 12032, 12288, 12544, 12544,
12800, 13056, 13312, 13568, 13824, 14080, 14336, 14592,
14848, 15104, 15616, 15872, 16128, 16384, 16640, 16896,
17152, 17408, 17664, 17920, 18432, 18688, 18944, 19200,
19456, 19968, 20224, 20480, 20736, 20992, 21504, 21760,
22016, 22528, 22784, 23040, 23296, 23808, 24064, 24320,
24832, 25088, 25600, 25856, 26112, 26624, 26880, 27392,
27648, 27904, 28416, 28672, 29184, 29440, 29952, 30208,
30720, 30976, 31488, 32000, 32256, 32768, 33024, 33536,
33792, 34304, 34816, 35072, 35584, 36096, 36352, 36864,
37376, 37632, 38144, 38656, 39168, 39424, 39936, 40448,
40960, 41216, 41728, 42240, 42752, 43264, 43520, 44032,
44544, 45056, 45568, 46080, 46592, 47104, 47616, 47872,
48384, 48896, 49408, 49920, 50432, 50944, 51456, 51968,
52480, 52992, 53504, 54016, 54784, 55296, 55808, 56320,
56832, 57344, 57856, 58368, 59136, 59648, 60160, 60672,
61184, 61696, 62464, 62976, 63488, 64000, 64768, 65280
}
};

#endif

