Lines Matching refs:ColorMap
37 * ColorMap if that pointer is non-NULL.
40 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap)
64 if (ColorMap != NULL) {
66 (char *)ColorMap, ColorCount * sizeof(GifColorType));
287 /* Deallocate its Colormap */
288 if (sp->ImageDesc.ColorMap != NULL) {
289 GifFreeMapObject(sp->ImageDesc.ColorMap);
290 sp->ImageDesc.ColorMap = NULL;
338 if (sp->ImageDesc.ColorMap != NULL) {
339 sp->ImageDesc.ColorMap = GifMakeMapObject(
340 CopyFrom->ImageDesc.ColorMap->ColorCount,
341 CopyFrom->ImageDesc.ColorMap->Colors);
342 if (sp->ImageDesc.ColorMap == NULL) {
388 if (sp->ImageDesc.ColorMap != NULL) {
389 GifFreeMapObject(sp->ImageDesc.ColorMap);
390 sp->ImageDesc.ColorMap = NULL;