[FFmpeg-devel] [PATCH] manually hacked configure options increase h264 decoding speed significantly

Michael Niedermayer michaelni at gmx.at
Thu Feb 9 17:52:56 CET 2012


On Wed, Feb 08, 2012 at 02:07:13PM -0500, Laurent wrote:
> On Wed, Feb 8, 2012 at 1:46 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Wed, Feb 08, 2012 at 01:33:58PM -0500, Laurent wrote:
> >> On Fri, Oct 21, 2011 at 7:33 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> > On Sat, Oct 22, 2011 at 12:34:25AM +0200, Hendrik Leppkes wrote:
> >> >> Hi,
> >> >>
> >> >> On Sat, Oct 22, 2011 at 12:15 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> >> > please try attached patch and check if it enables ebp
> >>
> >> With MinGW GCC 4.6.2, the function gets inlined with -O3 so you are
> >> back in square 1.
> >>
> >> I am no gcc expert, but adding a "noinline" attribute works for me:
> >>
> >> __attribute__ ((noinline)) int func(void) {
> >
> > that would break compilation on non gcc
> 
> Thanks to stackoverflow: using a function pointer works too.

thanks, applied

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

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120209/65882cae/attachment.asc>


More information about the ffmpeg-devel mailing list