# HG changeset patch
# User Min Chen <[email protected]>
# Date 1444148062 18000
# Node ID 74e5bb1a31958d8bab0cf7820f7635ed6aed91bc
# Parent 7bb14d22f724cb1949c5716d89b04cdb4d0bde45
testbench: reduce check precision to avoid ssim_end_4 check failure in seed
0x5604F859 that report by Rajesh
---
source/test/pixelharness.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff -r 7bb14d22f724 -r 74e5bb1a3195 source/test/pixelharness.cpp
--- a/source/test/pixelharness.cpp Tue Oct 06 11:14:19 2015 -0500
+++ b/source/test/pixelharness.cpp Tue Oct 06 11:14:22 2015 -0500
@@ -855,7 +855,7 @@
int width = (rand() % 4) + 1; // range[1-4]
float cres = ref(sum0, sum1, width);
float vres = checked_float(opt, sum0, sum1, width);
- if (fabs(vres - cres) > 0.00001)
+ if (fabs(vres - cres) > 0.0001)
return false;
reportfail();
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel