mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-07-12 07:30:54 +02:00
avfilter/af_asupercut: Deduplicate AVClasses
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8c4a7a4c09
commit
3000ac48d5
@ -399,15 +399,15 @@ static const AVOption asuperpass_asuperstop_options[] = {
|
|||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
#define asuperpass_options asuperpass_asuperstop_options
|
AVFILTER_DEFINE_CLASS_EXT(asuperpass_asuperstop, "asuperpass/asuperstop",
|
||||||
AVFILTER_DEFINE_CLASS(asuperpass);
|
asuperpass_asuperstop_options);
|
||||||
|
|
||||||
const AVFilter ff_af_asuperpass = {
|
const AVFilter ff_af_asuperpass = {
|
||||||
.name = "asuperpass",
|
.name = "asuperpass",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-pass filter."),
|
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-pass filter."),
|
||||||
|
.priv_class = &asuperpass_asuperstop_class,
|
||||||
.query_formats = query_formats,
|
.query_formats = query_formats,
|
||||||
.priv_size = sizeof(ASuperCutContext),
|
.priv_size = sizeof(ASuperCutContext),
|
||||||
.priv_class = &asuperpass_class,
|
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
FILTER_INPUTS(inputs),
|
FILTER_INPUTS(inputs),
|
||||||
FILTER_OUTPUTS(outputs),
|
FILTER_OUTPUTS(outputs),
|
||||||
@ -416,15 +416,12 @@ const AVFilter ff_af_asuperpass = {
|
|||||||
AVFILTER_FLAG_SLICE_THREADS,
|
AVFILTER_FLAG_SLICE_THREADS,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define asuperstop_options asuperpass_asuperstop_options
|
|
||||||
AVFILTER_DEFINE_CLASS(asuperstop);
|
|
||||||
|
|
||||||
const AVFilter ff_af_asuperstop = {
|
const AVFilter ff_af_asuperstop = {
|
||||||
.name = "asuperstop",
|
.name = "asuperstop",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-stop filter."),
|
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-stop filter."),
|
||||||
|
.priv_class = &asuperpass_asuperstop_class,
|
||||||
.query_formats = query_formats,
|
.query_formats = query_formats,
|
||||||
.priv_size = sizeof(ASuperCutContext),
|
.priv_size = sizeof(ASuperCutContext),
|
||||||
.priv_class = &asuperstop_class,
|
|
||||||
.uninit = uninit,
|
.uninit = uninit,
|
||||||
FILTER_INPUTS(inputs),
|
FILTER_INPUTS(inputs),
|
||||||
FILTER_OUTPUTS(outputs),
|
FILTER_OUTPUTS(outputs),
|
||||||
|
Loading…
Reference in New Issue
Block a user