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

kostya subversion at mplayerhq.hu
Sun Aug 19 06:40:11 CEST 2007


Author: kostya
Date: Sun Aug 19 06:40:11 2007
New Revision: 1009

Log:
Now motion prediction should be fully correct

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Sun Aug 19 06:40:11 2007
@@ -794,6 +794,7 @@ static void rv40_pred_mv(RV40DecContext 
         if(subblock_no & 2) no_B = 0;
         no_C |= (subblock_no == 3);
         if(subblock_no == 2) no_C = 0;
+        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