vpxenc : fix misleading documentation about sharpness.
authorJim Bankoski <jimbankoski@google.com>
Wed, 19 Dec 2018 19:21:18 +0000 (11:21 -0800)
committerJim Bankoski <jimbankoski@google.com>
Wed, 19 Dec 2018 23:52:23 +0000 (15:52 -0800)
Change-Id: I792c178736a9fc02a84aa83f351e12b7227259b0

vpx/vp8cx.h
vpxenc.c

index 2f54223..507f590 100644 (file)
@@ -169,7 +169,10 @@ enum vp8e_enc_control_id {
    */
   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
    */
index 770a917..9fd36af 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -342,7 +342,8 @@ static const arg_def_t *kf_args[] = { &kf_min_dist, &kf_max_dist, &kf_disabled,
 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 =