Home
last modified time | relevance | path

Searched refs:OutputColorMap (Results 1 – 3 of 3) sorted by relevance

/third_party/giflib/
Dquantize.c68 GifColorType * OutputColorMap) { in GifQuantizeBuffer() argument
137 OutputColorMap[i].Red = OutputColorMap[i].Green = in GifQuantizeBuffer()
138 OutputColorMap[i].Blue = 0; in GifQuantizeBuffer()
154 OutputColorMap[i].Red = (Red << (8 - BITS_PER_PRIM_COLOR)) / j; in GifQuantizeBuffer()
155 OutputColorMap[i].Green = (Green << (8 - BITS_PER_PRIM_COLOR)) / j; in GifQuantizeBuffer()
156 OutputColorMap[i].Blue = (Blue << (8 - BITS_PER_PRIM_COLOR)) / j; in GifQuantizeBuffer()
171 if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i])) in GifQuantizeBuffer()
172 MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]); in GifQuantizeBuffer()
173 if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i])) in GifQuantizeBuffer()
174 MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]); in GifQuantizeBuffer()
[all …]
Dgif2rgb.c61 int ExpColorMapSize, ColorMapObject *OutputColorMap);
164 int ExpColorMapSize, ColorMapObject *OutputColorMap) in SaveGif() argument
178 OutputColorMap) == GIF_ERROR || in SaveGif()
213 ColorMapObject *OutputColorMap = NULL; in RGB2GIF() local
226 if ((OutputColorMap = GifMakeMapObject(ColorMapSize, NULL)) == NULL || in RGB2GIF()
233 OutputBuffer, OutputColorMap->Colors) == GIF_ERROR) in RGB2GIF()
239 SaveGif(OutputBuffer, Width, Height, ExpNumOfColors, OutputColorMap); in RGB2GIF()
Dgetarg.h44 GifColorType * OutputColorMap);