From 2669f42b0d50bcff236176584caf623585e487b7 Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Mon, 12 Nov 2012 15:09:25 +0000 Subject: New inter mode context This change is a fix / extension of the newbestrefmv experiment. As such it is presented without IFDEF. The change creates a new context for coding inter modes in vp9_find_mv_refs(). This replaces the context that was previously calculated in vp9_find_near_mvs(). The new context is unoptimized and not necessarily any better at this stage (results pending), but eliminates the need for a legacy call to vp9_find_near_mvs(). Based on numbers from Scott, this could help decode speed by several %. In a later patch I will add support for forward update of context (assuming this helps) and refine the context as necessary. Change-Id: I1cd991b82c8df86cc02237a34185e6d67510698a --- vp9/common/blockd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vp9/common/blockd.h') diff --git a/vp9/common/blockd.h b/vp9/common/blockd.h index 300c01f96..0cfa9dcff 100644 --- a/vp9/common/blockd.h +++ b/vp9/common/blockd.h @@ -231,6 +231,8 @@ typedef struct { int_mv mv[2]; // for each reference frame used int_mv ref_mvs[MAX_REF_FRAMES][MAX_MV_REFS]; + int mb_mode_context[MAX_REF_FRAMES]; + SPLITMV_PARTITIONING_TYPE partitioning; unsigned char mb_skip_coeff; /* does this mb has coefficients at all, 1=no coefficients, 0=need decode tokens */ unsigned char need_to_clamp_mvs; -- cgit v1.2.3