avfilter/avfilter: Add FFFilter, hide internals of AVFilter

This patch is analogous to 20f972701806be20a77f808db332d9489343bb78:
It hides the internal part of AVFilter by adding a new internal
structure FFFilter (declared in filters.h) that has an AVFilter
as its first member; the internal part of AVFilter is moved to
this new structure.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
master
Andreas Rheinhardt 4 weeks ago
parent 9bbab3255b
commit 7ab7d9c3c0
  1. 6
      configure
  2. 19
      libavfilter/aeval.c
  3. 12
      libavfilter/af_aap.c
  4. 8
      libavfilter/af_acontrast.c
  5. 8
      libavfilter/af_acopy.c
  6. 14
      libavfilter/af_acrossover.c
  7. 10
      libavfilter/af_acrusher.c
  8. 20
      libavfilter/af_adeclick.c
  9. 12
      libavfilter/af_adecorrelate.c
  10. 10
      libavfilter/af_adelay.c
  11. 12
      libavfilter/af_adenorm.c
  12. 20
      libavfilter/af_aderivative.c
  13. 12
      libavfilter/af_adrc.c
  14. 12
      libavfilter/af_adynamicequalizer.c
  15. 10
      libavfilter/af_adynamicsmooth.c
  16. 8
      libavfilter/af_aecho.c
  17. 12
      libavfilter/af_aemphasis.c
  18. 10
      libavfilter/af_aexciter.c
  19. 18
      libavfilter/af_afade.c
  20. 12
      libavfilter/af_afftdn.c
  21. 12
      libavfilter/af_afftfilt.c
  22. 14
      libavfilter/af_afir.c
  23. 10
      libavfilter/af_aformat.c
  24. 24
      libavfilter/af_afreqshift.c
  25. 12
      libavfilter/af_afwtdn.c
  26. 20
      libavfilter/af_agate.c
  27. 12
      libavfilter/af_aiir.c
  28. 10
      libavfilter/af_alimiter.c
  29. 12
      libavfilter/af_amerge.c
  30. 12
      libavfilter/af_amix.c
  31. 6
      libavfilter/af_amultiply.c
  32. 16
      libavfilter/af_anequalizer.c
  33. 12
      libavfilter/af_anlmdn.c
  34. 24
      libavfilter/af_anlms.c
  35. 8
      libavfilter/af_anull.c
  36. 10
      libavfilter/af_apad.c
  37. 8
      libavfilter/af_aphaser.c
  38. 12
      libavfilter/af_apsyclip.c
  39. 8
      libavfilter/af_apulsator.c
  40. 8
      libavfilter/af_aresample.c
  41. 12
      libavfilter/af_arls.c
  42. 12
      libavfilter/af_arnndn.c
  43. 36
      libavfilter/af_asdr.c
  44. 10
      libavfilter/af_asetnsamples.c
  45. 10
      libavfilter/af_asetrate.c
  46. 8
      libavfilter/af_ashowinfo.c
  47. 12
      libavfilter/af_asoftclip.c
  48. 10
      libavfilter/af_aspectralstats.c
  49. 10
      libavfilter/af_asr.c
  50. 10
      libavfilter/af_astats.c
  51. 12
      libavfilter/af_asubboost.c
  52. 48
      libavfilter/af_asupercut.c
  53. 8
      libavfilter/af_atempo.c
  54. 12
      libavfilter/af_atilt.c
  55. 8
      libavfilter/af_axcorrelate.c
  56. 11
      libavfilter/af_biquads.c
  57. 8
      libavfilter/af_bs2b.c
  58. 8
      libavfilter/af_channelmap.c
  59. 11
      libavfilter/af_channelsplit.c
  60. 8
      libavfilter/af_chorus.c
  61. 8
      libavfilter/af_compand.c
  62. 10
      libavfilter/af_compensationdelay.c
  63. 10
      libavfilter/af_crossfeed.c
  64. 12
      libavfilter/af_crystalizer.c
  65. 10
      libavfilter/af_dcshift.c
  66. 10
      libavfilter/af_deesser.c
  67. 10
      libavfilter/af_dialoguenhance.c
  68. 10
      libavfilter/af_drmeter.c
  69. 12
      libavfilter/af_dynaudnorm.c
  70. 6
      libavfilter/af_earwax.c
  71. 10
      libavfilter/af_extrastereo.c
  72. 8
      libavfilter/af_firequalizer.c
  73. 8
      libavfilter/af_flanger.c
  74. 8
      libavfilter/af_haas.c
  75. 8
      libavfilter/af_hdcd.c
  76. 11
      libavfilter/af_headphone.c
  77. 11
      libavfilter/af_join.c
  78. 11
      libavfilter/af_ladspa.c
  79. 8
      libavfilter/af_loudnorm.c
  80. 11
      libavfilter/af_lv2.c
  81. 8
      libavfilter/af_mcompand.c
  82. 8
      libavfilter/af_pan.c
  83. 10
      libavfilter/af_replaygain.c
  84. 8
      libavfilter/af_rubberband.c
  85. 16
      libavfilter/af_sidechaincompress.c
  86. 10
      libavfilter/af_silencedetect.c
  87. 10
      libavfilter/af_silenceremove.c
  88. 10
      libavfilter/af_sofalizer.c
  89. 10
      libavfilter/af_speechnorm.c
  90. 10
      libavfilter/af_stereotools.c
  91. 10
      libavfilter/af_stereowiden.c
  92. 8
      libavfilter/af_superequalizer.c
  93. 10
      libavfilter/af_surround.c
  94. 10
      libavfilter/af_tremolo.c
  95. 10
      libavfilter/af_vibrato.c
  96. 10
      libavfilter/af_virtualbass.c
  97. 10
      libavfilter/af_volume.c
  98. 8
      libavfilter/af_volumedetect.c
  99. 1171
      libavfilter/allfilters.c
  100. 8
      libavfilter/asink_anullsink.c
  101. Some files were not shown because too many files have changed in this diff Show More

6
configure vendored

@ -4262,7 +4262,7 @@ find_things_extern(){
find_filters_extern(){
file=$source_path/$1
sed -n 's/^extern const AVFilter ff_[avfsinkrc]\{2,5\}_\([[:alnum:]_]\{1,\}\);/\1_filter/p' $file
sed -n 's/^extern const FFFilter ff_[avfsinkrc]\{2,5\}_\([[:alnum:]_]\{1,\}\);/\1_filter/p' $file
}
FILTER_LIST=$(find_filters_extern libavfilter/allfilters.c)
@ -8311,7 +8311,7 @@ cp_if_changed $TMPH libavutil/avconfig.h
# full_filter_name_foo=vf_foo
# full_filter_name_bar=asrc_bar
# ...
eval "$(sed -n "s/^extern const AVFilter ff_\([avfsinkrc]\{2,5\}\)_\(.*\);/full_filter_name_\2=\1_\2/p" $source_path/libavfilter/allfilters.c)"
eval "$(sed -n "s/^extern const FFFilter ff_\([avfsinkrc]\{2,5\}\)_\(.*\);/full_filter_name_\2=\1_\2/p" $source_path/libavfilter/allfilters.c)"
# generate the lists of enabled components
print_enabled_components(){
@ -8345,7 +8345,7 @@ print_enabled_components(){
cp_if_changed $TMPH $file
}
print_enabled_components libavfilter/filter_list.c AVFilter filter_list $FILTER_LIST
print_enabled_components libavfilter/filter_list.c FFFilter filter_list $FILTER_LIST
print_enabled_components libavcodec/codec_list.c FFCodec codec_list $CODEC_LIST
print_enabled_components libavcodec/parser_list.c AVCodecParser parser_list $PARSER_LIST
print_enabled_components libavcodec/bsf_list.c FFBitStreamFilter bitstream_filters $BSF_LIST

@ -321,17 +321,16 @@ static const AVFilterPad aevalsrc_outputs[] = {
},
};
const AVFilter ff_asrc_aevalsrc = {
.name = "aevalsrc",
.description = NULL_IF_CONFIG_SMALL("Generate an audio signal generated by an expression."),
const FFFilter ff_asrc_aevalsrc = {
.p.name = "aevalsrc",
.p.description = NULL_IF_CONFIG_SMALL("Generate an audio signal generated by an expression."),
.p.priv_class = &aevalsrc_class,
.init = init,
.uninit = uninit,
.activate = activate,
.priv_size = sizeof(EvalContext),
.inputs = NULL,
FILTER_OUTPUTS(aevalsrc_outputs),
FILTER_QUERY_FUNC2(query_formats),
.priv_class = &aevalsrc_class,
};
#endif /* CONFIG_AEVALSRC_FILTER */
@ -463,17 +462,17 @@ static const AVFilterPad aeval_outputs[] = {
},
};
const AVFilter ff_af_aeval = {
.name = "aeval",
.description = NULL_IF_CONFIG_SMALL("Filter audio signal according to a specified expression."),
const FFFilter ff_af_aeval = {
.p.name = "aeval",
.p.description = NULL_IF_CONFIG_SMALL("Filter audio signal according to a specified expression."),
.p.priv_class = &aeval_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.init = init,
.uninit = uninit,
.priv_size = sizeof(EvalContext),
FILTER_INPUTS(aeval_inputs),
FILTER_OUTPUTS(aeval_outputs),
FILTER_QUERY_FUNC2(aeval_query_formats),
.priv_class = &aeval_class,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};
#endif /* CONFIG_AEVAL_FILTER */

@ -315,18 +315,18 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_aap = {
.name = "aap",
.description = NULL_IF_CONFIG_SMALL("Apply Affine Projection algorithm to first audio stream."),
const FFFilter ff_af_aap = {
.p.name = "aap",
.p.description = NULL_IF_CONFIG_SMALL("Apply Affine Projection algorithm to first audio stream."),
.p.priv_class = &aap_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioAPContext),
.priv_class = &aap_class,
.init = init,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = ff_filter_process_command,
};

@ -169,11 +169,11 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_acontrast = {
.name = "acontrast",
.description = NULL_IF_CONFIG_SMALL("Simple audio dynamic range compression/expansion filter."),
const FFFilter ff_af_acontrast = {
.p.name = "acontrast",
.p.description = NULL_IF_CONFIG_SMALL("Simple audio dynamic range compression/expansion filter."),
.p.priv_class = &acontrast_class,
.priv_size = sizeof(AudioContrastContext),
.priv_class = &acontrast_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,

@ -53,10 +53,10 @@ static const AVFilterPad acopy_inputs[] = {
},
};
const AVFilter ff_af_acopy = {
.name = "acopy",
.description = NULL_IF_CONFIG_SMALL("Copy the input audio unchanged to the output."),
.flags = AVFILTER_FLAG_METADATA_ONLY,
const FFFilter ff_af_acopy = {
.p.name = "acopy",
.p.description = NULL_IF_CONFIG_SMALL("Copy the input audio unchanged to the output."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(acopy_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
};

@ -617,17 +617,17 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_acrossover = {
.name = "acrossover",
.description = NULL_IF_CONFIG_SMALL("Split audio into per-bands streams."),
const FFFilter ff_af_acrossover = {
.p.name = "acrossover",
.p.description = NULL_IF_CONFIG_SMALL("Split audio into per-bands streams."),
.p.priv_class = &acrossover_class,
.p.outputs = NULL,
.p.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioCrossoverContext),
.priv_class = &acrossover_class,
.init = init,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
.outputs = NULL,
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -326,15 +326,15 @@ static const AVFilterPad avfilter_af_acrusher_inputs[] = {
},
};
const AVFilter ff_af_acrusher = {
.name = "acrusher",
.description = NULL_IF_CONFIG_SMALL("Reduce audio bit resolution."),
const FFFilter ff_af_acrusher = {
.p.name = "acrusher",
.p.description = NULL_IF_CONFIG_SMALL("Reduce audio bit resolution."),
.p.priv_class = &acrusher_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(ACrusherContext),
.priv_class = &acrusher_class,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_acrusher_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -778,18 +778,18 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_adeclick = {
.name = "adeclick",
.description = NULL_IF_CONFIG_SMALL("Remove impulsive noise from input audio."),
const FFFilter ff_af_adeclick = {
.p.name = "adeclick",
.p.description = NULL_IF_CONFIG_SMALL("Remove impulsive noise from input audio."),
.p.priv_class = &adeclick_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioDeclickContext),
.priv_class = &adeclick_class,
.init = init,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};
static const AVOption adeclip_options[] = {
@ -814,16 +814,16 @@ static const AVOption adeclip_options[] = {
AVFILTER_DEFINE_CLASS(adeclip);
const AVFilter ff_af_adeclip = {
.name = "adeclip",
.description = NULL_IF_CONFIG_SMALL("Remove clipping from input audio."),
const FFFilter ff_af_adeclip = {
.p.name = "adeclip",
.p.description = NULL_IF_CONFIG_SMALL("Remove clipping from input audio."),
.p.priv_class = &adeclip_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioDeclickContext),
.priv_class = &adeclip_class,
.init = init,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -231,15 +231,15 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_adecorrelate = {
.name = "adecorrelate",
.description = NULL_IF_CONFIG_SMALL("Apply decorrelation to input audio."),
const FFFilter ff_af_adecorrelate = {
.p.name = "adecorrelate",
.p.description = NULL_IF_CONFIG_SMALL("Apply decorrelation to input audio."),
.p.priv_class = &adecorrelate_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ADecorrelateContext),
.priv_class = &adecorrelate_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -465,17 +465,17 @@ static const AVFilterPad adelay_inputs[] = {
},
};
const AVFilter ff_af_adelay = {
.name = "adelay",
.description = NULL_IF_CONFIG_SMALL("Delay one or more audio channels."),
const FFFilter ff_af_adelay = {
.p.name = "adelay",
.p.description = NULL_IF_CONFIG_SMALL("Delay one or more audio channels."),
.p.priv_class = &adelay_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioDelayContext),
.priv_class = &adelay_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(adelay_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_U8P, AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = process_command,
};

@ -262,15 +262,15 @@ static const AVOption adenorm_options[] = {
AVFILTER_DEFINE_CLASS(adenorm);
const AVFilter ff_af_adenorm = {
.name = "adenorm",
.description = NULL_IF_CONFIG_SMALL("Remedy denormals by adding extremely low-level noise."),
const FFFilter ff_af_adenorm = {
.p.name = "adenorm",
.p.description = NULL_IF_CONFIG_SMALL("Remedy denormals by adding extremely low-level noise."),
.p.priv_class = &adenorm_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ADenormContext),
FILTER_INPUTS(adenorm_inputs),
FILTER_OUTPUTS(adenorm_outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.priv_class = &adenorm_class,
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -160,27 +160,27 @@ static const AVOption aderivative_options[] = {
AVFILTER_DEFINE_CLASS_EXT(aderivative, "aderivative/aintegral", aderivative_options);
const AVFilter ff_af_aderivative = {
.name = "aderivative",
.description = NULL_IF_CONFIG_SMALL("Compute derivative of input audio."),
const FFFilter ff_af_aderivative = {
.p.name = "aderivative",
.p.description = NULL_IF_CONFIG_SMALL("Compute derivative of input audio."),
.p.priv_class = &aderivative_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(ADerivativeContext),
.priv_class = &aderivative_class,
.uninit = uninit,
FILTER_INPUTS(aderivative_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};
const AVFilter ff_af_aintegral = {
.name = "aintegral",
.description = NULL_IF_CONFIG_SMALL("Compute integral of input audio."),
const FFFilter ff_af_aintegral = {
.p.name = "aintegral",
.p.description = NULL_IF_CONFIG_SMALL("Compute integral of input audio."),
.p.priv_class = &aderivative_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(ADerivativeContext),
.priv_class = &aderivative_class,
.uninit = uninit,
FILTER_INPUTS(aderivative_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -486,17 +486,17 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_adrc = {
.name = "adrc",
.description = NULL_IF_CONFIG_SMALL("Audio Spectral Dynamic Range Controller."),
const FFFilter ff_af_adrc = {
.p.name = "adrc",
.p.description = NULL_IF_CONFIG_SMALL("Audio Spectral Dynamic Range Controller."),
.p.priv_class = &adrc_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioDRCContext),
.priv_class = &adrc_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.activate = activate,
.process_command = process_command,
};

@ -273,16 +273,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_adynamicequalizer = {
.name = "adynamicequalizer",
.description = NULL_IF_CONFIG_SMALL("Apply Dynamic Equalization of input audio."),
const FFFilter ff_af_adynamicequalizer = {
.p.name = "adynamicequalizer",
.p.description = NULL_IF_CONFIG_SMALL("Apply Dynamic Equalization of input audio."),
.p.priv_class = &adynamicequalizer_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioDynamicEqualizerContext),
.priv_class = &adynamicequalizer_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = ff_filter_process_command,
};

@ -121,15 +121,15 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_adynamicsmooth = {
.name = "adynamicsmooth",
.description = NULL_IF_CONFIG_SMALL("Apply Dynamic Smoothing of input audio."),
const FFFilter ff_af_adynamicsmooth = {
.p.name = "adynamicsmooth",
.p.description = NULL_IF_CONFIG_SMALL("Apply Dynamic Smoothing of input audio."),
.p.priv_class = &adynamicsmooth_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioDynamicSmoothContext),
.priv_class = &adynamicsmooth_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = ff_filter_process_command,
};

@ -336,11 +336,11 @@ static const AVFilterPad aecho_outputs[] = {
},
};
const AVFilter ff_af_aecho = {
.name = "aecho",
.description = NULL_IF_CONFIG_SMALL("Add echoing to the audio."),
const FFFilter ff_af_aecho = {
.p.name = "aecho",
.p.description = NULL_IF_CONFIG_SMALL("Add echoing to the audio."),
.p.priv_class = &aecho_class,
.priv_size = sizeof(AudioEchoContext),
.priv_class = &aecho_class,
.init = init,
.activate = activate,
.uninit = uninit,

@ -361,16 +361,16 @@ static const AVFilterPad avfilter_af_aemphasis_inputs[] = {
},
};
const AVFilter ff_af_aemphasis = {
.name = "aemphasis",
.description = NULL_IF_CONFIG_SMALL("Audio emphasis."),
const FFFilter ff_af_aemphasis = {
.p.name = "aemphasis",
.p.description = NULL_IF_CONFIG_SMALL("Audio emphasis."),
.p.priv_class = &aemphasis_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioEmphasisContext),
.priv_class = &aemphasis_class,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_aemphasis_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -265,15 +265,15 @@ static const AVFilterPad avfilter_af_aexciter_inputs[] = {
},
};
const AVFilter ff_af_aexciter = {
.name = "aexciter",
.description = NULL_IF_CONFIG_SMALL("Enhance high frequency part of audio."),
const FFFilter ff_af_aexciter = {
.p.name = "aexciter",
.p.description = NULL_IF_CONFIG_SMALL("Enhance high frequency part of audio."),
.p.priv_class = &aexciter_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AExciterContext),
.priv_class = &aexciter_class,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_aexciter_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -433,17 +433,17 @@ static const AVFilterPad avfilter_af_afade_outputs[] = {
},
};
const AVFilter ff_af_afade = {
.name = "afade",
.description = NULL_IF_CONFIG_SMALL("Fade in/out input audio."),
const FFFilter ff_af_afade = {
.p.name = "afade",
.p.description = NULL_IF_CONFIG_SMALL("Fade in/out input audio."),
.p.priv_class = &afade_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(AudioFadeContext),
.init = init,
FILTER_INPUTS(avfilter_af_afade_inputs),
FILTER_OUTPUTS(avfilter_af_afade_outputs),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.priv_class = &afade_class,
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};
#endif /* CONFIG_AFADE_FILTER */
@ -731,12 +731,12 @@ static const AVFilterPad avfilter_af_acrossfade_outputs[] = {
},
};
const AVFilter ff_af_acrossfade = {
.name = "acrossfade",
.description = NULL_IF_CONFIG_SMALL("Cross fade two input audio streams."),
const FFFilter ff_af_acrossfade = {
.p.name = "acrossfade",
.p.description = NULL_IF_CONFIG_SMALL("Cross fade two input audio streams."),
.p.priv_class = &acrossfade_class,
.priv_size = sizeof(AudioFadeContext),
.activate = activate,
.priv_class = &acrossfade_class,
FILTER_INPUTS(avfilter_af_acrossfade_inputs),
FILTER_OUTPUTS(avfilter_af_acrossfade_outputs),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),

@ -1363,17 +1363,17 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_afftdn = {
.name = "afftdn",
.description = NULL_IF_CONFIG_SMALL("Denoise audio samples using FFT."),
const FFFilter ff_af_afftdn = {
.p.name = "afftdn",
.p.description = NULL_IF_CONFIG_SMALL("Denoise audio samples using FFT."),
.p.priv_class = &afftdn_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioFFTDeNoiseContext),
.priv_class = &afftdn_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -439,16 +439,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_afftfilt = {
.name = "afftfilt",
.description = NULL_IF_CONFIG_SMALL("Apply arbitrary expressions to samples in frequency domain."),
const FFFilter ff_af_afftfilt = {
.p.name = "afftfilt",
.p.description = NULL_IF_CONFIG_SMALL("Apply arbitrary expressions to samples in frequency domain."),
.p.priv_class = &afftfilt_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AFFTFiltContext),
.priv_class = &afftfilt_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.activate = activate,
.uninit = uninit,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -777,18 +777,18 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_afir = {
.name = "afir",
.description = NULL_IF_CONFIG_SMALL("Apply Finite Impulse Response filter with supplied coefficients in additional stream(s)."),
const FFFilter ff_af_afir = {
.p.name = "afir",
.p.description = NULL_IF_CONFIG_SMALL("Apply Finite Impulse Response filter with supplied coefficients in additional stream(s)."),
.p.priv_class = &afir_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioFIRContext),
.priv_class = &afir_class,
FILTER_QUERY_FUNC2(query_formats),
FILTER_OUTPUTS(outputs),
.init = init,
.activate = activate,
.uninit = uninit,
.process_command = process_command,
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -132,13 +132,13 @@ static int query_formats(const AVFilterContext *ctx,
return 0;
}
const AVFilter ff_af_aformat = {
.name = "aformat",
.description = NULL_IF_CONFIG_SMALL("Convert the input audio to one of the specified formats."),
const FFFilter ff_af_aformat = {
.p.name = "aformat",
.p.description = NULL_IF_CONFIG_SMALL("Convert the input audio to one of the specified formats."),
.p.priv_class = &aformat_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.init = init,
.priv_size = sizeof(AFormatContext),
.priv_class = &aformat_class,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),

@ -366,18 +366,18 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_afreqshift = {
.name = "afreqshift",
.description = NULL_IF_CONFIG_SMALL("Apply frequency shifting to input audio."),
const FFFilter ff_af_afreqshift = {
.p.name = "afreqshift",
.p.description = NULL_IF_CONFIG_SMALL("Apply frequency shifting to input audio."),
.p.priv_class = &afreqshift_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AFreqShift),
.priv_class = &afreqshift_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};
static const AVOption aphaseshift_options[] = {
@ -389,16 +389,16 @@ static const AVOption aphaseshift_options[] = {
AVFILTER_DEFINE_CLASS(aphaseshift);
const AVFilter ff_af_aphaseshift = {
.name = "aphaseshift",
.description = NULL_IF_CONFIG_SMALL("Apply phase shifting to input audio."),
const FFFilter ff_af_aphaseshift = {
.p.name = "aphaseshift",
.p.description = NULL_IF_CONFIG_SMALL("Apply phase shifting to input audio."),
.p.priv_class = &aphaseshift_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AFreqShift),
.priv_class = &aphaseshift_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -1301,17 +1301,17 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_afwtdn = {
.name = "afwtdn",
.description = NULL_IF_CONFIG_SMALL("Denoise audio stream using Wavelets."),
const FFFilter ff_af_afwtdn = {
.p.name = "afwtdn",
.p.description = NULL_IF_CONFIG_SMALL("Denoise audio stream using Wavelets."),
.p.priv_class = &afwtdn_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioFWTDNContext),
.priv_class = &afwtdn_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -228,16 +228,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_agate = {
.name = "agate",
.description = NULL_IF_CONFIG_SMALL("Audio gate."),
.priv_class = &agate_sidechaingate_class,
const FFFilter ff_af_agate = {
.p.name = "agate",
.p.description = NULL_IF_CONFIG_SMALL("Audio gate."),
.p.priv_class = &agate_sidechaingate_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(AudioGateContext),
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};
#endif /* CONFIG_AGATE_FILTER */
@ -378,10 +378,11 @@ static const AVFilterPad sidechaingate_outputs[] = {
},
};
const AVFilter ff_af_sidechaingate = {
.name = "sidechaingate",
.description = NULL_IF_CONFIG_SMALL("Audio sidechain gate."),
.priv_class = &agate_sidechaingate_class,
const FFFilter ff_af_sidechaingate = {
.p.name = "sidechaingate",
.p.description = NULL_IF_CONFIG_SMALL("Audio sidechain gate."),
.p.priv_class = &agate_sidechaingate_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioGateContext),
.activate = activate,
.uninit = uninit,
@ -389,6 +390,5 @@ const AVFilter ff_af_sidechaingate = {
FILTER_OUTPUTS(sidechaingate_outputs),
FILTER_QUERY_FUNC2(scquery_formats),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};
#endif /* CONFIG_SIDECHAINGATE_FILTER */

@ -1560,15 +1560,15 @@ static const AVOption aiir_options[] = {
AVFILTER_DEFINE_CLASS(aiir);
const AVFilter ff_af_aiir = {
.name = "aiir",
.description = NULL_IF_CONFIG_SMALL("Apply Infinite Impulse Response filter with supplied coefficients."),
const FFFilter ff_af_aiir = {
.p.name = "aiir",
.p.description = NULL_IF_CONFIG_SMALL("Apply Infinite Impulse Response filter with supplied coefficients."),
.p.priv_class = &aiir_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioIIRContext),
.priv_class = &aiir_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -421,16 +421,16 @@ static const AVFilterPad alimiter_outputs[] = {
},
};
const AVFilter ff_af_alimiter = {
.name = "alimiter",
.description = NULL_IF_CONFIG_SMALL("Audio lookahead limiter."),
const FFFilter ff_af_alimiter = {
.p.name = "alimiter",
.p.description = NULL_IF_CONFIG_SMALL("Audio lookahead limiter."),
.p.priv_class = &alimiter_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(AudioLimiterContext),
.priv_class = &alimiter_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(alimiter_inputs),
FILTER_OUTPUTS(alimiter_outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};

@ -341,17 +341,17 @@ static const AVFilterPad amerge_outputs[] = {
},
};
const AVFilter ff_af_amerge = {
.name = "amerge",
.description = NULL_IF_CONFIG_SMALL("Merge two or more audio streams into "
const FFFilter ff_af_amerge = {
.p.name = "amerge",
.p.description = NULL_IF_CONFIG_SMALL("Merge two or more audio streams into "
"a single multi-channel stream."),
.p.inputs = NULL,
.p.priv_class = &amerge_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(AMergeContext),
.init = init,
.uninit = uninit,
.activate = activate,
.inputs = NULL,
FILTER_OUTPUTS(amerge_outputs),
FILTER_QUERY_FUNC(query_formats),
.priv_class = &amerge_class,
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -616,18 +616,18 @@ static const AVFilterPad avfilter_af_amix_outputs[] = {
},
};
const AVFilter ff_af_amix = {
.name = "amix",
.description = NULL_IF_CONFIG_SMALL("Audio mixing."),
const FFFilter ff_af_amix = {
.p.name = "amix",
.p.description = NULL_IF_CONFIG_SMALL("Audio mixing."),
.p.priv_class = &amix_class,
.p.inputs = NULL,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(MixContext),
.priv_class = &amix_class,
.init = init,
.uninit = uninit,
.activate = activate,
.inputs = NULL,
FILTER_OUTPUTS(avfilter_af_amix_outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -169,9 +169,9 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_amultiply = {
.name = "amultiply",
.description = NULL_IF_CONFIG_SMALL("Multiply two audio streams."),
const FFFilter ff_af_amultiply = {
.p.name = "amultiply",
.p.description = NULL_IF_CONFIG_SMALL("Multiply two audio streams."),
.priv_size = sizeof(AudioMultiplyContext),
.init = init,
.uninit = uninit,

@ -752,18 +752,18 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_anequalizer = {
.name = "anequalizer",
.description = NULL_IF_CONFIG_SMALL("Apply high-order audio parametric multi band equalizer."),
const FFFilter ff_af_anequalizer = {
.p.name = "anequalizer",
.p.description = NULL_IF_CONFIG_SMALL("Apply high-order audio parametric multi band equalizer."),
.p.priv_class = &anequalizer_class,
.p.outputs = NULL,
.p.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioNEqualizerContext),
.priv_class = &anequalizer_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(inputs),
.outputs = NULL,
FILTER_QUERY_FUNC2(query_formats),
.process_command = process_command,
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -349,17 +349,17 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_anlmdn = {
.name = "anlmdn",
.description = NULL_IF_CONFIG_SMALL("Reduce broadband noise from stream using Non-Local Means."),
const FFFilter ff_af_anlmdn = {
.p.name = "anlmdn",
.p.description = NULL_IF_CONFIG_SMALL("Reduce broadband noise from stream using Non-Local Means."),
.p.priv_class = &anlmdn_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioNLMeansContext),
.priv_class = &anlmdn_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -251,34 +251,34 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_anlms = {
.name = "anlms",
.description = NULL_IF_CONFIG_SMALL("Apply Normalized Least-Mean-Squares algorithm to first audio stream."),
const FFFilter ff_af_anlms = {
.p.name = "anlms",
.p.description = NULL_IF_CONFIG_SMALL("Apply Normalized Least-Mean-Squares algorithm to first audio stream."),
.p.priv_class = &anlms_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioNLMSContext),
.priv_class = &anlms_class,
.init = init,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = ff_filter_process_command,
};
const AVFilter ff_af_anlmf = {
.name = "anlmf",
.description = NULL_IF_CONFIG_SMALL("Apply Normalized Least-Mean-Fourth algorithm to first audio stream."),
const FFFilter ff_af_anlmf = {
.p.name = "anlmf",
.p.description = NULL_IF_CONFIG_SMALL("Apply Normalized Least-Mean-Fourth algorithm to first audio stream."),
.p.priv_class = &anlms_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioNLMSContext),
.priv_class = &anlms_class,
.init = init,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = ff_filter_process_command,
};

@ -27,10 +27,10 @@
#include "filters.h"
#include "libavutil/internal.h"
const AVFilter ff_af_anull = {
.name = "anull",
.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
.flags = AVFILTER_FLAG_METADATA_ONLY,
const FFFilter ff_af_anull = {
.p.name = "anull",
.p.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(ff_audio_default_filterpad),
};

@ -194,14 +194,14 @@ static const AVFilterPad apad_outputs[] = {
},
};
const AVFilter ff_af_apad = {
.name = "apad",
.description = NULL_IF_CONFIG_SMALL("Pad audio with silence."),
const FFFilter ff_af_apad = {
.p.name = "apad",
.p.description = NULL_IF_CONFIG_SMALL("Pad audio with silence."),
.p.priv_class = &apad_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.init = init,
.activate = activate,
.priv_size = sizeof(APadContext),
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(apad_outputs),
.priv_class = &apad_class,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -256,9 +256,10 @@ static const AVFilterPad aphaser_outputs[] = {
},
};
const AVFilter ff_af_aphaser = {
.name = "aphaser",
.description = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),
const FFFilter ff_af_aphaser = {
.p.name = "aphaser",
.p.description = NULL_IF_CONFIG_SMALL("Add a phasing effect to the audio."),
.p.priv_class = &aphaser_class,
.priv_size = sizeof(AudioPhaserContext),
.init = init,
.uninit = uninit,
@ -268,5 +269,4 @@ const AVFilter ff_af_aphaser = {
AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P),
.priv_class = &aphaser_class,
};

@ -637,17 +637,17 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_apsyclip = {
.name = "apsyclip",
.description = NULL_IF_CONFIG_SMALL("Audio Psychoacoustic Clipper."),
const FFFilter ff_af_apsyclip = {
.p.name = "apsyclip",
.p.description = NULL_IF_CONFIG_SMALL("Audio Psychoacoustic Clipper."),
.p.priv_class = &apsyclip_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioPsyClipContext),
.priv_class = &apsyclip_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.activate = activate,
.process_command = ff_filter_process_command,
};

@ -249,11 +249,11 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_apulsator = {
.name = "apulsator",
.description = NULL_IF_CONFIG_SMALL("Audio pulsator."),
const FFFilter ff_af_apulsator = {
.p.name = "apulsator",
.p.description = NULL_IF_CONFIG_SMALL("Audio pulsator."),
.p.priv_class = &apulsator_class,
.priv_size = sizeof(AudioPulsatorContext),
.priv_class = &apulsator_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),

@ -361,14 +361,14 @@ static const AVFilterPad aresample_outputs[] = {
},
};
const AVFilter ff_af_aresample = {
.name = "aresample",
.description = NULL_IF_CONFIG_SMALL("Resample audio data."),
const FFFilter ff_af_aresample = {
.p.name = "aresample",
.p.description = NULL_IF_CONFIG_SMALL("Resample audio data."),
.p.priv_class = &aresample_class,
.preinit = preinit,
.activate = activate,
.uninit = uninit,
.priv_size = sizeof(AResampleContext),
.priv_class = &aresample_class,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(aresample_outputs),
FILTER_QUERY_FUNC2(query_formats),

@ -281,18 +281,18 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_arls = {
.name = "arls",
.description = NULL_IF_CONFIG_SMALL("Apply Recursive Least Squares algorithm to first audio stream."),
const FFFilter ff_af_arls = {
.p.name = "arls",
.p.description = NULL_IF_CONFIG_SMALL("Apply Recursive Least Squares algorithm to first audio stream."),
.p.priv_class = &arls_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioRLSContext),
.priv_class = &arls_class,
.init = init,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = ff_filter_process_command,
};

@ -1596,18 +1596,18 @@ static const AVOption arnndn_options[] = {
AVFILTER_DEFINE_CLASS(arnndn);
const AVFilter ff_af_arnndn = {
.name = "arnndn",
.description = NULL_IF_CONFIG_SMALL("Reduce noise from speech using Recurrent Neural Networks."),
const FFFilter ff_af_arnndn = {
.p.name = "arnndn",
.p.description = NULL_IF_CONFIG_SMALL("Reduce noise from speech using Recurrent Neural Networks."),
.p.priv_class = &arnndn_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioRNNContext),
.priv_class = &arnndn_class,
.activate = activate,
.init = init,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = process_command,
};

@ -266,45 +266,45 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_asdr = {
.name = "asdr",
.description = NULL_IF_CONFIG_SMALL("Measure Audio Signal-to-Distortion Ratio."),
const FFFilter ff_af_asdr = {
.p.name = "asdr",
.p.description = NULL_IF_CONFIG_SMALL("Measure Audio Signal-to-Distortion Ratio."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioSDRContext),
.activate = activate,
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBLP),
};
const AVFilter ff_af_apsnr = {
.name = "apsnr",
.description = NULL_IF_CONFIG_SMALL("Measure Audio Peak Signal-to-Noise Ratio."),
const FFFilter ff_af_apsnr = {
.p.name = "apsnr",
.p.description = NULL_IF_CONFIG_SMALL("Measure Audio Peak Signal-to-Noise Ratio."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioSDRContext),
.activate = activate,
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBLP),
};
const AVFilter ff_af_asisdr = {
.name = "asisdr",
.description = NULL_IF_CONFIG_SMALL("Measure Audio Scale-Invariant Signal-to-Distortion Ratio."),
const FFFilter ff_af_asisdr = {
.p.name = "asisdr",
.p.description = NULL_IF_CONFIG_SMALL("Measure Audio Scale-Invariant Signal-to-Distortion Ratio."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioSDRContext),
.activate = activate,
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY |
AVFILTER_FLAG_SLICE_THREADS |
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP,

@ -102,14 +102,14 @@ static int activate(AVFilterContext *ctx)
return FFERROR_NOT_READY;
}
const AVFilter ff_af_asetnsamples = {
.name = "asetnsamples",
.description = NULL_IF_CONFIG_SMALL("Set the number of samples for each output audio frames."),
const FFFilter ff_af_asetnsamples = {
.p.name = "asetnsamples",
.p.description = NULL_IF_CONFIG_SMALL("Set the number of samples for each output audio frames."),
.p.priv_class = &asetnsamples_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(ASNSContext),
.priv_class = &asetnsamples_class,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(ff_audio_default_filterpad),
.activate = activate,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = ff_filter_process_command,
};

@ -111,14 +111,14 @@ static const AVFilterPad asetrate_outputs[] = {
},
};
const AVFilter ff_af_asetrate = {
.name = "asetrate",
.description = NULL_IF_CONFIG_SMALL("Change the sample rate without "
const FFFilter ff_af_asetrate = {
.p.name = "asetrate",
.p.description = NULL_IF_CONFIG_SMALL("Change the sample rate without "
"altering the data."),
.p.priv_class = &asetrate_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(ASetRateContext),
FILTER_INPUTS(asetrate_inputs),
FILTER_OUTPUTS(asetrate_outputs),
FILTER_QUERY_FUNC2(query_formats),
.priv_class = &asetrate_class,
.flags = AVFILTER_FLAG_METADATA_ONLY,
};

@ -241,12 +241,12 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_ashowinfo = {
.name = "ashowinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),
const FFFilter ff_af_ashowinfo = {
.p.name = "ashowinfo",
.p.description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(AShowInfoContext),
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
};

@ -473,16 +473,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_asoftclip = {
.name = "asoftclip",
.description = NULL_IF_CONFIG_SMALL("Audio Soft Clipper."),
const FFFilter ff_af_asoftclip = {
.p.name = "asoftclip",
.p.description = NULL_IF_CONFIG_SMALL("Audio Soft Clipper."),
.p.priv_class = &asoftclip_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASoftClipContext),
.priv_class = &asoftclip_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.uninit = uninit,
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -608,15 +608,15 @@ static const AVFilterPad aspectralstats_outputs[] = {
},
};
const AVFilter ff_af_aspectralstats = {
.name = "aspectralstats",
.description = NULL_IF_CONFIG_SMALL("Show frequency domain statistics about audio frames."),
const FFFilter ff_af_aspectralstats = {
.p.name = "aspectralstats",
.p.description = NULL_IF_CONFIG_SMALL("Show frequency domain statistics about audio frames."),
.p.priv_class = &aspectralstats_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioSpectralStatsContext),
.priv_class = &aspectralstats_class,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(ff_audio_default_filterpad),
FILTER_OUTPUTS(aspectralstats_outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.flags = AVFILTER_FLAG_SLICE_THREADS,
};

@ -173,14 +173,14 @@ static const AVFilterPad asr_inputs[] = {
},
};
const AVFilter ff_af_asr = {
.name = "asr",
.description = NULL_IF_CONFIG_SMALL("Automatic Speech Recognition."),
const FFFilter ff_af_asr = {
.p.name = "asr",
.p.description = NULL_IF_CONFIG_SMALL("Automatic Speech Recognition."),
.p.priv_class = &asr_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(ASRContext),
.priv_class = &asr_class,
.init = asr_init,
.uninit = asr_uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(asr_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),

@ -956,11 +956,12 @@ static const AVFilterPad astats_outputs[] = {
},
};
const AVFilter ff_af_astats = {
.name = "astats",
.description = NULL_IF_CONFIG_SMALL("Show time domain statistics about audio frames."),
const FFFilter ff_af_astats = {
.p.name = "astats",
.p.description = NULL_IF_CONFIG_SMALL("Show time domain statistics about audio frames."),
.p.priv_class = &astats_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(AudioStatsContext),
.priv_class = &astats_class,
.uninit = uninit,
FILTER_INPUTS(astats_inputs),
FILTER_OUTPUTS(astats_outputs),
@ -969,5 +970,4 @@ const AVFilter ff_af_astats = {
AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_S64P,
AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_METADATA_ONLY,
};

@ -238,16 +238,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_asubboost = {
.name = "asubboost",
.description = NULL_IF_CONFIG_SMALL("Boost subwoofer frequencies."),
const FFFilter ff_af_asubboost = {
.p.name = "asubboost",
.p.description = NULL_IF_CONFIG_SMALL("Boost subwoofer frequencies."),
.p.priv_class = &asubboost_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASubBoostContext),
.priv_class = &asubboost_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -333,18 +333,18 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_asupercut = {
.name = "asupercut",
.description = NULL_IF_CONFIG_SMALL("Cut super frequencies."),
const FFFilter ff_af_asupercut = {
.p.name = "asupercut",
.p.description = NULL_IF_CONFIG_SMALL("Cut super frequencies."),
.p.priv_class = &asupercut_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASuperCutContext),
.priv_class = &asupercut_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};
static const AVOption asubcut_options[] = {
@ -356,18 +356,18 @@ static const AVOption asubcut_options[] = {
AVFILTER_DEFINE_CLASS(asubcut);
const AVFilter ff_af_asubcut = {
.name = "asubcut",
.description = NULL_IF_CONFIG_SMALL("Cut subwoofer frequencies."),
const FFFilter ff_af_asubcut = {
.p.name = "asubcut",
.p.description = NULL_IF_CONFIG_SMALL("Cut subwoofer frequencies."),
.p.priv_class = &asubcut_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASuperCutContext),
.priv_class = &asubcut_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};
static const AVOption asuperpass_asuperstop_options[] = {
@ -381,30 +381,30 @@ static const AVOption asuperpass_asuperstop_options[] = {
AVFILTER_DEFINE_CLASS_EXT(asuperpass_asuperstop, "asuperpass/asuperstop",
asuperpass_asuperstop_options);
const AVFilter ff_af_asuperpass = {
.name = "asuperpass",
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-pass filter."),
.priv_class = &asuperpass_asuperstop_class,
const FFFilter ff_af_asuperpass = {
.p.name = "asuperpass",
.p.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-pass filter."),
.p.priv_class = &asuperpass_asuperstop_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASuperCutContext),
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};
const AVFilter ff_af_asuperstop = {
.name = "asuperstop",
.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-stop filter."),
.priv_class = &asuperpass_asuperstop_class,
const FFFilter ff_af_asuperstop = {
.p.name = "asuperstop",
.p.description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-stop filter."),
.p.priv_class = &asuperpass_asuperstop_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ASuperCutContext),
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -1176,14 +1176,14 @@ static const AVFilterPad atempo_outputs[] = {
},
};
const AVFilter ff_af_atempo = {
.name = "atempo",
.description = NULL_IF_CONFIG_SMALL("Adjust audio tempo."),
const FFFilter ff_af_atempo = {
.p.name = "atempo",
.p.description = NULL_IF_CONFIG_SMALL("Adjust audio tempo."),
.p.priv_class = &atempo_class,
.init = init,
.uninit = uninit,
.process_command = process_command,
.priv_size = sizeof(ATempoContext),
.priv_class = &atempo_class,
FILTER_INPUTS(atempo_inputs),
FILTER_OUTPUTS(atempo_outputs),
FILTER_SAMPLEFMTS_ARRAY(sample_fmts),

@ -246,16 +246,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_atilt = {
.name = "atilt",
.description = NULL_IF_CONFIG_SMALL("Apply spectral tilt to audio."),
const FFFilter ff_af_atilt = {
.p.name = "atilt",
.p.description = NULL_IF_CONFIG_SMALL("Apply spectral tilt to audio."),
.p.priv_class = &atilt_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(ATiltContext),
.priv_class = &atilt_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -454,11 +454,11 @@ static const AVOption axcorrelate_options[] = {
AVFILTER_DEFINE_CLASS(axcorrelate);
const AVFilter ff_af_axcorrelate = {
.name = "axcorrelate",
.description = NULL_IF_CONFIG_SMALL("Cross-correlate two audio streams."),
const FFFilter ff_af_axcorrelate = {
.p.name = "axcorrelate",
.p.description = NULL_IF_CONFIG_SMALL("Cross-correlate two audio streams."),
.p.priv_class = &axcorrelate_class,
.priv_size = sizeof(AudioXCorrelateContext),
.priv_class = &axcorrelate_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),

@ -1453,10 +1453,12 @@ static av_cold int name_##_init(AVFilterContext *ctx) \
return 0; \
} \
\
const AVFilter ff_af_##name_ = { \
.name = #name_, \
.description = NULL_IF_CONFIG_SMALL(description_), \
.priv_class = &priv_class_##_class, \
const FFFilter ff_af_##name_ = { \
.p.name = #name_, \
.p.description = NULL_IF_CONFIG_SMALL(description_), \
.p.priv_class = &priv_class_##_class, \
.p.flags = AVFILTER_FLAG_SLICE_THREADS | \
AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, \
.priv_size = sizeof(BiquadsContext), \
.init = name_##_init, \
.activate = activate, \
@ -1465,7 +1467,6 @@ const AVFilter ff_af_##name_ = { \
FILTER_OUTPUTS(outputs), \
FILTER_QUERY_FUNC2(query_formats), \
.process_command = process_command, \
.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, \
}
#define DEFINE_BIQUAD_FILTER(name, description) \

@ -205,11 +205,11 @@ static const AVFilterPad bs2b_outputs[] = {
},
};
const AVFilter ff_af_bs2b = {
.name = "bs2b",
.description = NULL_IF_CONFIG_SMALL("Bauer stereo-to-binaural filter."),
const FFFilter ff_af_bs2b = {
.p.name = "bs2b",
.p.description = NULL_IF_CONFIG_SMALL("Bauer stereo-to-binaural filter."),
.p.priv_class = &bs2b_class,
.priv_size = sizeof(Bs2bContext),
.priv_class = &bs2b_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(bs2b_inputs),

@ -444,13 +444,13 @@ static const AVFilterPad avfilter_af_channelmap_inputs[] = {
},
};
const AVFilter ff_af_channelmap = {
.name = "channelmap",
.description = NULL_IF_CONFIG_SMALL("Remap audio channels."),
const FFFilter ff_af_channelmap = {
.p.name = "channelmap",
.p.description = NULL_IF_CONFIG_SMALL("Remap audio channels."),
.p.priv_class = &channelmap_class,
.init = channelmap_init,
.uninit = channelmap_uninit,
.priv_size = sizeof(ChannelMapContext),
.priv_class = &channelmap_class,
FILTER_INPUTS(avfilter_af_channelmap_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(channelmap_query_formats),

@ -241,16 +241,15 @@ static int activate(AVFilterContext *ctx)
return FFERROR_NOT_READY;
}
const AVFilter ff_af_channelsplit = {
.name = "channelsplit",
.description = NULL_IF_CONFIG_SMALL("Split audio into per-channel streams."),
const FFFilter ff_af_channelsplit = {
.p.name = "channelsplit",
.p.description = NULL_IF_CONFIG_SMALL("Split audio into per-channel streams."),
.p.priv_class = &channelsplit_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
.priv_size = sizeof(ChannelSplitContext),
.priv_class = &channelsplit_class,
.init = init,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(ff_audio_default_filterpad),
.outputs = NULL,
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_OUTPUTS,
};

@ -339,11 +339,11 @@ static const AVFilterPad chorus_outputs[] = {
},
};
const AVFilter ff_af_chorus = {
.name = "chorus",
.description = NULL_IF_CONFIG_SMALL("Add a chorus effect to the audio."),
const FFFilter ff_af_chorus = {
.p.name = "chorus",
.p.description = NULL_IF_CONFIG_SMALL("Add a chorus effect to the audio."),
.p.priv_class = &chorus_class,
.priv_size = sizeof(ChorusContext),
.priv_class = &chorus_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(chorus_inputs),

@ -542,12 +542,12 @@ static const AVFilterPad compand_outputs[] = {
};
const AVFilter ff_af_compand = {
.name = "compand",
.description = NULL_IF_CONFIG_SMALL(
const FFFilter ff_af_compand = {
.p.name = "compand",
.p.description = NULL_IF_CONFIG_SMALL(
"Compress or expand audio dynamic range."),
.p.priv_class = &compand_class,
.priv_size = sizeof(CompandContext),
.priv_class = &compand_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(compand_inputs),

@ -166,15 +166,15 @@ static const AVFilterPad compensationdelay_inputs[] = {
},
};
const AVFilter ff_af_compensationdelay = {
.name = "compensationdelay",
.description = NULL_IF_CONFIG_SMALL("Audio Compensation Delay Line."),
const FFFilter ff_af_compensationdelay = {
.p.name = "compensationdelay",
.p.description = NULL_IF_CONFIG_SMALL("Audio Compensation Delay Line."),
.p.priv_class = &compensationdelay_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(CompensationDelayContext),
.priv_class = &compensationdelay_class,
.uninit = uninit,
FILTER_INPUTS(compensationdelay_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -373,16 +373,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_crossfeed = {
.name = "crossfeed",
.description = NULL_IF_CONFIG_SMALL("Apply headphone crossfeed filter."),
const FFFilter ff_af_crossfeed = {
.p.name = "crossfeed",
.p.description = NULL_IF_CONFIG_SMALL("Apply headphone crossfeed filter."),
.p.priv_class = &crossfeed_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(CrossfeedContext),
.priv_class = &crossfeed_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = process_command,
};

@ -233,17 +233,17 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_crystalizer = {
.name = "crystalizer",
.description = NULL_IF_CONFIG_SMALL("Simple audio noise sharpening filter."),
const FFFilter ff_af_crystalizer = {
.p.name = "crystalizer",
.p.description = NULL_IF_CONFIG_SMALL("Simple audio noise sharpening filter."),
.p.priv_class = &crystalizer_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(CrystalizerContext),
.priv_class = &crystalizer_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_DBLP),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
};

@ -122,14 +122,14 @@ static const AVFilterPad dcshift_inputs[] = {
},
};
const AVFilter ff_af_dcshift = {
.name = "dcshift",
.description = NULL_IF_CONFIG_SMALL("Apply a DC shift to the audio."),
const FFFilter ff_af_dcshift = {
.p.name = "dcshift",
.p.description = NULL_IF_CONFIG_SMALL("Apply a DC shift to the audio."),
.p.priv_class = &dcshift_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(DCShiftContext),
.priv_class = &dcshift_class,
.init = init,
FILTER_INPUTS(dcshift_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_S32P),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};

@ -194,14 +194,14 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_deesser = {
.name = "deesser",
.description = NULL_IF_CONFIG_SMALL("Apply de-essing to the audio."),
const FFFilter ff_af_deesser = {
.p.name = "deesser",
.p.description = NULL_IF_CONFIG_SMALL("Apply de-essing to the audio."),
.p.priv_class = &deesser_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(DeesserContext),
.priv_class = &deesser_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -217,16 +217,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_dialoguenhance = {
.name = "dialoguenhance",
.description = NULL_IF_CONFIG_SMALL("Audio Dialogue Enhancement."),
const FFFilter ff_af_dialoguenhance = {
.p.name = "dialoguenhance",
.p.description = NULL_IF_CONFIG_SMALL("Audio Dialogue Enhancement."),
.p.priv_class = &dialoguenhance_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioDialogueEnhanceContext),
.priv_class = &dialoguenhance_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.activate = activate,
.process_command = ff_filter_process_command,
};

@ -197,13 +197,13 @@ static const AVFilterPad drmeter_outputs[] = {
},
};
const AVFilter ff_af_drmeter = {
.name = "drmeter",
.description = NULL_IF_CONFIG_SMALL("Measure audio dynamic range."),
const FFFilter ff_af_drmeter = {
.p.name = "drmeter",
.p.description = NULL_IF_CONFIG_SMALL("Measure audio dynamic range."),
.p.priv_class = &drmeter_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(DRMeterContext),
.priv_class = &drmeter_class,
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(drmeter_inputs),
FILTER_OUTPUTS(drmeter_outputs),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_FLT),

@ -1020,9 +1020,12 @@ static const AVFilterPad avfilter_af_dynaudnorm_inputs[] = {
},
};
const AVFilter ff_af_dynaudnorm = {
.name = "dynaudnorm",
.description = NULL_IF_CONFIG_SMALL("Dynamic Audio Normalizer."),
const FFFilter ff_af_dynaudnorm = {
.p.name = "dynaudnorm",
.p.description = NULL_IF_CONFIG_SMALL("Dynamic Audio Normalizer."),
.p.priv_class = &dynaudnorm_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(DynamicAudioNormalizerContext),
.init = init,
.uninit = uninit,
@ -1030,8 +1033,5 @@ const AVFilter ff_af_dynaudnorm = {
FILTER_INPUTS(avfilter_af_dynaudnorm_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.priv_class = &dynaudnorm_class,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL |
AVFILTER_FLAG_SLICE_THREADS,
.process_command = process_command,
};

@ -236,9 +236,9 @@ static const AVFilterPad earwax_inputs[] = {
},
};
const AVFilter ff_af_earwax = {
.name = "earwax",
.description = NULL_IF_CONFIG_SMALL("Widen the stereo image."),
const FFFilter ff_af_earwax = {
.p.name = "earwax",
.p.description = NULL_IF_CONFIG_SMALL("Widen the stereo image."),
.priv_size = sizeof(EarwaxContext),
.uninit = uninit,
FILTER_INPUTS(earwax_inputs),

@ -122,14 +122,14 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_extrastereo = {
.name = "extrastereo",
.description = NULL_IF_CONFIG_SMALL("Increase difference between stereo audio channels."),
const FFFilter ff_af_extrastereo = {
.p.name = "extrastereo",
.p.description = NULL_IF_CONFIG_SMALL("Increase difference between stereo audio channels."),
.p.priv_class = &extrastereo_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(ExtraStereoContext),
.priv_class = &extrastereo_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.process_command = ff_filter_process_command,
};

@ -955,14 +955,14 @@ static const AVFilterPad firequalizer_outputs[] = {
},
};
const AVFilter ff_af_firequalizer = {
.name = "firequalizer",
.description = NULL_IF_CONFIG_SMALL("Finite Impulse Response Equalizer."),
const FFFilter ff_af_firequalizer = {
.p.name = "firequalizer",
.p.description = NULL_IF_CONFIG_SMALL("Finite Impulse Response Equalizer."),
.p.priv_class = &firequalizer_class,
.uninit = uninit,
.process_command = process_command,
.priv_size = sizeof(FIREqualizerContext),
FILTER_INPUTS(firequalizer_inputs),
FILTER_OUTPUTS(firequalizer_outputs),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_FLTP),
.priv_class = &firequalizer_class,
};

@ -195,11 +195,11 @@ static const AVFilterPad flanger_inputs[] = {
},
};
const AVFilter ff_af_flanger = {
.name = "flanger",
.description = NULL_IF_CONFIG_SMALL("Apply a flanging effect to the audio."),
const FFFilter ff_af_flanger = {
.p.name = "flanger",
.p.description = NULL_IF_CONFIG_SMALL("Apply a flanging effect to the audio."),
.p.priv_class = &flanger_class,
.priv_size = sizeof(FlangerContext),
.priv_class = &flanger_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(flanger_inputs),

@ -218,11 +218,11 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_haas = {
.name = "haas",
.description = NULL_IF_CONFIG_SMALL("Apply Haas Stereo Enhancer."),
const FFFilter ff_af_haas = {
.p.name = "haas",
.p.description = NULL_IF_CONFIG_SMALL("Apply Haas Stereo Enhancer."),
.p.priv_class = &haas_class,
.priv_size = sizeof(HaasContext),
.priv_class = &haas_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),

@ -1758,11 +1758,11 @@ static const AVFilterPad avfilter_af_hdcd_inputs[] = {
},
};
const AVFilter ff_af_hdcd = {
.name = "hdcd",
.description = NULL_IF_CONFIG_SMALL("Apply High Definition Compatible Digital (HDCD) decoding."),
const FFFilter ff_af_hdcd = {
.p.name = "hdcd",
.p.description = NULL_IF_CONFIG_SMALL("Apply High Definition Compatible Digital (HDCD) decoding."),
.p.priv_class = &hdcd_class,
.priv_size = sizeof(HDCDContext),
.priv_class = &hdcd_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_hdcd_inputs),

@ -776,16 +776,15 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_headphone = {
.name = "headphone",
.description = NULL_IF_CONFIG_SMALL("Apply headphone binaural spatialization with HRTFs in additional streams."),
const FFFilter ff_af_headphone = {
.p.name = "headphone",
.p.description = NULL_IF_CONFIG_SMALL("Apply headphone binaural spatialization with HRTFs in additional streams."),
.p.priv_class = &headphone_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(HeadphoneContext),
.priv_class = &headphone_class,
.init = init,
.uninit = uninit,
.activate = activate,
.inputs = NULL,
FILTER_OUTPUTS(outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SLICE_THREADS | AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -595,17 +595,16 @@ static const AVFilterPad avfilter_af_join_outputs[] = {
},
};
const AVFilter ff_af_join = {
.name = "join",
.description = NULL_IF_CONFIG_SMALL("Join multiple audio streams into "
const FFFilter ff_af_join = {
.p.name = "join",
.p.description = NULL_IF_CONFIG_SMALL("Join multiple audio streams into "
"multi-channel output."),
.p.priv_class = &join_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(JoinContext),
.priv_class = &join_class,
.init = join_init,
.uninit = join_uninit,
.activate = activate,
.inputs = NULL,
FILTER_OUTPUTS(avfilter_af_join_outputs),
FILTER_QUERY_FUNC2(join_query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -810,16 +810,15 @@ static const AVFilterPad ladspa_outputs[] = {
},
};
const AVFilter ff_af_ladspa = {
.name = "ladspa",
.description = NULL_IF_CONFIG_SMALL("Apply LADSPA effect."),
const FFFilter ff_af_ladspa = {
.p.name = "ladspa",
.p.description = NULL_IF_CONFIG_SMALL("Apply LADSPA effect."),
.p.priv_class = &ladspa_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(LADSPAContext),
.priv_class = &ladspa_class,
.init = init,
.uninit = uninit,
.process_command = process_command,
.inputs = 0,
FILTER_OUTPUTS(ladspa_outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -926,11 +926,11 @@ static const AVFilterPad avfilter_af_loudnorm_inputs[] = {
},
};
const AVFilter ff_af_loudnorm = {
.name = "loudnorm",
.description = NULL_IF_CONFIG_SMALL("EBU R128 loudness normalization"),
const FFFilter ff_af_loudnorm = {
.p.name = "loudnorm",
.p.description = NULL_IF_CONFIG_SMALL("EBU R128 loudness normalization"),
.p.priv_class = &loudnorm_class,
.priv_size = sizeof(LoudNormContext),
.priv_class = &loudnorm_class,
.init = init,
.activate = activate,
.uninit = uninit,

@ -590,16 +590,15 @@ static const AVFilterPad lv2_outputs[] = {
},
};
const AVFilter ff_af_lv2 = {
.name = "lv2",
.description = NULL_IF_CONFIG_SMALL("Apply LV2 effect."),
const FFFilter ff_af_lv2 = {
.p.name = "lv2",
.p.description = NULL_IF_CONFIG_SMALL("Apply LV2 effect."),
.p.priv_class = &lv2_class,
.p.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
.priv_size = sizeof(LV2Context),
.priv_class = &lv2_class,
.init = init,
.uninit = uninit,
.process_command = process_command,
.inputs = 0,
FILTER_OUTPUTS(lv2_outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_DYNAMIC_INPUTS,
};

@ -634,12 +634,12 @@ static const AVFilterPad mcompand_outputs[] = {
};
const AVFilter ff_af_mcompand = {
.name = "mcompand",
.description = NULL_IF_CONFIG_SMALL(
const FFFilter ff_af_mcompand = {
.p.name = "mcompand",
.p.description = NULL_IF_CONFIG_SMALL(
"Multiband Compress or expand audio dynamic range."),
.p.priv_class = &mcompand_class,
.priv_size = sizeof(MCompandContext),
.priv_class = &mcompand_class,
.uninit = uninit,
FILTER_INPUTS(mcompand_inputs),
FILTER_OUTPUTS(mcompand_outputs),

@ -416,11 +416,11 @@ static const AVFilterPad pan_inputs[] = {
},
};
const AVFilter ff_af_pan = {
.name = "pan",
.description = NULL_IF_CONFIG_SMALL("Remix channels with coefficients (panning)."),
const FFFilter ff_af_pan = {
.p.name = "pan",
.p.description = NULL_IF_CONFIG_SMALL("Remix channels with coefficients (panning)."),
.p.priv_class = &pan_class,
.priv_size = sizeof(PanContext),
.priv_class = &pan_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(pan_inputs),

@ -643,12 +643,12 @@ static const AVOption replaygain_options[] = {
AVFILTER_DEFINE_CLASS(replaygain);
const AVFilter ff_af_replaygain = {
.name = "replaygain",
.description = NULL_IF_CONFIG_SMALL("ReplayGain scanner."),
const FFFilter ff_af_replaygain = {
.p.name = "replaygain",
.p.description = NULL_IF_CONFIG_SMALL("ReplayGain scanner."),
.p.priv_class = &replaygain_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(ReplayGainContext),
.priv_class = &replaygain_class,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(replaygain_inputs),
FILTER_OUTPUTS(replaygain_outputs),
FILTER_QUERY_FUNC2(query_formats),

@ -205,11 +205,11 @@ static const AVFilterPad rubberband_inputs[] = {
},
};
const AVFilter ff_af_rubberband = {
.name = "rubberband",
.description = NULL_IF_CONFIG_SMALL("Apply time-stretching and pitch-shifting."),
const FFFilter ff_af_rubberband = {
.p.name = "rubberband",
.p.description = NULL_IF_CONFIG_SMALL("Apply time-stretching and pitch-shifting."),
.p.priv_class = &rubberband_class,
.priv_size = sizeof(RubberBandContext),
.priv_class = &rubberband_class,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(rubberband_inputs),

@ -363,10 +363,10 @@ static const AVFilterPad sidechaincompress_outputs[] = {
},
};
const AVFilter ff_af_sidechaincompress = {
.name = "sidechaincompress",
.description = NULL_IF_CONFIG_SMALL("Sidechain compressor."),
.priv_class = &sidechaincompress_acompressor_class,
const FFFilter ff_af_sidechaincompress = {
.p.name = "sidechaincompress",
.p.description = NULL_IF_CONFIG_SMALL("Sidechain compressor."),
.p.priv_class = &sidechaincompress_acompressor_class,
.priv_size = sizeof(SidechainCompressContext),
.activate = activate,
.uninit = uninit,
@ -424,10 +424,10 @@ static const AVFilterPad acompressor_outputs[] = {
},
};
const AVFilter ff_af_acompressor = {
.name = "acompressor",
.description = NULL_IF_CONFIG_SMALL("Audio compressor."),
.priv_class = &sidechaincompress_acompressor_class,
const FFFilter ff_af_acompressor = {
.p.name = "acompressor",
.p.description = NULL_IF_CONFIG_SMALL("Audio compressor."),
.p.priv_class = &sidechaincompress_acompressor_class,
.priv_size = sizeof(SidechainCompressContext),
FILTER_INPUTS(acompressor_inputs),
FILTER_OUTPUTS(acompressor_outputs),

@ -253,9 +253,11 @@ static const AVFilterPad silencedetect_inputs[] = {
},
};
const AVFilter ff_af_silencedetect = {
.name = "silencedetect",
.description = NULL_IF_CONFIG_SMALL("Detect silence."),
const FFFilter ff_af_silencedetect = {
.p.name = "silencedetect",
.p.description = NULL_IF_CONFIG_SMALL("Detect silence."),
.p.priv_class = &silencedetect_class,
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(SilenceDetectContext),
.uninit = uninit,
FILTER_INPUTS(silencedetect_inputs),
@ -264,6 +266,4 @@ const AVFilter ff_af_silencedetect = {
AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P),
.priv_class = &silencedetect_class,
.flags = AVFILTER_FLAG_METADATA_ONLY,
};

@ -478,11 +478,12 @@ static const AVFilterPad silenceremove_outputs[] = {
},
};
const AVFilter ff_af_silenceremove = {
.name = "silenceremove",
.description = NULL_IF_CONFIG_SMALL("Remove silence."),
const FFFilter ff_af_silenceremove = {
.p.name = "silenceremove",
.p.description = NULL_IF_CONFIG_SMALL("Remove silence."),
.p.priv_class = &silenceremove_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(SilenceRemoveContext),
.priv_class = &silenceremove_class,
.init = init,
.activate = activate,
.uninit = uninit,
@ -491,5 +492,4 @@ const AVFilter ff_af_silenceremove = {
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLT,
AV_SAMPLE_FMT_DBL),
.process_command = ff_filter_process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -1088,16 +1088,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_sofalizer = {
.name = "sofalizer",
.description = NULL_IF_CONFIG_SMALL("SOFAlizer (Spatially Oriented Format for Acoustics)."),
const FFFilter ff_af_sofalizer = {
.p.name = "sofalizer",
.p.description = NULL_IF_CONFIG_SMALL("SOFAlizer (Spatially Oriented Format for Acoustics)."),
.p.priv_class = &sofalizer_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(SOFAlizerContext),
.priv_class = &sofalizer_class,
.init = init,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SLICE_THREADS,
};

@ -590,16 +590,16 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_speechnorm = {
.name = "speechnorm",
.description = NULL_IF_CONFIG_SMALL("Speech Normalizer."),
const FFFilter ff_af_speechnorm = {
.p.name = "speechnorm",
.p.description = NULL_IF_CONFIG_SMALL("Speech Normalizer."),
.p.priv_class = &speechnorm_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(SpeechNormalizerContext),
.priv_class = &speechnorm_class,
.activate = activate,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = process_command,
};

@ -379,15 +379,15 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_stereotools = {
.name = "stereotools",
.description = NULL_IF_CONFIG_SMALL("Apply various stereo tools."),
const FFFilter ff_af_stereotools = {
.p.name = "stereotools",
.p.description = NULL_IF_CONFIG_SMALL("Apply various stereo tools."),
.p.priv_class = &stereotools_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(StereoToolsContext),
.priv_class = &stereotools_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.process_command = process_command,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
};

@ -161,15 +161,15 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_stereowiden = {
.name = "stereowiden",
.description = NULL_IF_CONFIG_SMALL("Apply stereo widening effect."),
const FFFilter ff_af_stereowiden = {
.p.name = "stereowiden",
.p.description = NULL_IF_CONFIG_SMALL("Apply stereo widening effect."),
.p.priv_class = &stereowiden_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(StereoWidenContext),
.priv_class = &stereowiden_class,
.uninit = uninit,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = ff_filter_process_command,
};

@ -350,11 +350,11 @@ static const AVOption superequalizer_options[] = {
AVFILTER_DEFINE_CLASS(superequalizer);
const AVFilter ff_af_superequalizer = {
.name = "superequalizer",
.description = NULL_IF_CONFIG_SMALL("Apply 18 band equalization filter."),
const FFFilter ff_af_superequalizer = {
.p.name = "superequalizer",
.p.description = NULL_IF_CONFIG_SMALL("Apply 18 band equalization filter."),
.p.priv_class = &superequalizer_class,
.priv_size = sizeof(SuperEqualizerContext),
.priv_class = &superequalizer_class,
.init = init,
.activate = activate,
.uninit = uninit,

@ -1510,17 +1510,17 @@ static const AVFilterPad outputs[] = {
},
};
const AVFilter ff_af_surround = {
.name = "surround",
.description = NULL_IF_CONFIG_SMALL("Apply audio surround upmix filter."),
const FFFilter ff_af_surround = {
.p.name = "surround",
.p.description = NULL_IF_CONFIG_SMALL("Apply audio surround upmix filter."),
.p.priv_class = &surround_class,
.p.flags = AVFILTER_FLAG_SLICE_THREADS,
.priv_size = sizeof(AudioSurroundContext),
.priv_class = &surround_class,
.init = init,
.uninit = uninit,
.activate = activate,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SLICE_THREADS,
.process_command = process_command,
};

@ -122,14 +122,14 @@ static const AVFilterPad avfilter_af_tremolo_inputs[] = {
},
};
const AVFilter ff_af_tremolo = {
.name = "tremolo",
.description = NULL_IF_CONFIG_SMALL("Apply tremolo effect."),
const FFFilter ff_af_tremolo = {
.p.name = "tremolo",
.p.description = NULL_IF_CONFIG_SMALL("Apply tremolo effect."),
.p.priv_class = &tremolo_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(TremoloContext),
.priv_class = &tremolo_class,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_tremolo_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBL),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};

@ -166,14 +166,14 @@ static const AVFilterPad avfilter_af_vibrato_inputs[] = {
},
};
const AVFilter ff_af_vibrato = {
.name = "vibrato",
.description = NULL_IF_CONFIG_SMALL("Apply vibrato effect."),
const FFFilter ff_af_vibrato = {
.p.name = "vibrato",
.p.description = NULL_IF_CONFIG_SMALL("Apply vibrato effect."),
.p.priv_class = &vibrato_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(VibratoContext),
.priv_class = &vibrato_class,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_vibrato_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SINGLE_SAMPLEFMT(AV_SAMPLE_FMT_DBLP),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
};

@ -171,14 +171,14 @@ static const AVFilterPad inputs[] = {
},
};
const AVFilter ff_af_virtualbass = {
.name = "virtualbass",
.description = NULL_IF_CONFIG_SMALL("Audio Virtual Bass."),
const FFFilter ff_af_virtualbass = {
.p.name = "virtualbass",
.p.description = NULL_IF_CONFIG_SMALL("Audio Virtual Bass."),
.p.priv_class = &virtualbass_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.priv_size = sizeof(AudioVirtualBassContext),
.priv_class = &virtualbass_class,
FILTER_INPUTS(inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL,
.process_command = ff_filter_process_command,
};

@ -471,16 +471,16 @@ static const AVFilterPad avfilter_af_volume_outputs[] = {
},
};
const AVFilter ff_af_volume = {
.name = "volume",
.description = NULL_IF_CONFIG_SMALL("Change input volume."),
const FFFilter ff_af_volume = {
.p.name = "volume",
.p.description = NULL_IF_CONFIG_SMALL("Change input volume."),
.p.priv_class = &volume_class,
.p.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.priv_size = sizeof(VolumeContext),
.priv_class = &volume_class,
.init = init,
.uninit = uninit,
FILTER_INPUTS(avfilter_af_volume_inputs),
FILTER_OUTPUTS(avfilter_af_volume_outputs),
FILTER_QUERY_FUNC2(query_formats),
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
.process_command = process_command,
};

@ -122,12 +122,12 @@ static const AVFilterPad volumedetect_inputs[] = {
},
};
const AVFilter ff_af_volumedetect = {
.name = "volumedetect",
.description = NULL_IF_CONFIG_SMALL("Detect audio volume."),
const FFFilter ff_af_volumedetect = {
.p.name = "volumedetect",
.p.description = NULL_IF_CONFIG_SMALL("Detect audio volume."),
.p.flags = AVFILTER_FLAG_METADATA_ONLY,
.priv_size = sizeof(VolDetectContext),
.uninit = uninit,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(volumedetect_inputs),
FILTER_OUTPUTS(ff_audio_default_filterpad),
FILTER_SAMPLEFMTS(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P),

File diff suppressed because it is too large Load Diff

@ -36,10 +36,10 @@ static const AVFilterPad avfilter_asink_anullsink_inputs[] = {
},
};
const AVFilter ff_asink_anullsink = {
.name = "anullsink",
.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input audio."),
const FFFilter ff_asink_anullsink = {
.p.name = "anullsink",
.p.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input audio."),
.p.outputs = NULL,
.priv_size = 0,
FILTER_INPUTS(avfilter_asink_anullsink_inputs),
.outputs = NULL,
};

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save