shithub: libvpx

Download patch

ref: 87a6175d6e5e642d85c67129aca700474c4e7025
parent: aa5c8b757d29de20e6576f6b69e0cdc6f76a331d
author: Marco <[email protected]>
date: Thu Feb 12 07:38:11 EST 2015

vpx_temporal_svc_encoder: Adjust default qp-max setting for vp9.

Change-Id: Iada495f05193a1f645a5405ad792931f4d9113ab

--- a/examples/vpx_temporal_svc_encoder.c
+++ b/examples/vpx_temporal_svc_encoder.c
@@ -602,6 +602,8 @@
   cfg.rc_resize_allowed = 0;
   cfg.rc_min_quantizer = 2;
   cfg.rc_max_quantizer = 56;
+  if (strncmp(encoder->name, "vp9", 3) == 0)
+    cfg.rc_max_quantizer = 52;
   cfg.rc_undershoot_pct = 50;
   cfg.rc_overshoot_pct = 50;
   cfg.rc_buf_initial_sz = 500;