[FFmpeg-devel] [PATCH 0/2] Fix strict aliasing violations in AAC and AC3 parsers

Michael Niedermayer michaelni
Mon Dec 15 02:18:15 CET 2008


On Sun, Dec 14, 2008 at 04:52:29PM -0800, Jason Garrett-Glaser wrote:
> > I meant to suggest to add it to files that fail without instead of
> > spending significant time working around each issue.
> >
> > But iam not against adding it globaly if someone benchmarked the major
> > codecs with it.
> 
> Test clip: http://mirror05.x264.nl/Dark/x264clips/BigBuckBunny.mkv (1080p H.264)
> Test command: -benchmark -y -i BigBugBunny.mkv -an -f null /dev/null
> CPU: Nehalem
> OS: Gentoo 64-bit
> 
> FFmpeg version SVN-r16140, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>   configuration: --extra-cflags=-fno-strict-aliasing
>   built on Dec 14 2008 17:17:59, gcc: 4.3.2
> 
> bench: utime=245.196s
> bench: utime=244.957s
[...]
> FFmpeg version SVN-r16140, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>   configuration:
>   built on Dec 14 2008 17:19:10, gcc: 4.3.2
> 
> bench: utime=287.234s
> bench: utime=286.712s

am i interperting this correctly, that the code is hugely faster with 
-fno-strict-aliasing
?
and iam of course in favor of the faster variant for h264.c

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

Thouse who are best at talking, realize last or never when they are wrong.
-------------- 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/20081215/0c5694d2/attachment.pgp>



More information about the ffmpeg-devel mailing list