Commit 59d2dd02 authored by Zoe Liu's avatar Zoe Liu

Align encoder stats update on delta_qindex and delta_lflevel

This patch is to add the according changes to update_stats() on the
encoder side for signaling of delta_qindex and delta_lflevel, aligned
with the following CL:
https://aomedia-review.googlesource.com/c/aom/+/30801

BUG=aomedia:992

Change-Id: Ie627d4ebce085da85bcee7d5d3f9a7c358725481
parent ae2f3cf0
......@@ -934,8 +934,8 @@ static void update_stats(const AV1_COMMON *const cm, TileDataEnc *tile_data,
const uint8_t allow_update_cdf = tile_data->allow_update_cdf;
// delta quant applies to both intra and inter
int super_block_upper_left =
((mi_row & MAX_MIB_MASK) == 0) && ((mi_col & MAX_MIB_MASK) == 0);
const int super_block_upper_left = ((mi_row & (cm->mib_size - 1)) == 0) &&
((mi_col & (cm->mib_size - 1)) == 0);
const int seg_ref_active =
segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_REF_FRAME);
......
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