mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!has_been_split) {
|
||||||
|
memcpy(&state->search_cabac, &cabac_data, sizeof(cabac_data));
|
||||||
|
state->search_cabac.update = 1;
|
||||||
|
}
|
||||||
|
|
||||||
uvg_intra_recon_cu(
|
uvg_intra_recon_cu(
|
||||||
state,
|
state,
|
||||||
search_data,
|
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(
|
double rd_cost = uvg_cu_rd_cost_luma(
|
||||||
state,
|
state,
|
||||||
cu_loc,
|
cu_loc,
|
||||||
|
|
Loading…
Reference in a new issue