[FFmpeg-devel] [PATCH] VC-1: Faster C loopfilter

Jason Garrett-Glaser darkshikari
Sun Jan 18 06:39:05 CET 2009


On Sat, Jan 17, 2009 at 11:54 PM, Jason Garrett-Glaser
<darkshikari at gmail.com> wrote:
> Yuvi requested I optimize this one, so I did.  This patch can be
> summed up as follows:
>
> 13:20 <@mru> I see a lot of xor
> 13:20 <@mru> that's usually a sign of magic
>
> 338 -> 315 cycles for vc1_loop_filter on Core 2 Duo.
> Overall decoding 12.047s -> 11.781s
>
> Dark Shikari
>

Also, it seems forcing inlining of vc1_filter_line improves
performance greatly (315 -> 275 cycles from the above); is it fine to
av_always_inline it?

Dark Shikari




More information about the ffmpeg-devel mailing list