Commit 5d3176a0 authored by James Zern's avatar James Zern

[NORMATIVE] adopt CONFIG_TILE_INFO_FIRST

this has been fully approved; remove the check and delete the
!CONFIG_TILE_INFO_FIRST blocks

STATS_CHANGE

Change-Id: I05faf00583a65fe2958a908e2db190616ff0cbc8
parent c346abd3
......@@ -3017,10 +3017,7 @@ static int read_uncompressed_header(AV1Decoder *pbi,
cm->rst_info[2].frame_restoration_type = RESTORE_NONE;
}
#if CONFIG_TILE_INFO_FIRST
read_tile_info(pbi, rb);
#endif
setup_quantization(cm, rb);
xd->bd = (int)cm->bit_depth;
......@@ -3143,10 +3140,6 @@ static int read_uncompressed_header(AV1Decoder *pbi,
#endif
#endif
#if !CONFIG_TILE_INFO_FIRST
read_tile_info(pbi, rb);
#endif
return 0;
}
......
......@@ -3198,9 +3198,7 @@ static void write_uncompressed_header_obu(AV1_COMP *cpi,
wb, cm->refresh_frame_context == REFRESH_FRAME_CONTEXT_DISABLED);
}
#if CONFIG_TILE_INFO_FIRST
write_tile_info(cm, saved_wb, wb);
#endif // CONFIG_TILE_INFO_FIRST
encode_quantization(cm, wb);
encode_segmentation(cm, xd, wb);
{
......@@ -3288,10 +3286,6 @@ static void write_uncompressed_header_obu(AV1_COMP *cpi,
cm->film_grain_params.update_parameters = 0;
}
#endif
#if !CONFIG_TILE_INFO_FIRST
write_tile_info(cm, saved_wb, wb);
#endif // !CONFIG_TILE_INFO_FIRST
}
static int choose_size_bytes(uint32_t size, int spare_msbs) {
......
......@@ -111,6 +111,5 @@ set(CONFIG_RD_DEBUG 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_SCALABILITY 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_SKIP_SGR 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_SPATIAL_SEGMENTATION 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_TILE_INFO_FIRST 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_TRAILING_BITS 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_FILEOPTIONS 1 CACHE NUMBER "AV1 config option flag.")
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