Commit 077e320a authored by Jingning Han's avatar Jingning Han

Resolve performance regression in compound rounding and segment

This commit resolves the compression performance regression when
both compound rounding and compound segment are enabled.

Change-Id: I831b4e44d2b054aa74922eb0c541eaa2ac355e0e
parent b8b14a9b
......@@ -1242,6 +1242,9 @@ void build_inter_predictors(const AV1_COMMON *cm, MACROBLOCKD *xd, int plane,
conv_params.ref = ref;
conv_params.do_average = ref;
if (is_masked_compound_type(mi->mbmi.interinter_compound_type))
conv_params = get_conv_params(ref, ref, plane);
if (ref && is_masked_compound_type(mi->mbmi.interinter_compound_type))
pre[ref], pre_buf->stride, dst, dst_buf->stride,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment