[FFmpeg-devel] [PATCH] faster vp6 decoding

Aurelien Jacobs aurel
Fri Feb 13 01:02:47 CET 2009

Sebastien Lucas wrote:

> On Thu, Feb 12, 2009 at 12:29 AM, Aurelien Jacobs <aurel at gnuage.org> wrote:
> > Nice. I fixed it so that it works on x86_64 and I cleaned it up.
> > It works but has some small visible artifacts.
> > It would be great if you could fix attached patch so that it gives
> > bitexact result with:
> >  ffmpeg -i sample.flv -f framecrc out.crc
> I fixed the code (it's attached) but I didn't know how if it's clean
> enough. Zuxy was using ff_pw_64 (in fact the MMX code should use it)
> which is only a int64 and with his SSE2 code we need an int128.
> So I added the round_64 variable in vp6dsp_sse2.c. I also fixed the
> overflow/sign problems.
> I can confirm it's bitexact, but I can not test the speed (testing on
> a virtual machine).

Applied with ff_pw_64 instead of round_64.


More information about the ffmpeg-devel mailing list