From 433e528af793d571374cd17ba562ad6d303471f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Wed, 22 Jun 2016 11:43:24 +0900 Subject: [PATCH] Drop unused variable in search_pu_inter. Removes unused variable max_px_below_lcu. --- src/search_inter.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/search_inter.c b/src/search_inter.c index fe3a02b7..8e33f03b 100644 --- a/src/search_inter.c +++ b/src/search_inter.c @@ -1375,19 +1375,6 @@ static void search_pu_inter(encoder_state_t * const state, get_mvd_cost = kvz_get_mvd_coding_cost_cabac; } - int max_px_below_lcu = -1; - if (state->encoder_control->owf) { - max_px_below_lcu = LCU_WIDTH; - if (state->encoder_control->fme_level > 0) { - // Fractional motion estimation can change the mv by at most 1 pixel. - max_px_below_lcu -= 1; - } - if (state->encoder_control->deblock_enable) { - // Strong deblock filter modifies 3 pixels. - max_px_below_lcu -= 3; - } - } - // Default to candidate 0 CU_SET_MV_CAND(cur_cu, 0, 0); CU_SET_MV_CAND(cur_cu, 1, 0);