Lines Matching refs:ColorUnion
119 ColorMapObject *ColorUnion; in GifUnionColorMap() local
128 ColorUnion = GifMakeMapObject(MAX(ColorIn1->ColorCount, in GifUnionColorMap()
131 if (ColorUnion == NULL) in GifUnionColorMap()
138 ColorUnion->Colors[i] = ColorIn1->Colors[i]; in GifUnionColorMap()
165 ColorUnion->Colors[CrntSlot] = ColorIn2->Colors[i]; in GifUnionColorMap()
171 GifFreeMapObject(ColorUnion); in GifUnionColorMap()
178 if (RoundUpTo != ColorUnion->ColorCount) { in GifUnionColorMap()
179 register GifColorType *Map = ColorUnion->Colors; in GifUnionColorMap()
190 if (RoundUpTo < ColorUnion->ColorCount) { in GifUnionColorMap()
194 GifFreeMapObject(ColorUnion); in GifUnionColorMap()
197 ColorUnion->Colors = new_map; in GifUnionColorMap()
201 ColorUnion->ColorCount = RoundUpTo; in GifUnionColorMap()
202 ColorUnion->BitsPerPixel = NewGifBitSize; in GifUnionColorMap()
204 return (ColorUnion); in GifUnionColorMap()