Home
last modified time | relevance | path

Searched refs:ColorCount (Results 1 – 18 of 18) sorted by relevance

/third_party/giflib/
Dgifalloc.c43 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap) in GifMakeMapObject() argument
49 if (ColorCount != (1 << GifBitSize(ColorCount))) { in GifMakeMapObject()
58 Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType)); in GifMakeMapObject()
64 Object->ColorCount = ColorCount; in GifMakeMapObject()
65 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()
70 (char *)ColorMap, ColorCount * sizeof(GifColorType)); in GifMakeMapObject()
94 int i, j, Len = Object->ColorCount; in DumpColorMap()
131 ColorUnion = GifMakeMapObject(MAX(ColorIn1->ColorCount, in GifUnionColorMap()
132 ColorIn2->ColorCount) * 2, NULL); in GifUnionColorMap()
140 for (i = 0; i < ColorIn1->ColorCount; i++) in GifUnionColorMap()
[all …]
Dgifbuild.c748 int ErrorCode, im, i, j, ColorCount = 0; in Gif2Icon() local
784 for (i = 0; i < GifFile->SColorMap->ColorCount; i++) in Gif2Icon()
785 if (GifFile->SColorMap->ColorCount < PRINTABLES) in Gif2Icon()
817 if (image->ImageDesc.ColorMap->ColorCount < PRINTABLES) in Gif2Icon()
818 for (i = 0; i < image->ImageDesc.ColorMap->ColorCount; i++) in Gif2Icon()
825 for (i = 0; i < image->ImageDesc.ColorMap->ColorCount; i++) in Gif2Icon()
835 ColorCount = image->ImageDesc.ColorMap->ColorCount; in Gif2Icon()
837 ColorCount = GifFile->SColorMap->ColorCount; in Gif2Icon()
839 if (ColorCount < PRINTABLES) in Gif2Icon()
848 if (ColorCount < PRINTABLES && ch < PRINTABLES) in Gif2Icon()
[all …]
Dgifclrmp.c279 for (i = 0; i < ColorMap->ColorCount; i++) in ModifyColorMap()
288 for (i = 0; i < ColorMap->ColorCount; i++) { in ModifyColorMap()
302 for (i = 0; i < ColorMap->ColorCount; i++) { in ModifyColorMap()
317 for (i = 0; i < ColorMap->ColorCount; i++) { in ModifyColorMap()
332 for (i = 0; i < ColorMap->ColorCount; i++) { in ModifyColorMap()
Dgifhisto.c112 NumColors = GifFileIn->Image.ColorMap->ColorCount; in main()
114 NumColors = GifFileIn->SColorMap->ColorCount; in main()
Dgif_lib.h43 int ColorCount; member
233 extern ColorMapObject *GifMakeMapObject(int ColorCount,
Dgifsponge.c61 GifFileIn->SColorMap->ColorCount, in main()
Degif_lib.c309 GifFile->SColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutScreenDesc()
343 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutScreenDesc()
399 GifFile->Image.ColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutImageDesc()
425 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutImageDesc()
Dgifcolor.c114 for (i = l = 0; i < ColorMap->ColorCount; i++) { in main()
Dgiffix.c128 for (i = 0; i < ColorMap->ColorCount; i++) { in main()
Ddgif_lib.c282 for (i = 0; i < GifFile->SColorMap->ColorCount; i++) { in DGifGetScreenDesc()
401 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) { in DGifGetImageHeader()
463 GifFile->Image.ColorMap->ColorCount, in DGifGetImageDesc()
Dgiftool.c565 GifFileIn->SColorMap->ColorCount, in main()
Dgiftext.c114 Len = GifFile->SColorMap->ColorCount; in main()
Dgif2rgb.c477 if (GifFile->SBackGroundColor < 0 || GifFile->SBackGroundColor >= ColorMap->ColorCount) { in GIF2RGB()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dgifdec.c50 || bgcolor_index >= color_map->ColorCount) { in GIFGetBackgroundColor()
97 if (cmap->Colors == NULL || cmap->ColorCount <= 0) return 0; in Remap()
103 } else if (src[i] < cmap->ColorCount) { in Remap()
Danim_util.c404 || gif->SBackGroundColor >= color_map->ColorCount) { in GetBackgroundColorGIF()
491 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in ReadFrameGIF()
/third_party/skia/third_party/externals/libwebp/examples/
Dgifdec.c50 || bgcolor_index >= color_map->ColorCount) { in GIFGetBackgroundColor()
97 if (cmap->Colors == NULL || cmap->ColorCount <= 0) return 0; in Remap()
103 } else if (src[i] < cmap->ColorCount) { in Remap()
Danim_util.c404 || gif->SBackGroundColor >= color_map->ColorCount) { in GetBackgroundColorGIF()
491 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in ReadFrameGIF()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMachineScheduler.cpp1070 std::map<unsigned, unsigned> ColorCount; in colorMergeIfPossibleSmallGroupsToNextGroup() local
1075 ++ColorCount[color]; in colorMergeIfPossibleSmallGroupsToNextGroup()
1086 if (ColorCount[color] > 1) in colorMergeIfPossibleSmallGroupsToNextGroup()
1096 --ColorCount[color]; in colorMergeIfPossibleSmallGroupsToNextGroup()
1098 ++ColorCount[*SUColors.begin()]; in colorMergeIfPossibleSmallGroupsToNextGroup()