Home | History | Annotate | Download | only in giflib

Lines Matching refs:Colors

55     Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType));
56 if (Object->Colors == (GifColorType *) NULL) {
66 memcpy((char *)Object->Colors,
80 (void)free(Object->Colors);
96 Object->Colors[i + j].Red,
97 Object->Colors[i + j].Green,
98 Object->Colors[i + j].Blue);
108 fit into 256 colors, NULL is returned, the allocated union otherwise.
109 ColorIn1 is copied as is to ColorUnion, while colors from ColorIn2 are
138 ColorUnion->Colors[i] = ColorIn1->Colors[i];
146 * 16 colors.
148 while (ColorIn1->Colors[CrntSlot - 1].Red == 0
149 && ColorIn1->Colors[CrntSlot - 1].Green == 0
150 && ColorIn1->Colors[CrntSlot - 1].Blue == 0)
153 /* Copy ColorIn2 to ColorUnion (use old colors if they exist): */
157 if (memcmp (&ColorIn1->Colors[j], &ColorIn2->Colors[i],
165 ColorUnion->Colors[CrntSlot] = ColorIn2->Colors[i];
179 register GifColorType *Map = ColorUnion->Colors;
197 ColorUnion->Colors = new_map;
350 CopyFrom->ImageDesc.ColorMap->Colors);