Searched refs:mse (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | YuvImageTest.java | 352 double mse = 0; in compareBitmaps() local 364 mse += distance(expColors[idx], actualColors[idx]); in compareBitmaps() 367 mse /= width * height; in compareBitmaps() 369 Log.i(TAG, "MSE: " + mse); in compareBitmaps() 371 assertTrue("MSE too large for normal case: " + mse, in compareBitmaps() 372 mse <= mseMargin); in compareBitmaps() 374 assertFalse("MSE too small for abnormal case: " + mse, in compareBitmaps() 375 mse <= mseMargin); in compareBitmaps()
|
D | BitmapRegionDecoderTest.java | 406 double mse = 0; in compareBitmaps() local 425 mse += distance(expectedColors[idx], actualColors[idx]); in compareBitmaps() 428 mse /= width * height; in compareBitmaps() 431 assertTrue("MSE too large for normal case: " + mse, in compareBitmaps() 432 mse <= mseMargin); in compareBitmaps() 434 assertFalse("MSE too small for abnormal case: " + mse, in compareBitmaps() 435 mse <= mseMargin); in compareBitmaps()
|
D | BitmapFactoryTest.java | 649 double mse = 0; in compareBitmaps() local 660 mse += distance(expectedColors[idx], actualColors[idx], isPremultiplied); in compareBitmaps() 663 mse /= width * height; in compareBitmaps() 666 assertTrue("MSE " + mse + "larger than the threshold: " + mseMargin, in compareBitmaps() 667 mse <= mseMargin); in compareBitmaps() 669 assertFalse("MSE " + mse + "smaller than the threshold: " + mseMargin, in compareBitmaps() 670 mse <= mseMargin); in compareBitmaps()
|