[FFmpeg-cvslog] avfilter: Remove unnecessary formats.h inclusions
Andreas Rheinhardt
git at videolan.org
Mon Aug 7 10:44:03 EEST 2023
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Aug 4 01:08:05 2023 +0200| [19ffa2ff2d76d51d0c00304c344cd79591bcfdd2] | committer: Andreas Rheinhardt
avfilter: Remove unnecessary formats.h inclusions
A filter needs formats.h iff it uses FILTER_QUERY_FUNC();
since lots of filters have been switched to use something
else than FILTER_QUERY_FUNC, they don't need it any more,
but removing this header has been forgotten.
This commit does this; files with formats.h inclusion went down
from 304 to 139 here (it were 449 before the preceding commit).
While just at it, also improve the other headers a bit.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19ffa2ff2d76d51d0c00304c344cd79591bcfdd2
---
libavfilter/af_acontrast.c | 1 -
libavfilter/af_adeclick.c | 1 -
libavfilter/af_adecorrelate.c | 1 -
libavfilter/af_adynamicsmooth.c | 1 -
libavfilter/af_afftdn.c | 1 -
libavfilter/af_afreqshift.c | 1 -
libavfilter/af_afwtdn.c | 2 --
libavfilter/af_alimiter.c | 1 -
libavfilter/af_amix.c | 1 -
libavfilter/af_amultiply.c | 2 --
libavfilter/af_anlmdn.c | 2 --
libavfilter/af_anlms.c | 1 -
libavfilter/af_arls.c | 1 -
libavfilter/af_asdr.c | 3 ---
libavfilter/af_asetnsamples.c | 1 -
libavfilter/af_asoftclip.c | 1 -
libavfilter/af_asubboost.c | 1 -
libavfilter/af_asupercut.c | 1 -
libavfilter/af_atilt.c | 1 -
libavfilter/af_axcorrelate.c | 1 -
libavfilter/af_crystalizer.c | 1 -
libavfilter/af_deesser.c | 1 -
libavfilter/af_rubberband.c | 1 -
libavfilter/af_silencedetect.c | 1 -
libavfilter/af_silenceremove.c | 2 --
libavfilter/afir_template.c | 1 -
libavfilter/blend_modes.c | 1 -
libavfilter/edge_template.c | 1 -
libavfilter/f_bench.c | 1 -
libavfilter/f_interleave.c | 1 -
libavfilter/f_latency.c | 2 --
libavfilter/f_loop.c | 2 --
libavfilter/f_metadata.c | 1 -
libavfilter/f_reverse.c | 3 ---
libavfilter/f_sidedata.c | 1 -
libavfilter/median_template.c | 1 -
libavfilter/opencl.c | 1 -
libavfilter/phase_template.c | 1 -
libavfilter/split.c | 2 --
libavfilter/vf_amplify.c | 2 --
libavfilter/vf_atadenoise.c | 1 -
libavfilter/vf_avgblur.c | 1 -
libavfilter/vf_backgroundkey.c | 3 +--
libavfilter/vf_bilateral.c | 1 -
libavfilter/vf_bilateral_cuda.c | 4 ----
libavfilter/vf_bitplanenoise.c | 3 +--
libavfilter/vf_blackframe.c | 1 -
libavfilter/vf_bm3d.c | 1 -
libavfilter/vf_bwdif.c | 3 ---
libavfilter/vf_cas.c | 1 -
libavfilter/vf_chromakey.c | 4 +---
libavfilter/vf_chromakey_cuda.c | 4 ----
libavfilter/vf_chromanr.c | 2 --
libavfilter/vf_chromashift.c | 4 ----
libavfilter/vf_colorbalance.c | 1 -
libavfilter/vf_colorchannelmixer.c | 1 -
libavfilter/vf_colorconstancy.c | 2 --
libavfilter/vf_colorcontrast.c | 3 +--
libavfilter/vf_colorcorrect.c | 3 +--
libavfilter/vf_colorize.c | 3 +--
libavfilter/vf_colorkey.c | 4 +---
libavfilter/vf_colorkey_opencl.c | 2 --
libavfilter/vf_colorlevels.c | 2 --
libavfilter/vf_colormatrix.c | 2 --
libavfilter/vf_colorspace_cuda.c | 4 ----
libavfilter/vf_colortemperature.c | 3 +--
libavfilter/vf_convolution.c | 1 -
libavfilter/vf_convolve.c | 3 ---
libavfilter/vf_corr.c | 2 --
libavfilter/vf_cropdetect.c | 1 -
libavfilter/vf_dblur.c | 1 -
libavfilter/vf_deblock.c | 1 -
libavfilter/vf_dedot.c | 2 --
libavfilter/vf_deflicker.c | 1 -
libavfilter/vf_deinterlace_vaapi.c | 1 -
libavfilter/vf_delogo.c | 1 -
libavfilter/vf_derain.c | 2 --
libavfilter/vf_deshake_opencl.c | 3 +--
libavfilter/vf_despill.c | 4 +---
libavfilter/vf_displace.c | 2 --
libavfilter/vf_dnn_processing.c | 2 --
libavfilter/vf_drawbox.c | 1 -
libavfilter/vf_entropy.c | 2 --
libavfilter/vf_estdif.c | 1 -
libavfilter/vf_exposure.c | 2 --
libavfilter/vf_fillborders.c | 1 -
libavfilter/vf_floodfill.c | 3 +--
libavfilter/vf_framepack.c | 1 -
libavfilter/vf_gblur.c | 1 -
libavfilter/vf_gradfun.c | 1 -
libavfilter/vf_grayworld.c | 2 --
libavfilter/vf_guided.c | 1 -
libavfilter/vf_histeq.c | 1 -
libavfilter/vf_hqdn3d.c | 1 -
libavfilter/vf_hsvkey.c | 4 +---
libavfilter/vf_hue.c | 1 -
libavfilter/vf_huesaturation.c | 3 +--
libavfilter/vf_hysteresis.c | 1 -
libavfilter/vf_identity.c | 2 --
libavfilter/vf_kerndeint.c | 1 -
libavfilter/vf_lagfun.c | 2 --
libavfilter/vf_lensfun.c | 3 ---
libavfilter/vf_limitdiff.c | 1 -
libavfilter/vf_limiter.c | 1 -
libavfilter/vf_lumakey.c | 3 +--
libavfilter/vf_maskedclamp.c | 1 -
libavfilter/vf_maskedmerge.c | 1 -
libavfilter/vf_maskedminmax.c | 1 -
libavfilter/vf_maskedthreshold.c | 1 -
libavfilter/vf_maskfun.c | 1 -
libavfilter/vf_mcdeint.c | 2 --
libavfilter/vf_median.c | 1 -
libavfilter/vf_mestimate.c | 3 ---
libavfilter/vf_midequalizer.c | 1 -
libavfilter/vf_minterpolate.c | 2 --
libavfilter/vf_misc_vaapi.c | 1 -
libavfilter/vf_monochrome.c | 3 +--
libavfilter/vf_morpho.c | 1 -
libavfilter/vf_mpdecimate.c | 1 -
libavfilter/vf_multiply.c | 1 -
libavfilter/vf_negate.c | 2 --
libavfilter/vf_neighbor.c | 1 -
libavfilter/vf_nlmeans.c | 1 -
libavfilter/vf_normalize.c | 2 --
libavfilter/vf_ocr.c | 1 -
libavfilter/vf_overlay_vaapi.c | 3 ---
libavfilter/vf_pad_opencl.c | 3 +--
libavfilter/vf_perspective.c | 1 -
libavfilter/vf_phase.c | 1 -
libavfilter/vf_photosensitivity.c | 3 ---
libavfilter/vf_procamp_vaapi.c | 1 -
libavfilter/vf_pseudocolor.c | 1 -
libavfilter/vf_pullup.c | 1 -
libavfilter/vf_qp.c | 3 ---
libavfilter/vf_random.c | 2 --
libavfilter/vf_readeia608.c | 2 --
libavfilter/vf_readvitc.c | 2 --
libavfilter/vf_remap_opencl.c | 2 --
libavfilter/vf_removegrain.c | 1 -
libavfilter/vf_removelogo.c | 1 -
libavfilter/vf_sab.c | 1 -
libavfilter/vf_scale_cuda.c | 3 ---
libavfilter/vf_scale_vaapi.c | 1 -
libavfilter/vf_scroll.c | 1 -
libavfilter/vf_selectivecolor.c | 1 -
libavfilter/vf_siti.c | 1 -
libavfilter/vf_smartblur.c | 1 -
libavfilter/vf_sr.c | 2 --
libavfilter/vf_ssim360.c | 2 --
libavfilter/vf_super2xsai.c | 1 -
libavfilter/vf_tmidequalizer.c | 1 -
libavfilter/vf_tonemap.c | 2 --
libavfilter/vf_tonemap_vaapi.c | 1 -
libavfilter/vf_transpose_vaapi.c | 1 -
libavfilter/vf_unsharp.c | 1 -
libavfilter/vf_vaguedenoiser.c | 2 --
libavfilter/vf_varblur.c | 1 -
libavfilter/vf_vibrance.c | 3 +--
libavfilter/vf_vif.c | 4 ----
libavfilter/vf_vignette.c | 1 -
libavfilter/vf_w3fdif.c | 1 -
libavfilter/vf_xfade.c | 3 +--
libavfilter/vf_xmedian.c | 2 --
libavfilter/vf_yadif.c | 3 ---
libavfilter/vf_zoompan.c | 1 -
libavfilter/vsrc_cellauto.c | 2 --
libavfilter/vsrc_ddagrab.c | 1 -
libavfilter/vsrc_gradients.c | 3 ---
libavfilter/vsrc_mandelbrot.c | 2 --
libavfilter/vsrc_mptestsrc.c | 3 ---
libavfilter/vsrc_sierpinski.c | 2 --
171 files changed, 18 insertions(+), 273 deletions(-)
diff --git a/libavfilter/af_acontrast.c b/libavfilter/af_acontrast.c
index 91887e5689..1fcbad8782 100644
--- a/libavfilter/af_acontrast.c
+++ b/libavfilter/af_acontrast.c
@@ -23,7 +23,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct AudioContrastContext {
const AVClass *class;
diff --git a/libavfilter/af_adeclick.c b/libavfilter/af_adeclick.c
index 5c9c4283ff..822f3065b8 100644
--- a/libavfilter/af_adeclick.c
+++ b/libavfilter/af_adeclick.c
@@ -23,7 +23,6 @@
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
typedef struct DeclickChannel {
diff --git a/libavfilter/af_adecorrelate.c b/libavfilter/af_adecorrelate.c
index 8d7bced634..87355e72e0 100644
--- a/libavfilter/af_adecorrelate.c
+++ b/libavfilter/af_adecorrelate.c
@@ -26,7 +26,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#define MAX_STAGES 16
#define FILTER_FC 1100.0
diff --git a/libavfilter/af_adynamicsmooth.c b/libavfilter/af_adynamicsmooth.c
index 72e7120bd7..8afe592226 100644
--- a/libavfilter/af_adynamicsmooth.c
+++ b/libavfilter/af_adynamicsmooth.c
@@ -20,7 +20,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct AudioDynamicSmoothContext {
const AVClass *class;
diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c
index 6aa51184f5..b509d40eb5 100644
--- a/libavfilter/af_afftdn.c
+++ b/libavfilter/af_afftdn.c
@@ -26,7 +26,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#include "filters.h"
#define C (M_LN10 * 0.1)
diff --git a/libavfilter/af_afreqshift.c b/libavfilter/af_afreqshift.c
index ff2ba9f6c5..9a6cfd2fc1 100644
--- a/libavfilter/af_afreqshift.c
+++ b/libavfilter/af_afreqshift.c
@@ -24,7 +24,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#define MAX_NB_COEFFS 16
diff --git a/libavfilter/af_afwtdn.c b/libavfilter/af_afwtdn.c
index d0c3cbbe83..0fcfa779f9 100644
--- a/libavfilter/af_afwtdn.c
+++ b/libavfilter/af_afwtdn.c
@@ -21,12 +21,10 @@
#include <float.h>
#include "libavutil/avassert.h"
-#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
-#include "formats.h"
enum WaveletTypes {
SYM2,
diff --git a/libavfilter/af_alimiter.c b/libavfilter/af_alimiter.c
index c683c4bcf4..f08893229d 100644
--- a/libavfilter/af_alimiter.c
+++ b/libavfilter/af_alimiter.c
@@ -31,7 +31,6 @@
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
typedef struct MetaItem {
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index d7e00ab1f1..aa42514106 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -43,7 +43,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#define INPUT_ON 1 /**< input is active */
diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c
index 97728954a5..3d8782002b 100644
--- a/libavfilter/af_amultiply.c
+++ b/libavfilter/af_amultiply.c
@@ -21,11 +21,9 @@
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
-#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
diff --git a/libavfilter/af_anlmdn.c b/libavfilter/af_anlmdn.c
index af21a52a12..d1a4df1811 100644
--- a/libavfilter/af_anlmdn.c
+++ b/libavfilter/af_anlmdn.c
@@ -21,11 +21,9 @@
#include <float.h>
#include "libavutil/avassert.h"
-#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#include "filters.h"
#include "af_anlmdndsp.h"
diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c
index 5b412b87cc..3191ed1b31 100644
--- a/libavfilter/af_anlms.c
+++ b/libavfilter/af_anlms.c
@@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
diff --git a/libavfilter/af_arls.c b/libavfilter/af_arls.c
index 9058a54583..4f2eddffc4 100644
--- a/libavfilter/af_arls.c
+++ b/libavfilter/af_arls.c
@@ -24,7 +24,6 @@
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
diff --git a/libavfilter/af_asdr.c b/libavfilter/af_asdr.c
index 96aa80f843..0307e21fbf 100644
--- a/libavfilter/af_asdr.c
+++ b/libavfilter/af_asdr.c
@@ -20,11 +20,8 @@
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
-#include "libavutil/opt.h"
-#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c
index e220444c3c..a12e6cadf9 100644
--- a/libavfilter/af_asetnsamples.c
+++ b/libavfilter/af_asetnsamples.c
@@ -30,7 +30,6 @@
#include "audio.h"
#include "filters.h"
#include "internal.h"
-#include "formats.h"
typedef struct ASNSContext {
const AVClass *class;
diff --git a/libavfilter/af_asoftclip.c b/libavfilter/af_asoftclip.c
index 6fea6e56ab..c06d1c8ea8 100644
--- a/libavfilter/af_asoftclip.c
+++ b/libavfilter/af_asoftclip.c
@@ -23,7 +23,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#define MAX_OVERSAMPLE 64
diff --git a/libavfilter/af_asubboost.c b/libavfilter/af_asubboost.c
index e132158da6..31db4b81a0 100644
--- a/libavfilter/af_asubboost.c
+++ b/libavfilter/af_asubboost.c
@@ -21,7 +21,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct ASubBoostContext {
const AVClass *class;
diff --git a/libavfilter/af_asupercut.c b/libavfilter/af_asupercut.c
index 6764bee25d..848388c520 100644
--- a/libavfilter/af_asupercut.c
+++ b/libavfilter/af_asupercut.c
@@ -24,7 +24,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct BiquadCoeffs {
double a1, a2;
diff --git a/libavfilter/af_atilt.c b/libavfilter/af_atilt.c
index 2211a214d1..172e3259db 100644
--- a/libavfilter/af_atilt.c
+++ b/libavfilter/af_atilt.c
@@ -21,7 +21,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#define MAX_ORDER 30
diff --git a/libavfilter/af_axcorrelate.c b/libavfilter/af_axcorrelate.c
index a20c79f420..2e83711273 100644
--- a/libavfilter/af_axcorrelate.c
+++ b/libavfilter/af_axcorrelate.c
@@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
diff --git a/libavfilter/af_crystalizer.c b/libavfilter/af_crystalizer.c
index 08931fce43..01cdf8bd63 100644
--- a/libavfilter/af_crystalizer.c
+++ b/libavfilter/af_crystalizer.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct CrystalizerContext {
const AVClass *class;
diff --git a/libavfilter/af_deesser.c b/libavfilter/af_deesser.c
index 40abf844ee..3c5ae8a8cd 100644
--- a/libavfilter/af_deesser.c
+++ b/libavfilter/af_deesser.c
@@ -24,7 +24,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
typedef struct DeesserChannel {
double s1, s2, s3;
diff --git a/libavfilter/af_rubberband.c b/libavfilter/af_rubberband.c
index 50808f12df..63a0c5acce 100644
--- a/libavfilter/af_rubberband.c
+++ b/libavfilter/af_rubberband.c
@@ -25,7 +25,6 @@
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
typedef struct RubberBandContext {
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index aec5f97237..845c65bfed 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -28,7 +28,6 @@
#include "libavutil/opt.h"
#include "libavutil/timestamp.h"
#include "audio.h"
-#include "formats.h"
#include "avfilter.h"
#include "internal.h"
diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c
index 4cb662080b..d565c75f07 100644
--- a/libavfilter/af_silenceremove.c
+++ b/libavfilter/af_silenceremove.c
@@ -25,10 +25,8 @@
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
-#include "libavutil/timestamp.h"
#include "audio.h"
#include "filters.h"
-#include "formats.h"
#include "avfilter.h"
#include "internal.h"
diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c
index 7c6573eeec..099fda2520 100644
--- a/libavfilter/afir_template.c
+++ b/libavfilter/afir_template.c
@@ -20,7 +20,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "audio.h"
diff --git a/libavfilter/blend_modes.c b/libavfilter/blend_modes.c
index 0ff96a5b03..e2be676243 100644
--- a/libavfilter/blend_modes.c
+++ b/libavfilter/blend_modes.c
@@ -21,7 +21,6 @@
#include "libavutil/common.h"
#include "libavutil/intfloat.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "blend.h"
diff --git a/libavfilter/edge_template.c b/libavfilter/edge_template.c
index af33c178af..14635c25af 100644
--- a/libavfilter/edge_template.c
+++ b/libavfilter/edge_template.c
@@ -22,7 +22,6 @@
#include "libavutil/avassert.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/f_bench.c b/libavfilter/f_bench.c
index 8b840b4b41..f9099df7ef 100644
--- a/libavfilter/f_bench.c
+++ b/libavfilter/f_bench.c
@@ -22,7 +22,6 @@
#include "libavutil/time.h"
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/f_interleave.c b/libavfilter/f_interleave.c
index 74597a0ec6..e561ca2237 100644
--- a/libavfilter/f_interleave.c
+++ b/libavfilter/f_interleave.c
@@ -30,7 +30,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
diff --git a/libavfilter/f_latency.c b/libavfilter/f_latency.c
index 7c97363853..a39c3c7d24 100644
--- a/libavfilter/f_latency.c
+++ b/libavfilter/f_latency.c
@@ -20,11 +20,9 @@
#include "config_components.h"
-#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/f_loop.c b/libavfilter/f_loop.c
index 23bdfba57e..0b08a2ead3 100644
--- a/libavfilter/f_loop.c
+++ b/libavfilter/f_loop.c
@@ -21,13 +21,11 @@
#include "config_components.h"
#include "libavutil/audio_fifo.h"
-#include "libavutil/fifo.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c
index 86500cd353..a5a97cdcb1 100644
--- a/libavfilter/f_metadata.c
+++ b/libavfilter/f_metadata.c
@@ -36,7 +36,6 @@
#include "libavformat/avio.h"
#include "avfilter.h"
#include "audio.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/f_reverse.c b/libavfilter/f_reverse.c
index 0ab2a3ab29..086819a207 100644
--- a/libavfilter/f_reverse.c
+++ b/libavfilter/f_reverse.c
@@ -20,11 +20,8 @@
#include "config_components.h"
-#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#define DEFAULT_LENGTH 300
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 208b457804..c86190b062 100644
--- a/libavfilter/f_sidedata.c
+++ b/libavfilter/f_sidedata.c
@@ -29,7 +29,6 @@
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/median_template.c b/libavfilter/median_template.c
index bb7646e0eb..760a0278c9 100644
--- a/libavfilter/median_template.c
+++ b/libavfilter/median_template.c
@@ -22,7 +22,6 @@
#include "libavutil/avassert.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c
index 5d1e297af8..48752e9530 100644
--- a/libavfilter/opencl.c
+++ b/libavfilter/opencl.c
@@ -23,7 +23,6 @@
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
-#include "formats.h"
#include "opencl.h"
static int opencl_filter_set_device(AVFilterContext *avctx,
diff --git a/libavfilter/phase_template.c b/libavfilter/phase_template.c
index 2621a543a1..c25bc88415 100644
--- a/libavfilter/phase_template.c
+++ b/libavfilter/phase_template.c
@@ -20,7 +20,6 @@
#include "libavutil/avassert.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/split.c b/libavfilter/split.c
index 290537aba5..7935f2d518 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -28,13 +28,11 @@
#include "libavutil/attributes.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
-#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_amplify.c b/libavfilter/vf_amplify.c
index 0891d26413..0ebca60ea2 100644
--- a/libavfilter/vf_amplify.c
+++ b/libavfilter/vf_amplify.c
@@ -19,12 +19,10 @@
*/
#include "libavutil/imgutils.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_atadenoise.c b/libavfilter/vf_atadenoise.c
index 2178c62faf..eed12acfa4 100644
--- a/libavfilter/vf_atadenoise.c
+++ b/libavfilter/vf_atadenoise.c
@@ -34,7 +34,6 @@
#include "bufferqueue.h"
#include "atadenoise.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_avgblur.c b/libavfilter/vf_avgblur.c
index bbb85bab17..8ff6111bcc 100644
--- a/libavfilter/vf_avgblur.c
+++ b/libavfilter/vf_avgblur.c
@@ -25,7 +25,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_backgroundkey.c b/libavfilter/vf_backgroundkey.c
index 8c7c289d0b..26fb08bf86 100644
--- a/libavfilter/vf_backgroundkey.c
+++ b/libavfilter/vf_backgroundkey.c
@@ -17,9 +17,8 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c
index 4d3dfa3511..fe16419026 100644
--- a/libavfilter/vf_bilateral.c
+++ b/libavfilter/vf_bilateral.c
@@ -25,7 +25,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_bilateral_cuda.c b/libavfilter/vf_bilateral_cuda.c
index 7a271f1ce0..ba008b517a 100644
--- a/libavfilter/vf_bilateral_cuda.c
+++ b/libavfilter/vf_bilateral_cuda.c
@@ -20,9 +20,7 @@
#include <float.h>
#include <stdio.h>
-#include <string.h>
-#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
@@ -32,9 +30,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "cuda/load_helper.h"
diff --git a/libavfilter/vf_bitplanenoise.c b/libavfilter/vf_bitplanenoise.c
index ebd8c4deaf..32235ff230 100644
--- a/libavfilter/vf_bitplanenoise.c
+++ b/libavfilter/vf_bitplanenoise.c
@@ -19,9 +19,8 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c
index 27198b318c..10062c995c 100644
--- a/libavfilter/vf_blackframe.c
+++ b/libavfilter/vf_blackframe.c
@@ -33,7 +33,6 @@
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c
index 14f94cf535..cdced50ba3 100644
--- a/libavfilter/vf_bm3d.c
+++ b/libavfilter/vf_bm3d.c
@@ -38,7 +38,6 @@
#include "libavutil/tx.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c
index 6701208efe..5f5f8e4610 100644
--- a/libavfilter/vf_bwdif.c
+++ b/libavfilter/vf_bwdif.c
@@ -31,11 +31,8 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/imgutils.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "bwdif.h"
/*
diff --git a/libavfilter/vf_cas.c b/libavfilter/vf_cas.c
index 545a0dd70a..5fa5055d76 100644
--- a/libavfilter/vf_cas.c
+++ b/libavfilter/vf_cas.c
@@ -19,7 +19,6 @@
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_chromakey.c b/libavfilter/vf_chromakey.c
index fdd610cb19..c204a58328 100644
--- a/libavfilter/vf_chromakey.c
+++ b/libavfilter/vf_chromakey.c
@@ -19,12 +19,10 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
typedef struct ChromakeyContext {
const AVClass *class;
diff --git a/libavfilter/vf_chromakey_cuda.c b/libavfilter/vf_chromakey_cuda.c
index 113484279c..ac644caea7 100644
--- a/libavfilter/vf_chromakey_cuda.c
+++ b/libavfilter/vf_chromakey_cuda.c
@@ -20,9 +20,7 @@
#include <float.h>
#include <stdio.h>
-#include <string.h>
-#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
@@ -32,9 +30,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "cuda/load_helper.h"
static const enum AVPixelFormat supported_formats[] = {
diff --git a/libavfilter/vf_chromanr.c b/libavfilter/vf_chromanr.c
index 8a16460c06..dd49d8670a 100644
--- a/libavfilter/vf_chromanr.c
+++ b/libavfilter/vf_chromanr.c
@@ -18,13 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_chromashift.c b/libavfilter/vf_chromashift.c
index 92869113a9..39b96a749e 100644
--- a/libavfilter/vf_chromashift.c
+++ b/libavfilter/vf_chromashift.c
@@ -18,15 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/avstring.h"
-#include "libavutil/eval.h"
#include "libavutil/imgutils.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c
index 0e626681b6..676e74c770 100644
--- a/libavfilter/vf_colorbalance.c
+++ b/libavfilter/vf_colorbalance.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorchannelmixer.c b/libavfilter/vf_colorchannelmixer.c
index 88dd7451dc..884e9846a7 100644
--- a/libavfilter/vf_colorchannelmixer.c
+++ b/libavfilter/vf_colorchannelmixer.c
@@ -24,7 +24,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "preserve_color.h"
diff --git a/libavfilter/vf_colorconstancy.c b/libavfilter/vf_colorconstancy.c
index b750087a9d..3d4d433cc1 100644
--- a/libavfilter/vf_colorconstancy.c
+++ b/libavfilter/vf_colorconstancy.c
@@ -30,10 +30,8 @@
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorcontrast.c b/libavfilter/vf_colorcontrast.c
index 2cb46cc35a..f05701c1a5 100644
--- a/libavfilter/vf_colorcontrast.c
+++ b/libavfilter/vf_colorcontrast.c
@@ -21,10 +21,9 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c
index 55df67404a..0f2fe33c0f 100644
--- a/libavfilter/vf_colorcorrect.c
+++ b/libavfilter/vf_colorcorrect.c
@@ -21,9 +21,8 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorize.c b/libavfilter/vf_colorize.c
index 03681a788f..ed14be9459 100644
--- a/libavfilter/vf_colorize.c
+++ b/libavfilter/vf_colorize.c
@@ -17,9 +17,8 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_colorkey.c b/libavfilter/vf_colorkey.c
index 9979f4ad0d..58dd513b31 100644
--- a/libavfilter/vf_colorkey.c
+++ b/libavfilter/vf_colorkey.c
@@ -21,12 +21,10 @@
#include "config_components.h"
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
typedef struct ColorkeyContext {
const AVClass *class;
diff --git a/libavfilter/vf_colorkey_opencl.c b/libavfilter/vf_colorkey_opencl.c
index 94361df88f..72a36df2d3 100644
--- a/libavfilter/vf_colorkey_opencl.c
+++ b/libavfilter/vf_colorkey_opencl.c
@@ -17,9 +17,7 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "opencl.h"
#include "opencl_source.h"
diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c
index b89f465d67..e1349c13a4 100644
--- a/libavfilter/vf_colorlevels.c
+++ b/libavfilter/vf_colorlevels.c
@@ -18,12 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "preserve_color.h"
diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index aa00295250..81254b0463 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -30,12 +30,10 @@
#include <float.h>
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/avstring.h"
#define NS(n) ((n) < 0 ? (int)((n)*65536.0-0.5+DBL_EPSILON) : (int)((n)*65536.0+0.5))
#define CB(n) av_clip_uint8(n)
diff --git a/libavfilter/vf_colorspace_cuda.c b/libavfilter/vf_colorspace_cuda.c
index 07d4edd0d8..09fd4dd778 100644
--- a/libavfilter/vf_colorspace_cuda.c
+++ b/libavfilter/vf_colorspace_cuda.c
@@ -22,7 +22,6 @@
#include <string.h>
-#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/cuda_check.h"
#include "libavutil/hwcontext.h"
@@ -32,10 +31,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "scale_eval.h"
-#include "video.h"
#include "cuda/load_helper.h"
diff --git a/libavfilter/vf_colortemperature.c b/libavfilter/vf_colortemperature.c
index e3f3005171..bac6743a34 100644
--- a/libavfilter/vf_colortemperature.c
+++ b/libavfilter/vf_colortemperature.c
@@ -21,10 +21,9 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_convolution.c b/libavfilter/vf_convolution.c
index 814203aeee..c1a63c9aa9 100644
--- a/libavfilter/vf_convolution.c
+++ b/libavfilter/vf_convolution.c
@@ -29,7 +29,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "convolution.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c
index d9f4c4bd77..3246868888 100644
--- a/libavfilter/vf_convolve.c
+++ b/libavfilter/vf_convolve.c
@@ -22,16 +22,13 @@
#include <float.h>
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/tx.h"
#include "avfilter.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
-#include "video.h"
#define MAX_THREADS 16
diff --git a/libavfilter/vf_corr.c b/libavfilter/vf_corr.c
index 65d8b09767..fb2770539e 100644
--- a/libavfilter/vf_corr.c
+++ b/libavfilter/vf_corr.c
@@ -26,10 +26,8 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
-#include "video.h"
typedef struct CorrContext {
const AVClass *class;
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c
index ff9bcc79f3..58755fc356 100644
--- a/libavfilter/vf_cropdetect.c
+++ b/libavfilter/vf_cropdetect.c
@@ -30,7 +30,6 @@
#include "libavutil/qsort.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "edge_common.h"
diff --git a/libavfilter/vf_dblur.c b/libavfilter/vf_dblur.c
index 43100805c4..3110d19271 100644
--- a/libavfilter/vf_dblur.c
+++ b/libavfilter/vf_dblur.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_deblock.c b/libavfilter/vf_deblock.c
index 770fce0eab..d35b22e3be 100644
--- a/libavfilter/vf_deblock.c
+++ b/libavfilter/vf_deblock.c
@@ -27,7 +27,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_dedot.c b/libavfilter/vf_dedot.c
index fb62c183d7..7aa2583184 100644
--- a/libavfilter/vf_dedot.c
+++ b/libavfilter/vf_dedot.c
@@ -18,13 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_deflicker.c b/libavfilter/vf_deflicker.c
index c01c057e0e..25172135ed 100644
--- a/libavfilter/vf_deflicker.c
+++ b/libavfilter/vf_deflicker.c
@@ -27,7 +27,6 @@
#define FF_BUFQUEUE_SIZE 129
#include "bufferqueue.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c
index cb4f7b32d7..f085a7c10a 100644
--- a/libavfilter/vf_deinterlace_vaapi.c
+++ b/libavfilter/vf_deinterlace_vaapi.c
@@ -23,7 +23,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "vaapi_vpp.h"
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index 4b835b65f1..c049f273b0 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -33,7 +33,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/eval.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
static const char * const var_names[] = {
diff --git a/libavfilter/vf_derain.c b/libavfilter/vf_derain.c
index 2a57035c83..35bc233ab1 100644
--- a/libavfilter/vf_derain.c
+++ b/libavfilter/vf_derain.c
@@ -24,11 +24,9 @@
* http://openaccess.thecvf.com/content_ECCV_2018/html/Xia_Li_Recurrent_Squeeze-and-Excitation_Context_ECCV_2018_paper.html
*/
-#include "libavformat/avio.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "dnn_filter_common.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_deshake_opencl.c b/libavfilter/vf_deshake_opencl.c
index 8db59767bd..cddd5558e2 100644
--- a/libavfilter/vf_deshake_opencl.c
+++ b/libavfilter/vf_deshake_opencl.c
@@ -48,17 +48,16 @@
#include <float.h>
#include <libavutil/lfg.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/fifo.h"
#include "libavutil/common.h"
#include "libavutil/avassert.h"
+#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "avfilter.h"
#include "framequeue.h"
#include "filters.h"
#include "transform.h"
-#include "formats.h"
#include "internal.h"
#include "opencl.h"
#include "opencl_source.h"
diff --git a/libavfilter/vf_despill.c b/libavfilter/vf_despill.c
index 483d9c8560..cbd08b6f33 100644
--- a/libavfilter/vf_despill.c
+++ b/libavfilter/vf_despill.c
@@ -19,11 +19,9 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
typedef struct DespillContext {
const AVClass *class;
diff --git a/libavfilter/vf_displace.c b/libavfilter/vf_displace.c
index ee56f32856..8cc11f07ba 100644
--- a/libavfilter/vf_displace.c
+++ b/libavfilter/vf_displace.c
@@ -18,11 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c
index 1ab2f25bda..6829e94585 100644
--- a/libavfilter/vf_dnn_processing.c
+++ b/libavfilter/vf_dnn_processing.c
@@ -23,14 +23,12 @@
* implementing a generic image processing filter using deep learning networks.
*/
-#include "libavformat/avio.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "filters.h"
#include "dnn_filter_common.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libswscale/swscale.h"
diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c
index 82266481ca..27739dc89f 100644
--- a/libavfilter/vf_drawbox.c
+++ b/libavfilter/vf_drawbox.c
@@ -36,7 +36,6 @@
#include "libavutil/detection_bbox.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_entropy.c b/libavfilter/vf_entropy.c
index c96cbaaecd..694a3ee872 100644
--- a/libavfilter/vf_entropy.c
+++ b/libavfilter/vf_entropy.c
@@ -18,12 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_estdif.c b/libavfilter/vf_estdif.c
index 91e8431e35..471def9fa7 100644
--- a/libavfilter/vf_estdif.c
+++ b/libavfilter/vf_estdif.c
@@ -23,7 +23,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_exposure.c b/libavfilter/vf_exposure.c
index 12434cdd9d..926d784a81 100644
--- a/libavfilter/vf_exposure.c
+++ b/libavfilter/vf_exposure.c
@@ -21,9 +21,7 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_fillborders.c b/libavfilter/vf_fillborders.c
index e4aa7cd5ca..32ca7219bb 100644
--- a/libavfilter/vf_fillborders.c
+++ b/libavfilter/vf_fillborders.c
@@ -25,7 +25,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_floodfill.c b/libavfilter/vf_floodfill.c
index 675e0f084f..d5fa42651a 100644
--- a/libavfilter/vf_floodfill.c
+++ b/libavfilter/vf_floodfill.c
@@ -19,11 +19,10 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index 6fb7688c0b..8693ad6488 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -34,7 +34,6 @@
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c
index 509ae3dece..6e8ef96235 100644
--- a/libavfilter/vf_gblur.c
+++ b/libavfilter/vf_gblur.c
@@ -31,7 +31,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "gblur.h"
#include "internal.h"
#include "vf_gblur_init.h"
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index e8566918a4..39971b3120 100644
--- a/libavfilter/vf_gradfun.c
+++ b/libavfilter/vf_gradfun.c
@@ -38,7 +38,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "gradfun.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_grayworld.c b/libavfilter/vf_grayworld.c
index 6fa758199c..e9c959416e 100644
--- a/libavfilter/vf_grayworld.c
+++ b/libavfilter/vf_grayworld.c
@@ -27,10 +27,8 @@
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index 58a1ff5a26..8c0e5e454e 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -23,7 +23,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_histeq.c b/libavfilter/vf_histeq.c
index 87ed6d79e8..d1fc3a19ae 100644
--- a/libavfilter/vf_histeq.c
+++ b/libavfilter/vf_histeq.c
@@ -34,7 +34,6 @@
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index f6d49675a1..2aef7751c4 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -36,7 +36,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "vf_hqdn3d.h"
diff --git a/libavfilter/vf_hsvkey.c b/libavfilter/vf_hsvkey.c
index 8963bcf1f8..542ac1f3b2 100644
--- a/libavfilter/vf_hsvkey.c
+++ b/libavfilter/vf_hsvkey.c
@@ -21,12 +21,10 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
typedef struct HSVKeyContext {
const AVClass *class;
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 8f3b73e840..8fea2128fa 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -32,7 +32,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_huesaturation.c b/libavfilter/vf_huesaturation.c
index 4b427e6bf6..8dd81ad1a4 100644
--- a/libavfilter/vf_huesaturation.c
+++ b/libavfilter/vf_huesaturation.c
@@ -17,10 +17,9 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_hysteresis.c b/libavfilter/vf_hysteresis.c
index a274ec4962..d2fd3011b8 100644
--- a/libavfilter/vf_hysteresis.c
+++ b/libavfilter/vf_hysteresis.c
@@ -23,7 +23,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_identity.c b/libavfilter/vf_identity.c
index 84def7959b..d3a5ec14f6 100644
--- a/libavfilter/vf_identity.c
+++ b/libavfilter/vf_identity.c
@@ -30,10 +30,8 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
-#include "video.h"
#include "scene_sad.h"
typedef struct IdentityContext {
diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 5267c3b3ae..bbad3f9bfc 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -32,7 +32,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_lagfun.c b/libavfilter/vf_lagfun.c
index 352f08512f..20cdd9fa65 100644
--- a/libavfilter/vf_lagfun.c
+++ b/libavfilter/vf_lagfun.c
@@ -19,12 +19,10 @@
*/
#include "libavutil/imgutils.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_lensfun.c b/libavfilter/vf_lensfun.c
index 05881b0651..b6af0834c8 100644
--- a/libavfilter/vf_lensfun.c
+++ b/libavfilter/vf_lensfun.c
@@ -28,12 +28,9 @@
#include <float.h>
#include <math.h>
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libswscale/swscale.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_limitdiff.c b/libavfilter/vf_limitdiff.c
index d2688c39f4..1e903d45a8 100644
--- a/libavfilter/vf_limitdiff.c
+++ b/libavfilter/vf_limitdiff.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_limiter.c b/libavfilter/vf_limiter.c
index b602ce384b..f67f590d60 100644
--- a/libavfilter/vf_limiter.c
+++ b/libavfilter/vf_limiter.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "limiter.h"
#include "video.h"
diff --git a/libavfilter/vf_lumakey.c b/libavfilter/vf_lumakey.c
index 448b43dda0..d426a5b67a 100644
--- a/libavfilter/vf_lumakey.c
+++ b/libavfilter/vf_lumakey.c
@@ -19,9 +19,8 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c
index 72f98703a5..e6fbb1a6d5 100644
--- a/libavfilter/vf_maskedclamp.c
+++ b/libavfilter/vf_maskedclamp.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_maskedmerge.c b/libavfilter/vf_maskedmerge.c
index 7adb809760..4ca0c571c8 100644
--- a/libavfilter/vf_maskedmerge.c
+++ b/libavfilter/vf_maskedmerge.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "maskedmerge.h"
diff --git a/libavfilter/vf_maskedminmax.c b/libavfilter/vf_maskedminmax.c
index c7a05b42d9..b1c309cc7d 100644
--- a/libavfilter/vf_maskedminmax.c
+++ b/libavfilter/vf_maskedminmax.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_maskedthreshold.c b/libavfilter/vf_maskedthreshold.c
index 53731eefc9..36c4050b98 100644
--- a/libavfilter/vf_maskedthreshold.c
+++ b/libavfilter/vf_maskedthreshold.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_maskfun.c b/libavfilter/vf_maskfun.c
index 44499d34ae..1ac152fc8b 100644
--- a/libavfilter/vf_maskfun.c
+++ b/libavfilter/vf_maskfun.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
index e1b0a082f3..66dfe755e4 100644
--- a/libavfilter/vf_mcdeint.c
+++ b/libavfilter/vf_mcdeint.c
@@ -50,10 +50,8 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "libavcodec/avcodec.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_median.c b/libavfilter/vf_median.c
index bc070105cd..57514f9289 100644
--- a/libavfilter/vf_median.c
+++ b/libavfilter/vf_median.c
@@ -24,7 +24,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "median.h"
#include "video.h"
diff --git a/libavfilter/vf_mestimate.c b/libavfilter/vf_mestimate.c
index 001e6b0e8d..4ec34cd7fb 100644
--- a/libavfilter/vf_mestimate.c
+++ b/libavfilter/vf_mestimate.c
@@ -21,12 +21,9 @@
#include "motion_estimation.h"
#include "libavcodec/mathops.h"
#include "libavutil/common.h"
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "libavutil/motion_vector.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_midequalizer.c b/libavfilter/vf_midequalizer.c
index 8c0e02d888..fae2b7ef19 100644
--- a/libavfilter/vf_midequalizer.c
+++ b/libavfilter/vf_midequalizer.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c
index f2de61ca39..610ac6b1bb 100644
--- a/libavfilter/vf_minterpolate.c
+++ b/libavfilter/vf_minterpolate.c
@@ -22,11 +22,9 @@
#include "motion_estimation.h"
#include "libavcodec/mathops.h"
#include "libavutil/common.h"
-#include "libavutil/motion_vector.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "scene_sad.h"
diff --git a/libavfilter/vf_misc_vaapi.c b/libavfilter/vf_misc_vaapi.c
index 1cbed9bcf0..d68e18b52b 100644
--- a/libavfilter/vf_misc_vaapi.c
+++ b/libavfilter/vf_misc_vaapi.c
@@ -21,7 +21,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
#include "video.h"
diff --git a/libavfilter/vf_monochrome.c b/libavfilter/vf_monochrome.c
index 92ea651db2..0e184e08b3 100644
--- a/libavfilter/vf_monochrome.c
+++ b/libavfilter/vf_monochrome.c
@@ -21,9 +21,8 @@
#include <float.h>
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c
index a218499d61..bd1d6b230f 100644
--- a/libavfilter/vf_morpho.c
+++ b/libavfilter/vf_morpho.c
@@ -29,7 +29,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index d677a6e385..8c7824ed22 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -30,7 +30,6 @@
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "internal.h"
-#include "formats.h"
#include "video.h"
typedef struct DecimateContext {
diff --git a/libavfilter/vf_multiply.c b/libavfilter/vf_multiply.c
index 979b885eb1..54fbeff483 100644
--- a/libavfilter/vf_multiply.c
+++ b/libavfilter/vf_multiply.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
diff --git a/libavfilter/vf_negate.c b/libavfilter/vf_negate.c
index 87cf908fd5..4887fc4860 100644
--- a/libavfilter/vf_negate.c
+++ b/libavfilter/vf_negate.c
@@ -16,14 +16,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_neighbor.c b/libavfilter/vf_neighbor.c
index 796f33c157..915347d6ba 100644
--- a/libavfilter/vf_neighbor.c
+++ b/libavfilter/vf_neighbor.c
@@ -26,7 +26,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c
index 283865f3db..dc935538f0 100644
--- a/libavfilter/vf_nlmeans.c
+++ b/libavfilter/vf_nlmeans.c
@@ -33,7 +33,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "vf_nlmeans.h"
#include "vf_nlmeans_init.h"
diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c
index 146e36f5fd..d81b2d6457 100644
--- a/libavfilter/vf_normalize.c
+++ b/libavfilter/vf_normalize.c
@@ -72,13 +72,11 @@
* over-processed look. The default is full strength.
*/
-#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_ocr.c b/libavfilter/vf_ocr.c
index c7f7b69df7..3cece91edf 100644
--- a/libavfilter/vf_ocr.c
+++ b/libavfilter/vf_ocr.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c
index c13db4e0d9..979bbaa5e9 100644
--- a/libavfilter/vf_overlay_vaapi.c
+++ b/libavfilter/vf_overlay_vaapi.c
@@ -17,14 +17,11 @@
*/
#include <string.h>
-#include "libavutil/avassert.h"
-#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "framesync.h"
-#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
#include "video.h"
diff --git a/libavfilter/vf_pad_opencl.c b/libavfilter/vf_pad_opencl.c
index b4b10397a4..7c163a1d0e 100644
--- a/libavfilter/vf_pad_opencl.c
+++ b/libavfilter/vf_pad_opencl.c
@@ -19,10 +19,9 @@
#include "libavutil/colorspace.h"
#include "libavutil/eval.h"
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "opencl.h"
#include "opencl_source.h"
diff --git a/libavfilter/vf_perspective.c b/libavfilter/vf_perspective.c
index 97ed938034..f06c44b33a 100644
--- a/libavfilter/vf_perspective.c
+++ b/libavfilter/vf_perspective.c
@@ -25,7 +25,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
index ba1223cc8f..02dd08e002 100644
--- a/libavfilter/vf_phase.c
+++ b/libavfilter/vf_phase.c
@@ -23,7 +23,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_photosensitivity.c b/libavfilter/vf_photosensitivity.c
index 8c8bbb8662..e7920b3242 100644
--- a/libavfilter/vf_photosensitivity.c
+++ b/libavfilter/vf_photosensitivity.c
@@ -20,13 +20,10 @@
#include <float.h>
-#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_procamp_vaapi.c b/libavfilter/vf_procamp_vaapi.c
index f13f752e43..b535a36d33 100644
--- a/libavfilter/vf_procamp_vaapi.c
+++ b/libavfilter/vf_procamp_vaapi.c
@@ -21,7 +21,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
#include "video.h"
diff --git a/libavfilter/vf_pseudocolor.c b/libavfilter/vf_pseudocolor.c
index 427eb1b5b4..81b2e5b9bc 100644
--- a/libavfilter/vf_pseudocolor.c
+++ b/libavfilter/vf_pseudocolor.c
@@ -25,7 +25,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c
index 80105ec1c0..5a00673c41 100644
--- a/libavfilter/vf_pullup.c
+++ b/libavfilter/vf_pullup.c
@@ -23,7 +23,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "vf_pullup.h"
diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c
index 3019e77052..37e575447d 100644
--- a/libavfilter/vf_qp.c
+++ b/libavfilter/vf_qp.c
@@ -20,13 +20,10 @@
#include <math.h>
#include "libavutil/eval.h"
-#include "libavutil/imgutils.h"
-#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavutil/video_enc_params.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_random.c b/libavfilter/vf_random.c
index cb4b3d3827..8c7cf8b806 100644
--- a/libavfilter/vf_random.c
+++ b/libavfilter/vf_random.c
@@ -22,9 +22,7 @@
#include "libavutil/opt.h"
#include "libavutil/random_seed.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#define MAX_FRAMES 512
diff --git a/libavfilter/vf_readeia608.c b/libavfilter/vf_readeia608.c
index 8f3c44e8d8..50bf915765 100644
--- a/libavfilter/vf_readeia608.c
+++ b/libavfilter/vf_readeia608.c
@@ -29,10 +29,8 @@
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/timestamp.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_readvitc.c b/libavfilter/vf_readvitc.c
index 011063a29b..cb63a4d127 100644
--- a/libavfilter/vf_readvitc.c
+++ b/libavfilter/vf_readvitc.c
@@ -27,10 +27,8 @@
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
-#include "libavutil/pixdesc.h"
#include "libavutil/timecode.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_remap_opencl.c b/libavfilter/vf_remap_opencl.c
index 89d47426c0..b4fe111c0a 100644
--- a/libavfilter/vf_remap_opencl.c
+++ b/libavfilter/vf_remap_opencl.c
@@ -19,12 +19,10 @@
*/
#include "libavutil/colorspace.h"
-#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "opencl.h"
diff --git a/libavfilter/vf_removegrain.c b/libavfilter/vf_removegrain.c
index a3a801f8d7..6e6e99198c 100644
--- a/libavfilter/vf_removegrain.c
+++ b/libavfilter/vf_removegrain.c
@@ -26,7 +26,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/qsort.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "removegrain.h"
#include "video.h"
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index 346a746fe9..b293054309 100644
--- a/libavfilter/vf_removelogo.c
+++ b/libavfilter/vf_removelogo.c
@@ -72,7 +72,6 @@
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "bbox.h"
diff --git a/libavfilter/vf_sab.c b/libavfilter/vf_sab.c
index 43cecea547..5e0687c9a2 100644
--- a/libavfilter/vf_sab.c
+++ b/libavfilter/vf_sab.c
@@ -28,7 +28,6 @@
#include "libswscale/swscale.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 370cb1d9cd..4cd21bbf25 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -22,9 +22,7 @@
#include <float.h>
#include <stdio.h>
-#include <string.h>
-#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
@@ -34,7 +32,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "scale_eval.h"
#include "video.h"
diff --git a/libavfilter/vf_scale_vaapi.c b/libavfilter/vf_scale_vaapi.c
index 11bd7a9de9..54c055f0a9 100644
--- a/libavfilter/vf_scale_vaapi.c
+++ b/libavfilter/vf_scale_vaapi.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "scale_eval.h"
#include "video.h"
diff --git a/libavfilter/vf_scroll.c b/libavfilter/vf_scroll.c
index 5e35958fcd..eebf12e902 100644
--- a/libavfilter/vf_scroll.c
+++ b/libavfilter/vf_scroll.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_selectivecolor.c b/libavfilter/vf_selectivecolor.c
index ab980479a8..315f9e0eed 100644
--- a/libavfilter/vf_selectivecolor.c
+++ b/libavfilter/vf_selectivecolor.c
@@ -32,7 +32,6 @@
#include "libavcodec/mathops.h" // for mid_pred(), which is a macro so no link dependency
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_siti.c b/libavfilter/vf_siti.c
index ae9278c47c..1b6ff32d6e 100644
--- a/libavfilter/vf_siti.c
+++ b/libavfilter/vf_siti.c
@@ -31,7 +31,6 @@
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c
index e9f56d5330..85d8d502e1 100644
--- a/libavfilter/vf_smartblur.c
+++ b/libavfilter/vf_smartblur.c
@@ -30,7 +30,6 @@
#include "libswscale/swscale.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c
index b02b68ebe7..05a54b0933 100644
--- a/libavfilter/vf_sr.c
+++ b/libavfilter/vf_sr.c
@@ -26,12 +26,10 @@
*/
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#include "libavformat/avio.h"
#include "libswscale/swscale.h"
#include "dnn_filter_common.h"
diff --git a/libavfilter/vf_ssim360.c b/libavfilter/vf_ssim360.c
index 5794275c2c..3dec430bff 100644
--- a/libavfilter/vf_ssim360.c
+++ b/libavfilter/vf_ssim360.c
@@ -50,9 +50,7 @@
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "framesync.h"
#define RIGHT 0
diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c
index d932e2ba4b..65144cbf1b 100644
--- a/libavfilter/vf_super2xsai.c
+++ b/libavfilter/vf_super2xsai.c
@@ -29,7 +29,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_tmidequalizer.c b/libavfilter/vf_tmidequalizer.c
index b5d497b637..650aa36636 100644
--- a/libavfilter/vf_tmidequalizer.c
+++ b/libavfilter/vf_tmidequalizer.c
@@ -22,7 +22,6 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c
index f34448d0e9..2970307918 100644
--- a/libavfilter/vf_tonemap.c
+++ b/libavfilter/vf_tonemap.c
@@ -25,7 +25,6 @@
#include <float.h>
#include <stdio.h>
-#include <string.h>
#include "libavutil/csp.h"
#include "libavutil/imgutils.h"
@@ -36,7 +35,6 @@
#include "avfilter.h"
#include "colorspace.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c
index 7c4729a381..0333cd3f6a 100644
--- a/libavfilter/vf_tonemap_vaapi.c
+++ b/libavfilter/vf_tonemap_vaapi.c
@@ -22,7 +22,6 @@
#include "libavutil/mastering_display_metadata.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
#include "video.h"
diff --git a/libavfilter/vf_transpose_vaapi.c b/libavfilter/vf_transpose_vaapi.c
index d698b0d3d0..07f4b2a549 100644
--- a/libavfilter/vf_transpose_vaapi.c
+++ b/libavfilter/vf_transpose_vaapi.c
@@ -21,7 +21,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "transpose.h"
#include "vaapi_vpp.h"
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index 73dd2f2a28..2705ac5270 100644
--- a/libavfilter/vf_unsharp.c
+++ b/libavfilter/vf_unsharp.c
@@ -37,7 +37,6 @@
*/
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/common.h"
diff --git a/libavfilter/vf_vaguedenoiser.c b/libavfilter/vf_vaguedenoiser.c
index 81cc4b26e1..bfb6e9e262 100644
--- a/libavfilter/vf_vaguedenoiser.c
+++ b/libavfilter/vf_vaguedenoiser.c
@@ -24,11 +24,9 @@
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_varblur.c b/libavfilter/vf_varblur.c
index 19b8bb4dd5..f6f8382adc 100644
--- a/libavfilter/vf_varblur.c
+++ b/libavfilter/vf_varblur.c
@@ -22,7 +22,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_vibrance.c b/libavfilter/vf_vibrance.c
index e5ab3d24bf..e17fce07c0 100644
--- a/libavfilter/vf_vibrance.c
+++ b/libavfilter/vf_vibrance.c
@@ -19,10 +19,9 @@
*/
#include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
+#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c
index 1aea4a73c6..3c662491b2 100644
--- a/libavfilter/vf_vif.c
+++ b/libavfilter/vf_vif.c
@@ -27,15 +27,11 @@
#include <float.h>
-#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "framesync.h"
-#include "drawutils.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#define NUM_DATA_BUFS 13
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c
index 177d51e276..bfbf986f3c 100644
--- a/libavfilter/vf_vignette.c
+++ b/libavfilter/vf_vignette.c
@@ -24,7 +24,6 @@
#include "libavutil/eval.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c
index f10cf06a49..f2264efe2b 100644
--- a/libavfilter/vf_w3fdif.c
+++ b/libavfilter/vf_w3fdif.c
@@ -26,7 +26,6 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "w3fdif.h"
diff --git a/libavfilter/vf_xfade.c b/libavfilter/vf_xfade.c
index 625b4075af..890995a608 100644
--- a/libavfilter/vf_xfade.c
+++ b/libavfilter/vf_xfade.c
@@ -18,12 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/imgutils.h"
#include "libavutil/eval.h"
#include "libavutil/opt.h"
+#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "filters.h"
#include "video.h"
diff --git a/libavfilter/vf_xmedian.c b/libavfilter/vf_xmedian.c
index 7f7f3de12a..0a02ca065e 100644
--- a/libavfilter/vf_xmedian.c
+++ b/libavfilter/vf_xmedian.c
@@ -22,13 +22,11 @@
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/qsort.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
#include "framesync.h"
#include "video.h"
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index d6fe24a386..a5a856bf5f 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -21,11 +21,8 @@
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
-#include "libavutil/imgutils.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "yadif.h"
typedef struct ThreadData {
diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
index 2e8bc18f3a..e729bda56d 100644
--- a/libavfilter/vf_zoompan.c
+++ b/libavfilter/vf_zoompan.c
@@ -23,7 +23,6 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libswscale/swscale.h"
diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
index 8c682a7052..b469f1bf20 100644
--- a/libavfilter/vsrc_cellauto.c
+++ b/libavfilter/vsrc_cellauto.c
@@ -29,12 +29,10 @@
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
#include "libavutil/random_seed.h"
#include "libavutil/avstring.h"
#include "avfilter.h"
#include "internal.h"
-#include "formats.h"
#include "video.h"
typedef struct CellAutoContext {
diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c
index 525d48110a..b65261f685 100644
--- a/libavfilter/vsrc_ddagrab.c
+++ b/libavfilter/vsrc_ddagrab.c
@@ -44,7 +44,6 @@
#include "compat/w32dlfcn.h"
#include "avfilter.h"
#include "internal.h"
-#include "formats.h"
#include "video.h"
#include "vsrc_ddagrab_shaders.h"
diff --git a/libavfilter/vsrc_gradients.c b/libavfilter/vsrc_gradients.c
index 25a3d53238..10510c08bd 100644
--- a/libavfilter/vsrc_gradients.c
+++ b/libavfilter/vsrc_gradients.c
@@ -20,13 +20,10 @@
#include "avfilter.h"
#include "filters.h"
-#include "formats.h"
#include "video.h"
#include "internal.h"
#include "libavutil/imgutils.h"
-#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include <float.h>
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index aa63f9edd1..8b42588f1c 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -27,12 +27,10 @@
*/
#include "avfilter.h"
-#include "formats.h"
#include "video.h"
#include "internal.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
#include <float.h>
#include <math.h>
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index 55b723af00..9c422baeea 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -23,13 +23,10 @@
* MP test source, ported from MPlayer libmpcodecs/vf_test.c
*/
-#include "libavutil/avstring.h"
#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
-#include "formats.h"
#include "video.h"
#define WIDTH 512
diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c
index 72b28b1bd7..e7b2b8afec 100644
--- a/libavfilter/vsrc_sierpinski.c
+++ b/libavfilter/vsrc_sierpinski.c
@@ -24,13 +24,11 @@
*/
#include "avfilter.h"
-#include "formats.h"
#include "video.h"
#include "internal.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
-#include "libavutil/parseutils.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include <float.h>
More information about the ffmpeg-cvslog
mailing list