aanscales is used only with CONFIG_ENCODERS