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

kostya subversion at mplayerhq.hu
Wed Aug 15 08:23:14 CEST 2007


Author: kostya
Date: Wed Aug 15 08:23:14 2007
New Revision: 800

Log:
First 8x16 partition C predictor is in the same block with B predictor

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Wed Aug 15 08:23:14 2007
@@ -802,6 +802,7 @@ static void rv40_pred_mv(RV40DecContext 
     case RV40_MB_P_8x16:
         mv_pos += subblock_no;
         no_A &= ~subblock_no;
+        if(!subblock_no) no_C = no_B;
         if(!no_C){
             C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+1][0];
             C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+1][1];



More information about the FFmpeg-soc mailing list