Commit ea98e7d8 authored by Dominic Symes's avatar Dominic Symes

max-tile: Enable max-tile by default

Also fix one issue with max-tile+LR when the top left tile is not the largest tile.

Change-Id: I721254f63f1a2c6e2c199e27ebaaaebe57234d0f
parent 49b26fe1
......@@ -100,10 +100,8 @@ void av1_alloc_restoration_struct(AV1_COMMON *cm, RestorationInfo *rsi,
#endif // CONFIG_MAX_TILE
const AV1PixelRect tile_rect = get_ext_tile_rect(&tile_info, cm, is_uv);
assert(tile_rect.left == 0 && tile_rect.top == 0);
const int max_tile_w = tile_rect.right;
const int max_tile_h = tile_rect.bottom;
const int max_tile_w = tile_rect.right - tile_rect.left;
const int max_tile_h = tile_rect.bottom - tile_rect.top;
// To calculate hpertile and vpertile (horizontal and vertical units per
// tile), we basically want to divide the largest tile width or height by the
......
......@@ -161,7 +161,7 @@ set(CONFIG_LPF_SB 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LV_MAP 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LV_MAP_MULTI 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MASKED_TX 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MAX_TILE 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MAX_TILE 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MFMV 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MONO_VIDEO 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MV_COMPRESS 1 CACHE NUMBER "AV1 experiment flag.")
......
......@@ -513,6 +513,7 @@ post_process_cmdline() {
soft_enable loopfilter_level
soft_enable cfl
soft_enable deblock_13tap
soft_enable max_tile
soft_enable frame_marker
soft_enable kf_ctx
soft_enable striped_loop_restoration
......
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