summaryrefslogtreecommitdiff
path: root/libavcodec/h264pred.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-12-17 18:43:34 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-12-17 18:43:34 +0000
commitb0797570df728796d07ce8d2083e6a48ef6bfcc0 (patch)
tree3f25a46de90e61d6fd2a83182b3fa17508939974 /libavcodec/h264pred.h
parent5492209aa9b26773e7a5fdad0995196ffb2dff53 (diff)
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
Diffstat (limited to 'libavcodec/h264pred.h')
-rw-r--r--libavcodec/h264pred.h3
1 files changed, 2 insertions, 1 deletions
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);