Searched refs:BITS_PER_PRIM_COLOR (Results 1 – 1 of 1) sorted by relevance
22 #define BITS_PER_PRIM_COLOR 5 macro82 ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR); in GifQuantizeBuffer()83 ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) & in GifQuantizeBuffer()91 Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) << in GifQuantizeBuffer()92 (2 * BITS_PER_PRIM_COLOR)) + in GifQuantizeBuffer()93 ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) << in GifQuantizeBuffer()94 BITS_PER_PRIM_COLOR) + in GifQuantizeBuffer()95 (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR)); in GifQuantizeBuffer()152 OutputColorMap[i].Red = (Red << (8 - BITS_PER_PRIM_COLOR)) / j; in GifQuantizeBuffer()153 OutputColorMap[i].Green = (Green << (8 - BITS_PER_PRIM_COLOR)) / j; in GifQuantizeBuffer()[all …]