From f68ba68fb2fb6e46328e05324e92d7fb301a3367 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Tue, 29 Dec 2020 10:44:18 +0200 Subject: [PATCH] Push HMVP item also when coding a skipped cu --- src/encode_coding_tree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/encode_coding_tree.c b/src/encode_coding_tree.c index 32d937ce..28884f92 100644 --- a/src/encode_coding_tree.c +++ b/src/encode_coding_tree.c @@ -1261,6 +1261,8 @@ void kvz_encode_coding_tree(encoder_state_t * const state, CABAC_BIN(cabac, cur_cu->skipped, "SkipFlag"); if (cur_cu->skipped) { + + kvz_hmvp_add_mv(state, x, y, cu_width, cu_width, cur_cu); int16_t num_cand = MRG_MAX_NUM_CANDS; if (num_cand > 1) { for (int ui = 0; ui < num_cand - 1; ui++) {