You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_maskedminmax: Deduplicate AVClasses
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -323,13 +323,12 @@ static const AVFilterPad maskedminmax_outputs[] = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
#define maskedmin_options maskedminmax_options
|
AVFILTER_DEFINE_CLASS_EXT(maskedminmax, "masked(min|max)", maskedminmax_options);
|
||||||
AVFILTER_DEFINE_CLASS(maskedmin);
|
|
||||||
|
|
||||||
const AVFilter ff_vf_maskedmin = {
|
const AVFilter ff_vf_maskedmin = {
|
||||||
.name = "maskedmin",
|
.name = "maskedmin",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Apply filtering with minimum difference of two streams."),
|
.description = NULL_IF_CONFIG_SMALL("Apply filtering with minimum difference of two streams."),
|
||||||
.priv_class = &maskedmin_class,
|
.priv_class = &maskedminmax_class,
|
||||||
.priv_size = sizeof(MaskedMinMaxContext),
|
.priv_size = sizeof(MaskedMinMaxContext),
|
||||||
.init = maskedmin_init,
|
.init = maskedmin_init,
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
@@ -341,13 +340,10 @@ const AVFilter ff_vf_maskedmin = {
|
|||||||
.process_command = ff_filter_process_command,
|
.process_command = ff_filter_process_command,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define maskedmax_options maskedminmax_options
|
|
||||||
AVFILTER_DEFINE_CLASS(maskedmax);
|
|
||||||
|
|
||||||
const AVFilter ff_vf_maskedmax = {
|
const AVFilter ff_vf_maskedmax = {
|
||||||
.name = "maskedmax",
|
.name = "maskedmax",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Apply filtering with maximum difference of two streams."),
|
.description = NULL_IF_CONFIG_SMALL("Apply filtering with maximum difference of two streams."),
|
||||||
.priv_class = &maskedmax_class,
|
.priv_class = &maskedminmax_class,
|
||||||
.priv_size = sizeof(MaskedMinMaxContext),
|
.priv_size = sizeof(MaskedMinMaxContext),
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
|
Reference in New Issue
Block a user