Commit 2e7d66d9 authored by Jingning Han's avatar Jingning Han

Properly handle the tile load size writing

Properly handle the tile load size writing operations in ext-tile
when large-scale-tile is on and off. This fixes an enc/dec mismatch
issue when both ext-tile and obu are turned on.

BUG=aomedia:1179

Change-Id: I460e0cd55ba5d0bf5b75b5a5f6866c8774693207
parent 5737b4c0
......@@ -4217,7 +4217,7 @@ static void write_uncompressed_header_obu(AV1_COMP *cpi,
#if CONFIG_EXT_TILE
*saved_wb = *wb;
// Write tile size magnitudes
if (cm->tile_rows * cm->tile_cols > 1) {
if (cm->tile_rows * cm->tile_cols > 1 && cm->large_scale_tile) {
// Note that the last item in the uncompressed header is the data
// describing tile configuration.
// Number of bytes in tile column size - 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