• Home
  • Raw
  • Download

Lines Matching refs:ColorMap

270                   const ColorMapObject *ColorMap)  in EGifPutScreenDesc()  argument
300 if (ColorMap) { in EGifPutScreenDesc()
301 GifFile->SColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutScreenDesc()
302 ColorMap->Colors); in EGifPutScreenDesc()
322 Buf[0] = (ColorMap ? 0x80 : 0x00) | /* Yes/no global colormap */ in EGifPutScreenDesc()
324 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the in EGifPutScreenDesc()
326 if (ColorMap != NULL && ColorMap->SortFlag) in EGifPutScreenDesc()
333 if (ColorMap != NULL) { in EGifPutScreenDesc()
335 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutScreenDesc()
337 Buf[0] = ColorMap->Colors[i].Red; in EGifPutScreenDesc()
338 Buf[1] = ColorMap->Colors[i].Green; in EGifPutScreenDesc()
339 Buf[2] = ColorMap->Colors[i].Blue; in EGifPutScreenDesc()
364 const ColorMapObject *ColorMap) in EGifPutImageDesc() argument
385 if (ColorMap) { in EGifPutImageDesc()
386 if (GifFile->Image.ColorMap != NULL) { in EGifPutImageDesc()
387 GifFreeMapObject(GifFile->Image.ColorMap); in EGifPutImageDesc()
388 GifFile->Image.ColorMap = NULL; in EGifPutImageDesc()
390 GifFile->Image.ColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutImageDesc()
391 ColorMap->Colors); in EGifPutImageDesc()
392 if (GifFile->Image.ColorMap == NULL) { in EGifPutImageDesc()
397 GifFile->Image.ColorMap = NULL; in EGifPutImageDesc()
407 Buf[0] = (ColorMap ? 0x80 : 0x00) | in EGifPutImageDesc()
409 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0); in EGifPutImageDesc()
413 if (ColorMap != NULL) { in EGifPutImageDesc()
415 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutImageDesc()
417 Buf[0] = ColorMap->Colors[i].Red; in EGifPutImageDesc()
418 Buf[1] = ColorMap->Colors[i].Green; in EGifPutImageDesc()
419 Buf[2] = ColorMap->Colors[i].Blue; in EGifPutImageDesc()
426 if (GifFile->SColorMap == NULL && GifFile->Image.ColorMap == NULL) { in EGifPutImageDesc()
786 if (GifFile->Image.ColorMap) { in EGifCloseFile()
787 GifFreeMapObject(GifFile->Image.ColorMap); in EGifCloseFile()
788 GifFile->Image.ColorMap = NULL; in EGifCloseFile()
841 if (GifFile->Image.ColorMap) in EGifSetupCompress()
842 BitsPerPixel = GifFile->Image.ColorMap->BitsPerPixel; in EGifSetupCompress()
1114 sp->ImageDesc.ColorMap) == GIF_ERROR) in EGifSpew()