comparison 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
comparison
equal deleted inserted replaced
6035:4de95581b38a 6036:ce3b68242317
764 if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN; 764 if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN;
765 } 765 }
766 if(!down){ 766 if(!down){
767 if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN; 767 if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN;
768 if(itype == HOR_UP_PRED) itype = HOR_UP_PRED_RV40_NODOWN; 768 if(itype == HOR_UP_PRED) itype = HOR_UP_PRED_RV40_NODOWN;
769 if(itype == VERT_LEFT_PRED) itype = VERT_LEFT_PRED_RV40_NODOWN;
769 } 770 }
770 if(!right && up){ 771 if(!right && up){
771 topleft = dst[-stride + 3] * 0x01010101; 772 topleft = dst[-stride + 3] * 0x01010101;
772 prev = &topleft; 773 prev = &topleft;
773 } 774 }