[FFmpeg-soc] [soc]: r447 - rv40/rv40.c

kostya subversion at mplayerhq.hu
Mon Jul 16 14:15:05 CEST 2007


Author: kostya
Date: Mon Jul 16 14:15:04 2007
New Revision: 447

Log:
DC should be set after dequantazing

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Mon Jul 16 14:15:04 2007
@@ -673,9 +673,9 @@ static int rv40_decode_macroblock(RV40De
         if(cbp & 1)
             rv40_decode_block(s->block[blknum] + blkoff, gb, r->cur_vlcs, luma_vlc, 0);
         if((cbp & 1) || is16){
+            rv40_dequant4x4(s->block[blknum], blkoff, rv40_qscale_tab[r->quant],rv40_qscale_tab[r->quant]);
             if(is16) //FIXME: optimize
                 s->block[blknum][blkoff] = block16[i];
-            rv40_dequant4x4(s->block[blknum], blkoff, rv40_qscale_tab[r->quant],rv40_qscale_tab[r->quant]);
             rv40_intra_inv_transform(s->block[blknum], blkoff);
         }
     }



More information about the FFmpeg-soc mailing list