Fix update of skip_build_pred flag in interp filter search
In av1_interpolation_filter_search(), if the filter is
chosen by a match found from the stats, reset the flag
'skip_build_pred' to 0 to ensure that correct prediction
is done with the newly selected filter.
For 'good' encoding mode,
Instruction Count BD-Rate Loss(%)
cpu-used Reduction(%) avg.psnr ovr.psnr ssim
1 -0.070 -0.0059 -0.0092 -0.0003
2 -0.030 -0.0231 -0.0167 -0.0264
3 -0.002 0.0070 0.0084 -0.0038
4 -0.151 -0.0561 -0.0617 -0.0617
5 -0.247 -0.0509 -0.0510 -0.0140
6 -0.247 -0.0749 -0.0720 -0.0497
STATS_CHANGED
Change-Id: I458387357959fc44330aa6aeaaca9d71646a75f3
diff --git a/av1/encoder/interp_search.c b/av1/encoder/interp_search.c
index 2b7eb91..247fa3e 100644
--- a/av1/encoder/interp_search.c
+++ b/av1/encoder/interp_search.c
@@ -682,6 +682,7 @@
*rd = args->interp_filter_stats[match_found_idx].rd;
x->pred_sse[ref_frame] =
args->interp_filter_stats[match_found_idx].pred_sse;
+ *skip_build_pred = 0;
return 0;
}