]> git.sesse.net Git - movit/blobdiff - test_util.cpp
Set RMS limit much tighter, now that we have floating-point textures.
[movit] / test_util.cpp
index 4e37cec3fdd82900831f5b55fa34d905b80bb4c1..c8337d279966e5f0552530fd3107765f5835cb71 100644 (file)
@@ -82,7 +82,7 @@ void expect_equal(const float *ref, const float *result, unsigned width, unsigne
        }
 
        const float largest_difference_limit = 1.5 / 255.0;
        }
 
        const float largest_difference_limit = 1.5 / 255.0;
-       const float rms_limit = 0.5 / 255.0;
+       const float rms_limit = 0.2 / 255.0;
 
        EXPECT_LT(largest_difference, largest_difference_limit);
 
 
        EXPECT_LT(largest_difference, largest_difference_limit);