From b86ab38137be34376c90d45d08d49dbd28f2a72f Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 10 Aug 2011 11:26:39 +0200 Subject: Add weighted motion compensation for RV40 B-frames Signed-off-by: Ronald S. Bultje --- libavcodec/rv34.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/rv34.h') diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index ef19813cf8..12607fb806 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -116,6 +116,11 @@ typedef struct RV34DecContext{ /** 8x8 block available flags (for MV prediction) */ DECLARE_ALIGNED(8, uint32_t, avail_cache)[3*4]; + /** temporary blocks for RV4 weighted MC */ + uint8_t *tmp_b_block_y[2]; + uint8_t *tmp_b_block_uv[4]; + uint8_t *tmp_b_block_base; + int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si); int (*decode_mb_info)(struct RV34DecContext *r); int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst); -- cgit v1.2.3