Skip to content

Commit d1e11d8

Browse files
committed
Merge branch 'no-early-skip-fix'
2 parents 36f7752 + 8fad538 commit d1e11d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/search.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,13 @@ static double search_cu(encoder_state_t * const state, int x, int y, int depth,
864864
inter_bitcost += cur_cu->merge_idx;
865865
}
866866
}
867+
else if (!state->encoder_control->cfg.early_skip)
868+
{
869+
int tr_depth = depth;
870+
kvz_lcu_fill_trdepth(lcu, x, y, depth, tr_depth);
871+
const bool has_chroma = state->encoder_control->chroma_format != KVZ_CSP_400;
872+
kvz_inter_recon_cu(state, lcu, x, y, cu_width, true, has_chroma);
873+
}
867874
lcu_fill_inter(lcu, x_local, y_local, cu_width);
868875
lcu_fill_cbf(lcu, x_local, y_local, cu_width, cur_cu);
869876
}

0 commit comments

Comments
 (0)