mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
[isp] properly reset cabac context during intra search
This commit is contained in:
parent
c64e844ac5
commit
c591af3668
|
@ -571,6 +571,7 @@ static double search_intra_trdepth(
|
||||||
// If the cost of any 1/4th of the transform is already larger than the
|
// If the cost of any 1/4th of the transform is already larger than the
|
||||||
// whole transform, assume that splitting further is a bad idea.
|
// whole transform, assume that splitting further is a bad idea.
|
||||||
if (nosplit_cost <= cost_treshold) {
|
if (nosplit_cost <= cost_treshold) {
|
||||||
|
memcpy(&state->search_cabac, &cabac_data, sizeof(cabac_data));
|
||||||
return nosplit_cost;
|
return nosplit_cost;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue