mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
[jccr] update tr-skip context for jccr blocks
This commit is contained in:
parent
c7a7a4719a
commit
3afff7940c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue