[FFmpeg-devel] [PATCH] faster vp6 decoding

Sebastien Lucas sebastien.lucas
Thu Feb 12 14:03:15 CET 2009

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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vp6dsp_sse2_fixed.diff
Type: text/x-patch
Size: 8280 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090212/b004cccb/attachment.bin>

More information about the ffmpeg-devel mailing list