From 57be693521caa2c59f7e0c12d60e7b84b072b42a Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Wed, 19 Dec 2018 11:21:18 -0800 Subject: [PATCH] vpxenc : fix misleading documentation about sharpness. Change-Id: I792c178736a9fc02a84aa83f351e12b7227259b0 --- vpx/vp8cx.h | 5 ++++- vpxenc.c | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index 2f54223ca..507f59047 100644 --- a/vpx/vp8cx.h +++ b/vpx/vp8cx.h @@ -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 */ diff --git a/vpxenc.c b/vpxenc.c index 770a91762..9fd36af33 100644 --- 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 = -- 2.34.1