[FFmpeg-devel] [PATCH] avcodec/libvpxenc: add VP8/9 sharpness config option

James Zern jzern at google.com
Thu Dec 20 01:07:21 EET 2018


On Wed, Dec 19, 2018 at 2:03 PM James Almer <jamrial at gmail.com> wrote:
>
> On 12/19/2018 6:52 PM, Rene Claus wrote:
> > This commit adds configuration options to libvpxenc.c that can be used to
> > tune the sharpness parameter for VP8 and VP9.
> >
> > Signed-off-by: Rene Claus <rclaus at google.com>
> > ---
> >  doc/encoders.texi      | 4 ++++
> >  libavcodec/libvpxenc.c | 6 ++++++
> >  2 files changed, 10 insertions(+)
> >
> > diff --git a/doc/encoders.texi b/doc/encoders.texi
> > index ca3892d682..3dd2989526 100644
> > --- a/doc/encoders.texi
> > +++ b/doc/encoders.texi
> > @@ -1767,6 +1767,10 @@ Set number of frames to look ahead for frametype and ratecontrol.
> >  @item error-resilient
> >  Enable error resiliency features.
> >
> > + at item sharpness @var{integer}
> > +Set sharpness.
> > +The valid range is [0, 7]. Default: 0
>
> I assume 0 means disabled and it would be the same as not setting this
> control id at all, right?
>
> Also, if you're going to update the documentation, you should take the
> chance to mention this valid range in vp8cx.h
>

https://chromium-review.googlesource.com/c/webm/libvpx/+/1384812


More information about the ffmpeg-devel mailing list