• Home
  • Raw
  • Download

Lines Matching refs:QuantizedColor

73     QuantizedColorType *ColorArrayEntries, *QuantizedColor;  in GifQuantizeBuffer()  local
114 QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i]; in GifQuantizeBuffer()
118 QuantizedColor->Pnext = &ColorArrayEntries[i]; in GifQuantizeBuffer()
119 QuantizedColor = &ColorArrayEntries[i]; in GifQuantizeBuffer()
122 QuantizedColor->Pnext = NULL; in GifQuantizeBuffer()
143 QuantizedColor = NewColorSubdiv[i].QuantizedColors; in GifQuantizeBuffer()
145 while (QuantizedColor) { in GifQuantizeBuffer()
146 QuantizedColor->NewColorIndex = i; in GifQuantizeBuffer()
147 Red += QuantizedColor->RGB[0]; in GifQuantizeBuffer()
148 Green += QuantizedColor->RGB[1]; in GifQuantizeBuffer()
149 Blue += QuantizedColor->RGB[2]; in GifQuantizeBuffer()
150 QuantizedColor = QuantizedColor->Pnext; in GifQuantizeBuffer()
204 QuantizedColorType *QuantizedColor, **SortArray; in SubdivColorMap() local
232 for (j = 0, QuantizedColor = NewColorSubdiv[Index].QuantizedColors; in SubdivColorMap()
233 j < NewColorSubdiv[Index].NumEntries && QuantizedColor != NULL; in SubdivColorMap()
234 j++, QuantizedColor = QuantizedColor->Pnext) in SubdivColorMap()
235 SortArray[j] = QuantizedColor; in SubdivColorMap()
255 NewColorSubdiv[Index].QuantizedColors = QuantizedColor = SortArray[0]; in SubdivColorMap()
259 Sum = NewColorSubdiv[Index].Count / 2 - QuantizedColor->Count; in SubdivColorMap()
261 Count = QuantizedColor->Count; in SubdivColorMap()
262 while (QuantizedColor->Pnext != NULL && in SubdivColorMap()
263 (Sum -= QuantizedColor->Pnext->Count) >= 0 && in SubdivColorMap()
264 QuantizedColor->Pnext->Pnext != NULL) { in SubdivColorMap()
265 QuantizedColor = QuantizedColor->Pnext; in SubdivColorMap()
267 Count += QuantizedColor->Count; in SubdivColorMap()
274 MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */ in SubdivColorMap()
276 MinColor = QuantizedColor->Pnext->RGB[SortRGBAxis]; /* of second */ in SubdivColorMap()
282 QuantizedColor->Pnext; in SubdivColorMap()
283 QuantizedColor->Pnext = NULL; in SubdivColorMap()