Fix the rd loop for interinter compound types Will enable COMPOUND_SEGMENT for blocks > 32x32, which does not support COMPOUND_WEDGE Change-Id: I7373ed3875393a4eac31e1292e26677d159f5d95
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c index 2a537a0..27a6b06 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c
@@ -7773,7 +7773,7 @@ for (cur_type = COMPOUND_AVERAGE; cur_type < COMPOUND_TYPES; cur_type++) { if (cur_type != COMPOUND_AVERAGE && !masked_compound_used) break; - if (!is_interinter_compound_used(cur_type, bsize)) break; + if (!is_interinter_compound_used(cur_type, bsize)) continue; tmp_rate_mv = rate_mv; best_rd_cur = INT64_MAX; mbmi->interinter_compound_type = cur_type;