Commit c1018adb authored by David Barker's avatar David Barker Committed by Yue Chen

Fix encoder when loopfiltering-across-tiles is enabled

Patch 5c06a646 pulled the "if (!cm->loopfilter_across_tiles_enabled)"
check out of av1_setup_across_tile_boundary_info, intending for the
condition to be checked in the caller instead. The check was added
to the decoder but not to the encoder, leading to encode/decode
mismatches when the flag was set.

Fix this by correctly applying the change to the encoder as well.

BUG=aomedia:715

Change-Id: I61182bd717e2cb84228091fb439270dce153705e
parent f6692b7b
...@@ -4878,7 +4878,8 @@ void av1_encode_tile(AV1_COMP *cpi, ThreadData *td, int tile_row, ...@@ -4878,7 +4878,8 @@ void av1_encode_tile(AV1_COMP *cpi, ThreadData *td, int tile_row,
#endif // CONFIG_PVQ #endif // CONFIG_PVQ
#if CONFIG_LOOPFILTERING_ACROSS_TILES #if CONFIG_LOOPFILTERING_ACROSS_TILES
av1_setup_across_tile_boundary_info(cm, tile_info); if (!cm->loop_filter_across_tiles_enabled)
av1_setup_across_tile_boundary_info(cm, tile_info);
#endif #endif
#if CONFIG_LV_MAP #if CONFIG_LV_MAP
......
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