Searched refs:ColorCount (Results 1 – 18 of 18) sorted by relevance
/third_party/giflib/ |
D | gifalloc.c | 43 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 …]
|
D | gifbuild.c | 748 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 …]
|
D | gifclrmp.c | 279 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()
|
D | gifhisto.c | 112 NumColors = GifFileIn->Image.ColorMap->ColorCount; in main() 114 NumColors = GifFileIn->SColorMap->ColorCount; in main()
|
D | gif_lib.h | 43 int ColorCount; member 233 extern ColorMapObject *GifMakeMapObject(int ColorCount,
|
D | gifsponge.c | 61 GifFileIn->SColorMap->ColorCount, in main()
|
D | egif_lib.c | 309 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()
|
D | gifcolor.c | 114 for (i = l = 0; i < ColorMap->ColorCount; i++) { in main()
|
D | giffix.c | 128 for (i = 0; i < ColorMap->ColorCount; i++) { in main()
|
D | dgif_lib.c | 282 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()
|
D | giftool.c | 565 GifFileIn->SColorMap->ColorCount, in main()
|
D | giftext.c | 114 Len = GifFile->SColorMap->ColorCount; in main()
|
D | gif2rgb.c | 477 if (GifFile->SBackGroundColor < 0 || GifFile->SBackGroundColor >= ColorMap->ColorCount) { in GIF2RGB()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | gifdec.c | 50 || 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()
|
D | anim_util.c | 404 || 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/ |
D | gifdec.c | 50 || 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()
|
D | anim_util.c | 404 || 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/ |
D | SIMachineScheduler.cpp | 1070 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()
|