[FFmpeg-devel] [PATCH] Don't run block_last_index hack for non-MMX code.
Ramiro Polla
ramiro
Mon May 19 19:39:40 CEST 2008
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).
Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dct_quantize_mmx_hack.diff
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080519/65f96b7b/attachment.bin>
More information about the ffmpeg-devel
mailing list