Home
last modified time | relevance | path

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

/external/giflib/
Degif_lib.c270 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()
[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.c360 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()
361 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()
368 if (GifFile->Image.ColorMap) { in DGifGetImageDesc()
369 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()
370 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()
376 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); in DGifGetImageDesc()
377 if (GifFile->Image.ColorMap == NULL) { in DGifGetImageDesc()
383 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) { in DGifGetImageDesc()
386 GifFreeMapObject(GifFile->Image.ColorMap); in DGifGetImageDesc()
388 GifFile->Image.ColorMap = NULL; in DGifGetImageDesc()
[all …]
Dgif_lib.h50 ColorMapObject *ColorMap; /* The local color map */ member
240 const GifColorType *ColorMap);
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.cc160 ColorMapObject* color_map = this_image->ImageDesc.ColorMap in Decode()
161 ? this_image->ImageDesc.ColorMap in Decode()
/external/webp/examples/
Dgifdec.c95 gif->Image.ColorMap ? gif->Image.ColorMap : gif->SColorMap; in Remap()
Danim_util.c489 if (image_desc->ColorMap) cmap = image_desc->ColorMap; in ReadFrameGIF()
/external/llvm/unittests/Support/
DYAMLIOTest.cpp637 struct ColorMap { struct
658 struct MappingTraits<ColorMap> { argument
659 static void mapping(IO &io, ColorMap& c) { in mapping()
676 ColorMap map; in TEST()
1709 ColorMap map; in TEST()
/external/pdfium/third_party/lcms/src/
Dcmsopt.c385 const cmsInterpParams* ColorMap, in PrelinOpt16alloc() argument
410 p16 ->CLUTparams = ColorMap; in PrelinOpt16alloc()
411 p16 ->EvalCLUT = ColorMap ->Interpolation.Lerp16; in PrelinOpt16alloc()