mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 12:44:07 +00:00
[lfnst] lfnst is not allowed for transform split
This commit is contained in:
parent
bbae4e2b07
commit
17abc7a050
|
@ -114,7 +114,7 @@ bool uvg_is_lfnst_allowed(
|
|||
const color_t color,
|
||||
const lcu_t* lcu)
|
||||
{
|
||||
if (state->encoder_control->cfg.lfnst && pred_cu->type == CU_INTRA) {
|
||||
if (state->encoder_control->cfg.lfnst && pred_cu->type == CU_INTRA && pred_cu->depth == pred_cu->tr_depth) {
|
||||
const int isp_mode = pred_cu->intra.isp_mode;
|
||||
const int depth = pred_cu->depth;
|
||||
const int chroma_width = width >> 1;
|
||||
|
|
Loading…
Reference in a new issue