mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-18 03:04:06 +00:00
[cclm] fix trying cclm on the upper level
This commit is contained in:
parent
c16ce9a82b
commit
d9875a3d92
|
@ -917,8 +917,15 @@ static void intra_recon_tb_leaf(
|
|||
}
|
||||
y_rec += LCU_WIDTH;
|
||||
}
|
||||
if(cclm_params == NULL) {
|
||||
cclm_parameters_t temp_params;
|
||||
kvz_predict_cclm(
|
||||
state, color, width, width, x, y, stride, intra_mode, lcu->rec.y, &refs, pred, &temp_params);
|
||||
}
|
||||
else {
|
||||
linear_transform_cclm(&cclm_params[color == COLOR_U ? 0 : 1], pred, pred, width, width);
|
||||
}
|
||||
}
|
||||
|
||||
const int index = lcu_px.x + lcu_px.y * lcu_width;
|
||||
kvz_pixel *block = NULL;
|
||||
|
|
Loading…
Reference in a new issue