Lines Matching defs:palette
57 * color palette, apparently. Some creation tools specify red, green, and
58 * blue palette components in terms of 6-bit VGA color DAC values which
63 * - load the 768 palette bytes from disk
66 * - scan through all 768 palette bytes
262 uint32_t palette[256];
272 /* trigger a palette change */
280 /* scale the palette as necessary */
292 palette[i] = (0xFFU << 24) | (r << 16) | (g << 8) | (b);
294 palette[i] |= palette[i] >> 6 & 0x30303;
325 memcpy(pal, palette, AVPALETTE_SIZE);