Lines Matching refs:palette
51 // Specify an optional palette pointer to receive the resulting palette.
52 // This palette may be passed to ConvertImageToBitmap, for example.
53 // If you pass a palette pointer, you must free the palette yourself.
58 // This version sets a palette in the destination image so you don't
66 // Converts input bitmap(s) into 8bit representation with custom palette
70 // fills out_rows with indexes into palette (which is also stored into palette variable)
71 static void DoQuantize(unsigned w, unsigned h, unsigned char **in_rows, unsigned char **out_rows, unsigned char *palette, int desiredNoColours);