Mercurial > libavcodec.hg
comparison x86/dsputil_mmx.c @ 8510:cea216e44ee3 libavcodec
Add x264 SSE2 iDCT functions to H.264 decoder.
author | darkshikari |
---|---|
date | Sat, 03 Jan 2009 00:46:17 +0000 |
parents | c45cc4e913dd |
children | cc64e1343397 |
comparison
equal
deleted
inserted
replaced
8509:5dffd656f606 | 8510:cea216e44ee3 |
---|---|
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( mm_flags&FF_MM_SSE2 ){ | |
2875 #if defined(ARCH_X86_64) || !defined(__ICC) || __ICC > 1100 | 2876 #if defined(ARCH_X86_64) || !defined(__ICC) || __ICC > 1100 |
2876 if( mm_flags&FF_MM_SSE2 ){ | |
2877 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; |
2878 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; |
2879 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; |
2880 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; |
2881 #endif | |
2882 c->h264_idct_add16 = ff_h264_idct_add16_sse2; | |
2883 c->h264_idct_add8 = ff_h264_idct_add8_sse2; | |
2884 c->h264_idct_add16intra = ff_h264_idct_add16intra_sse2; | |
2881 } | 2885 } |
2882 #endif | |
2883 } | 2886 } |
2884 #endif | 2887 #endif |
2885 | 2888 |
2886 #ifdef CONFIG_SNOW_DECODER | 2889 #ifdef CONFIG_SNOW_DECODER |
2887 if(mm_flags & FF_MM_SSE2 & 0){ | 2890 if(mm_flags & FF_MM_SSE2 & 0){ |