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

kostya subversion at mplayerhq.hu
Thu Jul 19 18:34:46 CEST 2007


Author: kostya
Date: Thu Jul 19 18:34:46 2007
New Revision: 490

Log:
Adjust 16x16 intra prediction for edge blocks

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Thu Jul 19 18:34:46 2007
@@ -640,9 +640,11 @@ static void rv40_output_macroblock(RV40D
         if(no_up && no_left)
             itype = DC_128_PRED8x8;
         else if(no_up){
+            if(itype == PLANE_PRED8x8)itype = HOR_PRED8x8;
             if(itype == VERT_PRED8x8) itype = HOR_PRED8x8;
             if(itype == DC_PRED8x8)   itype = LEFT_DC_PRED8x8;
         }else if(no_left){
+            if(itype == PLANE_PRED8x8)itype = VERT_PRED8x8;
             if(itype == HOR_PRED8x8)  itype = VERT_PRED8x8;
             if(itype == DC_PRED8x8)   itype = TOP_DC_PRED8x8;
         }



More information about the FFmpeg-soc mailing list