[FFmpeg-devel] [PATCH] Don't run block_last_index hack for non-MMX code.

Michael Niedermayer michaelni
Mon May 19 23:07:45 CEST 2008


On Mon, May 19, 2008 at 06:39:40PM +0100, Ramiro Polla wrote:
> Hello,
>
> MMX dct_quantize returns the wrong block_last_index value for 
> non-zigzag_direct scantables. There is a hack in mpegvideo_enc.c to get the 
> correct value, but it assumes all non-c dct_quantizers return the wrong 
> value.
>
> Attached patch should speed up encoding to alternate scantables on blackfin 
> and altivec, since only the MMX variants seem to return the wrong value.
>
> Note that I can't test the patch. I'm just suggesting it. It's here for 
> whoever wants to test, benchmark, and pass it through the review process 
> (not me).

patch ok if it doesnt break anything

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080519/b869140c/attachment.pgp>



More information about the ffmpeg-devel mailing list