comparison h264pred.h @ 8349:920ded20b469 libavcodec

Horizontal and vertical prediction functions needed for new lossless mode of H.264.
author michael
date Tue, 16 Dec 2008 19:39:01 +0000
parents c4a4495715dd
children b9880fc0afaf
comparison
equal deleted inserted replaced
8348:64ab53a5aef4 8349:920ded20b469
73 typedef struct H264PredContext{ 73 typedef struct H264PredContext{
74 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?
75 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);
76 void (*pred8x8 [4+3+4])(uint8_t *src, int stride); 76 void (*pred8x8 [4+3+4])(uint8_t *src, int stride);
77 void (*pred16x16[4+3])(uint8_t *src, int stride); 77 void (*pred16x16[4+3])(uint8_t *src, int stride);
78
79 void (*pred4x4_add [2])(uint8_t *pix/*align 4*/, const DCTELEM *block/*align 16*/, int stride);
80 void (*pred8x8l_add [2])(uint8_t *pix/*align 8*/, const DCTELEM *block/*align 16*/, int stride);
81 void (*pred8x8_add [3])(uint8_t *pix/*align 8*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride);
82 void (*pred16x16_add[3])(uint8_t *pix/*align 16*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride);
78 }H264PredContext; 83 }H264PredContext;
79 84
80 void ff_h264_pred_init(H264PredContext *h, int codec_id); 85 void ff_h264_pred_init(H264PredContext *h, int codec_id);
81 86
82 #endif /* AVCODEC_H264PRED_H */ 87 #endif /* AVCODEC_H264PRED_H */