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

Jan Ekstrom jeebjp at gmail.com
Tue Apr 19 18:08:54 CEST 2016


On Tue, Apr 19, 2016 at 3:15 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Could you explain how I can reproduce the incompleteness?
> Visibly if possible...

It seems right now that we have a function (macro) to convert
(seemingly limited range?) YCbCr to limited range or full range RGB,
both (seemingly) following Rec.601. This is correct for the <= 576
height case. We thus need another one that does the same thing, but
with Rec.709 coefficients for the >=720 height case. Reimar did note
an example in his message, although it would be a good idea to get the
values checked against Rec.709 (I wish there was one place to have
such value/plane conversion functions so we could just plug into it
and not have to add more code, but alas we seem to have these things
all around the place).

HDMV subpictures do let you have a wide variety of YCbCr values in the
palette so the conversion for the overlay does matter if we want to
output RGB.

Cheers,
Jan Ekström


More information about the ffmpeg-devel mailing list