Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java199 double mse = 0; in compareBitmapsMse() local
213 mse += distance(expColors[idx], actualColors[idx], isPremultiplied); in compareBitmapsMse()
216 mse /= width * height; in compareBitmapsMse()
218 Log.i(TAG, "MSE: " + mse); in compareBitmapsMse()
220 if (mse > mseMargin) { in compareBitmapsMse()
221 Log.d(TAG, "MSE too large for normal case: " + mse); in compareBitmapsMse()
226 if (mse <= mseMargin) { in compareBitmapsMse()
227 Log.d(TAG, "MSE too small for abnormal case: " + mse); in compareBitmapsMse()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DImageCompare.java77 final double mse = noise / numPixels; in psnr() local
78 final double psnr = 20 * Math.log10(255) - 10 * Math.log10(mse); in psnr()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java2016 int mse = isWebp ? 70 : 1; local
2017 BitmapUtils.assertBitmapsMse(bm, reference, mse, true, false);