[FFmpeg-devel] [PATCH] avfilter/vf_scale: change the default scaler to bicubic
Michael Niedermayer
michaelni at gmx.at
Sun Oct 6 11:14:35 CEST 2013
On Tue, Oct 01, 2013 at 10:10:03AM +0200, Stefano Sabatini wrote:
> On date Monday 2013-09-30 23:51:00 +0200, Michael Niedermayer encoded:
> > See: [FFmpeg-devel] [PATCH] swscale/options: switch default to bicubic
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavfilter/vf_scale.c | 2 +-
> > tests/ref/fate/filter-alphaextract_alphamerge_rgb | 100 ++++++++++-----------
> > tests/ref/fate/filter-lavd-scalenorm | 20 ++---
> > tests/ref/fate/filter-overlay | 100 ++++++++++-----------
> > tests/ref/fate/filter-overlay_rgb | 100 ++++++++++-----------
> > tests/ref/fate/filter-overlay_yuv420 | 100 ++++++++++-----------
> > tests/ref/fate/filter-overlay_yuv444 | 100 ++++++++++-----------
> > tests/ref/fate/sub2video | 100 ++++++++++-----------
> > 8 files changed, 311 insertions(+), 311 deletions(-)
> >
> > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
> > index 21c9d13..f808fcc 100644
> > --- a/libavfilter/vf_scale.c
> > +++ b/libavfilter/vf_scale.c
> > @@ -140,7 +140,7 @@ static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts)
> > av_log(ctx, AV_LOG_VERBOSE, "w:%s h:%s flags:'%s' interl:%d\n",
> > scale->w_expr, scale->h_expr, (char *)av_x_if_null(scale->flags_str, ""), scale->interlaced);
> >
> > - scale->flags = SWS_BILINEAR;
> > + scale->flags = SWS_BICUBIC;
>
> This or you keep the default value (after bicubic is set as the
> default in sws).
>
> Possibly also update scale filter docs.
fixed
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131006/a1235220/attachment.asc>
More information about the ffmpeg-devel
mailing list