[FFmpeg-devel] [RFC]lavc/ffv1dec: Scale msb-packed output to full 16bit

Kieran Kunhya kierank at obe.tv
Thu Nov 17 20:05:09 EET 2016


On Wed, 16 Nov 2016 at 23:49 Kieran Kunhya <kierank at obe.tv> wrote:

> It was lossless before and is lossless after the patch but it
> output the 16bit format that you don't like and of which you
> claim it breaks with find_best_pix_fmt() - I still believe this
> should be trivial to fix.
>
> Currently white is gray, the patch tries to fix this.
>
>
> erm...in what way does it fix that?
> A white/black value in 16-235 needs to remain like that when shifted. This
> isn't RGB-land.
>

This incorrect patch has been committed in spite of clear objections:

https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=55a424c5a836523828b3b2f02b7db610e898b3fc

Regards,
Kieran Kunhya


More information about the ffmpeg-devel mailing list