Mercurial > libavcodec.hg
comparison x86/dsputil_mmx.c @ 8499:c45cc4e913dd libavcodec
Fix h264 decoding on SSE2 cores with icc compilation.
author | cehoyos |
---|---|
date | Sun, 28 Dec 2008 19:40:13 +0000 |
parents | 2ba4e13aa21a |
children | cea216e44ee3 |
comparison
equal
deleted
inserted
replaced
8498:2c7e8fe5fc6a | 8499:c45cc4e913dd |
---|---|
2870 if( mm_flags&FF_MM_MMXEXT ){ | 2870 if( mm_flags&FF_MM_MMXEXT ){ |
2871 #ifdef ARCH_X86_32 | 2871 #ifdef ARCH_X86_32 |
2872 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_mmxext; | 2872 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_mmxext; |
2873 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_mmxext; | 2873 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_mmxext; |
2874 #endif | 2874 #endif |
2875 #if defined(ARCH_X86_64) || !defined(__ICC) || __ICC > 1100 | |
2875 if( mm_flags&FF_MM_SSE2 ){ | 2876 if( mm_flags&FF_MM_SSE2 ){ |
2876 c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2; | 2877 c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2; |
2877 c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2; | 2878 c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2; |
2878 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2; | 2879 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2; |
2879 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2; | 2880 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2; |
2880 } | 2881 } |
2882 #endif | |
2881 } | 2883 } |
2882 #endif | 2884 #endif |
2883 | 2885 |
2884 #ifdef CONFIG_SNOW_DECODER | 2886 #ifdef CONFIG_SNOW_DECODER |
2885 if(mm_flags & FF_MM_SSE2 & 0){ | 2887 if(mm_flags & FF_MM_SSE2 & 0){ |