[FFmpeg-soc] [soc]: r448 - rv40/rv40.c
kostya
subversion at mplayerhq.hu
Mon Jul 16 14:22:54 CEST 2007
Author: kostya
Date: Mon Jul 16 14:22:54 2007
New Revision: 448
Log:
10l: calculate correct position in block
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Mon Jul 16 14:22:54 2007
@@ -675,7 +675,7 @@ static int rv40_decode_macroblock(RV40De
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];
+ s->block[blknum][blkoff] = block16[(i & 3) | ((i & 0xC) << 1)];
rv40_intra_inv_transform(s->block[blknum], blkoff);
}
}
More information about the FFmpeg-soc
mailing list