History

avfilter/vf_neighbor: add support for commands

Paul B Mahol committed 6 years ago

Commit fad62ee1 parent f37bfd32 files · +18 −1Browse files

Unified · Split

2 files
  1. doc/filters.texi +16 −0
  2. libavfilter/vf_neighbor.c +2 −1
doc/filters.texi+16−0
@@ -8632,6 +8632,10 @@ Limit the maximum change for each plane, default is 65535. · 8631 unmodified lines
86328632 If 0, plane will remain unchanged.
86338633 @end table
86348634
8635+@subsection Commands
8636+
8637+This filter supports the all above options as @ref{commands}.
8638+
86358639 @section deflicker
86368640
86378641 Remove temporal frame luminance variations.
@@ -8973,6 +8977,10 @@ Flags to local 3x3 coordinates maps like this: · 335 unmodified lines
89738977 6 7 8
89748978 @end table
89758979
8980+@subsection Commands
8981+
8982+This filter supports the all above options as @ref{commands}.
8983+
89768984 @section displace
89778985
89788986 Displace pixels as indicated by second and third input stream.
@@ -10121,6 +10129,10 @@ Flags to local 3x3 coordinates maps like this: · 1142 unmodified lines
1012110129 6 7 8
1012210130 @end table
1012310131
10132+@subsection Commands
10133+
10134+This filter supports the all above options as @ref{commands}.
10135+
1012410136 @section extractplanes
1012510137
1012610138 Extract color channel components from input video stream into
@@ -12186,6 +12198,10 @@ Limit the maximum change for each plane, default is 65535. · 2059 unmodified lines
1218612198 If 0, plane will remain unchanged.
1218712199 @end table
1218812200
12201+@subsection Commands
12202+
12203+This filter supports the all above options as @ref{commands}.
12204+
1218912205 @section interlace
1219012206
1219112207 Simple interlacing filter from progressive contents. This interleaves upper (or
libavfilter/vf_neighbor.c+2−1
@@ -353,7 +353,7 @@ static const AVFilterPad neighbor_outputs[] = { · 352 unmodified lines
353353 };
354354
355355 #define OFFSET(x) offsetof(NContext, x)
356−#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
356+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
357357
358358 #define DEFINE_NEIGHBOR_FILTER(name_, description_) \
359359 AVFILTER_DEFINE_CLASS(name_); \
@@ -368,6 +368,7 @@ AVFilter ff_vf_##name_ = { \ · 8 unmodified lines
368368 .outputs = neighbor_outputs, \
369369 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC| \
370370 AVFILTER_FLAG_SLICE_THREADS, \
371+ .process_command = ff_filter_process_command, \
371372 }
372373
373374 #if CONFIG_EROSION_FILTER

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t