[FFmpeg-devel] [PATCH]Fix h264 decoding for icc 32 bit on sse2 cpu

Måns Rullgård mans
Fri Dec 26 11:07:02 CET 2008


Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at> writes:

> Hi!
>
> Attached patch disables the x264 loop filter sse2 functions when
> compiling with 32 bit icc. This should fix the issues with FATE.

What is the underlying problem?

> 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

defined(ARCH_X86_64) is preferred.

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




More information about the ffmpeg-devel mailing list