diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2011-08-10 11:26:39 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-08-11 16:07:58 -0700 |
commit | b86ab38137be34376c90d45d08d49dbd28f2a72f (patch) | |
tree | 81d8adb7d44ff7e650d72212f94dab9a18528877 /libavcodec/rv34dsp.h | |
parent | e5ec68699e418b5c6044195fb998ee5287f2bb6f (diff) | |
download | ffmpeg-b86ab38137be34376c90d45d08d49dbd28f2a72f.tar.gz |
Add weighted motion compensation for RV40 B-frames
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/rv34dsp.h')
-rw-r--r-- | libavcodec/rv34dsp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/rv34dsp.h b/libavcodec/rv34dsp.h index 771a6c0f08..e1def7dc26 100644 --- a/libavcodec/rv34dsp.h +++ b/libavcodec/rv34dsp.h @@ -29,11 +29,17 @@ #include "dsputil.h" +typedef void (*rv40_weight_func)(uint8_t *dst/*align width (8 or 16)*/, + uint8_t *src1/*align width (8 or 16)*/, + uint8_t *src2/*align width (8 or 16)*/, + int w1, int w2, int stride); + typedef struct RV34DSPContext { qpel_mc_func put_pixels_tab[4][16]; qpel_mc_func avg_pixels_tab[4][16]; h264_chroma_mc_func put_chroma_pixels_tab[3]; h264_chroma_mc_func avg_chroma_pixels_tab[3]; + rv40_weight_func rv40_weight_pixels_tab[2]; } RV34DSPContext; void ff_rv30dsp_init(RV34DSPContext *c, DSPContext* dsp); |