diff options
author | Paul Wilkins <paulwilkins@google.com> | 2012-11-12 15:09:25 +0000 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2012-11-12 15:50:02 +0000 |
commit | 2669f42b0d50bcff236176584caf623585e487b7 (patch) | |
tree | 5a17fb6160809e0577698226d26d621674a4eb76 /vp9/common/blockd.h | |
parent | 6fb8953c190430bbc324b57efa0297f6a612d7c7 (diff) | |
download | libvpx-2669f42b0d50bcff236176584caf623585e487b7.tar libvpx-2669f42b0d50bcff236176584caf623585e487b7.tar.gz libvpx-2669f42b0d50bcff236176584caf623585e487b7.tar.bz2 libvpx-2669f42b0d50bcff236176584caf623585e487b7.zip |
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
Diffstat (limited to 'vp9/common/blockd.h')
-rw-r--r-- | vp9/common/blockd.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |