mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
avfilter/vf_maskedclamp: add support for commands
This commit is contained in:
parent
d6a356f115
commit
4fcfecdd66
@ -13971,6 +13971,10 @@ copied from first stream.
|
||||
By default value 0xf, all planes will be processed.
|
||||
@end table
|
||||
|
||||
@subsection Commands
|
||||
|
||||
This filter supports the all above options as @ref{commands}.
|
||||
|
||||
@section maskedmax
|
||||
|
||||
Merge the second and third input stream into output stream using absolute differences
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "maskedclamp.h"
|
||||
|
||||
#define OFFSET(x) offsetof(MaskedClampContext, x)
|
||||
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
|
||||
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
|
||||
|
||||
typedef struct ThreadData {
|
||||
AVFrame *b, *o, *m, *d;
|
||||
@ -327,4 +327,5 @@ AVFilter ff_vf_maskedclamp = {
|
||||
.outputs = maskedclamp_outputs,
|
||||
.priv_class = &maskedclamp_class,
|
||||
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
|
||||
.process_command = ff_filter_process_command,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user