Remove rd breakout condition for interpolation filter
Rd breakout conditions during and after interpolation filter evaluation are removed.
For speed=2 preset, 0.46% BD-rate improvement is seen for AWCY tests and 1.1% encode time increased for 10 frames of parkrun 720p50 content.
STATS_CHANGED
Change-Id: Ie73f8540c8dd3f5ce7721fad5d2ac6648a595f66
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 9124439..f07289a 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -8117,14 +8117,6 @@
}
}
- if (cpi->sf.use_rd_breakout && ref_best_rd < INT64_MAX) {
- // if current pred_error modeled rd is substantially more than the best
- // so far, do not bother doing full rd
- if ((*rd >> 2) > ref_best_rd) {
- return INT64_MAX;
- }
- }
-
x->recalc_luma_mc_data = 0;
// skip_flag=xx (in binary form)
// Setting 0th flag corresonds to skipping luma MC and setting 1st bt
@@ -9363,16 +9355,6 @@
}
}
}
-
- if (cpi->sf.use_rd_breakout && ref_best_rd < INT64_MAX) {
- // if current pred_error modeled rd is substantially more than the best
- // so far, do not bother doing full rd
- if (rd / 2 > ref_best_rd) {
- restore_dst_buf(xd, orig_dst, num_planes);
- continue;
- }
- }
-
rd_stats->rate += compmode_interinter_cost;
if (search_jnt_comp && cpi->sf.jnt_comp_fast_tx_search && comp_idx == 0) {