comparison h264pred.h @ 7532:c4de4b187b4f libavcodec

Support MBAFF + constrained intra prediction. (no i would not have tried to implement this had i known what mess it is) fixes at least: CAMACI3_Sony_C
author michael
date Mon, 11 Aug 2008 02:21:33 +0000
parents f7cbb7733146
children c4a4495715dd
comparison
equal deleted inserted replaced
7531:63c782094e3a 7532:c4de4b187b4f
58 #define PLANE_PRED8x8 3 58 #define PLANE_PRED8x8 3
59 59
60 #define LEFT_DC_PRED8x8 4 60 #define LEFT_DC_PRED8x8 4
61 #define TOP_DC_PRED8x8 5 61 #define TOP_DC_PRED8x8 5
62 #define DC_128_PRED8x8 6 62 #define DC_128_PRED8x8 6
63
64 #define ALZHEIMER_DC_L0T_PRED8x8 7
65 #define ALZHEIMER_DC_0LT_PRED8x8 8
66 #define ALZHEIMER_DC_L00_PRED8x8 9
67 #define ALZHEIMER_DC_0L0_PRED8x8 10
63 //@} 68 //@}
64 69
65 /** 70 /**
66 * Context for storing H.264 prediction functions 71 * Context for storing H.264 prediction functions
67 */ 72 */
68 typedef struct H264PredContext{ 73 typedef struct H264PredContext{
69 void (*pred4x4 [9+3+3])(uint8_t *src, uint8_t *topright, int stride);//FIXME move to dsp? 74 void (*pred4x4 [9+3+3])(uint8_t *src, uint8_t *topright, int stride);//FIXME move to dsp?
70 void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride); 75 void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride);
71 void (*pred8x8 [4+3])(uint8_t *src, int stride); 76 void (*pred8x8 [4+3+4])(uint8_t *src, int stride);
72 void (*pred16x16[4+3])(uint8_t *src, int stride); 77 void (*pred16x16[4+3])(uint8_t *src, int stride);
73 }H264PredContext; 78 }H264PredContext;
74 79
75 void ff_h264_pred_init(H264PredContext *h, int codec_id); 80 void ff_h264_pred_init(H264PredContext *h, int codec_id);
76 81