[FFmpeg-cvslog] r10237 - in trunk/libavcodec/i386: dsputil_mmx.c snowdsp_mmx.c
ramiro
subversion
Sun Aug 26 18:10:53 CEST 2007
Author: ramiro
Date: Sun Aug 26 18:10:53 2007
New Revision: 10237
Log:
CONFIG_7REGS has been renamed to HAVE_7REGS
Modified:
trunk/libavcodec/i386/dsputil_mmx.c
trunk/libavcodec/i386/snowdsp_mmx.c
Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c (original)
+++ trunk/libavcodec/i386/dsputil_mmx.c Sun Aug 26 18:10:53 2007
@@ -3623,7 +3623,7 @@ void dsputil_init_mmx(DSPContext* c, AVC
#ifdef CONFIG_SNOW_DECODER
if(mm_flags & MM_SSE2 & 0){
c->horizontal_compose97i = ff_snow_horizontal_compose97i_sse2;
-#ifdef CONFIG_7REGS
+#ifdef HAVE_7REGS
c->vertical_compose97i = ff_snow_vertical_compose97i_sse2;
#endif
c->inner_add_yblock = ff_snow_inner_add_yblock_sse2;
@@ -3631,7 +3631,7 @@ void dsputil_init_mmx(DSPContext* c, AVC
else{
if(mm_flags & MM_MMXEXT){
c->horizontal_compose97i = ff_snow_horizontal_compose97i_mmx;
-#ifdef CONFIG_7REGS
+#ifdef HAVE_7REGS
c->vertical_compose97i = ff_snow_vertical_compose97i_mmx;
#endif
}
Modified: trunk/libavcodec/i386/snowdsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/snowdsp_mmx.c (original)
+++ trunk/libavcodec/i386/snowdsp_mmx.c Sun Aug 26 18:10:53 2007
@@ -388,7 +388,7 @@ void ff_snow_horizontal_compose97i_mmx(I
}
}
-#ifdef CONFIG_7REGS
+#ifdef HAVE_7REGS
#define snow_vertical_compose_sse2_load_add(op,r,t0,t1,t2,t3)\
""op" ("r",%%"REG_d"), %%"t0" \n\t"\
""op" 16("r",%%"REG_d"), %%"t1" \n\t"\
@@ -603,7 +603,7 @@ void ff_snow_vertical_compose97i_mmx(IDW
:"+d"(i)
:"r"(b0),"r"(b1),"r"(b2),"r"(b3),"r"(b4),"r"(b5));
}
-#endif //CONFIG_7REGS
+#endif //HAVE_7REGS
#define snow_inner_add_yblock_sse2_header \
IDWTELEM * * dst_array = sb->line + src_y;\
More information about the ffmpeg-cvslog
mailing list