[MPlayer-dev-eng] libmpeg2 #ifdeffery

Diego Biurrun diego at biurrun.de
Tue Apr 1 19:36:51 CEST 2008


On Wed, Mar 05, 2008 at 05:55:20PM +0100, Diego Biurrun wrote:
> We currently ship libmpeg2 butchered up with a lot of #ifdefs around
> processor-specific optimizations as in
> 
> --- libmpeg2/motion_comp.c	2006-06-16 20:12:26.000000000 +0200
> +++ libmpeg2/motion_comp.c	2006-06-16 20:12:50.000000000 +0200
> @@ -37,16 +37,22 @@
>  
>  void mpeg2_mc_init (uint32_t accel)
>  {
> -#ifdef ARCH_X86
> +#ifdef HAVE_MMX2
> 
> See libmpeg2/libmpeg-0.4.1.diff for the full monty.
> 
> Is this still desirable?  Is there any real speed gain?

I could not measure any impact on speed, thus I reverted this set of
local changes.

Diego



More information about the MPlayer-dev-eng mailing list