changeset 1574:1396e33a9cb6 libavcodec

10l
author michael
date Sat, 25 Oct 2003 19:44:37 +0000
parents a4aa536938b8
children f16ae8e69bd9
files dct-test.c i386/fdct_mmx.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Sat Oct 25 19:30:14 2003 +0000
+++ b/dct-test.c	Sat Oct 25 19:44:37 2003 +0000
@@ -484,6 +484,7 @@
             dct_error("IJG-AAN-INT", 0, fdct_ifast, fdct, test);
             dct_error("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, test);
             dct_error("MMX", 0, ff_fdct_mmx, fdct, test);
+            dct_error("MMX2", 0, ff_fdct_mmx2, fdct, test);
             dct_error("FAAN", 0, ff_faandct, fdct, test);
         } else {
             dct_error("REF-DBL", 1, idct, idct, test);
--- a/i386/fdct_mmx.c	Sat Oct 25 19:30:14 2003 +0000
+++ b/i386/fdct_mmx.c	Sat Oct 25 19:44:37 2003 +0000
@@ -233,6 +233,8 @@
     pmaddwd_m2r(*(table + 12), mm1);
     pmaddwd_m2r(*(table + 24), mm5);
     pmaddwd_m2r(*(table + 28), mm6);
+    paddd_r2r(mm4, mm3);
+    paddd_r2r(mm7, mm2);
     paddd_r2r(mm1, mm0);
     paddd_r2r(mm6, mm5);
     movq_m2r(*fdct_r_row, mm7);