[FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations

Jeff Downs heydowns
Mon Apr 14 05:02:22 CEST 2008


On Mon, 14 Apr 2008, Michael Niedermayer wrote:

> The question remaining is where does gcc mess up this time?
> Any obvious things it inlines/doesnt inline
> anything visible with -Wdisabled-optimization -Winline ?

MPV_motion_internal is no longer inlined (max-inline-insns-single limit 
reached).  Trying to increase that limit to double the gcc man page stated 
default did nothing to help. Limit was still reached.

Adding av_always_inline to it makes it be inlined. MPV_motion is still not 
(though I don't know if it is in current svn either).
This (and fixing the aforementioned typo) gets performance closer to what 
I posted for the hardcoded version.

If no one else gets there, I'll post a version w/ these changes & 
benchmarks later.

	-Jeff

 
5B




More information about the ffmpeg-devel mailing list