mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Drop unused variable in search_pu_inter.
Removes unused variable max_px_below_lcu.
This commit is contained in:
parent
7836ff6ec9
commit
433e528af7
|
@ -1375,19 +1375,6 @@ static void search_pu_inter(encoder_state_t * const state,
|
||||||
get_mvd_cost = kvz_get_mvd_coding_cost_cabac;
|
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
|
// Default to candidate 0
|
||||||
CU_SET_MV_CAND(cur_cu, 0, 0);
|
CU_SET_MV_CAND(cur_cu, 0, 0);
|
||||||
CU_SET_MV_CAND(cur_cu, 1, 0);
|
CU_SET_MV_CAND(cur_cu, 1, 0);
|
||||||
|
|
Loading…
Reference in a new issue