Home
last modified time | relevance | path

Searched refs:ColorMap (Results 1 – 10 of 10) 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/llvm-project/llvm/tools/llvm-xray/
Dxray-color-helper.cpp53 : MinIn(0.0), MaxIn(1.0), ColorMap(SequentialMaps[static_cast<int>(S)]), in ColorHelper()
77 : MinIn(-1.0), MaxIn(1.0), ColorMap(DivergingCoeffs[static_cast<int>(S)]), in ColorHelper()
182 assert(!ColorMap.empty() && "ColorMap must not be empty!"); in getColorTuple()
190 size_t MaxIndex = ColorMap.size() - 1; in getColorTuple()
197 auto &RGBColor0 = ColorMap[SectionNo]; in getColorTuple()
198 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)]; in getColorTuple()
Dxray-color-helper.h47 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap; variable
/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/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/llvm-project/llvm/unittests/Support/
DYAMLIOTest.cpp815 struct ColorMap { struct
836 struct MappingTraits<ColorMap> { argument
837 static void mapping(IO &io, ColorMap& c) { in mapping()
854 ColorMap map; in TEST()
1901 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()