Add assert in cdef_find_dir() for CDEF
The assert checks whether an input pixel value in cdef_find_dir() is within a valid range, for ex, 0 <= (pixel_value >> bitdepth) <= 255.
Loading
Please register or sign in to comment
The assert checks whether an input pixel value in cdef_find_dir() is within a valid range, for ex, 0 <= (pixel_value >> bitdepth) <= 255.