shithub: libvpx

Download patch

ref: 851554a0554b53938fd0721380059354f99f827b
parent: 4a5c340a9c8eb305e9461e7ab464f8b1405c4a3a
parent: 57be693521caa2c59f7e0c12d60e7b84b072b42a
author: James Bankoski <jimbankoski@google.com>
date: Wed Dec 19 20:28:41 EST 2018

Merge "vpxenc : fix misleading documentation about sharpness."

--- 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 =