[jccr] update tr-skip context for jccr blocks

This commit is contained in:
Joose Sainio 2022-06-06 09:04:00 +03:00
parent c7a7a4719a
commit 3afff7940c

View file

@ -592,6 +592,9 @@ static double cu_rd_cost_tr_split_accurate(const encoder_state_t* const state,
chroma_width);
chroma_ssd = ssd_u_joint + ssd_v_joint;
}
if (chroma_can_use_tr_skip) {
CABAC_FBITS_UPDATE(cabac, &cabac->ctx.transform_skip_model_chroma, tr_cu->tr_skip & 2, tr_tree_bits, "transform_skip_flag");
}
coeff_bits += uvg_get_coeff_cost(state, &lcu->coeff.joint_uv[index], NULL, chroma_width, COLOR_U, scan_order, 0);
}
}