Searched refs:ColorMap (Results 1 – 10 of 10) sorted by relevance
137 class ColorMap { class143 virtual ~ColorMap() {} in ~ColorMap()179 class Autumn : public ColorMap {181 Autumn() : ColorMap() { in Autumn()185 Autumn(int n) : ColorMap() { in Autumn()194 this->_lut = ColorMap::linear_colormap(X, in init()203 class Bone : public ColorMap {205 Bone() : ColorMap() { in Bone()209 Bone(int n) : ColorMap() { in Bone()218 this->_lut = ColorMap::linear_colormap(X, in init()[all …]
266 const ColorMapObject *ColorMap) in EGifPutScreenDesc() argument296 if (ColorMap) { in EGifPutScreenDesc()297 GifFile->SColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutScreenDesc()298 ColorMap->Colors); in EGifPutScreenDesc()318 Buf[0] = (ColorMap ? 0x80 : 0x00) | /* Yes/no global colormap */ in EGifPutScreenDesc()320 (ColorMap ? ColorMap->BitsPerPixel - 1 : 0x07 ); /* Actual size of the in EGifPutScreenDesc()322 if (ColorMap != NULL && ColorMap->SortFlag) in EGifPutScreenDesc()329 if (ColorMap != NULL) { in EGifPutScreenDesc()331 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutScreenDesc()333 Buf[0] = ColorMap->Colors[i].Red; in EGifPutScreenDesc()[all …]
40 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap) in GifMakeMapObject() argument65 if (ColorMap != NULL) { in GifMakeMapObject()67 (char *)ColorMap, ColorCount * sizeof(GifColorType)); in GifMakeMapObject()299 if (sp->ImageDesc.ColorMap != NULL) { in FreeLastSavedImage()300 GifFreeMapObject(sp->ImageDesc.ColorMap); in FreeLastSavedImage()301 sp->ImageDesc.ColorMap = NULL; in FreeLastSavedImage()347 if (sp->ImageDesc.ColorMap != NULL) { in GifMakeSavedImage()348 sp->ImageDesc.ColorMap = GifMakeMapObject( in GifMakeSavedImage()349 CopyFrom->ImageDesc.ColorMap->ColorCount, in GifMakeSavedImage()350 CopyFrom->ImageDesc.ColorMap->Colors); in GifMakeSavedImage()[all …]
356 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()357 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()364 if (GifFile->Image.ColorMap) { in DGifGetImageDesc()365 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()366 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()372 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetImageDesc()373 if (GifFile->Image.ColorMap == NULL) { in DGifGetImageDesc()379 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) { in DGifGetImageDesc()382 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()384 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()[all …]
50 ColorMapObject *ColorMap; /* The local color map */ member240 const GifColorType *ColorMap);
242 if (frame->ImageDesc.ColorMap != nullptr) { in drawFrame()244 cmap = frame->ImageDesc.ColorMap; in drawFrame()
119 const ColorMapObject* cmap = gif->Image.ColorMap; in find_colormap()
532 struct ColorMap { struct553 struct MappingTraits<ColorMap> { argument554 static void mapping(IO &io, ColorMap& c) { in mapping()571 ColorMap map; in TEST()1604 ColorMap map; in TEST()
403 ColorMapObject* colorMap = fGif->Image.ColorMap;
266 const cmsInterpParams* ColorMap, in PrelinOpt16alloc() argument291 p16 ->CLUTparams = ColorMap; in PrelinOpt16alloc()292 p16 ->EvalCLUT = ColorMap ->Interpolation.Lerp16; in PrelinOpt16alloc()