Commit da11e697 authored by Jingning Han's avatar Jingning Han

Make ext-tile and obu work togather

This commit resolves the broken coding pipeline in ext-tile when
obu is enabled. It fixes the unit test failure due to enc/dec
mismatch.

BUG=aomedia:1143

Change-Id: I7f083c90959939048f59540f4427dc94c709a315
parent 360c4916
......@@ -3647,6 +3647,14 @@ static uint32_t read_tile_group_header(AV1Decoder *pbi,
AV1_COMMON *const cm = &pbi->common;
uint32_t saved_bit_offset = rb->bit_offset;
#if CONFIG_EXT_TILE
if (pbi->common.large_scale_tile) {
*startTile = 0;
*endTile = pbi->common.tile_rows * pbi->common.tile_cols - 1;
return ((rb->bit_offset - saved_bit_offset + 7) >> 3);
}
#endif
*startTile = aom_rb_read_literal(rb, cm->log2_tile_rows + cm->log2_tile_cols);
*endTile = aom_rb_read_literal(rb, cm->log2_tile_rows + cm->log2_tile_cols);
......
This diff is collapsed.
......@@ -5288,7 +5288,7 @@ static void loopfilter_frame(AV1_COMP *cpi, AV1_COMMON *cm) {
|| (cm->allow_intrabc && NO_FILTER_FOR_IBC)
#endif // CONFIG_INTRABC
#if CONFIG_EXT_TILE
|| cm->single_tile_decoding
|| cm->large_scale_tile
#endif // CONFIG_EXT_TILE
) {
#if CONFIG_LPF_SB
......@@ -5307,7 +5307,7 @@ static void loopfilter_frame(AV1_COMP *cpi, AV1_COMMON *cm) {
|| (cm->allow_intrabc && NO_FILTER_FOR_IBC)
#endif // CONFIG_INTRABC
#if CONFIG_EXT_TILE
|| cm->single_tile_decoding
|| cm->large_scale_tile
#endif
) {
no_cdef = 1;
......
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