[FFmpeg-devel] [PATCH] swscale/yuv2rgb: Increase YUV2RGB table headroom

Christophe Gisquet christophe.gisquet at gmail.com
Thu Jan 14 08:58:20 CET 2016


> -#define YUVRGB_TABLE_HEADROOM 256
> +#define YUVRGB_TABLE_HEADROOM 512
[...]
> -    const int yoffs = fullRange ? 384 : 326;
> +    const int yoffs = fullRange ? 896 : 838;

I think it's time to use that macro everywhere it is actually used without
showing up.

Best regards,
Christophe


More information about the ffmpeg-devel mailing list