Home
last modified time | relevance | path

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

/third_party/giflib/
Dquantize.c75 QuantizedColorType *ColorArrayEntries, *QuantizedColor; in GifQuantizeBuffer() local
77 ColorArrayEntries = (QuantizedColorType *)malloc( in GifQuantizeBuffer()
79 if (ColorArrayEntries == NULL) { in GifQuantizeBuffer()
84 ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR); in GifQuantizeBuffer()
85 ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) & in GifQuantizeBuffer()
87 ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR; in GifQuantizeBuffer()
88 ColorArrayEntries[i].Count = 0; in GifQuantizeBuffer()
98 ColorArrayEntries[Index].Count++; in GifQuantizeBuffer()
114 if (ColorArrayEntries[i].Count > 0) in GifQuantizeBuffer()
116 QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i]; in GifQuantizeBuffer()
[all …]