Commit caca5725 authored by Henrik Gramner's avatar Henrik Gramner Committed by Henrik Gramner

mc: Ensure high bitdepth intermediates fits in int16_t

An extreme edge case with the combination of 8-tap sharp_sharp, mx and my
both around 8, and a very specific pixel input pattern can cause overflows.

Add code to checkasm to trigger this scenario.
parent ad4d1c43
Pipeline #4339 passed with stages
in 6 minutes and 41 seconds