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

Måns Rullgård mans
Wed Sep 8 08:50:47 CEST 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> Subject: [PATCH 2/2] Merge has_altivec() function into mm_support(), remove it and use
>  mm_support() instead.
>
> Reduce complexity and simplify pending move to libavutil.
> ---
>  libavcodec/ppc/check_altivec.c     |   15 ++++++++++-----
>  libavcodec/ppc/dsputil_altivec.h   |    2 --
>  libavcodec/ppc/dsputil_ppc.c       |   13 +------------
>  libavcodec/ppc/h264_altivec.c      |    4 ++--
>  libavcodec/ppc/mpegvideo_altivec.c |    2 +-
>  libavcodec/ppc/vp8dsp_altivec.c    |    2 +-
>  6 files changed, 15 insertions(+), 23 deletions(-)

Looks good to me.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list