[FFmpeg-cvslog] r18904 - in trunk/libavcodec: Makefile mlpdsp.c

ramiro subversion
Sat May 23 03:20:42 CEST 2009


Author: ramiro
Date: Sat May 23 03:20:42 2009
New Revision: 18904

Log:
Revert part of r18903:
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

It breaks on x86_64 with PIC because the MANGLE macro appends (%%rip), which
is not wanted for labels.

Modified:
   trunk/libavcodec/Makefile
   trunk/libavcodec/mlpdsp.c

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	Sat May 23 02:23:30 2009	(r18903)
+++ trunk/libavcodec/Makefile	Sat May 23 03:20:42 2009	(r18904)
@@ -445,10 +445,8 @@ MMX-OBJS-$(CONFIG_CAVS_DECODER)        +
 MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o
 MMX-OBJS-$(CONFIG_FLAC_ENCODER)        += x86/flacdsp_mmx.o
 MMX-OBJS-$(CONFIG_GPL)                 += x86/idct_mmx.o
-MMX-OBJS-$(CONFIG_MLP_DECODER)         += x86/mlpdsp.o
 MMX-OBJS-$(CONFIG_SNOW_DECODER)        += x86/snowdsp_mmx.o
 MMX-OBJS-$(CONFIG_THEORA_DECODER)      += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o
-MMX-OBJS-$(CONFIG_TRUEHD_DECODER)      += x86/mlpdsp.o
 MMX-OBJS-$(CONFIG_VC1_DECODER)         += x86/vc1dsp_mmx.o
 MMX-OBJS-$(CONFIG_VP3_DECODER)         += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o
 MMX-OBJS-$(CONFIG_VP5_DECODER)         += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o

Modified: trunk/libavcodec/mlpdsp.c
==============================================================================
--- trunk/libavcodec/mlpdsp.c	Sat May 23 02:23:30 2009	(r18903)
+++ trunk/libavcodec/mlpdsp.c	Sat May 23 03:20:42 2009	(r18904)
@@ -55,11 +55,7 @@ static void ff_mlp_filter_channel(int32_
     }
 }
 
-void ff_mlp_init_x86(DSPContext* c, AVCodecContext *avctx);
-
 void ff_mlp_init(DSPContext* c, AVCodecContext *avctx)
 {
     c->mlp_filter_channel = ff_mlp_filter_channel;
-    if (ARCH_X86)
-        ff_mlp_init_x86(c, avctx);
 }



More information about the ffmpeg-cvslog mailing list