summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-02-10 02:02:06 +0000
committerDavid Conrad <lessen42@gmail.com>2010-02-10 02:02:06 +0000
commit19530266a593e68f48802dcc183383ac3bb7c3c7 (patch)
tree053f9c74e0b30f0d1db0c3a49594822258126cc0
parent8e05f06912e2bb39c77609e4d9161bfb46ea8fde (diff)
downloadffmpeg-streaming-19530266a593e68f48802dcc183383ac3bb7c3c7.zip
ffmpeg-streaming-19530266a593e68f48802dcc183383ac3bb7c3c7.tar.gz
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. Originally committed as revision 21736 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index 8263ac5..be8f616 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2840,10 +2840,8 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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){
OpenPOWER on IntegriCloud