[FFmpeg-devel] [RFC]lavc/ffv1dec: Scale msb-packed output to full 16bit
atomnuker at gmail.com
Thu Nov 17 15:49:03 EET 2016
On 16 November 2016 at 11:15, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Attached patch improves output for some ffv1 files imo.
> Current slowdown for the existing decode-line timer is
> 2%, I wonder if this can be improved through refactoring.
> Please comment, Carl Eugen
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
So AFAIK the encoder pushes the values to the LSBs but the decoder didn't
shift them back up?
I think you should add a comment explaining that happens. Also 2% on a
decoder doesn't sound
that great, did you try using an if case for the entire loop for when the
values need to be shifted?
More information about the ffmpeg-devel