| Index: source/libvpx/vp9/encoder/vp9_speed_features.c
|
| diff --git a/source/libvpx/vp9/encoder/vp9_speed_features.c b/source/libvpx/vp9/encoder/vp9_speed_features.c
|
| index 61c066e5dba94e95370f5e756ec969ea942551d1..4b206ba7bd3e4446b476adafc1837863a0c92532 100644
|
| --- a/source/libvpx/vp9/encoder/vp9_speed_features.c
|
| +++ b/source/libvpx/vp9/encoder/vp9_speed_features.c
|
| @@ -260,8 +260,12 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf,
|
| FLAG_SKIP_INTRA_LOWVAR;
|
| sf->adaptive_pred_interp_filter = 2;
|
|
|
| - // Reference masking is not supported in dynamic scaling mode.
|
| - sf->reference_masking = cpi->oxcf.resize_mode != RESIZE_DYNAMIC ? 1 : 0;
|
| + // Disable reference masking if using spatial scaling since
|
| + // pred_mv_sad will not be set (since vp9_mv_pred will not
|
| + // be called).
|
| + // TODO(marpan/agrange): Fix this condition.
|
| + sf->reference_masking = (cpi->oxcf.resize_mode != RESIZE_DYNAMIC &&
|
| + cpi->svc.number_spatial_layers == 1) ? 1 : 0;
|
|
|
| sf->disable_filter_search_var_thresh = 50;
|
| sf->comp_inter_joint_search_thresh = BLOCK_SIZES;
|
|
|