diff --git a/doc/filters.texi b/doc/filters.texi index e84d7d5554..4c774162e3 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16654,6 +16654,8 @@ No deinterlacing, weave fields together into a single frame. This is the default Naive bob deinterlacing, simply repeat each field line twice. @item yadif Yet another deinterlacing filter. See the @ref{yadif} filter for more details. +@item bwdif +Bob weaver deinterlacing filter. See the @ref{bwdif} filter for more details. @end table @item skip_spatial_check diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index af18a05258..c35473a44c 100644 --- a/libavfilter/vf_libplacebo.c +++ b/libavfilter/vf_libplacebo.c @@ -1609,6 +1609,9 @@ static const AVOption libplacebo_options[] = { { "weave", "Weave fields together (no-op)", 0, AV_OPT_TYPE_CONST, {.i64 = PL_DEINTERLACE_WEAVE}, 0, 0, STATIC, .unit = "deinterlace" }, { "bob", "Naive bob deinterlacing", 0, AV_OPT_TYPE_CONST, {.i64 = PL_DEINTERLACE_BOB}, 0, 0, STATIC, .unit = "deinterlace" }, { "yadif", "Yet another deinterlacing filter", 0, AV_OPT_TYPE_CONST, {.i64 = PL_DEINTERLACE_YADIF}, 0, 0, STATIC, .unit = "deinterlace" }, +#if PL_API_VER >= 353 + { "bwdif", "Bob weaver deinterlacing filter", 0, AV_OPT_TYPE_CONST, {.i64 = PL_DEINTERLACE_BWDIF}, 0, 0, STATIC, .unit = "deinterlace" }, +#endif { "skip_spatial_check", "Skip yadif spatial check", OFFSET(skip_spatial_check), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC }, { "send_fields", "Output a frame for each field", OFFSET(send_fields), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DYNAMIC },