Home
last modified time | relevance | path

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

/external/giflib/
Dquantize.c73 QuantizedColorType *ColorArrayEntries, *QuantizedColor; in GifQuantizeBuffer() local
75 ColorArrayEntries = (QuantizedColorType *)malloc( in GifQuantizeBuffer()
77 if (ColorArrayEntries == NULL) { in GifQuantizeBuffer()
82 ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR); in GifQuantizeBuffer()
83 ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) & in GifQuantizeBuffer()
85 ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR; in GifQuantizeBuffer()
86 ColorArrayEntries[i].Count = 0; in GifQuantizeBuffer()
96 ColorArrayEntries[Index].Count++; in GifQuantizeBuffer()
112 if (ColorArrayEntries[i].Count > 0) in GifQuantizeBuffer()
114 QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i]; in GifQuantizeBuffer()
[all …]