[FFmpeg-devel] [PATCH]lavc/pgssubdec: Fix palette colourspace

Jan Ekstrom jeebjp at gmail.com
Sun Apr 17 21:16:22 CEST 2016

On Sun, Apr 17, 2016 at 10:08 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Does attached make it better?

So the difference between the two conversion functions is that one is
Rec.601 in limited range, and the other is Rec.709 in limited range?
If so, that seems correct. The actual coded width/height of "625/50"
can only be 720x576, so you can modify the check for that height :) .

That said, what Reimar noted about blending could be true, but that's
an even larger issue in general. I couldn't quickly find the place
where they define in which color space the alpha blending should be
done in, but given the close proximity of the colorimetry I wouldn't
be surprised if it was meant to be done in YCbCr.

Best regards,
Jan Ekström

More information about the ffmpeg-devel mailing list