Disable the adaptive quantization when large_scale_tile = 1 Disabled the adaptive quantization(aq_mode=0) when large_scale_tile = 1. Change-Id: I0dad404ec4df3d0d16f7e8b0a8e9ddd3fc88d470
diff --git a/av1/av1_cx_iface.c b/av1/av1_cx_iface.c index 7f86ced..c5a71b5 100644 --- a/av1/av1_cx_iface.c +++ b/av1/av1_cx_iface.c
@@ -314,6 +314,13 @@ } #endif // CONFIG_EXT_TILE +#if CONFIG_EXT_TILE + if (cfg->large_scale_tile && extra_cfg->aq_mode) + ERROR( + "Adaptive quantization are not supported in large scale tile " + "coding."); +#endif // CONFIG_EXT_TILE + #if CONFIG_DEPENDENT_HORZTILES RANGE_CHECK_HI(extra_cfg, dependent_horz_tiles, 1); #endif