ref: 8b4dd536a53623f27a5dde7a4e4bd4cae485ba1c
parent: d4713f1d508a5ad3dfebb528c9ef9441eff05ee6
parent: ccdb518ff8082bc1a3f9ec3027e051e3a8317851
author: Jingning Han <[email protected]>
date: Mon Sep 29 06:43:45 EDT 2014
Merge "Skip certain ALTREF inter modes in ARF coding"
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2970,6 +2970,11 @@
}
}
+ if (cpi->sf.alt_ref_search_fp)
+ if (!cm->show_frame)
+ if (x->pred_mv_sad[ALTREF_FRAME] > (x->pred_mv_sad[GOLDEN_FRAME] << 1))
+ mode_skip_mask[ALTREF_FRAME] |= INTER_ALL;
+
if (bsize > cpi->sf.max_intra_bsize) {
ref_frame_skip_mask[0] |= (1 << INTRA_FRAME);
ref_frame_skip_mask[1] |= (1 << INTRA_FRAME);