Prune interpolation filter search
Prune interpolation filter search based on previous frames'
filter selection stats. Calculate probabilities of each filter,
and prune the search at prediction block level. Currently, this
feature is turned on at speed 5.
Borg test(150 frames) results:
avg_psnr: ovr_psnr: ssim: avg speedups over whole set:
lowres: 0.153 0.163 0.149 1.6%
midres: 0.145 0.158 0.070 1.8%
STATS_CHANGED
Change-Id: I21edcc76ac30b2fd2eec8f5efd7edeb2c7119cbf
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h
index b2b8638..997c673 100644
--- a/av1/encoder/encoder.h
+++ b/av1/encoder/encoder.h
@@ -990,6 +990,9 @@
int warped_probs[FRAME_UPDATE_TYPES];
int tx_type_probs[FRAME_UPDATE_TYPES][TX_SIZES_ALL][TX_TYPES];
int tx_type_probs_thresh[FRAME_UPDATE_TYPES];
+ int switchable_interp_probs[FRAME_UPDATE_TYPES][SWITCHABLE_FILTER_CONTEXTS]
+ [SWITCHABLE_FILTERS];
+ int switchable_interp_thresh[FRAME_UPDATE_TYPES];
// Multi-threading
int num_workers;