shithub: libvpx

Download patch

ref: 3a4002b94d3b6ea589fb3b087e95a220c5f2b36c
parent: 9fdeeaf41106894ea1a3564cb081207c3a9a5938
author: clang-format <noreply@google.com>
date: Thu Aug 4 07:57:00 EDT 2016

vp9_ratectrl.c: apply clang-format

after:
ff0a87c vp9 1pass vbr: Adjustment to gf interval.

Change-Id: I1296e53e601bf0c2b562e3a34082ac45c294a5f1

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2115,9 +2115,9 @@
           VPXMIN(15, (3 * rc->baseline_gf_interval) >> 1);
     } else if (high_content) {
       rc->gfu_boost = DEFAULT_GF_BOOST >> 1;
-      rc->baseline_gf_interval = (rate_err > 3.0) ?
-          VPXMAX(10, rc->baseline_gf_interval >> 1) :
-          VPXMAX(6, rc->baseline_gf_interval >> 1);
+      rc->baseline_gf_interval = (rate_err > 3.0)
+                                     ? VPXMAX(10, rc->baseline_gf_interval >> 1)
+                                     : VPXMAX(6, rc->baseline_gf_interval >> 1);
     }
     // Check for constraining gf_interval for up-coming scene/content changes,
     // or for up-coming key frame, whichever is closer.