From b0797570df728796d07ce8d2083e6a48ef6bfcc0 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 17 Dec 2007 18:43:34 +0000 Subject: Correct spatial prediction mode in RV30/40 for vertical left direction and add its version that does not rely on down left neighbour subblock. Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264pred.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/h264pred.h') diff --git a/libavcodec/h264pred.h b/libavcodec/h264pred.h index 33839d1a07..111e5b369a 100644 --- a/libavcodec/h264pred.h +++ b/libavcodec/h264pred.h @@ -50,6 +50,7 @@ #define DIAG_DOWN_LEFT_PRED_RV40_NODOWN 12 #define HOR_UP_PRED_RV40_NODOWN 13 +#define VERT_LEFT_PRED_RV40_NODOWN 14 #define DC_PRED8x8 0 #define HOR_PRED8x8 1 @@ -65,7 +66,7 @@ * Context for storing H.264 prediction functions */ typedef struct H264PredContext{ - void (*pred4x4 [9+3+2])(uint8_t *src, uint8_t *topright, int stride);//FIXME move to dsp? + void (*pred4x4 [9+3+3])(uint8_t *src, uint8_t *topright, int stride);//FIXME move to dsp? void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride); void (*pred8x8 [4+3])(uint8_t *src, int stride); void (*pred16x16[4+3])(uint8_t *src, int stride); -- cgit v1.2.3