From: Jim Bankoski Date: Wed, 19 Dec 2018 19:21:18 +0000 (-0800) Subject: vpxenc : fix misleading documentation about sharpness. X-Git-Tag: v1.8.0~48^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57be693521caa2c59f7e0c12d60e7b84b072b42a;p=platform%2Fupstream%2Flibvpx.git vpxenc : fix misleading documentation about sharpness. Change-Id: I792c178736a9fc02a84aa83f351e12b7227259b0 --- diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index 2f54223..507f590 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 770a917..9fd36af 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 =