Home
last modified time | relevance | path

Searched refs:psnr (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRefocusTest.java75 double psnr = ImageCompare.psnr(outputImage, expectedImage); in refocus() local
76 android.util.Log.i("RefocusTest", "psnr = " + String.format("%.02f", psnr)); in refocus()
77 if (psnr < minimumPSNR) { in refocus()
80 "Actual psnr = " + String.format("%.02f", psnr), in refocus()
DImageCompare.java48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { in psnr() method in ImageCompare
78 final double psnr = 20 * Math.log10(255) - 10 * Math.log10(mse); in psnr() local
79 return psnr; in psnr()
/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTest.java363 final double[] psnr = new double[1]; in internalTestParallelEncodingAndDecoding() local
405 psnr[0] = statistics.mAveragePSNR; in internalTestParallelEncodingAndDecoding()
423 double referencePsnr = psnr[0]; in internalTestParallelEncodingAndDecoding()
442 Log.d(TAG, "Parallel bitrate: " + bitrate[0] + ". PSNR: " + psnr[0]); in internalTestParallelEncodingAndDecoding()
447 " is different from parallel encoding " + psnr[0], in internalTestParallelEncodingAndDecoding()
448 referencePsnr, psnr[0], MAX_ASYNC_AVERAGE_PSNR_DIFFERENCE); in internalTestParallelEncodingAndDecoding()
DVideoCodecTestBase.java2015 double psnr = 10 * Math.log10((double)255 * 255 / meanSquareError); in computePSNR() local
2016 return psnr; in computePSNR()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java416 double psnr = 10 * Math.log10((double) 255 * 255 / meanSquareError); in computePSNR() local
417 return psnr; in computePSNR()