Searched refs:mse (Results 1 – 6 of 6) sorted by relevance
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BitmapUtils.java | 175 double mse = 0; in compareBitmapsMse() local 189 mse += distance(expColors[idx], actualColors[idx], isPremultiplied); in compareBitmapsMse() 192 mse /= width * height; in compareBitmapsMse() 194 Log.i(TAG, "MSE: " + mse); in compareBitmapsMse() 196 if (mse > mseMargin) { in compareBitmapsMse() 197 Log.d(TAG, "MSE too large for normal case: " + mse); in compareBitmapsMse() 202 if (mse <= mseMargin) { in compareBitmapsMse() 203 Log.d(TAG, "MSE too small for abnormal case: " + mse); in compareBitmapsMse()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 199 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/ |
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()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | VideoErrorManager.java | 168 static double computePSNR(double mse, int bytesPerSample) { in computePSNR() argument 169 if (mse == 0) return 100.0; in computePSNR() 171 return 10 * Math.log10((double) peakSignal * peakSignal / mse); in computePSNR()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraUtils.java | 158 float mse = ((a1 - a2) * (a1 - a2) in areColorsAlmostIdentical() local 163 return mse < EPSILON; in areColorsAlmostIdentical()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 2138 int mse = isWebp ? 70 : 1; local 2139 BitmapUtils.assertBitmapsMse(bm, reference, mse, true, false);
|