[FFmpeg-soc] [soc]: r741 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Mon Aug 13 13:34:30 CEST 2007


Author: marco
Date: Mon Aug 13 13:34:30 2007
New Revision: 741

Log:
Fix regression in 9/7 IDWT

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Mon Aug 13 13:34:30 2007
@@ -1825,8 +1825,8 @@ START_TIMER
     /* Vertical synthesis: Lifting stage 1.  */
     synthline = synth;
     for (x = 0; x < synth_width; x++)
-        synthline[x] -= (synthline[synth_width]
-                       + synthline[synth_width]
+        synthline[x] -= (synthline[x + synth_width]
+                       + synthline[x + synth_width]
                        + 2) >> 2;
     synthline = synth + (synth_width << 1);
     for (y = 1; y < height - 1; y++) {



More information about the FFmpeg-soc mailing list