[FFmpeg-devel] [PATCH v2 1/2] lavc/texturedsp: fix premult2straight inversion

Niklas Haas ffmpeg at haasn.xyz
Fri Feb 2 10:41:49 EET 2024


On Thu, 01 Feb 2024 17:10:50 -0800 Connor Worley <connorbworley at gmail.com> wrote:
> +    src[0] = (uint8_t) FFMIN(r * 255 / a, 255);
> +    src[1] = (uint8_t) FFMIN(g * 255 / a, 255);
> +    src[2] = (uint8_t) FFMIN(b * 255 / a, 255);

av_clip_uint8?


More information about the ffmpeg-devel mailing list