Searched refs:mse (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | YuvImageTest.java | 347 double mse = 0; in compareBitmaps() local 359 mse += distance(expColors[idx], actualColors[idx]); in compareBitmaps() 362 mse /= width * height; in compareBitmaps() 364 Log.i(TAG, "MSE: " + mse); in compareBitmaps() 366 assertTrue("MSE too large for normal case: " + mse, in compareBitmaps() 367 mse <= mseMargin); in compareBitmaps() 369 assertFalse("MSE too small for abnormal case: " + mse, in compareBitmaps() 370 mse <= mseMargin); in compareBitmaps()
|
D | BitmapRegionDecoderTest.java | 759 double mse = 0; in compareBitmaps() local 778 mse += distance(expectedColors[idx], actualColors[idx]); in compareBitmaps() 781 mse /= width * height; in compareBitmaps() 784 assertTrue("MSE too large for normal case: " + mse, in compareBitmaps() 785 mse <= mseMargin); in compareBitmaps() 787 assertFalse("MSE too small for abnormal case: " + mse, in compareBitmaps() 788 mse <= mseMargin); in compareBitmaps()
|
D | BitmapFactoryTest.java | 1040 double mse = 0; in compareBitmaps() local 1051 mse += distance(expectedColors[idx], actualColors[idx], isPremultiplied); in compareBitmaps() 1054 mse /= width * height; in compareBitmaps() 1057 assertTrue("MSE " + mse + "larger than the threshold: " + mseMargin, in compareBitmaps() 1058 mse <= mseMargin); in compareBitmaps() 1060 assertFalse("MSE " + mse + "smaller than the threshold: " + mseMargin, in compareBitmaps() 1061 mse <= mseMargin); in compareBitmaps()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | ImageCompare.java | 77 final double mse = noise / numPixels; in psnr() local 78 final double psnr = 20 * Math.log10(255) - 10 * Math.log10(mse); in psnr()
|