From e5ec68699e418b5c6044195fb998ee5287f2bb6f Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 10 Aug 2011 11:26:24 +0200 Subject: RV3/4: calculate B-frame motion weights once per frame Signed-off-by: Ronald S. Bultje --- libavcodec/rv34.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/rv34.h') diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index 811afb4a80..ef19813cf8 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -107,6 +107,7 @@ typedef struct RV34DecContext{ int rpr; ///< one field size in RV30 slice header int cur_pts, last_pts, next_pts; + int weight1, weight2; ///< B frame distance fractions (0.14) used in motion compensation uint16_t *cbp_luma; ///< CBP values for luma subblocks uint8_t *cbp_chroma; ///< CBP values for chroma subblocks -- cgit v1.2.3