mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Disable FME on amp/smp blocks with width or height not divisible by 8
This commit is contained in:
parent
b71c5573f0
commit
1ef851ab4b
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue