[FFmpeg-devel] [PATCH] use correct colorspace in Cinepak decoder

u-bo1b at 0w.se u-bo1b at 0w.se
Mon Feb 18 12:10:00 CET 2013

On Sun, Feb 17, 2013 at 11:16:48PM +0100, u-bo1b at 0w.se wrote:
> (fps numbers: average of 5 runs in each case, rounded to the nearest integer)
>  ffmpeg -i cinepak.avi -f null -
> yuv (incorrect) : fps = 4012
> rgb (correct)   : fps = 3478
>  ffmpeg -i cinepak.avi -vf format=rgb24 -f null -
> yuv (incorrect) : fps = 2618
> rgb (correct)   : fps = 3481

Now adding an additional fix, allowing y-dimensions not being multiple of 4
(I guess the corresponding bug was there from the beginning but hidden
by sheer luck in memory allocation) and with more optimization the new
code gives for the same test

                    fps = 4310

Which means better than even when the old code could skip the color conversion.

The corrected patch will follow when I figure out how to adjust fate data.


More information about the ffmpeg-devel mailing list