mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
[lfnst] lfnst is not allowed for transform split
This commit is contained in:
parent
cb7f9919e3
commit
e0e96068cc
|
@ -114,7 +114,7 @@ bool uvg_is_lfnst_allowed(
|
||||||
const color_t color,
|
const color_t color,
|
||||||
const lcu_t* lcu)
|
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 isp_mode = pred_cu->intra.isp_mode;
|
||||||
const int depth = pred_cu->depth;
|
const int depth = pred_cu->depth;
|
||||||
const int chroma_width = width >> 1;
|
const int chroma_width = width >> 1;
|
||||||
|
|
Loading…
Reference in a new issue