windows-nt/Source/XPSP1/NT/multimedia/media/avi/drawdib.16/dpal775.h
2020-09-26 16:20:57 +08:00

259 lines
5.4 KiB
C

int dpal775[256][3] = {
{0x00, 0x00, 0x00}, /* cosmic colors */
{0x00, 0x00, 0x80},
{0x00, 0x80, 0x00},
{0x00, 0x80, 0x80},
{0x80, 0x00, 0x00},
{0x80, 0x00, 0x80},
{0x80, 0x80, 0x00},
{0x00, 0x00, 0x00}, // {0xc0, 0xc0, 0xc0}, //not used
{0x00, 0x00, 0x00}, // {0xc0, 0xdc, 0xc0}, //not used
{0x00, 0x00, 0x00}, // {0xf0, 0xca, 0xa6}, //not used
{0x00, 0x00, 0x40},
{0x00, 0x00, 0xc0},
{0x00, 0x2b, 0x00},
{0x00, 0x2b, 0x40},
{0x00, 0x2b, 0x80},
{0x00, 0x2b, 0xbf},
{0x00, 0x2b, 0xff},
{0x00, 0x55, 0x00},
{0x00, 0x55, 0x40},
{0x00, 0x55, 0x80},
{0x00, 0x55, 0xbf},
{0x00, 0x55, 0xff},
{0x00, 0x80, 0x40},
{0x00, 0x80, 0xbf},
{0x00, 0x80, 0xff},
{0x00, 0xaa, 0x00},
{0x00, 0xaa, 0x40},
{0x00, 0xaa, 0x80},
{0x00, 0xaa, 0xbf},
{0x00, 0xaa, 0xff},
{0x00, 0xd5, 0x00},
{0x00, 0xd5, 0x40},
{0x00, 0xd5, 0x80},
{0x00, 0xd5, 0xbf},
{0x00, 0xd5, 0xff},
{0x00, 0xff, 0x40},
{0x00, 0xff, 0x80},
{0x00, 0xff, 0xbf},
{0x2b, 0x00, 0x00},
{0x2b, 0x00, 0x40},
{0x2b, 0x00, 0x80},
{0x2b, 0x00, 0xbf},
{0x2b, 0x00, 0xff},
{0x2b, 0x2b, 0x00},
{0x2b, 0x2b, 0x40},
{0x2b, 0x2b, 0x80},
{0x2b, 0x2b, 0xbf},
{0x2b, 0x2b, 0xff},
{0x2b, 0x55, 0x00},
{0x2b, 0x55, 0x40},
{0x2b, 0x55, 0x80},
{0x2b, 0x55, 0xbf},
{0x2b, 0x55, 0xff},
{0x2b, 0x80, 0x00},
{0x2b, 0x80, 0x40},
{0x2b, 0x80, 0x80},
{0x2b, 0x80, 0xbf},
{0x2b, 0x80, 0xff},
{0x2b, 0xaa, 0x00},
{0x2b, 0xaa, 0x40},
{0x2b, 0xaa, 0x80},
{0x2b, 0xaa, 0xbf},
{0x2b, 0xaa, 0xff},
{0x2b, 0xd5, 0x00},
{0x2b, 0xd5, 0x40},
{0x2b, 0xd5, 0x80},
{0x2b, 0xd5, 0xbf},
{0x2b, 0xd5, 0xff},
{0x2b, 0xff, 0x00},
{0x2b, 0xff, 0x40},
{0x2b, 0xff, 0x80},
{0x2b, 0xff, 0xbf},
{0x2b, 0xff, 0xff},
{0x55, 0x00, 0x00},
{0x55, 0x00, 0x40},
{0x55, 0x00, 0x80},
{0x55, 0x00, 0xbf},
{0x55, 0x00, 0xff},
{0x55, 0x2b, 0x00},
{0x55, 0x2b, 0x40},
{0x55, 0x2b, 0x80},
{0x55, 0x2b, 0xbf},
{0x55, 0x2b, 0xff},
{0x55, 0x55, 0x00},
{0x55, 0x55, 0x40},
{0x55, 0x55, 0x80},
{0x55, 0x55, 0xbf},
{0x55, 0x55, 0xff},
{0x55, 0x80, 0x00},
{0x55, 0x80, 0x40},
{0x55, 0x80, 0x80},
{0x55, 0x80, 0xbf},
{0x55, 0x80, 0xff},
{0x55, 0xaa, 0x00},
{0x55, 0xaa, 0x40},
{0x55, 0xaa, 0x80},
{0x55, 0xaa, 0xbf},
{0x55, 0xaa, 0xff},
{0x55, 0xd5, 0x00},
{0x55, 0xd5, 0x40},
{0x55, 0xd5, 0x80},
{0x55, 0xd5, 0xbf},
{0x55, 0xd5, 0xff},
{0x55, 0xff, 0x00},
{0x55, 0xff, 0x40},
{0x55, 0xff, 0x80},
{0x55, 0xff, 0xbf},
{0x55, 0xff, 0xff},
{0x80, 0x00, 0x40},
{0x80, 0x00, 0xbf},
{0x80, 0x00, 0xff},
{0x80, 0x2b, 0x00},
{0x80, 0x2b, 0x40},
{0x80, 0x2b, 0x80},
{0x80, 0x2b, 0xbf},
{0x80, 0x2b, 0xff},
{0x80, 0x55, 0x00},
{0x80, 0x55, 0x40},
{0x80, 0x55, 0x80},
{0x80, 0x55, 0xbf},
{0x80, 0x55, 0xff},
{0x80, 0x80, 0x40},
{0x80, 0x80, 0xbf},
{0x80, 0x80, 0xff},
{0x80, 0xaa, 0x00},
{0x80, 0xaa, 0x40},
{0x80, 0xaa, 0x80},
{0x80, 0xaa, 0xbf},
{0x80, 0xaa, 0xff},
{0x80, 0xd5, 0x00},
{0x80, 0xd5, 0x40},
{0x80, 0xd5, 0x80},
{0x80, 0xd5, 0xbf},
{0x80, 0xd5, 0xff},
{0x80, 0xff, 0x00},
{0x80, 0xff, 0x40},
{0x80, 0xff, 0x80},
{0x80, 0xff, 0xbf},
{0x80, 0xff, 0xff},
{0xaa, 0x00, 0x00},
{0xaa, 0x00, 0x40},
{0xaa, 0x00, 0x80},
{0xaa, 0x00, 0xbf},
{0xaa, 0x00, 0xff},
{0xaa, 0x2b, 0x00},
{0xaa, 0x2b, 0x40},
{0xaa, 0x2b, 0x80},
{0xaa, 0x2b, 0xbf},
{0xaa, 0x2b, 0xff},
{0xaa, 0x55, 0x00},
{0xaa, 0x55, 0x40},
{0xaa, 0x55, 0x80},
{0xaa, 0x55, 0xbf},
{0xaa, 0x55, 0xff},
{0xaa, 0x80, 0x00},
{0xaa, 0x80, 0x40},
{0xaa, 0x80, 0x80},
{0xaa, 0x80, 0xbf},
{0xaa, 0x80, 0xff},
{0xaa, 0xaa, 0x00},
{0xaa, 0xaa, 0x40},
{0xaa, 0xaa, 0x80},
{0xaa, 0xaa, 0xbf},
{0xaa, 0xaa, 0xff},
{0xaa, 0xd5, 0x00},
{0xaa, 0xd5, 0x40},
{0xaa, 0xd5, 0x80},
{0xaa, 0xd5, 0xbf},
{0xaa, 0xd5, 0xff},
{0xaa, 0xff, 0x00},
{0xaa, 0xff, 0x40},
{0xaa, 0xff, 0x80},
{0xaa, 0xff, 0xbf},
{0xaa, 0xff, 0xff},
{0xd5, 0x00, 0x00},
{0xd5, 0x00, 0x40},
{0xd5, 0x00, 0x80},
{0xd5, 0x00, 0xbf},
{0xd5, 0x00, 0xff},
{0xd5, 0x2b, 0x00},
{0xd5, 0x2b, 0x40},
{0xd5, 0x2b, 0x80},
{0xd5, 0x2b, 0xbf},
{0xd5, 0x2b, 0xff},
{0xd5, 0x55, 0x00},
{0xd5, 0x55, 0x40},
{0xd5, 0x55, 0x80},
{0xd5, 0x55, 0xbf},
{0xd5, 0x55, 0xff},
{0xd5, 0x80, 0x00},
{0xd5, 0x80, 0x40},
{0xd5, 0x80, 0x80},
{0xd5, 0x80, 0xbf},
{0xd5, 0x80, 0xff},
{0xd5, 0xaa, 0x00},
{0xd5, 0xaa, 0x40},
{0xd5, 0xaa, 0x80},
{0xd5, 0xaa, 0xbf},
{0xd5, 0xaa, 0xff},
{0xd5, 0xd5, 0x00},
{0xd5, 0xd5, 0x40},
{0xd5, 0xd5, 0x80},
{0xd5, 0xd5, 0xbf},
{0xd5, 0xd5, 0xff},
{0xd5, 0xff, 0x00},
{0xd5, 0xff, 0x40},
{0xd5, 0xff, 0x80},
{0xd5, 0xff, 0xbf},
{0xd5, 0xff, 0xff},
{0xff, 0x00, 0x40},
{0xff, 0x00, 0x80},
{0xff, 0x00, 0xbf},
{0xff, 0x2b, 0x00},
{0xff, 0x2b, 0x40},
{0xff, 0x2b, 0x80},
{0xff, 0x2b, 0xbf},
{0xff, 0x2b, 0xff},
{0xff, 0x55, 0x00},
{0xff, 0x55, 0x40},
{0xff, 0x55, 0x80},
{0xff, 0x55, 0xbf},
{0xff, 0x55, 0xff},
{0xff, 0x80, 0x00},
{0xff, 0x80, 0x40},
{0xff, 0x80, 0x80},
{0xff, 0x80, 0xbf},
{0xff, 0x80, 0xff},
{0xff, 0xaa, 0x00},
{0xff, 0xaa, 0x40},
{0xff, 0xaa, 0x80},
{0xff, 0xaa, 0xbf},
{0xff, 0xaa, 0xff},
{0xff, 0xd5, 0x00},
{0xff, 0xd5, 0x40},
{0xff, 0xd5, 0x80},
{0xff, 0xd5, 0xbf},
{0xff, 0xd5, 0xff},
{0xff, 0xff, 0x40},
{0xff, 0xff, 0x80},
{0xff, 0xff, 0xbf},
{0x00, 0x00, 0x01}, /* six extra colors */
{0x00, 0x00, 0x02},
{0x00, 0x00, 0x03},
{0x00, 0x00, 0x04},
{0x00, 0x00, 0x05},
{0x00, 0x00, 0x06},
{0x00, 0x00, 0x00}, // {0xf0, 0xfb, 0xff}, //not used
{0x00, 0x00, 0x00}, // {0xa4, 0xa0, 0xa0}, //not used
{0x80, 0x80, 0x80},
{0x00, 0x00, 0xff},
{0x00, 0xff, 0x00},
{0x00, 0xff, 0xff},
{0xff, 0x00, 0x00},
{0xff, 0x00, 0xff},
{0xff, 0xff, 0x00},
{0xff, 0xff, 0xff}
};