shithub: libvpx

Download patch

ref: 57be693521caa2c59f7e0c12d60e7b84b072b42a
parent: 26b9d085911ff5e83406d1f464dfc562708eaad5
author: Jim Bankoski <jimbankoski@google.com>
date: Wed Dec 19 06:21:18 EST 2018

vpxenc : fix misleading documentation about sharpness.

Change-Id: I792c178736a9fc02a84aa83f351e12b7227259b0

--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -169,7 +169,10 @@
    */
   VP8E_SET_NOISE_SENSITIVITY,
 
-  /*!\brief Codec control function to set sharpness.
+  /*!\brief Codec control function to set higher sharpness at the expense
+   * of a lower PSNR.
+   *
+   * \note Valid range: 0..7
    *
    * Supported in codecs: VP8, VP9
    */
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -342,7 +342,8 @@
 static const arg_def_t noise_sens =
     ARG_DEF(NULL, "noise-sensitivity", 1, "Noise sensitivity (frames to blur)");
 static const arg_def_t sharpness =
-    ARG_DEF(NULL, "sharpness", 1, "Loop filter sharpness (0..7)");
+    ARG_DEF(NULL, "sharpness", 1,
+            "Increase sharpness at the expense of lower PSNR. (0..7)");
 static const arg_def_t static_thresh =
     ARG_DEF(NULL, "static-thresh", 1, "Motion detection threshold");
 static const arg_def_t auto_altref =