Reduce sub-pel precision to 1/2 in 2 mv searches
For speed >= 4, reduced sub-pel search precision to 1/2 pixel in TPL and
simple motion search to speed up encoding process.
Borg test result at speed 4:
avg_psnr: ovr_psnr: ssim: avg speed change:
hdres: 0.167 0.171 -0.040 3.8%
midres: 0.030 0.007 -0.238 3.8%
lowres: 0.147 0.118 -0.160 3.1%
STATS_CHANGED
Change-Id: Ia03e0ee26f0dd6beb8342b1e608402e70a3731b9
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index d537477..5d1177c 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -538,6 +538,10 @@
// presets as well
sf->intra_sf.skip_intra_in_interframe = 2;
+ sf->mv_sf.simple_motion_subpel_force_stop = HALF_PEL;
+
+ sf->tpl_sf.subpel_force_stop = HALF_PEL;
+
sf->tx_sf.tx_type_search.enable_winner_mode_tx_type_pruning = 1;
sf->tx_sf.tx_type_search.fast_intra_tx_type_search = 1;
sf->tx_sf.tx_type_search.prune_mode = PRUNE_2D_MORE;
diff --git a/test/gf_pyr_height_test.cc b/test/gf_pyr_height_test.cc
index b1ade67..f153092 100644
--- a/test/gf_pyr_height_test.cc
+++ b/test/gf_pyr_height_test.cc
@@ -26,13 +26,13 @@
} kTestParams[] = {
// gf_min_pyr_height = 0
{ 0, 0, 33.40 },
- { 0, 1, 34.00 },
+ { 0, 1, 33.90 },
{ 0, 2, 34.00 },
{ 0, 3, 34.20 },
{ 0, 4, 34.30 },
{ 0, 5, 34.40 },
// gf_min_pyr_height = 1
- { 1, 1, 34.00 },
+ { 1, 1, 33.90 },
{ 1, 2, 34.00 },
{ 1, 3, 34.20 },
{ 1, 4, 34.30 },