mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Fix CBF flags for 4x4 luma blocks
CBF flags were not being propagated to the upper level from blocks of size 4x4.
This commit is contained in:
parent
0a69e6d18f
commit
c74ede148b
|
@ -460,10 +460,8 @@ void kvz_quantize_lcu_residual(encoder_state_t * const state,
|
|||
LCU_GET_CU_AT_PX(lcu, lcu_px.x + offset, lcu_px.y + offset)->cbf,
|
||||
};
|
||||
|
||||
if (luma && depth < MAX_DEPTH) {
|
||||
if (depth <= MAX_DEPTH) {
|
||||
cbf_set_conditionally(&cur_pu->cbf, child_cbfs, depth, COLOR_Y);
|
||||
}
|
||||
if (chroma && depth <= MAX_DEPTH) {
|
||||
cbf_set_conditionally(&cur_pu->cbf, child_cbfs, depth, COLOR_U);
|
||||
cbf_set_conditionally(&cur_pu->cbf, child_cbfs, depth, COLOR_V);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue