[DepQuant] Fix for mts and lfnst being quantized incorrectly during search

This commit is contained in:
Joose Sainio 2023-01-23 13:39:22 +02:00 committed by Marko Viitanen
parent dc652c75f9
commit 93c7e9c296
2 changed files with 9 additions and 9 deletions

View file

@ -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,