Commit 6360fd41 authored by Yushin Cho's avatar Yushin Cho

[dist-8x8] Disable it, if transform domain distortion

The dist-8x8 can only work with pixel domain distortion.
Thus, dist-8x8 will be automatically disabled if cpu-used >= 2, which
set sf->use_transform_domain_distortion as 1.

BUG=aomedia:1027

Change-Id: I3180a2d5b126318615afcca49c5c2d1b75f9fb58
parent f986af1c
......@@ -538,4 +538,8 @@ void av1_set_speed_features_framesize_independent(AV1_COMP *cpi) {
cpi->find_fractional_mv_step = av1_return_max_sub_pixel_mv;
else if (cpi->oxcf.motion_vector_unit_test == 2)
cpi->find_fractional_mv_step = av1_return_min_sub_pixel_mv;
#if CONFIG_DIST_8X8
if (sf->use_transform_domain_distortion) cpi->oxcf.using_dist_8x8 = 0;
#endif // CONFIG_DIST_8X8
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment