diff options
author | Jingning Han <jingning@google.com> | 2018-09-20 10:03:27 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2018-09-20 10:05:42 -0700 |
commit | bc40b13f33de2e3cf8942659c35a84d8d65b8401 (patch) | |
tree | 2dad3417c74641cd0fdc6f69d5b4889209c6b16d /vp9/common/vp9_pred_common.h | |
parent | 7cc12cbe0e8989a770d1411062154d4f410e8af4 (diff) | |
download | libvpx-bc40b13f33de2e3cf8942659c35a84d8d65b8401.tar libvpx-bc40b13f33de2e3cf8942659c35a84d8d65b8401.tar.gz libvpx-bc40b13f33de2e3cf8942659c35a84d8d65b8401.tar.bz2 libvpx-bc40b13f33de2e3cf8942659c35a84d8d65b8401.zip |
Generalize encoder comp_var_ref setting
Generalize the encoder comp_fixed_ref and comp_var_ref assignments.
Make it fully support 2 fwd + 1 bwd and 1 fwd + 2 bwd settings
that VP9 decoder allows.
Change-Id: Id74da9a66327189a3fdf382d447243003c431131
Diffstat (limited to 'vp9/common/vp9_pred_common.h')
-rw-r--r-- | vp9/common/vp9_pred_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/common/vp9_pred_common.h b/vp9/common/vp9_pred_common.h index e2f17f251..7806da82f 100644 --- a/vp9/common/vp9_pred_common.h +++ b/vp9/common/vp9_pred_common.h @@ -145,6 +145,8 @@ static INLINE vpx_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm, return cm->fc->single_ref_prob[vp9_get_pred_context_single_ref_p2(xd)][1]; } +void vp9_setup_compound_reference_mode(VP9_COMMON *cm); + // Returns a context number for the given MB prediction signal // The mode info data structure has a one element border above and to the // left of the entries corresponding to real blocks. |