Unified · Split
| @@ -13971,6 +13971,10 @@ copied from first stream. · 13970 unmodified lines | |||
| 13971 | By default value 0xf, all planes will be processed. | 13971 | By default value 0xf, all planes will be processed. |
| 13972 | @end table | 13972 | @end table |
| 13973 | 13973 | ||
| 13974 | @subsection Commands | ||
| 13975 | |||
| 13976 | This filter supports the all above options as @ref{commands}. | ||
| 13977 | |||
| 13974 | @section maskedmax | 13978 | @section maskedmax |
| 13975 | 13979 | ||
| 13976 | Merge the second and third input stream into output stream using absolute differences | 13980 | Merge the second and third input stream into output stream using absolute differences |
| @@ -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_PARAM | 32 | #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
| 33 | 33 | ||
| 34 | typedef struct ThreadData { | 34 | typedef 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 | }; |