Simplify interpolation filter for compound search Use default regular filter type for compound mode search. The coding performance change is neutral. The change avoids unnecessary dependency on prior rate-distortion search state. STATS_CHANGED Change-Id: I85fbce7fbc39685d5dfe6b1fea6bc9ae83de067c
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c index dff7276..d1e211d 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c
@@ -2427,13 +2427,8 @@ const int num_planes = av1_num_planes(cm); const int mi_row = xd->mi_row; const int mi_col = xd->mi_col; - // Find matching interp filter or set to default interp filter - const int need_search = av1_is_interp_needed(xd); - const InterpFilter assign_filter = cm->features.interp_filter; int is_luma_interp_done = 0; - av1_find_interp_filter_match(mbmi, cpi, assign_filter, need_search, - args->interp_filter_stats, - args->interp_filter_stats_idx); + set_default_interp_filters(mbmi, cm->features.interp_filter); int64_t best_rd_compound; int64_t rd_thresh;