Home | History | Annotate | Download | only in giflib

Lines Matching refs:Colors

65     Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType));
66 if (Object->Colors == (GifColorType *) NULL) {
74 memcpy((char *)Object->Colors,
88 free(Object->Colors);
110 Object->Colors[i + j].Red,
111 Object->Colors[i + j].Green,
112 Object->Colors[i + j].Blue);
122 * fit into 256 colors, NULL is returned, the allocated union otherwise.
123 * ColorIn1 is copied as is to ColorUnion, while colors from ColorIn2 are
148 ColorUnion->Colors[i] = ColorIn1->Colors[i];
156 * 16 colors.
158 while (ColorIn1->Colors[CrntSlot - 1].Red == 0
159 && ColorIn1->Colors[CrntSlot - 1].Green == 0
160 && ColorIn1->Colors[CrntSlot - 1].Blue == 0)
163 /* Copy ColorIn2 to ColorUnionSize (use old colors if they exist): */
171 if (memcmp (&ColorIn1->Colors[j], &ColorIn2->Colors[i],
179 ColorUnion->Colors[CrntSlot] = ColorIn2->Colors[i];
193 register GifColorType *Map = ColorUnion->Colors;
205 ColorUnion->Colors = (GifColorType *)realloc(Map,
372 CopyFrom->ImageDesc.ColorMap->Colors);