shithub: libvpx

Download patch

ref: a3389823576724a29226b3aee45f48e154735003
parent: 939f84f865a134590d5e41c25825ccaabd5cd74a
parent: 2d1a7cd45a4ac7b4bc827fcc915ff3edd3009691
author: Jerome Jiang <jianj@google.com>
date: Tue Feb 18 18:40:47 EST 2020

Merge "Cap delta_q_uv to -15..15"

--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -1650,7 +1650,7 @@
                                            va_list args) {
   struct vp9_extracfg extra_cfg = ctx->extra_cfg;
   int data = va_arg(args, int);
-  data = VPXMIN(VPXMAX(data, -20), 20);
+  data = VPXMIN(VPXMAX(data, -15), 15);
   extra_cfg.delta_q_uv = data;
   return update_extra_cfg(ctx, &extra_cfg);
 }
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -679,7 +679,7 @@
 
   /*!\brief Codec control function to set delta q for uv.
    *
-   * Cap it at +/-20 for now.
+   * Cap it at +/-15.
    *
    * Supported in codecs: VP9
    */