summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_speed_features.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2018-10-05 10:42:48 -0700
committerYunqing Wang <yunqingwang@google.com>2018-10-05 11:06:59 -0700
commitc5586bfa849475825e248588da2adafeb6be1cb8 (patch)
tree4f9451db7425e9b8f25cc68c01885a0a5a062c84 /vp9/encoder/vp9_speed_features.c
parent936b59ef0aef88f92ab1260eb4a86ac1b370b5f2 (diff)
downloadlibvpx-c5586bfa849475825e248588da2adafeb6be1cb8.tar
libvpx-c5586bfa849475825e248588da2adafeb6be1cb8.tar.gz
libvpx-c5586bfa849475825e248588da2adafeb6be1cb8.tar.bz2
libvpx-c5586bfa849475825e248588da2adafeb6be1cb8.zip
Changes to facilitate accurate sub-pel motion search
This patch included changes to facilitate accurate sub-pel motion search. More patch will follow to turn on accurate sub-pel motion search. Change-Id: I224c28c338353fe5c7609372162f79885c54248f
Diffstat (limited to 'vp9/encoder/vp9_speed_features.c')
-rw-r--r--vp9/encoder/vp9_speed_features.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c
index 44909239d..49a907de2 100644
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -288,6 +288,7 @@ static void set_good_speed_feature_framesize_independent(VP9_COMP *cpi,
sf->exhaustive_searches_thresh =
(cpi->twopass.fr_content_type == FC_GRAPHICS_ANIMATION) ? (1 << 23)
: INT_MAX;
+ sf->use_accurate_subpel_search = USE_2_TAPS;
}
if (speed >= 2) {
@@ -450,6 +451,7 @@ static void set_rt_speed_feature_framesize_independent(
sf->disable_golden_ref = 0;
sf->enable_tpl_model = 0;
sf->enhanced_full_pixel_motion_search = 0;
+ sf->use_accurate_subpel_search = USE_2_TAPS;
if (speed >= 1) {
sf->allow_txfm_domain_distortion = 1;
@@ -942,6 +944,7 @@ void vp9_set_speed_features_framesize_independent(VP9_COMP *cpi) {
sf->ml_prune_rect_partition_threhold[2] = -1;
sf->ml_prune_rect_partition_threhold[3] = -1;
sf->ml_var_partition_pruning = 0;
+ sf->use_accurate_subpel_search = USE_8_TAPS;
// Some speed-up features even for best quality as minimal impact on quality.
sf->adaptive_rd_thresh = 1;