Searched refs:maxSum (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 357 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/ |
D | aaxfermodes.cpp | 207 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/skia/gm/ |
D | aaxfermodes.cpp | 207 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/ |
D | drcDec_selectionProcess.cpp | 2914 FIXP_DBL sum, maxSum; /* e = 7, so it is possible to sum up up to 32 in _getSignalPeakLevel() local 2921 maxSum = (FIXP_DBL)0; in _getSignalPeakLevel() 2930 if (maxSum < sum) maxSum = sum; in _getSignalPeakLevel() 2933 maxSum = fMultDiv2(maxSum, downmixOffset) << 2; in _getSignalPeakLevel() 2935 if (maxSum == FL2FXCONST_DBL(1.0f / (float)(1 << 7))) { in _getSignalPeakLevel() 2938 dB_m = lin2dB(maxSum, 7, &dB_e); /* e_maxSum = 7 */ in _getSignalPeakLevel()
|