[FFmpeg-devel] [PATCH 2/3] avcodec/x86: disable hevc 12b luma deblock

J. Dekker jdek at itanimul.li
Sat Feb 24 20:32:45 EET 2024


Martin Storsjö <martin at martin.st> writes:
> [...]
>
> Are you sure the input is within valid range? It's always possible that
> checkasm produces inputs that the real decoder wouldn't - but it's also
> possible that this is a real decoder bug that just hasn't been triggered by any
> other test yet.
>
> // Martin

The checkasm was just written to just to trigger all the theoretical
edgecases. I know there is a decent range of values which pass the d0 +
d3 < beta check and overflow in (9 * (q0 - p0) - 3 * (q1 - p1) + 8) for
int16_t. I'm not 100% sure that these values can be output by the
decoder, and even if so they're rare.

-- 
jd


More information about the ffmpeg-devel mailing list