commit 196d96222f5b919785911b174c8bac87091ea4da log] tgz] author Yunqing Wang <yunqingwang@google.com> Mon Jan 13 14:06:34 2020 -0800 committer Yunqing Wang <yunqingwang@google.com> Tue Jan 14 21:55:25 2020 +0000 tree bdf5162e00842b964e01d779343789ff1dfb472b parent 3fe6e0125907df2b6cbb28b0d4281af651c0ec15 diff]

Fast motion search in TPL Currently, TPL motion search could have 4 starting MVs, which takes over 5% encoder time at speed 5. This patch adds a condition to accept a new starting MV only if it is very different from already added starting MVs. This keeps majority of the quality gain while making the motion search faster. This can be extended to lower speed levels. Borg test results: avg_psnr: ovr_psnr: ssim: avg speedups over whole set: lowres: -0.021 -0.020 0.031 3.3% midres: 0.015 0.020 0.249 5.7% hdres: 0.015 0.011 0.182 5.4% STATS_CHANGED Change-Id: I2cca2eb1ca0bad00950cbebf00d205d310825d1d

@@ -534,6 +534,7 @@ if (speed >= 5) { sf->tpl_sf.prune_intra_modes = 1; sf->tpl_sf.reduce_first_step_size = 6; + sf->tpl_sf.skip_repeated_mv_level = 2; sf->inter_sf.disable_interinter_wedge = 1; sf->inter_sf.disable_obmc = 1;