# HG changeset patch # User conrad # Date 1265767326 0 # Node ID 001eb7e3e2d3dcae3362764bd2b8af1a5d4568b5 # Parent ad6d17b36a3a1e590642ea3363bbe0bef1cf8f8d Enable SSE2 (put|avg)_pixels_16_sse2 SVQ1 chroma has been special-cased aligned to 16-bytes since at least r15466 Other architectures also assume 16-byte alignment here too but set STRIDE_ALIGN to 16. diff -r ad6d17b36a3a -r 001eb7e3e2d3 x86/dsputil_mmx.c --- a/x86/dsputil_mmx.c Tue Feb 09 16:13:52 2010 +0000 +++ b/x86/dsputil_mmx.c Wed Feb 10 02:02:06 2010 +0000 @@ -2840,10 +2840,8 @@ c->avg_h264_qpel_pixels_tab[1][x+y*4] = avg_h264_qpel8_mc##x##y##_##CPU; if((mm_flags & FF_MM_SSE2) && !(mm_flags & FF_MM_3DNOW)){ // these functions are slower than mmx on AMD, but faster on Intel -/* FIXME works in most codecs, but crashes svq1 due to unaligned chroma c->put_pixels_tab[0][0] = put_pixels16_sse2; c->avg_pixels_tab[0][0] = avg_pixels16_sse2; -*/ H264_QPEL_FUNCS(0, 0, sse2); } if(mm_flags & FF_MM_SSE2){