History

avfilter/vf_maskedclamp: add support for commands

Paul B Mahol committed 5 years ago

Commit 4fcfecd1 parent d6a356f2 files · +6 −1Browse files

Unified · Split

2 files
  1. doc/filters.texi +4 −0
  2. libavfilter/vf_maskedclamp.c +2 −1
doc/filters.texi+4−0
@@ -13971,6 +13971,10 @@ copied from first stream. · 13970 unmodified lines
13971By default value 0xf, all planes will be processed.13971By default value 0xf, all planes will be processed.
13972@end table13972@end table
13973 13973
13974@subsection Commands
13975
13976This filter supports the all above options as @ref{commands}.
13977
13974@section maskedmax13978@section maskedmax
13975 13979
13976Merge the second and third input stream into output stream using absolute differences13980Merge the second and third input stream into output stream using absolute differences
libavfilter/vf_maskedclamp.c+2−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29#include "maskedclamp.h"29#include "maskedclamp.h"
30 30
31#define OFFSET(x) offsetof(MaskedClampContext, x)31#define OFFSET(x) offsetof(MaskedClampContext, x)
32#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM32#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
33 33
34typedef struct ThreadData {34typedef struct ThreadData {
35 AVFrame *b, *o, *m, *d;35 AVFrame *b, *o, *m, *d;
@@ -327,4 +327,5 @@ AVFilter ff_vf_maskedclamp = { · 291 unmodified lines
327 .outputs = maskedclamp_outputs,327 .outputs = maskedclamp_outputs,
328 .priv_class = &maskedclamp_class,328 .priv_class = &maskedclamp_class,
329 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,329 .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
330 .process_command = ff_filter_process_command,
330};331};

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