diff h264pred.h @ 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 1d83e9c34641
children f7cbb7733146
line wrap: on
line diff
--- a/h264pred.h	Mon Dec 17 18:23:18 2007 +0000
+++ b/h264pred.h	Mon Dec 17 18:43:34 2007 +0000
@@ -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);