[FFmpeg-devel] [PATCH] avfilter/vf_geq: add interpolation option
Paul B Mahol
onemda at gmail.com
Tue Aug 16 13:13:06 EEST 2016
On 8/16/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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
right, fixed locally.
More information about the ffmpeg-devel
mailing list