mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[isp] Fix mistake in isp cabac write. Intra luma mpm flag bit was checking isp when it did not need to.
This commit is contained in:
parent
f86dc29ce7
commit
510798cb3d
|
@ -1143,8 +1143,8 @@ void uvg_encode_intra_luma_coding_unit(const encoder_state_t * const state,
|
|||
}
|
||||
// Is the mode in the MPM array or not
|
||||
flag = (mpm_preds == -1) ? 0 : 1;
|
||||
if (!(cur_pu->intra.multi_ref_idx || (isp_mode))) {
|
||||
CABAC_FBITS_UPDATE(cabac, &(cabac->ctx.intra_luma_mpm_flag_model), flag, bits, "prev_intra_luma_pred_flag");
|
||||
if (cur_pu->intra.multi_ref_idx == 0) {
|
||||
CABAC_FBITS_UPDATE(cabac, &(cabac->ctx.intra_luma_mpm_flag_model), flag, bits, "intra_luma_mpm_flag");
|
||||
}
|
||||
|
||||
// Signal index of the prediction mode in the prediction list, if it is there
|
||||
|
|
Loading…
Reference in a new issue