Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c357 GLint maxSum = -1; /* small enough */ in fxt1_choose() local
398 if (maxSum < sum) { in fxt1_choose()
399 maxSum = sum; in fxt1_choose()
637 GLint maxSum; in fxt1_quantize_ALPHA1() local
649 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
659 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
660 maxSum = sum; in fxt1_quantize_ALPHA1()
672 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
682 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
683 maxSum = sum; in fxt1_quantize_ALPHA1()
[all …]
/external/skqp/gm/
Daaxfermodes.cpp206 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local
211 if (maxSum > 255) { in setupShapePaint()
217 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()
218 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/external/skia/gm/
Daaxfermodes.cpp207 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local
212 if (maxSum > 255) { in setupShapePaint()
218 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()
219 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/external/aac/libDRCdec/src/
DdrcDec_selectionProcess.cpp2881 FIXP_DBL sum, maxSum; /* e = 7, so it is possible to sum up up to 32 in _getSignalPeakLevel() local
2888 maxSum = (FIXP_DBL)0; in _getSignalPeakLevel()
2897 if (maxSum < sum) maxSum = sum; in _getSignalPeakLevel()
2900 maxSum = fMultDiv2(maxSum, downmixOffset) << 2; in _getSignalPeakLevel()
2902 if (maxSum == FL2FXCONST_DBL(1.0f / (float)(1 << 7))) { in _getSignalPeakLevel()
2905 dB_m = lin2dB(maxSum, 7, &dB_e); /* e_maxSum = 7 */ in _getSignalPeakLevel()