[FFmpeg-devel] [PATCH] avfilter/vf_geq: add interpolation option
Michael Niedermayer
michael at niedermayer.cc
Tue Aug 16 12:35:36 EEST 2016
On Tue, Aug 16, 2016 at 08:54:16AM +0200, Paul B Mahol wrote:
> On 8/16/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > On Mon, Aug 15, 2016 at 08:15:10PM +0200, Paul B Mahol wrote:
> >> Hi,
> >>
> >> patch attached.
> >
> > this mail has no attachments
> >
>
> Sorry.
> doc/filters.texi | 3 +++
> libavfilter/vf_geq.c | 32 +++++++++++++++++++++++++++++++-
> 2 files changed, 34 insertions(+), 1 deletion(-)
> 650a493e529b204f714d9dcd3cd0a4e61a083048 0001-avfilter-vf_geq-add-interpolation-option.patch
> From 7460f0fd0829b5bf550fb0283d6d9f8a21e7467a Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Mon, 15 Aug 2016 19:54:29 +0200
> Subject: [PATCH] avfilter/vf_geq: add interpolation option
>
> ---
> doc/filters.texi | 3 +++
> libavfilter/vf_geq.c | 32 +++++++++++++++++++++++++++++++-
> 2 files changed, 34 insertions(+), 1 deletion(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index c595fed..475a929 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -8221,6 +8221,9 @@ Set the red expression.
> Set the green expression.
> @item blue_expr, b
> Set the blue expression.
> + at item interpolation, i
> +Set pixel interpolation. Can be @code{nearest} or @code{bilinear}.
> +Default is @code{bicubic}.
[...]
> + { "interpolation", "set pixel interpolation", OFFSET(interpolate), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "interpolate" },
> + { "i", "set pixel interpolation", OFFSET(interpolate), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "interpolate" },
> + { "nearest", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 1, FLAGS, "interpolate" },
> + { "bilinear", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 1, FLAGS, "interpolate" },
> {NULL},
docs mismatch code, there is no bicubic
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160816/e395a3c3/attachment.sig>
More information about the ffmpeg-devel
mailing list