Home
last modified time | relevance | path

Searched refs:maxSum (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/util/format/
Du_format_fxt1.c240 int32_t maxSum = -1; /* small enough */ in fxt1_choose() local
281 if (maxSum < sum) { in fxt1_choose()
282 maxSum = sum; in fxt1_choose()
520 int32_t maxSum; in fxt1_quantize_ALPHA1() local
532 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
542 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
543 maxSum = sum; in fxt1_quantize_ALPHA1()
555 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
565 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
566 maxSum = sum; in fxt1_quantize_ALPHA1()
[all …]
/third_party/skia/gm/
Daaxfermodes.cpp218 int maxSum = std::max(std::max(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local
223 if (maxSum > 255) { in setupShapePaint()
229 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()
230 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/third_party/flutter/skia/gm/
Daaxfermodes.cpp216 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local
221 if (maxSum > 255) { in setupShapePaint()
227 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()
228 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()