avfilter/formats: Factor common function combinations out
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 9 Aug 2021 23:25:31 +0000 (01:25 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 13 Aug 2021 15:36:22 +0000 (17:36 +0200)
commit18ec426a861c1a9a2072080796dff146bafecb53
treed3d8b683db1ff9b6a46fd6e828e0f4c7c94ed1be
parent55d9d6767967794edcdd6e1bbd8840fc6f4e9315
avfilter/formats: Factor common function combinations out

Several combinations of functions happen quite often in query_format
functions; e.g. ff_set_common_formats(ctx, ff_make_format_list(sample_fmts))
is very common. This commit therefore adds functions that are equivalent
to commonly used function combinations in order to reduce code
duplication.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
259 files changed:
libavfilter/aeval.c
libavfilter/af_acontrast.c
libavfilter/af_acrossover.c
libavfilter/af_acrusher.c
libavfilter/af_adeclick.c
libavfilter/af_adelay.c
libavfilter/af_adenorm.c
libavfilter/af_aderivative.c
libavfilter/af_aecho.c
libavfilter/af_aemphasis.c
libavfilter/af_aexciter.c
libavfilter/af_afade.c
libavfilter/af_afftdn.c
libavfilter/af_afftfilt.c
libavfilter/af_afir.c
libavfilter/af_afreqshift.c
libavfilter/af_afwtdn.c
libavfilter/af_agate.c
libavfilter/af_aiir.c
libavfilter/af_alimiter.c
libavfilter/af_amerge.c
libavfilter/af_amix.c
libavfilter/af_amultiply.c
libavfilter/af_anlmdn.c
libavfilter/af_anlms.c
libavfilter/af_aphaser.c
libavfilter/af_apulsator.c
libavfilter/af_arnndn.c
libavfilter/af_asoftclip.c
libavfilter/af_asr.c
libavfilter/af_astats.c
libavfilter/af_asubboost.c
libavfilter/af_asupercut.c
libavfilter/af_atempo.c
libavfilter/af_axcorrelate.c
libavfilter/af_biquads.c
libavfilter/af_bs2b.c
libavfilter/af_channelmap.c
libavfilter/af_channelsplit.c
libavfilter/af_chorus.c
libavfilter/af_compand.c
libavfilter/af_compensationdelay.c
libavfilter/af_crossfeed.c
libavfilter/af_crystalizer.c
libavfilter/af_dcshift.c
libavfilter/af_deesser.c
libavfilter/af_drmeter.c
libavfilter/af_dynaudnorm.c
libavfilter/af_earwax.c
libavfilter/af_extrastereo.c
libavfilter/af_firequalizer.c
libavfilter/af_flanger.c
libavfilter/af_haas.c
libavfilter/af_hdcd.c
libavfilter/af_headphone.c
libavfilter/af_join.c
libavfilter/af_ladspa.c
libavfilter/af_loudnorm.c
libavfilter/af_lv2.c
libavfilter/af_mcompand.c
libavfilter/af_pan.c
libavfilter/af_rubberband.c
libavfilter/af_sidechaincompress.c
libavfilter/af_silencedetect.c
libavfilter/af_silenceremove.c
libavfilter/af_sofalizer.c
libavfilter/af_speechnorm.c
libavfilter/af_stereotools.c
libavfilter/af_stereowiden.c
libavfilter/af_superequalizer.c
libavfilter/af_surround.c
libavfilter/af_tremolo.c
libavfilter/af_vibrato.c
libavfilter/af_volume.c
libavfilter/af_volumedetect.c
libavfilter/asrc_afirsrc.c
libavfilter/asrc_anoisesrc.c
libavfilter/asrc_anullsrc.c
libavfilter/asrc_hilbert.c
libavfilter/asrc_sinc.c
libavfilter/asrc_sine.c
libavfilter/avfiltergraph.c
libavfilter/f_reverse.c
libavfilter/f_select.c
libavfilter/f_streamselect.c
libavfilter/formats.c
libavfilter/formats.h
libavfilter/opencl.c
libavfilter/vf_amplify.c
libavfilter/vf_atadenoise.c
libavfilter/vf_avgblur.c
libavfilter/vf_bbox.c
libavfilter/vf_bilateral.c
libavfilter/vf_bitplanenoise.c
libavfilter/vf_blackdetect.c
libavfilter/vf_blackframe.c
libavfilter/vf_blend.c
libavfilter/vf_bm3d.c
libavfilter/vf_bwdif.c
libavfilter/vf_cas.c
libavfilter/vf_chromakey.c
libavfilter/vf_chromanr.c
libavfilter/vf_chromashift.c
libavfilter/vf_codecview.c
libavfilter/vf_colorbalance.c
libavfilter/vf_colorchannelmixer.c
libavfilter/vf_colorconstancy.c
libavfilter/vf_colorcontrast.c
libavfilter/vf_colorcorrect.c
libavfilter/vf_colorize.c
libavfilter/vf_colorkey.c
libavfilter/vf_colorlevels.c
libavfilter/vf_colormatrix.c
libavfilter/vf_colortemperature.c
libavfilter/vf_convolution.c
libavfilter/vf_convolve.c
libavfilter/vf_cover_rect.c
libavfilter/vf_cropdetect.c
libavfilter/vf_curves.c
libavfilter/vf_dblur.c
libavfilter/vf_dctdnoiz.c
libavfilter/vf_deband.c
libavfilter/vf_deblock.c
libavfilter/vf_decimate.c
libavfilter/vf_dedot.c
libavfilter/vf_deflicker.c
libavfilter/vf_deinterlace_qsv.c
libavfilter/vf_delogo.c
libavfilter/vf_derain.c
libavfilter/vf_deshake.c
libavfilter/vf_despill.c
libavfilter/vf_displace.c
libavfilter/vf_dnn_classify.c
libavfilter/vf_dnn_detect.c
libavfilter/vf_dnn_processing.c
libavfilter/vf_drawbox.c
libavfilter/vf_edgedetect.c
libavfilter/vf_elbg.c
libavfilter/vf_entropy.c
libavfilter/vf_epx.c
libavfilter/vf_eq.c
libavfilter/vf_estdif.c
libavfilter/vf_exposure.c
libavfilter/vf_fade.c
libavfilter/vf_fftdnoiz.c
libavfilter/vf_fftfilt.c
libavfilter/vf_fillborders.c
libavfilter/vf_find_rect.c
libavfilter/vf_floodfill.c
libavfilter/vf_format.c
libavfilter/vf_framepack.c
libavfilter/vf_framerate.c
libavfilter/vf_freezedetect.c
libavfilter/vf_fspp.c
libavfilter/vf_gblur.c
libavfilter/vf_geq.c
libavfilter/vf_gradfun.c
libavfilter/vf_guided.c
libavfilter/vf_histeq.c
libavfilter/vf_hqdn3d.c
libavfilter/vf_hqx.c
libavfilter/vf_hue.c
libavfilter/vf_hysteresis.c
libavfilter/vf_identity.c
libavfilter/vf_idet.c
libavfilter/vf_kerndeint.c
libavfilter/vf_lagfun.c
libavfilter/vf_lenscorrection.c
libavfilter/vf_lensfun.c
libavfilter/vf_libopencv.c
libavfilter/vf_libvmaf.c
libavfilter/vf_limiter.c
libavfilter/vf_lumakey.c
libavfilter/vf_lut.c
libavfilter/vf_lut2.c
libavfilter/vf_lut3d.c
libavfilter/vf_maskedclamp.c
libavfilter/vf_maskedmerge.c
libavfilter/vf_maskedminmax.c
libavfilter/vf_maskedthreshold.c
libavfilter/vf_maskfun.c
libavfilter/vf_mcdeint.c
libavfilter/vf_median.c
libavfilter/vf_mestimate.c
libavfilter/vf_midequalizer.c
libavfilter/vf_minterpolate.c
libavfilter/vf_monochrome.c
libavfilter/vf_mpdecimate.c
libavfilter/vf_neighbor.c
libavfilter/vf_nlmeans.c
libavfilter/vf_nnedi.c
libavfilter/vf_normalize.c
libavfilter/vf_ocr.c
libavfilter/vf_overlay.c
libavfilter/vf_overlay_cuda.c
libavfilter/vf_owdenoise.c
libavfilter/vf_perspective.c
libavfilter/vf_phase.c
libavfilter/vf_photosensitivity.c
libavfilter/vf_pp.c
libavfilter/vf_pp7.c
libavfilter/vf_premultiply.c
libavfilter/vf_pseudocolor.c
libavfilter/vf_psnr.c
libavfilter/vf_pullup.c
libavfilter/vf_readeia608.c
libavfilter/vf_readvitc.c
libavfilter/vf_removegrain.c
libavfilter/vf_removelogo.c
libavfilter/vf_repeatfields.c
libavfilter/vf_rotate.c
libavfilter/vf_sab.c
libavfilter/vf_scale_cuda.c
libavfilter/vf_scale_npp.c
libavfilter/vf_scale_qsv.c
libavfilter/vf_scdet.c
libavfilter/vf_scroll.c
libavfilter/vf_selectivecolor.c
libavfilter/vf_shear.c
libavfilter/vf_shufflepixels.c
libavfilter/vf_signalstats.c
libavfilter/vf_signature.c
libavfilter/vf_smartblur.c
libavfilter/vf_spp.c
libavfilter/vf_sr.c
libavfilter/vf_ssim.c
libavfilter/vf_stereo3d.c
libavfilter/vf_super2xsai.c
libavfilter/vf_threshold.c
libavfilter/vf_thumbnail.c
libavfilter/vf_thumbnail_cuda.c
libavfilter/vf_tinterlace.c
libavfilter/vf_tmidequalizer.c
libavfilter/vf_tonemap.c
libavfilter/vf_transpose_npp.c
libavfilter/vf_unsharp.c
libavfilter/vf_uspp.c
libavfilter/vf_v360.c
libavfilter/vf_vaguedenoiser.c
libavfilter/vf_vibrance.c
libavfilter/vf_vidstabdetect.c
libavfilter/vf_vidstabtransform.c
libavfilter/vf_vif.c
libavfilter/vf_vignette.c
libavfilter/vf_w3fdif.c
libavfilter/vf_xbr.c
libavfilter/vf_xfade.c
libavfilter/vf_xmedian.c
libavfilter/vf_yadif.c
libavfilter/vf_yaepblur.c
libavfilter/vf_zoompan.c
libavfilter/vsrc_cellauto.c
libavfilter/vsrc_gradients.c
libavfilter/vsrc_life.c
libavfilter/vsrc_mandelbrot.c
libavfilter/vsrc_mptestsrc.c
libavfilter/vsrc_sierpinski.c
libavfilter/vsrc_testsrc.c
libavfilter/vulkan.c