comparison x86/h264dsp_mmx.c @ 12505:b2d560458a72 libavcodec

x86: disable SSE functions using stack when stack is not aligned This fixes crashes with ICC 10.1.
author mru
date Tue, 21 Sep 2010 17:57:21 +0000
parents 6bc14239edfb
children 58bd8cb86f5d
comparison
equal deleted inserted replaced
12504:036603a63c51 12505:b2d560458a72
324 c->biweight_h264_pixels_tab[1]= ff_h264_biweight_16x8_sse2; 324 c->biweight_h264_pixels_tab[1]= ff_h264_biweight_16x8_sse2;
325 c->biweight_h264_pixels_tab[2]= ff_h264_biweight_8x16_sse2; 325 c->biweight_h264_pixels_tab[2]= ff_h264_biweight_8x16_sse2;
326 c->biweight_h264_pixels_tab[3]= ff_h264_biweight_8x8_sse2; 326 c->biweight_h264_pixels_tab[3]= ff_h264_biweight_8x8_sse2;
327 c->biweight_h264_pixels_tab[4]= ff_h264_biweight_8x4_sse2; 327 c->biweight_h264_pixels_tab[4]= ff_h264_biweight_8x4_sse2;
328 328
329 #if HAVE_ALIGNED_STACK
329 c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2; 330 c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2;
330 c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2; 331 c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2;
331 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2; 332 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2;
332 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2; 333 c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2;
334 #endif
333 335
334 c->h264_idct_add16 = ff_h264_idct_add16_sse2; 336 c->h264_idct_add16 = ff_h264_idct_add16_sse2;
335 c->h264_idct_add8 = ff_h264_idct_add8_sse2; 337 c->h264_idct_add8 = ff_h264_idct_add8_sse2;
336 c->h264_idct_add16intra = ff_h264_idct_add16intra_sse2; 338 c->h264_idct_add16intra = ff_h264_idct_add16intra_sse2;
337 } 339 }