summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2011-08-10 11:26:24 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2011-08-11 16:07:23 -0700
commite5ec68699e418b5c6044195fb998ee5287f2bb6f (patch)
tree89e36e1cfbe0bf98456474a59448f1979d42f3b8 /libavcodec/rv34.h
parentd241f51e0f7c08060d2fa72117e2a1f273ab0c72 (diff)
RV3/4: calculate B-frame motion weights once per frame
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h1
1 files changed, 1 insertions, 0 deletions
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