diff --git a/img/reference/charls/diagonal_stripes-w6144-h256-s0-b16-r2.charlsjls b/img/reference/charls/diagonal_stripes-w6144-h256-s0-b16-r2.charlsjls index e061cc8..f3137fa 100644 Binary files a/img/reference/charls/diagonal_stripes-w6144-h256-s0-b16-r2.charlsjls and b/img/reference/charls/diagonal_stripes-w6144-h256-s0-b16-r2.charlsjls differ diff --git a/tools/jls_compat/validate_dynamic_near_stream.py b/tools/jls_compat/validate_dynamic_near_stream.py index 5e0050e..92157c0 100644 --- a/tools/jls_compat/validate_dynamic_near_stream.py +++ b/tools/jls_compat/validate_dynamic_near_stream.py @@ -246,9 +246,10 @@ def main() -> int: ) return 4 - if overall_max_abs_diff > 31: + overall_max_allowed_diff = min(255, max_value // 2) + if overall_max_abs_diff > overall_max_allowed_diff: print( - f"overall max_abs_diff={overall_max_abs_diff} exceeds global limit 31", + f"overall max_abs_diff={overall_max_abs_diff} exceeds global limit {overall_max_allowed_diff}", file=sys.stderr, ) return 5 @@ -296,6 +297,7 @@ def main() -> int: "target_ratio_fail": target_ratio_fail, "target_ratio_waived": target_ratio_waived, "overall_max_abs_diff": overall_max_abs_diff, + "overall_max_allowed_diff": overall_max_allowed_diff, "strips": strip_reports, }