ref: 49f51af4c95149915069084efab971d88700041d
parent: 3ae909b0f9a8c957c65acbc82d8c4f3c58f25417
author: Marco <marpan@google.com>
date: Wed Nov 29 08:37:21 EST 2017
vp9-svc: Don't allow encode_breakout on golden ref. For 1 pass cbr SVC: GOLDEN is the spatial reference, better not to check for encoder_breakout on this reference. Small positive ~0.075% (mostly neutral) gain in avgPSNR/SSIM metrics. No observed change in encoder speed. Change-Id: Ib337f16d6771105bf06384c6a23ad047fc690418
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -876,6 +876,7 @@
// Skipping threshold for dc.
unsigned int thresh_dc;
int motion_low = 1;
+ if (cpi->use_svc && ref_frame == GOLDEN_FRAME) return;
if (mi->mv[0].as_mv.row > 64 || mi->mv[0].as_mv.row < -64 ||
mi->mv[0].as_mv.col > 64 || mi->mv[0].as_mv.col < -64)
motion_low = 0;