diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-16 19:39:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-16 19:39:01 +0000 |
commit | d358caed7e56b30af9fc93f420372fd46a89b3d4 (patch) | |
tree | 031e72e2ff4d60487c2b0aa4e851f95692ef7154 /libavcodec/h264pred.h | |
parent | ca5b528ea187974555fef5836629409ce63b5b74 (diff) | |
download | ffmpeg-d358caed7e56b30af9fc93f420372fd46a89b3d4.tar.gz |
Horizontal and vertical prediction functions needed for new lossless mode
of H.264.
Originally committed as revision 16168 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264pred.h')
-rw-r--r-- | libavcodec/h264pred.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264pred.h b/libavcodec/h264pred.h index 150567d294..a8146ca0de 100644 --- a/libavcodec/h264pred.h +++ b/libavcodec/h264pred.h @@ -75,6 +75,11 @@ typedef struct H264PredContext{ void (*pred8x8l [9+3])(uint8_t *src, int topleft, int topright, int stride); void (*pred8x8 [4+3+4])(uint8_t *src, int stride); void (*pred16x16[4+3])(uint8_t *src, int stride); + + void (*pred4x4_add [2])(uint8_t *pix/*align 4*/, const DCTELEM *block/*align 16*/, int stride); + void (*pred8x8l_add [2])(uint8_t *pix/*align 8*/, const DCTELEM *block/*align 16*/, int stride); + void (*pred8x8_add [3])(uint8_t *pix/*align 8*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride); + void (*pred16x16_add[3])(uint8_t *pix/*align 16*/, const int *block_offset, const DCTELEM *block/*align 16*/, int stride); }H264PredContext; void ff_h264_pred_init(H264PredContext *h, int codec_id); |