Extend top_intra_model_count_allowed sf to allintra
The speed feature top_intra_model_count_allowed is introduced in
https://aomedia-review.googlesource.com/c/aom/+/138241.
This sf is extended to allintra encoding mode by reducing the
number of candidates used to store the model rd for intra mode
decision. This sf is applicable for speed presets 1 to 6, in
allintra encoding mode.
For AVIF still image encode,
Instruction Count BD-Rate Loss(%)
cpu-used Reduction(%) psnr ssim
1 7.921 0.0822 0.0921
2 8.849 0.0733 0.0550
3 8.841 0.0736 0.0793
4 3.428 0.0093 -0.0150
5 3.617 -0.0180 -0.0196
6 1.408 0.0130 -0.0073
BUG=aomedia:2959
STATS_CHANGED
Change-Id: I864137b6db2dfb2c2f95013bb5d5e8565696b6e7
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index 63e7ea4..eef1e24 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -338,6 +338,7 @@
sf->mv_sf.exhaustive_searches_thresh <<= 1;
sf->intra_sf.prune_palette_search_level = 1;
+ sf->intra_sf.top_intra_model_count_allowed = 3;
sf->tx_sf.adaptive_txb_search_level = 2;
sf->tx_sf.inter_tx_size_search_init_depth_rect = 1;