shithub: libvpx

Download patch

ref: 9e52d3910bcb36789bc04b9be2db10c7c3fc459f
parent: 28762341acfab3cd93710da71036ff57195220b4
parent: 23eccb3ca75a5e84a22db5ae68d007433c86ecc3
author: Marco Paniconi <marpan@google.com>
date: Tue Sep 26 12:28:30 EDT 2017

Merge "SVC: Add setting for max_intra_rate_pct in sample encoder."

--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -709,6 +709,7 @@
     vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);
   if (svc_ctx.speed >= 5)
     vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1);
+  vpx_codec_control(&codec, VP8E_SET_MAX_INTRA_BITRATE_PCT, 900);
 
   // Encode frames
   while (!end_of_stream) {