[FFmpeg-devel] [PATCH]Fix h264 decoding for icc 32 bit on sse2 cpu
Carl Eugen Hoyos
cehoyos
Mon Dec 22 20:25:12 CET 2008
Hi!
Attached patch disables the x264 loop filter sse2 functions when compiling
with 32 bit icc. This should fix the issues with FATE.
Carl Eugen
-------------- next part --------------
Index: libavcodec/x86/dsputil_mmx.c
===================================================================
--- libavcodec/x86/dsputil_mmx.c (revision 16270)
+++ libavcodec/x86/dsputil_mmx.c (working copy)
@@ -2870,12 +2870,14 @@
c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_mmxext;
c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_mmxext;
#endif
+#if ENABLE_X86_64 || !defined(__ICC) || __ICC > 1100
if( mm_flags&FF_MM_SSE2 ){
c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2;
c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2;
c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2;
c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2;
}
+#endif
}
#endif
More information about the ffmpeg-devel
mailing list