[FFmpeg-devel] [PATCH] Move CPU detection to libavutil and cleanup

Michael Niedermayer michaelni
Sun Sep 5 16:48:23 CEST 2010


On Sat, Sep 04, 2010 at 12:09:50PM +0200, Stefano Sabatini wrote:
[...]
> +#include "config.h"
> +
> +int av_get_cpu_flags(void)
> +{
> +    return HAVE_IWMMXT * AV_CPU_IWMMXT;
> +}
> +
> +int ff_has_altivec(void)

why this seperate function and why does it have a ff_ prefix but is used from
outside libavutil?

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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100905/f6929b91/attachment.pgp>



More information about the ffmpeg-devel mailing list