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

kostya subversion at mplayerhq.hu
Wed Aug 1 13:04:21 CEST 2007


Author: kostya
Date: Wed Aug  1 13:04:21 2007
New Revision: 579

Log:
1000l to me: chroma block dequantizers were wrong

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Wed Aug  1 13:04:21 2007
@@ -833,7 +833,7 @@ static int rv40_decode_macroblock(RV40De
         blknum = ((i & 4) >> 2) + 4;
         blkoff = ((i & 1) << 2) + ((i & 2) << 4);
         rv40_decode_block(s->block[blknum] + blkoff, gb, r->cur_vlcs, chroma_vlc, 1);
-        rv40_dequant4x4(s->block[blknum], blkoff, rv40_qscale_tab[rv40_chroma_quant[0][r->quant]],rv40_chroma_quant[0][rv40_qscale_tab[r->quant]]);
+        rv40_dequant4x4(s->block[blknum], blkoff, rv40_qscale_tab[rv40_chroma_quant[1][r->quant]],rv40_qscale_tab[rv40_chroma_quant[0][r->quant]]);
         rv40_intra_inv_transform(s->block[blknum], blkoff);
     }
     rv40_output_macroblock(r, intra_types, cbp2, is16);



More information about the FFmpeg-soc mailing list