From 6eb05c9ed057a128139574c3ba4bd5ac9995c4d6 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 2 Apr 2015 09:50:44 -0700 Subject: [PATCH] Small fix to segment check in pickmode. Change-Id: Id5fd82a504def2523292466fbaad5dade9424c72 --- vp9/encoder/vp9_pickmode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index ffa87779a..370c3e736 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -1330,8 +1330,9 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize); // For large partition blocks, extra testing is done. - if (bsize > BLOCK_32X32 && xd->mi[0].src_mi->mbmi.segment_id != 1 && - cm->base_qindex) { + if (bsize > BLOCK_32X32 && + !cyclic_refresh_segment_id_boosted(xd->mi[0].src_mi->mbmi.segment_id) && + cm->base_qindex) { model_rd_for_sb_y_large(cpi, bsize, x, xd, &this_rdc.rate, &this_rdc.dist, &var_y, &sse_y, mi_row, mi_col, &this_early_term); -- 2.40.0