Skip to content

Commit e722b44

Browse files
committed
avfilter: add estdif video filter
1 parent bf1cc9a commit e722b44

File tree

6 files changed

+568
-1
lines changed

6 files changed

+568
-1
lines changed

Changelog

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ version <next>:
5555
- asuperpass and asuperstop filter
5656
- shufflepixels filter
5757
- tmidequalizer filter
58+
- estdif filter
5859

5960

6061
version 4.3:

doc/filters.texi

+64
Original file line numberDiff line numberDiff line change
@@ -11065,6 +11065,70 @@ Flags to local 3x3 coordinates maps like this:
1106511065

1106611066
This filter supports the all above options as @ref{commands}.
1106711067

11068+
@section estdif
11069+
11070+
Deinterlace the input video ("estdif" stands for "Edge Slope
11071+
Tracing Deinterlacing Filter").
11072+
11073+
Spatial only filter that uses edge slope tracing algorithm
11074+
to interpolate missing lines.
11075+
It accepts the following parameters:
11076+
11077+
@table @option
11078+
@item mode
11079+
The interlacing mode to adopt. It accepts one of the following values:
11080+
11081+
@table @option
11082+
@item frame
11083+
Output one frame for each frame.
11084+
@item field
11085+
Output one frame for each field.
11086+
@end table
11087+
11088+
The default value is @code{field}.
11089+
11090+
@item parity
11091+
The picture field parity assumed for the input interlaced video. It accepts one
11092+
of the following values:
11093+
11094+
@table @option
11095+
@item tff
11096+
Assume the top field is first.
11097+
@item bff
11098+
Assume the bottom field is first.
11099+
@item auto
11100+
Enable automatic detection of field parity.
11101+
@end table
11102+
11103+
The default value is @code{auto}.
11104+
If the interlacing is unknown or the decoder does not export this information,
11105+
top field first will be assumed.
11106+
11107+
@item deint
11108+
Specify which frames to deinterlace. Accepts one of the following
11109+
values:
11110+
11111+
@table @option
11112+
@item all
11113+
Deinterlace all frames.
11114+
@item interlaced
11115+
Only deinterlace frames marked as interlaced.
11116+
@end table
11117+
11118+
The default value is @code{all}.
11119+
11120+
@item rslope
11121+
Specify the search radius for edge slope tracing. Default value is 1.
11122+
Allowed range is from 1 to 15.
11123+
11124+
@item redge
11125+
Specify the search radius for best edge matching. Default value is 2.
11126+
Allowed range is from 0 to 15.
11127+
@end table
11128+
11129+
@subsection Commands
11130+
This filter supports same @ref{commands} as options.
11131+
1106811132
@section extractplanes
1106911133

1107011134
Extract color channel components from input video stream into

libavfilter/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ OBJS-$(CONFIG_EQ_FILTER) += vf_eq.o
252252
OBJS-$(CONFIG_EROSION_FILTER) += vf_neighbor.o
253253
OBJS-$(CONFIG_EROSION_OPENCL_FILTER) += vf_neighbor_opencl.o opencl.o \
254254
opencl/neighbor.o
255+
OBJS-$(CONFIG_ESTDIF_FILTER) += vf_estdif.o
255256
OBJS-$(CONFIG_EXTRACTPLANES_FILTER) += vf_extractplanes.o
256257
OBJS-$(CONFIG_FADE_FILTER) += vf_fade.o
257258
OBJS-$(CONFIG_FFTDNOIZ_FILTER) += vf_fftdnoiz.o

libavfilter/allfilters.c

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ extern AVFilter ff_vf_entropy;
237237
extern AVFilter ff_vf_eq;
238238
extern AVFilter ff_vf_erosion;
239239
extern AVFilter ff_vf_erosion_opencl;
240+
extern AVFilter ff_vf_estdif;
240241
extern AVFilter ff_vf_extractplanes;
241242
extern AVFilter ff_vf_fade;
242243
extern AVFilter ff_vf_fftdnoiz;

libavfilter/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "libavutil/version.h"
3131

3232
#define LIBAVFILTER_VERSION_MAJOR 7
33-
#define LIBAVFILTER_VERSION_MINOR 95
33+
#define LIBAVFILTER_VERSION_MINOR 96
3434
#define LIBAVFILTER_VERSION_MICRO 100
3535

3636

0 commit comments

Comments
 (0)