Disable FME on amp/smp blocks with width or height not divisible by 8

This commit is contained in:
Marko Viitanen 2018-12-18 10:06:53 +02:00
parent b71c5573f0
commit 1ef851ab4b

View file

@ -1235,7 +1235,7 @@ static void search_pu_inter_ref(inter_search_info_t *info,
break;
}
if (cfg->fme_level > 0 && info->best_cost < *inter_cost) {
if (cfg->fme_level > 0 && info->best_cost < *inter_cost && info->width % 8 == 0 && info->height % 8 == 0) {
search_frac(info);
} else if (info->best_cost < UINT32_MAX) {