mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[DepQuant] Fix for mts and lfnst being quantized incorrectly during search
This commit is contained in:
parent
dc652c75f9
commit
93c7e9c296
|
@ -391,6 +391,11 @@ static double search_intra_trdepth(
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!has_been_split) {
|
||||
memcpy(&state->search_cabac, &cabac_data, sizeof(cabac_data));
|
||||
state->search_cabac.update = 1;
|
||||
}
|
||||
|
||||
uvg_intra_recon_cu(
|
||||
state,
|
||||
search_data,
|
||||
|
@ -436,11 +441,6 @@ static double search_intra_trdepth(
|
|||
}
|
||||
}
|
||||
|
||||
if (!has_been_split) {
|
||||
memcpy(&state->search_cabac, &cabac_data, sizeof(cabac_data));
|
||||
state->search_cabac.update = 1;
|
||||
}
|
||||
|
||||
double rd_cost = uvg_cu_rd_cost_luma(
|
||||
state,
|
||||
cu_loc,
|
||||
|
|
Loading…
Reference in a new issue