diff rv34.c @ 6036:ce3b68242317 libavcodec

Correct spatial prediction mode in RV30/40 for vertical left direction and add its version that does not rely on down left neighbour subblock.
author kostya
date Mon, 17 Dec 2007 18:43:34 +0000
parents 49c086b24908
children 89140b93ae09
line wrap: on
line diff
--- a/rv34.c	Mon Dec 17 18:23:18 2007 +0000
+++ b/rv34.c	Mon Dec 17 18:43:34 2007 +0000
@@ -766,6 +766,7 @@
     if(!down){
         if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN;
         if(itype == HOR_UP_PRED) itype = HOR_UP_PRED_RV40_NODOWN;
+        if(itype == VERT_LEFT_PRED) itype = VERT_LEFT_PRED_RV40_NODOWN;
     }
     if(!right && up){
         topleft = dst[-stride + 3] * 0x01010101;