Home
last modified time | relevance | path

Searched refs:ColorMap (Results 1 – 10 of 10) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dcolormap.cpp137 class ColorMap { class
143 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 …]
/external/giflib/
Degif_lib.c266 const ColorMapObject *ColorMap) in EGifPutScreenDesc() argument
296 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 …]
Dgifalloc.c40 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap) in GifMakeMapObject() argument
65 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 …]
Ddgif_lib.c356 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 …]
Dgif_lib.h50 ColorMapObject *ColorMap; /* The local color map */ member
240 const GifColorType *ColorMap);
/external/skia/src/images/
DSkMovie_gif.cpp242 if (frame->ImageDesc.ColorMap != nullptr) { in drawFrame()
244 cmap = frame->ImageDesc.ColorMap; in drawFrame()
DSkImageDecoder_libgif.cpp119 const ColorMapObject* cmap = gif->Image.ColorMap; in find_colormap()
/external/llvm/unittests/Support/
DYAMLIOTest.cpp532 struct ColorMap { struct
553 struct MappingTraits<ColorMap> { argument
554 static void mapping(IO &io, ColorMap& c) { in mapping()
571 ColorMap map; in TEST()
1604 ColorMap map; in TEST()
/external/skia/src/codec/
DSkGifCodec.cpp403 ColorMapObject* colorMap = fGif->Image.ColorMap;
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsopt.c266 const cmsInterpParams* ColorMap, in PrelinOpt16alloc() argument
291 p16 ->CLUTparams = ColorMap; in PrelinOpt16alloc()
292 p16 ->EvalCLUT = ColorMap ->Interpolation.Lerp16; in PrelinOpt16alloc()