shithub: dav1d

Download patch

ref: dccc21b742f328060c124463c5d05f76472d758c
parent: fbc1b4204c9b6a8d274f4a11d03fd98bb22704e6
author: Henrik Gramner <[email protected]>
date: Fri Jan 31 12:57:33 EST 2020

checkasm: Fix missing shift in high bit-depth cdef_filter test

--- a/tests/checkasm/cdef.c
+++ b/tests/checkasm/cdef.c
@@ -93,7 +93,7 @@
                      *  3) all edges and both pri_strength and sec_strength
                      */
                     pri_strength = (edges & 1) << bitdepth_min_8;
-                    sec_strength = edges & 2;
+                    sec_strength = (edges & 2) << bitdepth_min_8;
                     bench_new(a_dst, stride, left, top_ptrs, pri_strength, sec_strength,
                               dir, damping, edges HIGHBD_TAIL_SUFFIX);
                 }