diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c
index d5ea375a6d..9fb6354ed3 100644
--- a/libavfilter/aeval.c
+++ b/libavfilter/aeval.c
@@ -34,7 +34,6 @@
 #include "audio.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 static const char * const var_names[] = {
     "ch",           ///< the value of the current channel
diff --git a/libavfilter/af_aap.c b/libavfilter/af_aap.c
index e4cd6f8281..352f10cd8c 100644
--- a/libavfilter/af_aap.c
+++ b/libavfilter/af_aap.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "formats.h"
 #include "filters.h"
-#include "internal.h"
 
 enum OutModes {
     IN_MODE,
diff --git a/libavfilter/af_acopy.c b/libavfilter/af_acopy.c
index 62faa9004c..9d06e2d4b4 100644
--- a/libavfilter/af_acopy.c
+++ b/libavfilter/af_acopy.c
@@ -19,7 +19,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 static int filter_frame(AVFilterLink *inlink, AVFrame *in)
 {
diff --git a/libavfilter/af_acrossover.c b/libavfilter/af_acrossover.c
index 04cdf8f005..48ff002006 100644
--- a/libavfilter/af_acrossover.c
+++ b/libavfilter/af_acrossover.c
@@ -35,7 +35,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #define MAX_SPLITS 16
 #define MAX_BANDS MAX_SPLITS + 1
diff --git a/libavfilter/af_acrusher.c b/libavfilter/af_acrusher.c
index 7c1f8706aa..f064f5b04e 100644
--- a/libavfilter/af_acrusher.c
+++ b/libavfilter/af_acrusher.c
@@ -22,7 +22,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 
 typedef struct LFOContext {
diff --git a/libavfilter/af_adeclick.c b/libavfilter/af_adeclick.c
index a5ae1d872b..819ad2ab5c 100644
--- a/libavfilter/af_adeclick.c
+++ b/libavfilter/af_adeclick.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct DeclickChannel {
     double *auxiliary;
diff --git a/libavfilter/af_adelay.c b/libavfilter/af_adelay.c
index 8c4d4db287..ab2d660446 100644
--- a/libavfilter/af_adelay.c
+++ b/libavfilter/af_adelay.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ChanDelay {
     int64_t delay;
diff --git a/libavfilter/af_adenorm.c b/libavfilter/af_adenorm.c
index 4182dd67f5..7dc3c0f735 100644
--- a/libavfilter/af_adenorm.c
+++ b/libavfilter/af_adenorm.c
@@ -22,7 +22,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 enum FilterType {
     DC_TYPE,
diff --git a/libavfilter/af_aderivative.c b/libavfilter/af_aderivative.c
index 667bcee50a..1254aa9457 100644
--- a/libavfilter/af_aderivative.c
+++ b/libavfilter/af_aderivative.c
@@ -20,7 +20,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ADerivativeContext {
     const AVClass *class;
diff --git a/libavfilter/af_adrc.c b/libavfilter/af_adrc.c
index e11db05f70..7410b99ed3 100644
--- a/libavfilter/af_adrc.c
+++ b/libavfilter/af_adrc.c
@@ -28,7 +28,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 static const char * const var_names[] = {
     "ch",           ///< the value of the current channel
diff --git a/libavfilter/af_aecho.c b/libavfilter/af_aecho.c
index 68fa5aaf7b..b1c656e034 100644
--- a/libavfilter/af_aecho.c
+++ b/libavfilter/af_aecho.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AudioEchoContext {
     const AVClass *class;
diff --git a/libavfilter/af_aemphasis.c b/libavfilter/af_aemphasis.c
index 58931ad92b..4bde916717 100644
--- a/libavfilter/af_aemphasis.c
+++ b/libavfilter/af_aemphasis.c
@@ -21,7 +21,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 
 typedef struct BiquadCoeffs {
diff --git a/libavfilter/af_aexciter.c b/libavfilter/af_aexciter.c
index 76a191dd87..3fe7ce799b 100644
--- a/libavfilter/af_aexciter.c
+++ b/libavfilter/af_aexciter.c
@@ -22,7 +22,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 
 typedef struct ChannelParams {
diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c
index c79271ec92..7cc5182d1a 100644
--- a/libavfilter/af_afade.c
+++ b/libavfilter/af_afade.c
@@ -29,7 +29,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AudioFadeContext {
     const AVClass *class;
diff --git a/libavfilter/af_afftfilt.c b/libavfilter/af_afftfilt.c
index aa3e868caf..98b09e666d 100644
--- a/libavfilter/af_afftfilt.c
+++ b/libavfilter/af_afftfilt.c
@@ -20,7 +20,6 @@
 
 #include "libavutil/avstring.h"
 #include "libavutil/mem.h"
-#include "libavfilter/internal.h"
 #include "libavutil/common.h"
 #include "libavutil/cpu.h"
 #include "libavutil/opt.h"
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index 4867bfba24..8ab4d544a8 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -41,7 +41,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "af_afirdsp.h"
 
 #define MAX_IR_STREAMS 32
diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c
index 6e0f88dbb0..b4cf5f1426 100644
--- a/libavfilter/af_aformat.c
+++ b/libavfilter/af_aformat.c
@@ -32,7 +32,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct AFormatContext {
     const AVClass   *class;
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index 9704a9e0a3..462fa4666e 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/af_alimiter.c b/libavfilter/af_alimiter.c
index 0150fd2d86..a08616f69c 100644
--- a/libavfilter/af_alimiter.c
+++ b/libavfilter/af_alimiter.c
@@ -33,7 +33,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct MetaItem {
     int64_t pts;
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 67c87d1d9e..16507299b5 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -32,7 +32,6 @@
 #include "filters.h"
 #include "audio.h"
 #include "formats.h"
-#include "internal.h"
 
 #define SWR_CH_MAX 64
 
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index ade4ef76a8..bc97200926 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -44,7 +44,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define INPUT_ON       1    /**< input is active */
 #define INPUT_EOF      2    /**< input has reached EOF (may still be active) */
diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c
index b24254e9dc..5090098c1b 100644
--- a/libavfilter/af_amultiply.c
+++ b/libavfilter/af_amultiply.c
@@ -26,7 +26,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AudioMultiplyContext {
     const AVClass *class;
diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c
index f50d0a034a..fdc9404857 100644
--- a/libavfilter/af_anequalizer.c
+++ b/libavfilter/af_anequalizer.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 #include "video.h"
 
diff --git a/libavfilter/af_anlmdndsp.h b/libavfilter/af_anlmdndsp.h
index d8f5136cd8..4b4c3d8b6b 100644
--- a/libavfilter/af_anlmdndsp.h
+++ b/libavfilter/af_anlmdndsp.h
@@ -26,7 +26,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct AudioNLMDNDSPContext {
     float (*compute_distance_ssd)(const float *f1, const float *f2, ptrdiff_t K);
diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c
index e1c85da053..1764b01072 100644
--- a/libavfilter/af_anlms.c
+++ b/libavfilter/af_anlms.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 enum OutModes {
     IN_MODE,
diff --git a/libavfilter/af_anull.c b/libavfilter/af_anull.c
index 3ff45aa40f..d7645fd0ec 100644
--- a/libavfilter/af_anull.c
+++ b/libavfilter/af_anull.c
@@ -25,7 +25,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "libavutil/internal.h"
 
 const AVFilter ff_af_anull = {
diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c
index 1e0ecd201e..6cdfd15972 100644
--- a/libavfilter/af_apad.c
+++ b/libavfilter/af_apad.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct APadContext {
     const AVClass *class;
diff --git a/libavfilter/af_aphaser.c b/libavfilter/af_aphaser.c
index 7ed7d53bff..b070f4d2a6 100644
--- a/libavfilter/af_aphaser.c
+++ b/libavfilter/af_aphaser.c
@@ -29,7 +29,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "generate_wave_table.h"
 
 typedef struct AudioPhaserContext {
diff --git a/libavfilter/af_apsyclip.c b/libavfilter/af_apsyclip.c
index b542166b56..5afc3930c1 100644
--- a/libavfilter/af_apsyclip.c
+++ b/libavfilter/af_apsyclip.c
@@ -25,7 +25,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AudioPsyClipContext {
     const AVClass *class;
diff --git a/libavfilter/af_apulsator.c b/libavfilter/af_apulsator.c
index 6774e90607..4487bec956 100644
--- a/libavfilter/af_apulsator.c
+++ b/libavfilter/af_apulsator.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 
 enum PulsatorModes { SINE, TRIANGLE, SQUARE, SAWUP, SAWDOWN, NB_MODES };
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index 8ff2fe5973..2a67b06260 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -34,7 +34,6 @@
 #include "audio.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct AResampleContext {
     const AVClass *class;
diff --git a/libavfilter/af_arls.c b/libavfilter/af_arls.c
index aab0990409..de50da6473 100644
--- a/libavfilter/af_arls.c
+++ b/libavfilter/af_arls.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "formats.h"
 #include "filters.h"
-#include "internal.h"
 
 enum OutModes {
     IN_MODE,
diff --git a/libavfilter/af_asdr.c b/libavfilter/af_asdr.c
index 9f5ca80d78..7765690fd8 100644
--- a/libavfilter/af_asdr.c
+++ b/libavfilter/af_asdr.c
@@ -26,7 +26,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ChanStats {
     double u;
diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c
index a12e6cadf9..3d2d99dae2 100644
--- a/libavfilter/af_asetnsamples.c
+++ b/libavfilter/af_asetnsamples.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ASNSContext {
     const AVClass *class;
diff --git a/libavfilter/af_asetrate.c b/libavfilter/af_asetrate.c
index 7510fc7c31..80f76fbb70 100644
--- a/libavfilter/af_asetrate.c
+++ b/libavfilter/af_asetrate.c
@@ -22,7 +22,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct ASetRateContext {
     const AVClass *class;
diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c
index 9ca97c609f..b83847b866 100644
--- a/libavfilter/af_ashowinfo.c
+++ b/libavfilter/af_ashowinfo.c
@@ -39,7 +39,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AShowInfoContext {
     /**
diff --git a/libavfilter/af_aspectralstats.c b/libavfilter/af_aspectralstats.c
index 592d7e5530..ca79395514 100644
--- a/libavfilter/af_aspectralstats.c
+++ b/libavfilter/af_aspectralstats.c
@@ -27,7 +27,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "window_func.h"
 
 #define MEASURE_ALL       UINT_MAX
diff --git a/libavfilter/af_asr.c b/libavfilter/af_asr.c
index dd95745179..e19b7c3be2 100644
--- a/libavfilter/af_asr.c
+++ b/libavfilter/af_asr.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct ASRContext {
     const AVClass *class;
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c
index dcdeff175d..62ebc3f83b 100644
--- a/libavfilter/af_astats.c
+++ b/libavfilter/af_astats.c
@@ -27,7 +27,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define HISTOGRAM_SIZE                  8192
 #define HISTOGRAM_MAX                   (HISTOGRAM_SIZE-1)
diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c
index c3f87db05e..3b03caa4d0 100644
--- a/libavfilter/af_atempo.c
+++ b/libavfilter/af_atempo.c
@@ -48,7 +48,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 /**
  * A fragment of audio waveform
diff --git a/libavfilter/af_axcorrelate.c b/libavfilter/af_axcorrelate.c
index 82a36f257d..b887c07bfb 100644
--- a/libavfilter/af_axcorrelate.c
+++ b/libavfilter/af_axcorrelate.c
@@ -26,7 +26,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct AudioXCorrelateContext {
     const AVClass *class;
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 21d3acf850..784782f14d 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -73,7 +73,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 enum FilterType {
     biquad,
diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c
index e8c1a6ab88..d6a974051e 100644
--- a/libavfilter/af_bs2b.c
+++ b/libavfilter/af_bs2b.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef void (*filter_func)(t_bs2bdp bs2bdp, uint8_t *sample, int n);
 
diff --git a/libavfilter/af_channelmap.c b/libavfilter/af_channelmap.c
index 4c7c269ae7..8d65fb3cd2 100644
--- a/libavfilter/af_channelmap.c
+++ b/libavfilter/af_channelmap.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 struct ChannelMap {
     int in_channel;
diff --git a/libavfilter/af_channelsplit.c b/libavfilter/af_channelsplit.c
index b91195a4c6..63ffdc3d9b 100644
--- a/libavfilter/af_channelsplit.c
+++ b/libavfilter/af_channelsplit.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #define MAX_CH 64
 
diff --git a/libavfilter/af_chorus.c b/libavfilter/af_chorus.c
index a53977b417..7b3f5be9ab 100644
--- a/libavfilter/af_chorus.c
+++ b/libavfilter/af_chorus.c
@@ -35,7 +35,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "generate_wave_table.h"
 
 typedef struct ChorusContext {
diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
index 527b2260b4..1aedc0f6bb 100644
--- a/libavfilter/af_compand.c
+++ b/libavfilter/af_compand.c
@@ -36,7 +36,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ChanParam {
     double attack;
diff --git a/libavfilter/af_compensationdelay.c b/libavfilter/af_compensationdelay.c
index 1236a6ae8c..9d307fd1f3 100644
--- a/libavfilter/af_compensationdelay.c
+++ b/libavfilter/af_compensationdelay.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct CompensationDelayContext {
     const AVClass *class;
diff --git a/libavfilter/af_dcshift.c b/libavfilter/af_dcshift.c
index 784bba0fe0..bea15e51d9 100644
--- a/libavfilter/af_dcshift.c
+++ b/libavfilter/af_dcshift.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct DCShiftContext {
     const AVClass *class;
diff --git a/libavfilter/af_dialoguenhance.c b/libavfilter/af_dialoguenhance.c
index 76c9877238..b77e85198f 100644
--- a/libavfilter/af_dialoguenhance.c
+++ b/libavfilter/af_dialoguenhance.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #include <float.h>
 
diff --git a/libavfilter/af_drmeter.c b/libavfilter/af_drmeter.c
index 3292736a9a..e5859e9d82 100644
--- a/libavfilter/af_drmeter.c
+++ b/libavfilter/af_drmeter.c
@@ -26,7 +26,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define BINS 32768
 
diff --git a/libavfilter/af_dynaudnorm.c b/libavfilter/af_dynaudnorm.c
index a3d3c47d17..90b3f8bbee 100644
--- a/libavfilter/af_dynaudnorm.c
+++ b/libavfilter/af_dynaudnorm.c
@@ -41,7 +41,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 static const char * const var_names[] = {
     "ch",           ///< the value of the current channel
diff --git a/libavfilter/af_firequalizer.c b/libavfilter/af_firequalizer.c
index b889872775..386d8cd242 100644
--- a/libavfilter/af_firequalizer.c
+++ b/libavfilter/af_firequalizer.c
@@ -27,7 +27,6 @@
 #include "libavutil/tx.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 
 #define RDFT_BITS_MIN 4
diff --git a/libavfilter/af_flanger.c b/libavfilter/af_flanger.c
index add1e9e9ad..092ffcaa23 100644
--- a/libavfilter/af_flanger.c
+++ b/libavfilter/af_flanger.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "generate_wave_table.h"
 
 #define INTERPOLATION_LINEAR    0
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 90831d5b2a..40d62c8793 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -49,7 +49,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 
 #define PEAK_EXT_LEVEL 0x5981 /* + sizeof(peaktab)-1 = 0x8000  */
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c
index 37ed9b84a1..f97f329293 100644
--- a/libavfilter/af_headphone.c
+++ b/libavfilter/af_headphone.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 
 #define TIME_DOMAIN      0
diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c
index 4a4fc04d0d..e1d8b0e00c 100644
--- a/libavfilter/af_join.c
+++ b/libavfilter/af_join.c
@@ -35,7 +35,6 @@
 #include "avfilter.h"
 #include "formats.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ChannelMap {
     int input;                     ///< input stream index
diff --git a/libavfilter/af_ladspa.c b/libavfilter/af_ladspa.c
index cb90b8f5ae..2f8c92cd14 100644
--- a/libavfilter/af_ladspa.c
+++ b/libavfilter/af_ladspa.c
@@ -36,7 +36,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct MetaItem {
     int64_t pts;
diff --git a/libavfilter/af_loudnorm.c b/libavfilter/af_loudnorm.c
index dd5edec1c8..d28c4556df 100644
--- a/libavfilter/af_loudnorm.c
+++ b/libavfilter/af_loudnorm.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 #include "ebur128.h"
 
diff --git a/libavfilter/af_lv2.c b/libavfilter/af_lv2.c
index f9425a5828..7e8ab4de03 100644
--- a/libavfilter/af_lv2.c
+++ b/libavfilter/af_lv2.c
@@ -36,7 +36,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct URITable {
     char    **uris;
diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c
index 60b21c12dc..b2f61fc5f9 100644
--- a/libavfilter/af_mcompand.c
+++ b/libavfilter/af_mcompand.c
@@ -36,7 +36,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct CompandSegment {
     double x, y;
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index 501cb4b7fa..02a899b88e 100644
--- a/libavfilter/af_pan.c
+++ b/libavfilter/af_pan.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #define MAX_CHANNELS 64
 
diff --git a/libavfilter/af_replaygain.c b/libavfilter/af_replaygain.c
index e7b0330e6c..072ffa2aea 100644
--- a/libavfilter/af_replaygain.c
+++ b/libavfilter/af_replaygain.c
@@ -32,7 +32,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #define HISTOGRAM_SLOTS 12000
 #define BUTTER_ORDER        2
diff --git a/libavfilter/af_rubberband.c b/libavfilter/af_rubberband.c
index a820ba7538..cf055f77d0 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 "internal.h"
 
 typedef struct RubberBandContext {
     const AVClass *class;
diff --git a/libavfilter/af_sidechaincompress.c b/libavfilter/af_sidechaincompress.c
index d152a82953..80c6e3cab1 100644
--- a/libavfilter/af_sidechaincompress.c
+++ b/libavfilter/af_sidechaincompress.c
@@ -36,7 +36,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "hermite.h"
-#include "internal.h"
 
 typedef struct SidechainCompressContext {
     const AVClass *class;
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index a481f40dfa..9bb17400e7 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -31,7 +31,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct SilenceDetectContext {
     const AVClass *class;
diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c
index eb23e78957..3cc518a7eb 100644
--- a/libavfilter/af_silenceremove.c
+++ b/libavfilter/af_silenceremove.c
@@ -29,7 +29,6 @@
 #include "audio.h"
 #include "filters.h"
 #include "avfilter.h"
-#include "internal.h"
 
 enum SilenceDetect {
     D_AVG,
diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
index 4bf54014a3..e647d2fe4e 100644
--- a/libavfilter/af_sofalizer.c
+++ b/libavfilter/af_sofalizer.c
@@ -38,7 +38,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 
 #define TIME_DOMAIN      0
diff --git a/libavfilter/af_speechnorm.c b/libavfilter/af_speechnorm.c
index e6a8a95829..840c432c1a 100644
--- a/libavfilter/af_speechnorm.c
+++ b/libavfilter/af_speechnorm.c
@@ -38,7 +38,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define MAX_ITEMS  882000
 #define MIN_PEAK (1. / 32768.)
diff --git a/libavfilter/af_superequalizer.c b/libavfilter/af_superequalizer.c
index c532048406..bdf6e12afe 100644
--- a/libavfilter/af_superequalizer.c
+++ b/libavfilter/af_superequalizer.c
@@ -26,7 +26,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define NBANDS 17
 #define M 15
diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index d42a23b8ad..111af03335 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "formats.h"
 #include "window_func.h"
 
diff --git a/libavfilter/af_tremolo.c b/libavfilter/af_tremolo.c
index ae2ba77a37..0c781a2de3 100644
--- a/libavfilter/af_tremolo.c
+++ b/libavfilter/af_tremolo.c
@@ -22,7 +22,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 
 typedef struct TremoloContext {
diff --git a/libavfilter/af_vibrato.c b/libavfilter/af_vibrato.c
index a135490df8..a3bf90ae8e 100644
--- a/libavfilter/af_vibrato.c
+++ b/libavfilter/af_vibrato.c
@@ -22,7 +22,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 #include "generate_wave_table.h"
 
diff --git a/libavfilter/af_virtualbass.c b/libavfilter/af_virtualbass.c
index 9b9967c419..232e5fe48a 100644
--- a/libavfilter/af_virtualbass.c
+++ b/libavfilter/af_virtualbass.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 #include <float.h>
 
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 827415fc1c..d2f8a1c1fa 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "af_volume.h"
 
 static const char * const precision_str[] = {
diff --git a/libavfilter/af_volumedetect.c b/libavfilter/af_volumedetect.c
index a2cf5db637..25f7bf5695 100644
--- a/libavfilter/af_volumedetect.c
+++ b/libavfilter/af_volumedetect.c
@@ -23,7 +23,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct VolDetectContext {
     /**
diff --git a/libavfilter/afir_template.c b/libavfilter/afir_template.c
index 08e1ca4692..c45b29902e 100644
--- a/libavfilter/afir_template.c
+++ b/libavfilter/afir_template.c
@@ -20,7 +20,6 @@
 
 #include "libavutil/tx.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "audio.h"
 
 #undef ctype
diff --git a/libavfilter/asink_anullsink.c b/libavfilter/asink_anullsink.c
index 162f951d23..5ba1c7288d 100644
--- a/libavfilter/asink_anullsink.c
+++ b/libavfilter/asink_anullsink.c
@@ -21,7 +21,6 @@
 #include "libavutil/internal.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 static int null_filter_frame(AVFilterLink *link, AVFrame *frame)
 {
diff --git a/libavfilter/asrc_afdelaysrc.c b/libavfilter/asrc_afdelaysrc.c
index 827da53780..c235f0c27a 100644
--- a/libavfilter/asrc_afdelaysrc.c
+++ b/libavfilter/asrc_afdelaysrc.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct AFDelaySrcContext {
     const AVClass *class;
diff --git a/libavfilter/asrc_afirsrc.c b/libavfilter/asrc_afirsrc.c
index f8040b4404..bc450ec822 100644
--- a/libavfilter/asrc_afirsrc.c
+++ b/libavfilter/asrc_afirsrc.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "window_func.h"
 
 typedef struct AudioFIRSourceContext {
diff --git a/libavfilter/asrc_anoisesrc.c b/libavfilter/asrc_anoisesrc.c
index d98bc4fc8a..a67b2abe9c 100644
--- a/libavfilter/asrc_anoisesrc.c
+++ b/libavfilter/asrc_anoisesrc.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "libavutil/lfg.h"
 #include "libavutil/random_seed.h"
 
diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c
index a48728eaf0..3249cc33ad 100644
--- a/libavfilter/asrc_anullsrc.c
+++ b/libavfilter/asrc_anullsrc.c
@@ -34,7 +34,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct ANullContext {
     const AVClass *class;
diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c
index 4327341098..5962bf55bb 100644
--- a/libavfilter/asrc_flite.c
+++ b/libavfilter/asrc_flite.c
@@ -35,7 +35,6 @@
 #include "filters.h"
 #include "audio.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct FliteContext {
     const AVClass *class;
diff --git a/libavfilter/asrc_hilbert.c b/libavfilter/asrc_hilbert.c
index 0ca8e0c9d5..e38af7123b 100644
--- a/libavfilter/asrc_hilbert.c
+++ b/libavfilter/asrc_hilbert.c
@@ -24,7 +24,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "formats.h"
-#include "internal.h"
 #include "filters.h"
 #include "window_func.h"
 
diff --git a/libavfilter/asrc_sinc.c b/libavfilter/asrc_sinc.c
index a16d8285af..94046f76b9 100644
--- a/libavfilter/asrc_sinc.c
+++ b/libavfilter/asrc_sinc.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct SincContext {
     const AVClass *class;
diff --git a/libavfilter/asrc_sine.c b/libavfilter/asrc_sine.c
index bbfe37ba53..2e444ba196 100644
--- a/libavfilter/asrc_sine.c
+++ b/libavfilter/asrc_sine.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 
 typedef struct SineContext {
     const AVClass *class;
diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index 11b3d0c9c3..7d87e9e9a0 100644
--- a/libavfilter/audio.c
+++ b/libavfilter/audio.c
@@ -30,7 +30,6 @@
 #include "avfilter_internal.h"
 #include "filters.h"
 #include "framepool.h"
-#include "internal.h"
 
 const AVFilterPad ff_audio_default_filterpad[1] = {
     {
diff --git a/libavfilter/avf_a3dscope.c b/libavfilter/avf_a3dscope.c
index 27eb73effb..dd08990512 100644
--- a/libavfilter/avf_a3dscope.c
+++ b/libavfilter/avf_a3dscope.c
@@ -27,7 +27,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "video.h"
-#include "internal.h"
 
 typedef struct Audio3dScopeContext {
     const AVClass *class;
diff --git a/libavfilter/avf_abitscope.c b/libavfilter/avf_abitscope.c
index 749c78fe14..30ed7d95e3 100644
--- a/libavfilter/avf_abitscope.c
+++ b/libavfilter/avf_abitscope.c
@@ -28,7 +28,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "video.h"
-#include "internal.h"
 
 typedef struct AudioBitScopeContext {
     const AVClass *class;
diff --git a/libavfilter/avf_ahistogram.c b/libavfilter/avf_ahistogram.c
index 23239b1b72..b77307f137 100644
--- a/libavfilter/avf_ahistogram.c
+++ b/libavfilter/avf_ahistogram.c
@@ -25,7 +25,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
-#include "internal.h"
 
 enum DisplayScale   { LINEAR, SQRT, CBRT, LOG, RLOG, NB_SCALES };
 enum AmplitudeScale { ALINEAR, ALOG, NB_ASCALES };
diff --git a/libavfilter/avf_aphasemeter.c b/libavfilter/avf_aphasemeter.c
index bf7ae0823f..fe0968c974 100644
--- a/libavfilter/avf_aphasemeter.c
+++ b/libavfilter/avf_aphasemeter.c
@@ -35,7 +35,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "video.h"
-#include "internal.h"
 
 typedef struct AudioPhaseMeterContext {
     const AVClass *class;
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c
index be5656f13b..96bef32e2c 100644
--- a/libavfilter/avf_avectorscope.c
+++ b/libavfilter/avf_avectorscope.c
@@ -32,7 +32,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "video.h"
-#include "internal.h"
 
 enum VectorScopeMode {
     LISSAJOUS,
diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 67cdc39fd8..2a3d4c8b52 100644
--- a/libavfilter/avf_concat.c
+++ b/libavfilter/avf_concat.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "audio.h"
 
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index fa0c82e996..00f679bc9e 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "lavfutils.h"
 #include "lswsutils.h"
 #include "video.h"
diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h
index b6c1e0e108..186215c1e2 100644
--- a/libavfilter/avf_showcqt.h
+++ b/libavfilter/avf_showcqt.h
@@ -23,7 +23,6 @@
 
 #include "libavutil/tx.h"
 #include "avfilter.h"
-#include "internal.h"
 
 typedef struct Coeffs {
     float *val;
diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c
index c6fa8ac821..760a07f2ff 100644
--- a/libavfilter/avf_showcwt.c
+++ b/libavfilter/avf_showcwt.c
@@ -33,7 +33,6 @@
 #include "video.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 enum FrequencyScale {
     FSCALE_LINEAR,
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c
index 245d62dec4..da31b3215e 100644
--- a/libavfilter/avf_showfreqs.c
+++ b/libavfilter/avf_showfreqs.c
@@ -34,7 +34,6 @@
 #include "formats.h"
 #include "video.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "window_func.h"
 
 enum DataMode       { MAGNITUDE, PHASE, DELAY, NB_DATA };
diff --git a/libavfilter/avf_showspatial.c b/libavfilter/avf_showspatial.c
index ef67340465..f7380f885a 100644
--- a/libavfilter/avf_showspatial.c
+++ b/libavfilter/avf_showspatial.c
@@ -31,7 +31,6 @@
 #include "video.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "window_func.h"
 
 typedef struct ShowSpatialContext {
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index cb2a5a6ae3..565f23c28b 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -45,7 +45,6 @@
 #include "video.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "window_func.h"
 
 enum DisplayMode  { COMBINED, SEPARATE, NB_MODES };
diff --git a/libavfilter/avf_showvolume.c b/libavfilter/avf_showvolume.c
index 06550157fd..d26fc8841d 100644
--- a/libavfilter/avf_showvolume.c
+++ b/libavfilter/avf_showvolume.c
@@ -28,7 +28,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
-#include "internal.h"
 
 static const char *const var_names[] = {   "VOLUME",   "CHANNEL",   "PEAK",        NULL };
 enum                                   { VAR_VOLUME, VAR_CHANNEL, VAR_PEAK, VAR_VARS_NB };
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c
index 823f1c6fd3..868e6a22d9 100644
--- a/libavfilter/avf_showwaves.c
+++ b/libavfilter/avf_showwaves.c
@@ -37,7 +37,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "video.h"
-#include "internal.h"
 
 enum ShowWavesMode {
     MODE_POINT,
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 43d7c9f4ab..c89a7ab508 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -42,7 +42,6 @@
 #include "formats.h"
 #include "framequeue.h"
 #include "framepool.h"
-#include "internal.h"
 #include "video.h"
 
 static void tlog_ref(void *ctx, AVFrame *ref, int end)
diff --git a/libavfilter/avfilter_internal.h b/libavfilter/avfilter_internal.h
index 974024254f..3b8d6fe60e 100644
--- a/libavfilter/avfilter_internal.h
+++ b/libavfilter/avfilter_internal.h
@@ -161,4 +161,27 @@ int ff_graph_thread_init(FFFilterGraph *graph);
 
 void ff_graph_thread_free(FFFilterGraph *graph);
 
+/**
+ * Negotiate the media format, dimensions, etc of all inputs to a filter.
+ *
+ * @param filter the filter to negotiate the properties for its inputs
+ * @return       zero on successful negotiation
+ */
+int ff_filter_config_links(AVFilterContext *filter);
+
+/* misc trace functions */
+
+#define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func)
+
+#ifdef TRACE
+void ff_tlog_link(void *ctx, AVFilterLink *link, int end);
+#else
+#define ff_tlog_link(ctx, link, end) do { } while(0)
+#endif
+
+/**
+ * Run one round of processing on a filter graph.
+ */
+int ff_filter_graph_run_once(AVFilterGraph *graph);
+
 #endif /* AVFILTER_AVFILTER_INTERNAL_H */
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 6317f8d457..68e392b826 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -39,7 +39,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framequeue.h"
-#include "internal.h"
 #include "video.h"
 
 #define OFFSET(x) offsetof(AVFilterGraph, x)
diff --git a/libavfilter/blend_modes.c b/libavfilter/blend_modes.c
index def5ae8e0d..9b1e78b146 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 "internal.h"
 #include "video.h"
 #include "blend.h"
 
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index bc4c4ebd43..5811720c61 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -37,7 +37,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framequeue.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BufferSinkContext {
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 1cf23fe37b..a3113f5c13 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -35,10 +35,10 @@
 #include "libavutil/samplefmt.h"
 #include "libavutil/timestamp.h"
 #include "avfilter.h"
+#include "avfilter_internal.h"
 #include "buffersrc.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BufferSourceContext {
diff --git a/libavfilter/dialoguenhance_template.c b/libavfilter/dialoguenhance_template.c
index 07f42f0958..d95d7dba50 100644
--- a/libavfilter/dialoguenhance_template.c
+++ b/libavfilter/dialoguenhance_template.c
@@ -19,7 +19,6 @@
 #include "libavutil/mem.h"
 #include "libavutil/tx.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "audio.h"
 
 #undef ctype
diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c
index 9c699cdc8c..2f6706dcd4 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -31,7 +31,6 @@
 #include "libavutil/opt.h"
 #include "libavutil/avstring.h"
 #include "libavutil/detection_bbox.h"
-#include "../internal.h"
 #include "safe_queue.h"
 #if HAVE_OPENVINO2
 #include <openvino/c/openvino.h>
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 6afefe8115..6ca7fb6910 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -30,7 +30,6 @@
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
 #include "libavcodec/defs.h"
-#include "../internal.h"
 #include "dnn_io_proc.h"
 #include "dnn_backend_common.h"
 #include "safe_queue.h"
diff --git a/libavfilter/dnn/dnn_backend_torch.cpp b/libavfilter/dnn/dnn_backend_torch.cpp
index ea493f5873..2e4326d9d4 100644
--- a/libavfilter/dnn/dnn_backend_torch.cpp
+++ b/libavfilter/dnn/dnn_backend_torch.cpp
@@ -27,7 +27,6 @@
 #include <torch/script.h>
 
 extern "C" {
-#include "../internal.h"
 #include "dnn_io_proc.h"
 #include "dnn_backend_common.h"
 #include "libavutil/opt.h"
diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c
index abd07d8de1..bb477348dc 100644
--- a/libavfilter/dnn/dnn_interface.c
+++ b/libavfilter/dnn/dnn_interface.c
@@ -29,7 +29,6 @@
 #include "libavutil/opt.h"
 
 #include "libavfilter/filters.h"
-#include "libavfilter/internal.h"
 
 extern const DNNModule ff_dnn_backend_openvino;
 extern const DNNModule ff_dnn_backend_tf;
diff --git a/libavfilter/edge_template.c b/libavfilter/edge_template.c
index ce45e579db..100fe1e425 100644
--- a/libavfilter/edge_template.c
+++ b/libavfilter/edge_template.c
@@ -22,7 +22,6 @@
 
 #include "libavutil/avassert.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "video.h"
 
 #undef pixel
diff --git a/libavfilter/f_bench.c b/libavfilter/f_bench.c
index 0e60b40c43..3f1fa23ae4 100644
--- a/libavfilter/f_bench.c
+++ b/libavfilter/f_bench.c
@@ -23,7 +23,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum BenchAction {
diff --git a/libavfilter/f_cue.c b/libavfilter/f_cue.c
index 7748e8f1fd..38500bb515 100644
--- a/libavfilter/f_cue.c
+++ b/libavfilter/f_cue.c
@@ -25,7 +25,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct CueContext {
diff --git a/libavfilter/f_drawgraph.c b/libavfilter/f_drawgraph.c
index 8144a9c385..7c6a83be7d 100644
--- a/libavfilter/f_drawgraph.c
+++ b/libavfilter/f_drawgraph.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DrawGraphContext {
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index b2495aed9b..f71c230b45 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -41,7 +41,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define ABS_THRES    -70            ///< silence gate: we discard anything below this absolute (LUFS) threshold
diff --git a/libavfilter/f_graphmonitor.c b/libavfilter/f_graphmonitor.c
index c02a205e7e..0ed1085610 100644
--- a/libavfilter/f_graphmonitor.c
+++ b/libavfilter/f_graphmonitor.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct CacheItem {
diff --git a/libavfilter/f_interleave.c b/libavfilter/f_interleave.c
index e989fbc927..1bfd002ba0 100644
--- a/libavfilter/f_interleave.c
+++ b/libavfilter/f_interleave.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 #include "video.h"
 
diff --git a/libavfilter/f_latency.c b/libavfilter/f_latency.c
index 5315545873..85bdc4a1f6 100644
--- a/libavfilter/f_latency.c
+++ b/libavfilter/f_latency.c
@@ -23,7 +23,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct LatencyContext {
diff --git a/libavfilter/f_loop.c b/libavfilter/f_loop.c
index 51cf2dbf4d..9b01a85405 100644
--- a/libavfilter/f_loop.c
+++ b/libavfilter/f_loop.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct LoopContext {
diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c
index e18d477850..1a72284790 100644
--- a/libavfilter/f_metadata.c
+++ b/libavfilter/f_metadata.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum MetadataMode {
diff --git a/libavfilter/f_realtime.c b/libavfilter/f_realtime.c
index 319be8dd10..d85bef571e 100644
--- a/libavfilter/f_realtime.c
+++ b/libavfilter/f_realtime.c
@@ -25,7 +25,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include <float.h>
 
diff --git a/libavfilter/f_reverse.c b/libavfilter/f_reverse.c
index 0eee7c2588..a939ca751d 100644
--- a/libavfilter/f_reverse.c
+++ b/libavfilter/f_reverse.c
@@ -23,7 +23,6 @@
 #include "libavutil/mem.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define DEFAULT_LENGTH 300
 
diff --git a/libavfilter/f_segment.c b/libavfilter/f_segment.c
index f655c1e675..4bcda427a0 100644
--- a/libavfilter/f_segment.c
+++ b/libavfilter/f_segment.c
@@ -29,7 +29,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct SegmentContext {
     const AVClass *class;
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index d834397ea6..6ba96bd7c5 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -36,7 +36,6 @@
 #include "audio.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "scene_sad.h"
 
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c
index 8ba0878e81..f895271629 100644
--- a/libavfilter/f_sendcmd.c
+++ b/libavfilter/f_sendcmd.c
@@ -34,7 +34,6 @@
 #include "libavutil/parseutils.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 #include "video.h"
 
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 2d0c080c3e..23dffec803 100644
--- a/libavfilter/f_sidedata.c
+++ b/libavfilter/f_sidedata.c
@@ -30,7 +30,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum SideDataMode {
diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c
index ecdcc7f269..4ff4e856ea 100644
--- a/libavfilter/f_streamselect.c
+++ b/libavfilter/f_streamselect.c
@@ -25,7 +25,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct StreamSelectContext {
diff --git a/libavfilter/f_zmq.c b/libavfilter/f_zmq.c
index aa5c692b62..912d29d96c 100644
--- a/libavfilter/f_zmq.c
+++ b/libavfilter/f_zmq.c
@@ -31,7 +31,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "audio.h"
 #include "video.h"
 
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index e78029a1b7..4e763a94c0 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -26,7 +26,6 @@
  */
 
 #include "avfilter.h"
-#include "internal.h"
 
 /**
  * Special return code when activate() did not do anything.
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index cd7c68f592..eabc3ec946 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "formats.h"
 
 /**
diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c
index a13f6981d0..1bb59e4301 100644
--- a/libavfilter/graphdump.c
+++ b/libavfilter/graphdump.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 static int print_link_prop(AVBPrint *buf, AVFilterLink *link)
 {
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 81267364bd..912804ecd6 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "avfilter_internal.h"
 #include "filters.h"
-#include "internal.h"
 
 #define WHITESPACES " \n\t\r"
 
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
deleted file mode 100644
index 6a0b9ed7e1..0000000000
--- a/libavfilter/internal.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef AVFILTER_INTERNAL_H
-#define AVFILTER_INTERNAL_H
-
-/**
- * @file
- * internal API functions
- */
-
-#include "libavutil/internal.h"
-#include "avfilter.h"
-
-/**
- * Negotiate the media format, dimensions, etc of all inputs to a filter.
- *
- * @param filter the filter to negotiate the properties for its inputs
- * @return       zero on successful negotiation
- */
-int ff_filter_config_links(AVFilterContext *filter);
-
-/* misc trace functions */
-
-#define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func)
-
-#ifdef TRACE
-void ff_tlog_link(void *ctx, AVFilterLink *link, int end);
-#else
-#define ff_tlog_link(ctx, link, end) do { } while(0)
-#endif
-
-/**
- * Run one round of processing on a filter graph.
- */
-int ff_filter_graph_run_once(AVFilterGraph *graph);
-
-#endif /* AVFILTER_INTERNAL_H */
diff --git a/libavfilter/median_template.c b/libavfilter/median_template.c
index 760a0278c9..6f719df57f 100644
--- a/libavfilter/median_template.c
+++ b/libavfilter/median_template.c
@@ -22,7 +22,6 @@
 
 #include "libavutil/avassert.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "video.h"
 
 #undef pixel
diff --git a/libavfilter/phase_template.c b/libavfilter/phase_template.c
index c25bc88415..971cb4e34f 100644
--- a/libavfilter/phase_template.c
+++ b/libavfilter/phase_template.c
@@ -20,7 +20,6 @@
 
 #include "libavutil/avassert.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "video.h"
 
 #undef pixel
diff --git a/libavfilter/qrencode.c b/libavfilter/qrencode.c
index d184ac994d..dae169b57f 100644
--- a/libavfilter/qrencode.c
+++ b/libavfilter/qrencode.c
@@ -40,7 +40,6 @@
 
 #include "avfilter.h"
 #include "drawutils.h"
-#include "internal.h"
 #include "filters.h"
 #include "formats.h"
 #include "textutils.h"
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c
index 3f6f4620b6..0818ada117 100644
--- a/libavfilter/qsvvpp.c
+++ b/libavfilter/qsvvpp.c
@@ -27,7 +27,6 @@
 #include "libavutil/time.h"
 #include "libavutil/pixdesc.h"
 
-#include "internal.h"
 #include "filters.h"
 #include "qsvvpp.h"
 #include "video.h"
diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c
index 9931387c61..b92573a7fa 100644
--- a/libavfilter/setpts.c
+++ b/libavfilter/setpts.c
@@ -36,7 +36,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/settb.c b/libavfilter/settb.c
index ba58abd9e9..e6a2272834 100644
--- a/libavfilter/settb.c
+++ b/libavfilter/settb.c
@@ -37,7 +37,6 @@
 #include "audio.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/signature.h b/libavfilter/signature.h
index cc198dbaa0..c6b57cc053 100644
--- a/libavfilter/signature.h
+++ b/libavfilter/signature.h
@@ -31,7 +31,6 @@
 #include "libavutil/opt.h"
 #include "libavutil/timestamp.h"
 #include "avfilter.h"
-#include "internal.h"
 
 #define ELEMENT_COUNT 10
 #define SIGELEM_SIZE 380
diff --git a/libavfilter/split.c b/libavfilter/split.c
index 7935f2d518..8309cdb4ea 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct SplitContext {
diff --git a/libavfilter/src_avsynctest.c b/libavfilter/src_avsynctest.c
index f69ae08b84..f78cdd1dec 100644
--- a/libavfilter/src_avsynctest.c
+++ b/libavfilter/src_avsynctest.c
@@ -32,7 +32,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "audio.h"
 #include "video.h"
 
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index e6e08cdda4..e7817c7ee7 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -45,7 +45,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct MovieStream {
diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c
index 194792078d..bc8c65c0ad 100644
--- a/libavfilter/tests/filtfmts.c
+++ b/libavfilter/tests/filtfmts.c
@@ -29,7 +29,6 @@
 #include "libavfilter/avfilter_internal.h"
 #include "libavfilter/formats.h"
 #include "libavfilter/framequeue.h"
-#include "libavfilter/internal.h"
 
 static void print_formats_internal(AVFilterLink **links, const AVFilterPad *pads,
                                    unsigned nb, size_t fmts_cfg_offset,
diff --git a/libavfilter/trim.c b/libavfilter/trim.c
index 4afc4c74bb..a795d7541b 100644
--- a/libavfilter/trim.c
+++ b/libavfilter/trim.c
@@ -30,7 +30,6 @@
 
 #include "audio.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "filters.h"
 #include "video.h"
 
diff --git a/libavfilter/vaapi_vpp.c b/libavfilter/vaapi_vpp.c
index 496190a844..0179977af4 100644
--- a/libavfilter/vaapi_vpp.c
+++ b/libavfilter/vaapi_vpp.c
@@ -24,7 +24,6 @@
 
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 
 int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
diff --git a/libavfilter/vaf_spectrumsynth.c b/libavfilter/vaf_spectrumsynth.c
index 027b9c6842..a62151aa4f 100644
--- a/libavfilter/vaf_spectrumsynth.c
+++ b/libavfilter/vaf_spectrumsynth.c
@@ -34,7 +34,6 @@
 #include "formats.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "window_func.h"
 
 enum MagnitudeScale { LINEAR, LOG, NB_SCALES };
diff --git a/libavfilter/vf_addroi.c b/libavfilter/vf_addroi.c
index a07be2b426..de857eced4 100644
--- a/libavfilter/vf_addroi.c
+++ b/libavfilter/vf_addroi.c
@@ -21,7 +21,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum {
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index f3fc1529aa..2abb7e5583 100644
--- a/libavfilter/vf_alphamerge.c
+++ b/libavfilter/vf_alphamerge.c
@@ -33,7 +33,6 @@
 #include "formats.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 enum { Y, U, V, A };
diff --git a/libavfilter/vf_amplify.c b/libavfilter/vf_amplify.c
index 0c0e15bde4..69d751593f 100644
--- a/libavfilter/vf_amplify.c
+++ b/libavfilter/vf_amplify.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct AmplifyContext {
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index e43a1c7c89..5b4b9fd6e5 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -36,7 +36,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/vf_atadenoise.c b/libavfilter/vf_atadenoise.c
index 81ca644575..bb60ce8490 100644
--- a/libavfilter/vf_atadenoise.c
+++ b/libavfilter/vf_atadenoise.c
@@ -35,7 +35,6 @@
 
 #include "atadenoise.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define SIZE FF_BUFQUEUE_SIZE
diff --git a/libavfilter/vf_avgblur.c b/libavfilter/vf_avgblur.c
index b51c19dd79..013d83b1be 100644
--- a/libavfilter/vf_avgblur.c
+++ b/libavfilter/vf_avgblur.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct AverageBlurContext {
diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c
index 07be4b574c..0790f25a28 100644
--- a/libavfilter/vf_avgblur_opencl.c
+++ b/libavfilter/vf_avgblur_opencl.c
@@ -27,7 +27,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c
index 7599f251b0..439766968e 100644
--- a/libavfilter/vf_avgblur_vulkan.c
+++ b/libavfilter/vf_avgblur_vulkan.c
@@ -24,7 +24,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct AvgBlurVulkanContext {
diff --git a/libavfilter/vf_backgroundkey.c b/libavfilter/vf_backgroundkey.c
index 444ec30600..4a6ee5380d 100644
--- a/libavfilter/vf_backgroundkey.c
+++ b/libavfilter/vf_backgroundkey.c
@@ -21,7 +21,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BackgroundkeyContext {
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c
index 2f6edf9393..b4f74dca68 100644
--- a/libavfilter/vf_bbox.c
+++ b/libavfilter/vf_bbox.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "bbox.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct BBoxContext {
     const AVClass *class;
diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c
index 010c291dfc..66cc56d1c4 100644
--- a/libavfilter/vf_bilateral.c
+++ b/libavfilter/vf_bilateral.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BilateralContext {
diff --git a/libavfilter/vf_bilateral_cuda.c b/libavfilter/vf_bilateral_cuda.c
index 46acec91b9..5e13acd330 100644
--- a/libavfilter/vf_bilateral_cuda.c
+++ b/libavfilter/vf_bilateral_cuda.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #include "cuda/load_helper.h"
 
diff --git a/libavfilter/vf_bitplanenoise.c b/libavfilter/vf_bitplanenoise.c
index 92ba1aa49b..24377d1fe6 100644
--- a/libavfilter/vf_bitplanenoise.c
+++ b/libavfilter/vf_bitplanenoise.c
@@ -22,7 +22,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BPNContext {
diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c
index 973216e883..ac74ef74ad 100644
--- a/libavfilter/vf_blackdetect.c
+++ b/libavfilter/vf_blackdetect.c
@@ -31,7 +31,6 @@
 #include "libavutil/timestamp.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BlackDetectContext {
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c
index 8d945f89a1..7b74aa61b9 100644
--- a/libavfilter/vf_blackframe.c
+++ b/libavfilter/vf_blackframe.c
@@ -34,7 +34,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BlackFrameContext {
diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c
index a38cae2db3..2e5dc93861 100644
--- a/libavfilter/vf_blend.c
+++ b/libavfilter/vf_blend.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "vf_blend_init.h"
 #include "video.h"
 #include "blend.h"
diff --git a/libavfilter/vf_blend_vulkan.c b/libavfilter/vf_blend_vulkan.c
index 05ecfa0830..f3eb5355f1 100644
--- a/libavfilter/vf_blend_vulkan.c
+++ b/libavfilter/vf_blend_vulkan.c
@@ -27,7 +27,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "framesync.h"
 #include "blend.h"
 #include "video.h"
diff --git a/libavfilter/vf_blockdetect.c b/libavfilter/vf_blockdetect.c
index 6b1f35c974..dc6d9a922d 100644
--- a/libavfilter/vf_blockdetect.c
+++ b/libavfilter/vf_blockdetect.c
@@ -34,7 +34,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct BLKContext {
diff --git a/libavfilter/vf_blurdetect.c b/libavfilter/vf_blurdetect.c
index 2b85a9e95a..a99d61f88a 100644
--- a/libavfilter/vf_blurdetect.c
+++ b/libavfilter/vf_blurdetect.c
@@ -36,7 +36,6 @@
 #include "libavutil/qsort.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "edge_common.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c
index 408ce20891..49597ea8fb 100644
--- a/libavfilter/vf_bm3d.c
+++ b/libavfilter/vf_bm3d.c
@@ -40,7 +40,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 #define MAX_NB_THREADS 32
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index 0a1920b12b..27cf57a7c1 100644
--- a/libavfilter/vf_boxblur.c
+++ b/libavfilter/vf_boxblur.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "boxblur.h"
 
diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c
index 7b6557b2a9..d41a25f8ea 100644
--- a/libavfilter/vf_bwdif.c
+++ b/libavfilter/vf_bwdif.c
@@ -35,7 +35,6 @@
 #include "bwdifdsp.h"
 #include "ccfifo.h"
 #include "filters.h"
-#include "internal.h"
 #include "yadif.h"
 
 typedef struct BWDIFContext {
diff --git a/libavfilter/vf_bwdif_cuda.c b/libavfilter/vf_bwdif_cuda.c
index a19d180bdd..396a246710 100644
--- a/libavfilter/vf_bwdif_cuda.c
+++ b/libavfilter/vf_bwdif_cuda.c
@@ -24,7 +24,6 @@
 #include "libavutil/cuda_check.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "yadif.h"
 
 #include "cuda/load_helper.h"
diff --git a/libavfilter/vf_bwdif_vulkan.c b/libavfilter/vf_bwdif_vulkan.c
index 3599047784..4e43ade1c2 100644
--- a/libavfilter/vf_bwdif_vulkan.c
+++ b/libavfilter/vf_bwdif_vulkan.c
@@ -25,7 +25,6 @@
 #include "vulkan_filter.h"
 #include "vulkan_spirv.h"
 #include "yadif.h"
-#include "internal.h"
 #include "filters.h"
 
 typedef struct BWDIFVulkanContext {
diff --git a/libavfilter/vf_cas.c b/libavfilter/vf_cas.c
index ed5e8fec34..7fc384026a 100644
--- a/libavfilter/vf_cas.c
+++ b/libavfilter/vf_cas.c
@@ -20,7 +20,6 @@
 #include "libavutil/imgutils.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct CASContext {
diff --git a/libavfilter/vf_ccrepack.c b/libavfilter/vf_ccrepack.c
index a6aad87864..3e72622203 100644
--- a/libavfilter/vf_ccrepack.c
+++ b/libavfilter/vf_ccrepack.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "ccfifo.h"
 #include "video.h"
 #include "libavutil/opt.h"
diff --git a/libavfilter/vf_chromaber_vulkan.c b/libavfilter/vf_chromaber_vulkan.c
index 39be1feb8c..60c8378b11 100644
--- a/libavfilter/vf_chromaber_vulkan.c
+++ b/libavfilter/vf_chromaber_vulkan.c
@@ -24,7 +24,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ChromaticAberrationVulkanContext {
diff --git a/libavfilter/vf_chromakey.c b/libavfilter/vf_chromakey.c
index 5671cf2ae8..659ba28559 100644
--- a/libavfilter/vf_chromakey.c
+++ b/libavfilter/vf_chromakey.c
@@ -23,7 +23,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ChromakeyContext {
     const AVClass *class;
diff --git a/libavfilter/vf_chromakey_cuda.c b/libavfilter/vf_chromakey_cuda.c
index 86da92a4ea..c59ac7b26c 100644
--- a/libavfilter/vf_chromakey_cuda.c
+++ b/libavfilter/vf_chromakey_cuda.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.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 ddf3ce30ca..6e1fba034b 100644
--- a/libavfilter/vf_chromanr.c
+++ b/libavfilter/vf_chromanr.c
@@ -24,7 +24,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ChromaNRContext {
diff --git a/libavfilter/vf_chromashift.c b/libavfilter/vf_chromashift.c
index ea07ac071f..58c4c1b5c4 100644
--- a/libavfilter/vf_chromashift.c
+++ b/libavfilter/vf_chromashift.c
@@ -24,7 +24,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ChromaShiftContext {
diff --git a/libavfilter/vf_ciescope.c b/libavfilter/vf_ciescope.c
index 3eed4b22fc..260ca26187 100644
--- a/libavfilter/vf_ciescope.c
+++ b/libavfilter/vf_ciescope.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 enum CieSystem {
diff --git a/libavfilter/vf_codecview.c b/libavfilter/vf_codecview.c
index bd82624d87..b7396f6668 100644
--- a/libavfilter/vf_codecview.c
+++ b/libavfilter/vf_codecview.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "qp_table.h"
-#include "internal.h"
 #include "video.h"
 
 #define MV_P_FOR  (1<<0)
diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c
index 8561763a85..1c88aa4a16 100644
--- a/libavfilter/vf_colorbalance.c
+++ b/libavfilter/vf_colorbalance.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_colorchannelmixer.c b/libavfilter/vf_colorchannelmixer.c
index f74b07af56..02ad3435fa 100644
--- a/libavfilter/vf_colorchannelmixer.c
+++ b/libavfilter/vf_colorchannelmixer.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "preserve_color.h"
 
diff --git a/libavfilter/vf_colorconstancy.c b/libavfilter/vf_colorconstancy.c
index 1c15afb80f..035880294e 100644
--- a/libavfilter/vf_colorconstancy.c
+++ b/libavfilter/vf_colorconstancy.c
@@ -34,7 +34,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include <math.h>
diff --git a/libavfilter/vf_colorcontrast.c b/libavfilter/vf_colorcontrast.c
index f675924171..419f5a1e1e 100644
--- a/libavfilter/vf_colorcontrast.c
+++ b/libavfilter/vf_colorcontrast.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c
index acc654fb23..db69a22e4e 100644
--- a/libavfilter/vf_colorcorrect.c
+++ b/libavfilter/vf_colorcorrect.c
@@ -25,7 +25,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef enum AnalyzeMode {
diff --git a/libavfilter/vf_colorize.c b/libavfilter/vf_colorize.c
index dfad9191ed..e20008e79f 100644
--- a/libavfilter/vf_colorize.c
+++ b/libavfilter/vf_colorize.c
@@ -20,7 +20,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ColorizeContext {
diff --git a/libavfilter/vf_colorkey.c b/libavfilter/vf_colorkey.c
index ce7227f4a8..343a93c1d4 100644
--- a/libavfilter/vf_colorkey.c
+++ b/libavfilter/vf_colorkey.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct ColorkeyContext {
     const AVClass *class;
diff --git a/libavfilter/vf_colorkey_opencl.c b/libavfilter/vf_colorkey_opencl.c
index d1c877521a..24c6b1f741 100644
--- a/libavfilter/vf_colorkey_opencl.c
+++ b/libavfilter/vf_colorkey_opencl.c
@@ -19,7 +19,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c
index 728e5048f3..e33bdf6799 100644
--- a/libavfilter/vf_colorlevels.c
+++ b/libavfilter/vf_colorlevels.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "preserve_color.h"
 
diff --git a/libavfilter/vf_colormap.c b/libavfilter/vf_colormap.c
index aa09d0cf67..77b7067d07 100644
--- a/libavfilter/vf_colormap.c
+++ b/libavfilter/vf_colormap.c
@@ -29,7 +29,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "framesync.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index 03e4f63a25..d0e3043fd5 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -31,7 +31,6 @@
 #include <float.h>
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/opt.h"
 #include "libavutil/pixdesc.h"
diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index 68c9419727..344dcd5f9e 100644
--- a/libavfilter/vf_colorspace.c
+++ b/libavfilter/vf_colorspace.c
@@ -35,7 +35,6 @@
 #include "colorspacedsp.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "colorspace.h"
 
diff --git a/libavfilter/vf_colorspace_cuda.c b/libavfilter/vf_colorspace_cuda.c
index f089b20ed7..9d1058ff7f 100644
--- a/libavfilter/vf_colorspace_cuda.c
+++ b/libavfilter/vf_colorspace_cuda.c
@@ -32,7 +32,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #include "cuda/load_helper.h"
 
diff --git a/libavfilter/vf_colortemperature.c b/libavfilter/vf_colortemperature.c
index b7de6bb53a..3c2f347885 100644
--- a/libavfilter/vf_colortemperature.c
+++ b/libavfilter/vf_colortemperature.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_convolution.c b/libavfilter/vf_convolution.c
index 5aca907a18..aacfe0add2 100644
--- a/libavfilter/vf_convolution.c
+++ b/libavfilter/vf_convolution.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "convolution.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define OFFSET(x) offsetof(ConvolutionContext, x)
diff --git a/libavfilter/vf_convolution_opencl.c b/libavfilter/vf_convolution_opencl.c
index 82def57056..ba6f084548 100644
--- a/libavfilter/vf_convolution_opencl.c
+++ b/libavfilter/vf_convolution_opencl.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c
index eb83794b88..1c1e0ba08f 100644
--- a/libavfilter/vf_convolve.c
+++ b/libavfilter/vf_convolve.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 
 #define MAX_THREADS 16
 
diff --git a/libavfilter/vf_copy.c b/libavfilter/vf_copy.c
index 54cb12c426..8158414dcf 100644
--- a/libavfilter/vf_copy.c
+++ b/libavfilter/vf_copy.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 static int query_formats(AVFilterContext *ctx)
diff --git a/libavfilter/vf_coreimage.m b/libavfilter/vf_coreimage.m
index 5c77e8a554..b4a4d6c476 100644
--- a/libavfilter/vf_coreimage.m
+++ b/libavfilter/vf_coreimage.m
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/internal.h"
 #include "libavutil/mem.h"
diff --git a/libavfilter/vf_corr.c b/libavfilter/vf_corr.c
index 928eafff96..9df1826c9b 100644
--- a/libavfilter/vf_corr.c
+++ b/libavfilter/vf_corr.c
@@ -29,7 +29,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 
 typedef struct Sums {
     uint64_t s[2];
diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index 5351e38dbb..95df291ba5 100644
--- a/libavfilter/vf_cover_rect.c
+++ b/libavfilter/vf_cover_rect.c
@@ -25,7 +25,6 @@
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include "lavfutils.h"
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index a16fc22743..4742732b63 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/eval.h"
 #include "libavutil/avstring.h"
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c
index 4912927e51..8b02778037 100644
--- a/libavfilter/vf_cropdetect.c
+++ b/libavfilter/vf_cropdetect.c
@@ -32,7 +32,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "edge_common.h"
 
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index 85b493d5ad..dc399cf846 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_datascope.c b/libavfilter/vf_datascope.c
index b4496eca2d..7b4cb52ee8 100644
--- a/libavfilter/vf_datascope.c
+++ b/libavfilter/vf_datascope.c
@@ -27,7 +27,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DatascopeContext {
diff --git a/libavfilter/vf_dblur.c b/libavfilter/vf_dblur.c
index ab8bdbbad4..9ea42f2a52 100644
--- a/libavfilter/vf_dblur.c
+++ b/libavfilter/vf_dblur.c
@@ -24,7 +24,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DBlurContext {
diff --git a/libavfilter/vf_dctdnoiz.c b/libavfilter/vf_dctdnoiz.c
index 66fe154010..9d1247c8f0 100644
--- a/libavfilter/vf_dctdnoiz.c
+++ b/libavfilter/vf_dctdnoiz.c
@@ -35,7 +35,6 @@
 #include "libavutil/opt.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = { "c", NULL };
diff --git a/libavfilter/vf_deband.c b/libavfilter/vf_deband.c
index 013324a766..31b864b760 100644
--- a/libavfilter/vf_deband.c
+++ b/libavfilter/vf_deband.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DebandContext {
diff --git a/libavfilter/vf_deblock.c b/libavfilter/vf_deblock.c
index 7b6cd04ffc..3b07856dc7 100644
--- a/libavfilter/vf_deblock.c
+++ b/libavfilter/vf_deblock.c
@@ -28,7 +28,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum FilterType { WEAK, STRONG, NB_FILTER };
diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.c
index d3b03e76f6..2e3dba5e74 100644
--- a/libavfilter/vf_decimate.c
+++ b/libavfilter/vf_decimate.c
@@ -24,7 +24,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define INPUT_MAIN     0
 #define INPUT_CLEANSRC 1
diff --git a/libavfilter/vf_dedot.c b/libavfilter/vf_dedot.c
index acdb03c706..09fd973e5d 100644
--- a/libavfilter/vf_dedot.c
+++ b/libavfilter/vf_dedot.c
@@ -23,7 +23,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DedotContext {
diff --git a/libavfilter/vf_deflicker.c b/libavfilter/vf_deflicker.c
index 474f00df35..da16677f6d 100644
--- a/libavfilter/vf_deflicker.c
+++ b/libavfilter/vf_deflicker.c
@@ -29,7 +29,6 @@
 #include "bufferqueue.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define SIZE FF_BUFQUEUE_SIZE
diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c
index 5a64e5f33a..0478d6daef 100644
--- a/libavfilter/vf_deinterlace_vaapi.c
+++ b/libavfilter/vf_deinterlace_vaapi.c
@@ -24,7 +24,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "vaapi_vpp.h"
 
diff --git a/libavfilter/vf_dejudder.c b/libavfilter/vf_dejudder.c
index 0a4a68bd8d..75177e22ae 100644
--- a/libavfilter/vf_dejudder.c
+++ b/libavfilter/vf_dejudder.c
@@ -53,7 +53,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct DejudderContext {
     const AVClass *class;
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index a321b805a2..942deb1c53 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -34,7 +34,6 @@
 #include "libavutil/eval.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 static const char * const var_names[] = {
     "x",
diff --git a/libavfilter/vf_derain.c b/libavfilter/vf_derain.c
index fa5e073671..6dd179c942 100644
--- a/libavfilter/vf_derain.c
+++ b/libavfilter/vf_derain.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "dnn_filter_common.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DRContext {
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 33c460c01e..af140b86d2 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -51,7 +51,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "transform.h"
 #include "video.h"
 #include "libavutil/common.h"
diff --git a/libavfilter/vf_deshake_opencl.c b/libavfilter/vf_deshake_opencl.c
index 47b74a8606..6f1d007a83 100644
--- a/libavfilter/vf_deshake_opencl.c
+++ b/libavfilter/vf_deshake_opencl.c
@@ -58,7 +58,6 @@
 #include "framequeue.h"
 #include "filters.h"
 #include "transform.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_despill.c b/libavfilter/vf_despill.c
index ca9b075f0c..9365114b91 100644
--- a/libavfilter/vf_despill.c
+++ b/libavfilter/vf_despill.c
@@ -22,7 +22,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct DespillContext {
     const AVClass *class;
diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c
index ecf1de7da1..8eae7107c2 100644
--- a/libavfilter/vf_detelecine.c
+++ b/libavfilter/vf_detelecine.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DetelecineContext {
diff --git a/libavfilter/vf_displace.c b/libavfilter/vf_displace.c
index c243d422d8..6e3df139e6 100644
--- a/libavfilter/vf_displace.c
+++ b/libavfilter/vf_displace.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 enum EdgeMode {
diff --git a/libavfilter/vf_dnn_classify.c b/libavfilter/vf_dnn_classify.c
index f6d3678796..c52e50ca96 100644
--- a/libavfilter/vf_dnn_classify.c
+++ b/libavfilter/vf_dnn_classify.c
@@ -26,7 +26,6 @@
 #include "libavutil/opt.h"
 #include "filters.h"
 #include "dnn_filter_common.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/time.h"
 #include "libavutil/avstring.h"
diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c
index 2a277d4169..f4abd38ec1 100644
--- a/libavfilter/vf_dnn_detect.c
+++ b/libavfilter/vf_dnn_detect.c
@@ -26,7 +26,6 @@
 #include "libavutil/opt.h"
 #include "filters.h"
 #include "dnn_filter_common.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/time.h"
 #include "libavutil/avstring.h"
diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c
index 7c0f84ec80..eb75f06f05 100644
--- a/libavfilter/vf_dnn_processing.c
+++ b/libavfilter/vf_dnn_processing.c
@@ -29,7 +29,6 @@
 #include "libavutil/imgutils.h"
 #include "filters.h"
 #include "dnn_filter_common.h"
-#include "internal.h"
 #include "video.h"
 #include "libswscale/swscale.h"
 #include "libavutil/time.h"
diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c
index ac6395fc62..46dfc59ab8 100644
--- a/libavfilter/vf_drawbox.c
+++ b/libavfilter/vf_drawbox.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/vf_drawbox_vaapi.c b/libavfilter/vf_drawbox_vaapi.c
index c3e6e0943d..5b4f23066f 100644
--- a/libavfilter/vf_drawbox_vaapi.c
+++ b/libavfilter/vf_drawbox_vaapi.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 78bda5b122..4c55a01155 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -62,7 +62,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "textutils.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c
index 72280c8ba7..32339a0d8b 100644
--- a/libavfilter/vf_edgedetect.c
+++ b/libavfilter/vf_edgedetect.c
@@ -32,7 +32,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "edge_common.h"
 
diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c
index 93d416a216..453147ca33 100644
--- a/libavfilter/vf_elbg.c
+++ b/libavfilter/vf_elbg.c
@@ -33,7 +33,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ELBGFilterContext {
diff --git a/libavfilter/vf_entropy.c b/libavfilter/vf_entropy.c
index 4db3d2b70b..e8dd7745d5 100644
--- a/libavfilter/vf_entropy.c
+++ b/libavfilter/vf_entropy.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct EntropyContext {
diff --git a/libavfilter/vf_epx.c b/libavfilter/vf_epx.c
index af32e21163..6e66bdda3c 100644
--- a/libavfilter/vf_epx.c
+++ b/libavfilter/vf_epx.c
@@ -20,7 +20,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct EPXContext {
diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c
index 377bc848bf..f3855f66a3 100644
--- a/libavfilter/vf_eq.c
+++ b/libavfilter/vf_eq.c
@@ -33,7 +33,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "vf_eq.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_estdif.c b/libavfilter/vf_estdif.c
index fccbec7853..477b8f8f90 100644
--- a/libavfilter/vf_estdif.c
+++ b/libavfilter/vf_estdif.c
@@ -24,7 +24,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ESTDIFContext {
diff --git a/libavfilter/vf_exposure.c b/libavfilter/vf_exposure.c
index 75be794d00..efdae40e00 100644
--- a/libavfilter/vf_exposure.c
+++ b/libavfilter/vf_exposure.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ExposureContext {
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index 8f1c9cca40..8873abf84b 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -29,7 +29,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define PLANE_R 0x01
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c
index 6db60f06f5..fb04c7ce32 100644
--- a/libavfilter/vf_fade.c
+++ b/libavfilter/vf_fade.c
@@ -35,7 +35,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_feedback.c b/libavfilter/vf_feedback.c
index 2fb7d48057..ddc53cad27 100644
--- a/libavfilter/vf_feedback.c
+++ b/libavfilter/vf_feedback.c
@@ -28,7 +28,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FeedbackContext {
diff --git a/libavfilter/vf_fftdnoiz.c b/libavfilter/vf_fftdnoiz.c
index f525cbf635..cbc49fe9a1 100644
--- a/libavfilter/vf_fftdnoiz.c
+++ b/libavfilter/vf_fftdnoiz.c
@@ -26,7 +26,6 @@
 #include "libavutil/tx.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "window_func.h"
 
diff --git a/libavfilter/vf_fftfilt.c b/libavfilter/vf_fftfilt.c
index e2a8adb7b4..b60d47edcc 100644
--- a/libavfilter/vf_fftfilt.c
+++ b/libavfilter/vf_fftfilt.c
@@ -25,7 +25,6 @@
  */
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/common.h"
 #include "libavutil/cpu.h"
diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c
index 0e981fabf5..2d730b3dd5 100644
--- a/libavfilter/vf_field.c
+++ b/libavfilter/vf_field.c
@@ -28,7 +28,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 enum FieldType { FIELD_TYPE_TOP = 0, FIELD_TYPE_BOTTOM };
 
diff --git a/libavfilter/vf_fieldhint.c b/libavfilter/vf_fieldhint.c
index 0320484d5c..92e3c5c8b9 100644
--- a/libavfilter/vf_fieldhint.c
+++ b/libavfilter/vf_fieldhint.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 enum HintModes {
diff --git a/libavfilter/vf_fieldmatch.c b/libavfilter/vf_fieldmatch.c
index 555ae81bc6..9198c894f9 100644
--- a/libavfilter/vf_fieldmatch.c
+++ b/libavfilter/vf_fieldmatch.c
@@ -40,7 +40,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define INPUT_MAIN     0
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index 82f88f43be..46b7f4bb30 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FieldOrderContext {
diff --git a/libavfilter/vf_fillborders.c b/libavfilter/vf_fillborders.c
index 1bd4e2081f..619b2cf75e 100644
--- a/libavfilter/vf_fillborders.c
+++ b/libavfilter/vf_fillborders.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum { Y, U, V, A };
diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c
index bfd6cc583c..1b11fbbb93 100644
--- a/libavfilter/vf_find_rect.c
+++ b/libavfilter/vf_find_rect.c
@@ -26,7 +26,6 @@
 #include "libavutil/opt.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include "lavfutils.h"
diff --git a/libavfilter/vf_flip_vulkan.c b/libavfilter/vf_flip_vulkan.c
index bad617d024..1271396803 100644
--- a/libavfilter/vf_flip_vulkan.c
+++ b/libavfilter/vf_flip_vulkan.c
@@ -25,7 +25,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum FlipType {
diff --git a/libavfilter/vf_floodfill.c b/libavfilter/vf_floodfill.c
index 3f94af0fc4..0d4c86173a 100644
--- a/libavfilter/vf_floodfill.c
+++ b/libavfilter/vf_floodfill.c
@@ -24,7 +24,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct Points {
diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c
index 83deff7190..da39625fec 100644
--- a/libavfilter/vf_format.c
+++ b/libavfilter/vf_format.c
@@ -35,7 +35,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FormatContext {
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index c422c5e9a6..3eb43c0b26 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -36,7 +36,6 @@
 #include "avfilter.h"
 #include "ccfifo.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum EOFAction {
diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index d3a195c024..daab49cfff 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -34,7 +34,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define LEFT  0
diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c
index f525ab1b65..9e7cac660f 100644
--- a/libavfilter/vf_framerate.c
+++ b/libavfilter/vf_framerate.c
@@ -35,7 +35,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "avfilter.h"
-#include "internal.h"
 #include "video.h"
 #include "filters.h"
 #include "framerate.h"
diff --git a/libavfilter/vf_framestep.c b/libavfilter/vf_framestep.c
index 115ac45fe4..98cbf05405 100644
--- a/libavfilter/vf_framestep.c
+++ b/libavfilter/vf_framestep.c
@@ -26,7 +26,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct NullContext {
diff --git a/libavfilter/vf_freezeframes.c b/libavfilter/vf_freezeframes.c
index fffe86a2df..ff8112ce1e 100644
--- a/libavfilter/vf_freezeframes.c
+++ b/libavfilter/vf_freezeframes.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FreezeFramesContext {
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index eeaf7ad2b4..83ca9c98b1 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -41,7 +41,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef f0r_instance_t (*f0r_construct_f)(unsigned int width, unsigned int height);
diff --git a/libavfilter/vf_fspp.c b/libavfilter/vf_fspp.c
index d1945d26ff..c35217e9f1 100644
--- a/libavfilter/vf_fspp.c
+++ b/libavfilter/vf_fspp.c
@@ -43,7 +43,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "qp_table.h"
 #include "vf_fspp.h"
 #include "video.h"
diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c
index 07e151a0b1..a994ee5dd3 100644
--- a/libavfilter/vf_gblur.c
+++ b/libavfilter/vf_gblur.c
@@ -34,7 +34,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "gblur.h"
-#include "internal.h"
 #include "vf_gblur_init.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_gblur_vulkan.c b/libavfilter/vf_gblur_vulkan.c
index 27cac920ec..546e2828b0 100644
--- a/libavfilter/vf_gblur_vulkan.c
+++ b/libavfilter/vf_gblur_vulkan.c
@@ -26,7 +26,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define CGS 32
diff --git a/libavfilter/vf_geq.c b/libavfilter/vf_geq.c
index b23c3e170c..bb95f45e2e 100644
--- a/libavfilter/vf_geq.c
+++ b/libavfilter/vf_geq.c
@@ -35,7 +35,6 @@
 
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define MAX_NB_THREADS 32
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index 5a70467a7e..6b52e09f23 100644
--- a/libavfilter/vf_gradfun.c
+++ b/libavfilter/vf_gradfun.c
@@ -42,7 +42,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "gradfun.h"
-#include "internal.h"
 #include "video.h"
 
 DECLARE_ALIGNED(16, static const uint16_t, dither)[8][8] = {
diff --git a/libavfilter/vf_grayworld.c b/libavfilter/vf_grayworld.c
index 60ee444887..a6a51dcb7d 100644
--- a/libavfilter/vf_grayworld.c
+++ b/libavfilter/vf_grayworld.c
@@ -30,7 +30,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index 262d1df996..f0d9d8f9d3 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 enum FilterModes {
diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c
index 769df9e3c0..47870a167d 100644
--- a/libavfilter/vf_hflip.c
+++ b/libavfilter/vf_hflip.c
@@ -30,7 +30,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "hflip.h"
-#include "internal.h"
 #include "vf_hflip_init.h"
 #include "video.h"
 #include "libavutil/pixdesc.h"
diff --git a/libavfilter/vf_histeq.c b/libavfilter/vf_histeq.c
index e714cf2ad2..6af96b6353 100644
--- a/libavfilter/vf_histeq.c
+++ b/libavfilter/vf_histeq.c
@@ -35,7 +35,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 // #define DEBUG
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index 697ae21ed3..73fd78caf8 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct HistogramContext {
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index 0aaa37dfe4..3ba1c539ac 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -39,7 +39,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "vf_hqdn3d.h"
 
diff --git a/libavfilter/vf_hqx.c b/libavfilter/vf_hqx.c
index 932313cac1..20a78f2dcf 100644
--- a/libavfilter/vf_hqx.c
+++ b/libavfilter/vf_hqx.c
@@ -31,7 +31,6 @@
 #include "libavutil/avassert.h"
 #include "libavutil/pixdesc.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef int (*hqxfunc_t)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
diff --git a/libavfilter/vf_hsvkey.c b/libavfilter/vf_hsvkey.c
index f0954e0460..c5badd82c0 100644
--- a/libavfilter/vf_hsvkey.c
+++ b/libavfilter/vf_hsvkey.c
@@ -25,7 +25,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 typedef struct HSVKeyContext {
     const AVClass *class;
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 42f774772e..56899a9775 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -34,7 +34,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define SAT_MIN_VAL -10
diff --git a/libavfilter/vf_huesaturation.c b/libavfilter/vf_huesaturation.c
index e5891f8b17..af58b114b7 100644
--- a/libavfilter/vf_huesaturation.c
+++ b/libavfilter/vf_huesaturation.c
@@ -21,7 +21,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_hwdownload.c b/libavfilter/vf_hwdownload.c
index 75c4b215be..0b70727b29 100644
--- a/libavfilter/vf_hwdownload.c
+++ b/libavfilter/vf_hwdownload.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct HWDownloadContext {
diff --git a/libavfilter/vf_hwmap.c b/libavfilter/vf_hwmap.c
index d3e84e39d7..e999605eb1 100644
--- a/libavfilter/vf_hwmap.c
+++ b/libavfilter/vf_hwmap.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct HWMapContext {
diff --git a/libavfilter/vf_hwupload.c b/libavfilter/vf_hwupload.c
index 9c11e72759..3afd67012f 100644
--- a/libavfilter/vf_hwupload.c
+++ b/libavfilter/vf_hwupload.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct HWUploadContext {
diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c
index fa96f06de1..1d04045551 100644
--- a/libavfilter/vf_hwupload_cuda.c
+++ b/libavfilter/vf_hwupload_cuda.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct CudaUploadContext {
diff --git a/libavfilter/vf_hysteresis.c b/libavfilter/vf_hysteresis.c
index 70df8b4375..d2b85764f5 100644
--- a/libavfilter/vf_hysteresis.c
+++ b/libavfilter/vf_hysteresis.c
@@ -25,7 +25,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_iccdetect.c b/libavfilter/vf_iccdetect.c
index 18a7e2ba9c..044a92ee0f 100644
--- a/libavfilter/vf_iccdetect.c
+++ b/libavfilter/vf_iccdetect.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "fflcms2.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct IccDetectContext {
diff --git a/libavfilter/vf_iccgen.c b/libavfilter/vf_iccgen.c
index 8ae1d84161..35c571d31c 100644
--- a/libavfilter/vf_iccgen.c
+++ b/libavfilter/vf_iccgen.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "fflcms2.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct IccGenContext {
diff --git a/libavfilter/vf_identity.c b/libavfilter/vf_identity.c
index 2446658bb9..d06e9f3d68 100644
--- a/libavfilter/vf_identity.c
+++ b/libavfilter/vf_identity.c
@@ -33,7 +33,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "scene_sad.h"
 
 typedef struct IdentityContext {
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
index 197e33f2d2..c57e7ccb20 100644
--- a/libavfilter/vf_idet.c
+++ b/libavfilter/vf_idet.c
@@ -22,7 +22,6 @@
 
 #include "libavutil/common.h"
 #include "libavutil/opt.h"
-#include "internal.h"
 #include "filters.h"
 #include "vf_idet.h"
 
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index ac79990964..9a3a9d47a9 100644
--- a/libavfilter/vf_il.c
+++ b/libavfilter/vf_il.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 enum FilterMode {
diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 61fa53a5d5..6114a58a5b 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -34,7 +34,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct KerndeintContext {
diff --git a/libavfilter/vf_lagfun.c b/libavfilter/vf_lagfun.c
index 9d781b9f7f..b3020c28a9 100644
--- a/libavfilter/vf_lagfun.c
+++ b/libavfilter/vf_lagfun.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct LagfunContext {
diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index c9d4818b06..db80cdb4eb 100644
--- a/libavfilter/vf_lenscorrection.c
+++ b/libavfilter/vf_lenscorrection.c
@@ -34,7 +34,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct LenscorrectionCtx {
diff --git a/libavfilter/vf_lensfun.c b/libavfilter/vf_lensfun.c
index 22016a7e8a..7c428e3ca7 100644
--- a/libavfilter/vf_lensfun.c
+++ b/libavfilter/vf_lensfun.c
@@ -32,7 +32,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include <lensfun.h>
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index 237af6e227..0250a54835 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -39,7 +39,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 static void fill_iplimage_from_frame(IplImage *img, const AVFrame *frame, enum AVPixelFormat pixfmt)
diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
index 268bba8e38..2176a7188c 100644
--- a/libavfilter/vf_libplacebo.c
+++ b/libavfilter/vf_libplacebo.c
@@ -24,7 +24,6 @@
 #include "libavutil/opt.h"
 #include "libavutil/parseutils.h"
 #include "formats.h"
-#include "internal.h"
 #include "filters.h"
 #include "video.h"
 #include "vulkan_filter.h"
diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c
index b06f09e834..f655092b20 100644
--- a/libavfilter/vf_libvmaf.c
+++ b/libavfilter/vf_libvmaf.c
@@ -37,7 +37,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 #if CONFIG_LIBVMAF_CUDA_FILTER
diff --git a/libavfilter/vf_limitdiff.c b/libavfilter/vf_limitdiff.c
index b30b3bc93b..a54942ad52 100644
--- a/libavfilter/vf_limitdiff.c
+++ b/libavfilter/vf_limitdiff.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_limiter.c b/libavfilter/vf_limiter.c
index 0df104156e..6826b4c308 100644
--- a/libavfilter/vf_limiter.c
+++ b/libavfilter/vf_limiter.c
@@ -23,7 +23,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "limiter.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_lumakey.c b/libavfilter/vf_lumakey.c
index ee243dda48..773fe5df61 100644
--- a/libavfilter/vf_lumakey.c
+++ b/libavfilter/vf_lumakey.c
@@ -22,7 +22,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct LumakeyContext {
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 7e0abdebc6..7e7fd2fa4a 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -37,7 +37,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/vf_lut2.c b/libavfilter/vf_lut2.c
index e1bcadb101..2488c9fdc2 100644
--- a/libavfilter/vf_lut2.c
+++ b/libavfilter/vf_lut2.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
index 9f10502e28..46955b99a5 100644
--- a/libavfilter/vf_lut3d.c
+++ b/libavfilter/vf_lut3d.c
@@ -36,7 +36,6 @@
 #include "libavutil/avstring.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "lut3d.h"
 
diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c
index 787d7493fd..2e9778fe24 100644
--- a/libavfilter/vf_maskedclamp.c
+++ b/libavfilter/vf_maskedclamp.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 #include "maskedclamp.h"
diff --git a/libavfilter/vf_maskedmerge.c b/libavfilter/vf_maskedmerge.c
index aa5aebb0f8..a6dfb2d830 100644
--- a/libavfilter/vf_maskedmerge.c
+++ b/libavfilter/vf_maskedmerge.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "maskedmerge.h"
 
diff --git a/libavfilter/vf_maskedminmax.c b/libavfilter/vf_maskedminmax.c
index dd439f5424..b9582d1539 100644
--- a/libavfilter/vf_maskedminmax.c
+++ b/libavfilter/vf_maskedminmax.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_maskedthreshold.c b/libavfilter/vf_maskedthreshold.c
index a79063b980..5d2038564d 100644
--- a/libavfilter/vf_maskedthreshold.c
+++ b/libavfilter/vf_maskedthreshold.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_maskfun.c b/libavfilter/vf_maskfun.c
index 53c3b91824..cd74d2669c 100644
--- a/libavfilter/vf_maskfun.c
+++ b/libavfilter/vf_maskfun.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct MaskFunContext {
diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c
index 713df31308..05c9105f7d 100644
--- a/libavfilter/vf_mcdeint.c
+++ b/libavfilter/vf_mcdeint.c
@@ -53,7 +53,6 @@
 #include "libavcodec/avcodec.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum MCDeintMode {
diff --git a/libavfilter/vf_median.c b/libavfilter/vf_median.c
index c4e3ca400d..a5c51621d2 100644
--- a/libavfilter/vf_median.c
+++ b/libavfilter/vf_median.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "median.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_mergeplanes.c b/libavfilter/vf_mergeplanes.c
index e74c12407f..8c1537e0bc 100644
--- a/libavfilter/vf_mergeplanes.c
+++ b/libavfilter/vf_mergeplanes.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "framesync.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_mestimate.c b/libavfilter/vf_mestimate.c
index 842932c17b..8662b5f660 100644
--- a/libavfilter/vf_mestimate.c
+++ b/libavfilter/vf_mestimate.c
@@ -26,7 +26,6 @@
 #include "libavutil/motion_vector.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct MEContext {
diff --git a/libavfilter/vf_midequalizer.c b/libavfilter/vf_midequalizer.c
index 89917847b8..9afbeb6f11 100644
--- a/libavfilter/vf_midequalizer.c
+++ b/libavfilter/vf_midequalizer.c
@@ -24,7 +24,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c
index f39e514100..39a3f55f41 100644
--- a/libavfilter/vf_minterpolate.c
+++ b/libavfilter/vf_minterpolate.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.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 a007d6aac3..3717a21930 100644
--- a/libavfilter/vf_misc_vaapi.c
+++ b/libavfilter/vf_misc_vaapi.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c
index 13a0dc43f6..16d6bf328c 100644
--- a/libavfilter/vf_mix.c
+++ b/libavfilter/vf_mix.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "framesync.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_monochrome.c b/libavfilter/vf_monochrome.c
index 46287781b9..b8242c045f 100644
--- a/libavfilter/vf_monochrome.c
+++ b/libavfilter/vf_monochrome.c
@@ -24,7 +24,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct MonochromeContext {
diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c
index bd1723b906..02e731cc46 100644
--- a/libavfilter/vf_morpho.c
+++ b/libavfilter/vf_morpho.c
@@ -32,7 +32,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 enum MorphModes {
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index c9670f2429..e101565f6d 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -30,7 +30,6 @@
 #include "libavutil/timestamp.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct DecimateContext {
diff --git a/libavfilter/vf_multiply.c b/libavfilter/vf_multiply.c
index 9ebcb85b6b..fd8ab1092b 100644
--- a/libavfilter/vf_multiply.c
+++ b/libavfilter/vf_multiply.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "framesync.h"
 
diff --git a/libavfilter/vf_negate.c b/libavfilter/vf_negate.c
index b6b5299799..f857415ee8 100644
--- a/libavfilter/vf_negate.c
+++ b/libavfilter/vf_negate.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define COMP_R 0x01
diff --git a/libavfilter/vf_neighbor.c b/libavfilter/vf_neighbor.c
index d1e5b179b2..29772ccb11 100644
--- a/libavfilter/vf_neighbor.c
+++ b/libavfilter/vf_neighbor.c
@@ -27,7 +27,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/vf_neighbor_opencl.c b/libavfilter/vf_neighbor_opencl.c
index 9d6d1e9e66..d8238a138e 100644
--- a/libavfilter/vf_neighbor_opencl.c
+++ b/libavfilter/vf_neighbor_opencl.c
@@ -29,7 +29,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c
index 968311d03d..86bf5b8e0a 100644
--- a/libavfilter/vf_nlmeans.c
+++ b/libavfilter/vf_nlmeans.c
@@ -35,7 +35,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vf_nlmeans.h"
 #include "vf_nlmeans_init.h"
 #include "video.h"
diff --git a/libavfilter/vf_nlmeans_opencl.c b/libavfilter/vf_nlmeans_opencl.c
index e5316d04f1..b224280088 100644
--- a/libavfilter/vf_nlmeans_opencl.c
+++ b/libavfilter/vf_nlmeans_opencl.c
@@ -26,7 +26,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_nlmeans_vulkan.c b/libavfilter/vf_nlmeans_vulkan.c
index 96d51548a2..cd44f5e4db 100644
--- a/libavfilter/vf_nlmeans_vulkan.c
+++ b/libavfilter/vf_nlmeans_vulkan.c
@@ -25,7 +25,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define TYPE_NAME  "vec4"
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index 4b8b11a722..1b1f9e8b42 100644
--- a/libavfilter/vf_nnedi.c
+++ b/libavfilter/vf_nnedi.c
@@ -31,7 +31,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const size_t NNEDI_WEIGHTS_SIZE = 13574928;
diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c
index 1d9646cb32..b5ef416dec 100644
--- a/libavfilter/vf_noise.c
+++ b/libavfilter/vf_noise.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "vf_noise.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c
index c713946f9c..613edd532f 100644
--- a/libavfilter/vf_normalize.c
+++ b/libavfilter/vf_normalize.c
@@ -79,7 +79,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct NormalizeHistory {
diff --git a/libavfilter/vf_null.c b/libavfilter/vf_null.c
index af06a340d7..372503a084 100644
--- a/libavfilter/vf_null.c
+++ b/libavfilter/vf_null.c
@@ -24,7 +24,6 @@
 #include "libavutil/internal.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 const AVFilter ff_vf_null = {
diff --git a/libavfilter/vf_ocr.c b/libavfilter/vf_ocr.c
index f88a1a6e35..f0b4b24288 100644
--- a/libavfilter/vf_ocr.c
+++ b/libavfilter/vf_ocr.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct OCRContext {
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index d8ac36495d..03b48bf681 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -35,7 +35,6 @@
 #include "libavutil/mathematics.h"
 #include "libavutil/opt.h"
 #include "libavutil/timestamp.h"
-#include "internal.h"
 #include "filters.h"
 #include "drawutils.h"
 #include "framesync.h"
diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c
index 5bc1e275fa..a35f6eda6e 100644
--- a/libavfilter/vf_overlay_cuda.c
+++ b/libavfilter/vf_overlay_cuda.c
@@ -34,7 +34,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 
 #include "cuda/load_helper.h"
 
diff --git a/libavfilter/vf_overlay_opencl.c b/libavfilter/vf_overlay_opencl.c
index 219d4fef37..c8c9d8bf1d 100644
--- a/libavfilter/vf_overlay_opencl.c
+++ b/libavfilter/vf_overlay_opencl.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c
index 37a0d4c2c8..39bc700637 100644
--- a/libavfilter/vf_overlay_qsv.c
+++ b/libavfilter/vf_overlay_qsv.c
@@ -30,7 +30,6 @@
 #include "libavutil/mathematics.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "avfilter.h"
 #include "formats.h"
 
diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c
index 16477ad24b..dde7f00a67 100644
--- a/libavfilter/vf_overlay_vaapi.c
+++ b/libavfilter/vf_overlay_vaapi.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 #include "libavutil/eval.h"
diff --git a/libavfilter/vf_overlay_vulkan.c b/libavfilter/vf_overlay_vulkan.c
index 233c5a68d6..09444067af 100644
--- a/libavfilter/vf_overlay_vulkan.c
+++ b/libavfilter/vf_overlay_vulkan.c
@@ -24,7 +24,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "framesync.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_owdenoise.c b/libavfilter/vf_owdenoise.c
index 4df8f972a8..624e2d8cf1 100644
--- a/libavfilter/vf_owdenoise.c
+++ b/libavfilter/vf_owdenoise.c
@@ -40,7 +40,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct OWDenoiseContext {
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index 584bcc9847..e0cf84002b 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/avstring.h"
 #include "libavutil/common.h"
diff --git a/libavfilter/vf_pad_opencl.c b/libavfilter/vf_pad_opencl.c
index a30236d5dd..d5447a9978 100644
--- a/libavfilter/vf_pad_opencl.c
+++ b/libavfilter/vf_pad_opencl.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_pad_vaapi.c b/libavfilter/vf_pad_vaapi.c
index 7b4e45bc1b..f45e503141 100644
--- a/libavfilter/vf_pad_vaapi.c
+++ b/libavfilter/vf_pad_vaapi.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_palettegen.c b/libavfilter/vf_palettegen.c
index d29f4b8e2a..666bb6e349 100644
--- a/libavfilter/vf_palettegen.c
+++ b/libavfilter/vf_palettegen.c
@@ -32,7 +32,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "palette.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c
index cb251fa5f9..0cd00d520e 100644
--- a/libavfilter/vf_paletteuse.c
+++ b/libavfilter/vf_paletteuse.c
@@ -34,7 +34,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "palette.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_perspective.c b/libavfilter/vf_perspective.c
index fedf8a03f1..5dd56a7dff 100644
--- a/libavfilter/vf_perspective.c
+++ b/libavfilter/vf_perspective.c
@@ -27,7 +27,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define SUB_PIXEL_BITS  8
diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
index a66ed33e3a..6cd8d8bb9d 100644
--- a/libavfilter/vf_phase.c
+++ b/libavfilter/vf_phase.c
@@ -24,7 +24,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum PhaseMode {
diff --git a/libavfilter/vf_photosensitivity.c b/libavfilter/vf_photosensitivity.c
index e7920b3242..5ea987379a 100644
--- a/libavfilter/vf_photosensitivity.c
+++ b/libavfilter/vf_photosensitivity.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define MAX_FRAMES 240
diff --git a/libavfilter/vf_pixdesctest.c b/libavfilter/vf_pixdesctest.c
index c2e9014968..f53f087f21 100644
--- a/libavfilter/vf_pixdesctest.c
+++ b/libavfilter/vf_pixdesctest.c
@@ -28,7 +28,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct PixdescTestContext {
diff --git a/libavfilter/vf_pixelize.c b/libavfilter/vf_pixelize.c
index 59c0a659b0..bf92818633 100644
--- a/libavfilter/vf_pixelize.c
+++ b/libavfilter/vf_pixelize.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum PixelizeModes {
diff --git a/libavfilter/vf_pp.c b/libavfilter/vf_pp.c
index 366a35fcf2..85ac795583 100644
--- a/libavfilter/vf_pp.c
+++ b/libavfilter/vf_pp.c
@@ -29,7 +29,6 @@
 #include "libavutil/opt.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "qp_table.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_pp7.c b/libavfilter/vf_pp7.c
index d3baa69d50..6fe243bbaa 100644
--- a/libavfilter/vf_pp7.c
+++ b/libavfilter/vf_pp7.c
@@ -35,7 +35,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "qp_table.h"
 #include "vf_pp7.h"
 #include "video.h"
diff --git a/libavfilter/vf_premultiply.c b/libavfilter/vf_premultiply.c
index c9fabf7ae7..30be869919 100644
--- a/libavfilter/vf_premultiply.c
+++ b/libavfilter/vf_premultiply.c
@@ -27,7 +27,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/vf_procamp_vaapi.c b/libavfilter/vf_procamp_vaapi.c
index 7550040945..be3cdae8bb 100644
--- a/libavfilter/vf_procamp_vaapi.c
+++ b/libavfilter/vf_procamp_vaapi.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_program_opencl.c b/libavfilter/vf_program_opencl.c
index eddf13ea27..3b49829161 100644
--- a/libavfilter/vf_program_opencl.c
+++ b/libavfilter/vf_program_opencl.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "opencl.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_pseudocolor.c b/libavfilter/vf_pseudocolor.c
index 2fa26e6b14..46c65da383 100644
--- a/libavfilter/vf_pseudocolor.c
+++ b/libavfilter/vf_pseudocolor.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c
index b1488effde..1f02811806 100644
--- a/libavfilter/vf_psnr.c
+++ b/libavfilter/vf_psnr.c
@@ -34,7 +34,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "psnr.h"
 
 typedef struct PSNRContext {
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c
index 128ebb71d6..9c8ac7f914 100644
--- a/libavfilter/vf_pullup.c
+++ b/libavfilter/vf_pullup.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "vf_pullup.h"
 
diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c
index 86dd7eae29..bc881ca6dd 100644
--- a/libavfilter/vf_qp.c
+++ b/libavfilter/vf_qp.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct QPContext {
diff --git a/libavfilter/vf_random.c b/libavfilter/vf_random.c
index 1b433be08b..032153a05f 100644
--- a/libavfilter/vf_random.c
+++ b/libavfilter/vf_random.c
@@ -23,7 +23,6 @@
 #include "libavutil/random_seed.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define MAX_FRAMES 512
 
diff --git a/libavfilter/vf_readeia608.c b/libavfilter/vf_readeia608.c
index f663c88a05..84ed2a27ef 100644
--- a/libavfilter/vf_readeia608.c
+++ b/libavfilter/vf_readeia608.c
@@ -33,7 +33,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define LAG 25
diff --git a/libavfilter/vf_readvitc.c b/libavfilter/vf_readvitc.c
index 1847152249..303703894a 100644
--- a/libavfilter/vf_readvitc.c
+++ b/libavfilter/vf_readvitc.c
@@ -30,7 +30,6 @@
 #include "libavutil/timecode.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define LINE_DATA_SIZE 9
diff --git a/libavfilter/vf_remap.c b/libavfilter/vf_remap.c
index 1b23a3ac86..df81c247eb 100644
--- a/libavfilter/vf_remap.c
+++ b/libavfilter/vf_remap.c
@@ -45,7 +45,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct RemapContext {
diff --git a/libavfilter/vf_remap_opencl.c b/libavfilter/vf_remap_opencl.c
index 852c88d44c..89d3efd53b 100644
--- a/libavfilter/vf_remap_opencl.c
+++ b/libavfilter/vf_remap_opencl.c
@@ -25,7 +25,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_removegrain.c b/libavfilter/vf_removegrain.c
index a07857893d..5a02670235 100644
--- a/libavfilter/vf_removegrain.c
+++ b/libavfilter/vf_removegrain.c
@@ -27,7 +27,6 @@
 #include "libavutil/qsort.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "removegrain.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index 43f1948076..f17487eac8 100644
--- a/libavfilter/vf_removelogo.c
+++ b/libavfilter/vf_removelogo.c
@@ -74,7 +74,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "bbox.h"
 #include "lavfutils.h"
diff --git a/libavfilter/vf_repeatfields.c b/libavfilter/vf_repeatfields.c
index 612c2f9049..a89a295cca 100644
--- a/libavfilter/vf_repeatfields.c
+++ b/libavfilter/vf_repeatfields.c
@@ -21,7 +21,6 @@
 #include "libavutil/imgutils.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct RepeatFieldsContext {
diff --git a/libavfilter/vf_rotate.c b/libavfilter/vf_rotate.c
index 2c598921d1..0a41946480 100644
--- a/libavfilter/vf_rotate.c
+++ b/libavfilter/vf_rotate.c
@@ -34,7 +34,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include <float.h>
diff --git a/libavfilter/vf_sab.c b/libavfilter/vf_sab.c
index 2bd2bfd73a..d6fcb73a08 100644
--- a/libavfilter/vf_sab.c
+++ b/libavfilter/vf_sab.c
@@ -30,7 +30,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FilterParam {
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 454fb812e4..9d50848138 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -31,7 +31,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "framesync.h"
-#include "internal.h"
 #include "scale_eval.h"
 #include "video.h"
 #include "libavutil/eval.h"
diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 83073f8b4b..54a340949d 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -33,7 +33,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "scale_eval.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_scale_npp.c b/libavfilter/vf_scale_npp.c
index d229083e8a..0c38987687 100644
--- a/libavfilter/vf_scale_npp.c
+++ b/libavfilter/vf_scale_npp.c
@@ -38,7 +38,6 @@
 #include "avfilter.h"
 #include "filters.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 27ec0e6e26..41f119bb55 100644
--- a/libavfilter/vf_scale_vaapi.c
+++ b/libavfilter/vf_scale_vaapi.c
@@ -23,7 +23,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "scale_eval.h"
 #include "video.h"
 #include "vaapi_vpp.h"
diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c
index 7481af1747..527e3ca72a 100644
--- a/libavfilter/vf_scale_vt.c
+++ b/libavfilter/vf_scale_vt.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "scale_eval.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index d53789e6c5..6a32ebbd5e 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -24,7 +24,6 @@
 #include "vulkan_spirv.h"
 #include "scale_eval.h"
 #include "filters.h"
-#include "internal.h"
 #include "colorspace.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_scroll.c b/libavfilter/vf_scroll.c
index 229c28876d..c5646264f0 100644
--- a/libavfilter/vf_scroll.c
+++ b/libavfilter/vf_scroll.c
@@ -23,7 +23,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ScrollContext {
diff --git a/libavfilter/vf_selectivecolor.c b/libavfilter/vf_selectivecolor.c
index b0e98bfb87..fce9f67ac4 100644
--- a/libavfilter/vf_selectivecolor.c
+++ b/libavfilter/vf_selectivecolor.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_separatefields.c b/libavfilter/vf_separatefields.c
index 91df45980f..54c112bf60 100644
--- a/libavfilter/vf_separatefields.c
+++ b/libavfilter/vf_separatefields.c
@@ -21,7 +21,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct SeparateFieldsContext {
diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c
index ecca2c2360..07845f7550 100644
--- a/libavfilter/vf_setparams.c
+++ b/libavfilter/vf_setparams.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 enum SetFieldMode {
diff --git a/libavfilter/vf_sharpen_npp.c b/libavfilter/vf_sharpen_npp.c
index 437cfb23cc..4989126eda 100644
--- a/libavfilter/vf_sharpen_npp.c
+++ b/libavfilter/vf_sharpen_npp.c
@@ -25,7 +25,6 @@
 #include <nppi_filtering_functions.h>
 
 #include "filters.h"
-#include "internal.h"
 #include "libavutil/pixdesc.h"
 #include "libavutil/cuda_check.h"
 #include "libavutil/hwcontext.h"
diff --git a/libavfilter/vf_shear.c b/libavfilter/vf_shear.c
index 1598d5b283..067d38286b 100644
--- a/libavfilter/vf_shear.c
+++ b/libavfilter/vf_shear.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include <float.h>
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index 6118e1a19a..f81df9d1bf 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -48,7 +48,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ShowInfoContext {
diff --git a/libavfilter/vf_showpalette.c b/libavfilter/vf_showpalette.c
index 5e3aa08672..e887d07092 100644
--- a/libavfilter/vf_showpalette.c
+++ b/libavfilter/vf_showpalette.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ShowPaletteContext {
diff --git a/libavfilter/vf_shuffleframes.c b/libavfilter/vf_shuffleframes.c
index 3d677f64e2..77ce6d9759 100644
--- a/libavfilter/vf_shuffleframes.c
+++ b/libavfilter/vf_shuffleframes.c
@@ -26,7 +26,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ShuffleFramesContext {
diff --git a/libavfilter/vf_shufflepixels.c b/libavfilter/vf_shufflepixels.c
index fcc5b14204..875601a987 100644
--- a/libavfilter/vf_shufflepixels.c
+++ b/libavfilter/vf_shufflepixels.c
@@ -30,7 +30,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ShufflePixelsContext {
diff --git a/libavfilter/vf_shuffleplanes.c b/libavfilter/vf_shuffleplanes.c
index 8b1791f078..c9cbd472ef 100644
--- a/libavfilter/vf_shuffleplanes.c
+++ b/libavfilter/vf_shuffleplanes.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ShufflePlanesContext {
diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
index 78a23bb705..8dca3cb444 100644
--- a/libavfilter/vf_signalstats.c
+++ b/libavfilter/vf_signalstats.c
@@ -25,7 +25,6 @@
 #include "libavutil/opt.h"
 #include "libavutil/pixdesc.h"
 #include "filters.h"
-#include "internal.h"
 
 enum FilterMode {
     FILTER_NONE = -1,
diff --git a/libavfilter/vf_signature.c b/libavfilter/vf_signature.c
index d5df683642..f205f6919f 100644
--- a/libavfilter/vf_signature.c
+++ b/libavfilter/vf_signature.c
@@ -32,7 +32,6 @@
 #include "libavutil/file_open.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "signature.h"
 #include "signature_lookup.c"
 
diff --git a/libavfilter/vf_siti.c b/libavfilter/vf_siti.c
index ca69211f60..3c563ac8b7 100644
--- a/libavfilter/vf_siti.c
+++ b/libavfilter/vf_siti.c
@@ -33,7 +33,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const int X_FILTER[9] = {
diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c
index 5d1a13df52..fe1b591a40 100644
--- a/libavfilter/vf_smartblur.c
+++ b/libavfilter/vf_smartblur.c
@@ -31,7 +31,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define RADIUS_MIN 0.1
diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c
index 02f53af6ea..0c33c263b8 100644
--- a/libavfilter/vf_spp.c
+++ b/libavfilter/vf_spp.c
@@ -39,7 +39,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "qp_table.h"
 #include "vf_spp.h"
 #include "video.h"
diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c
index 4b08a632ce..6c33203307 100644
--- a/libavfilter/vf_sr.c
+++ b/libavfilter/vf_sr.c
@@ -27,7 +27,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/opt.h"
 #include "libavutil/pixdesc.h"
diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index 609d082ef7..97bffcf70c 100644
--- a/libavfilter/vf_ssim.c
+++ b/libavfilter/vf_ssim.c
@@ -43,7 +43,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "ssim.h"
 
 typedef struct SSIMContext {
diff --git a/libavfilter/vf_ssim360.c b/libavfilter/vf_ssim360.c
index ca0545e178..57da2f3938 100644
--- a/libavfilter/vf_ssim360.c
+++ b/libavfilter/vf_ssim360.c
@@ -52,7 +52,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "framesync.h"
 
 #define RIGHT   0
diff --git a/libavfilter/vf_stack.c b/libavfilter/vf_stack.c
index 4d42d9b5c5..8328048649 100644
--- a/libavfilter/vf_stack.c
+++ b/libavfilter/vf_stack.c
@@ -31,7 +31,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "framesync.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_stack_qsv.c b/libavfilter/vf_stack_qsv.c
index a23e4f3e7e..9c4ca4abd2 100644
--- a/libavfilter/vf_stack_qsv.c
+++ b/libavfilter/vf_stack_qsv.c
@@ -35,7 +35,6 @@
 #include "libavutil/mathematics.h"
 #include "libavutil/parseutils.h"
 
-#include "internal.h"
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
diff --git a/libavfilter/vf_stack_vaapi.c b/libavfilter/vf_stack_vaapi.c
index 612ef97efe..602a7825a3 100644
--- a/libavfilter/vf_stack_vaapi.c
+++ b/libavfilter/vf_stack_vaapi.c
@@ -35,7 +35,6 @@
 #include "libavutil/parseutils.h"
 #include "libavutil/mem.h"
 
-#include "internal.h"
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 67c34bccb0..dc9cc33556 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -29,7 +29,6 @@
 #include "drawutils.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "stereo3d.h"
 
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index 8a632c11a5..de1cfa7d9e 100644
--- a/libavfilter/vf_subtitles.c
+++ b/libavfilter/vf_subtitles.c
@@ -42,7 +42,6 @@
 #include "filters.h"
 #include "drawutils.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "formats.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c
index fb46d18da5..8f3fd84788 100644
--- a/libavfilter/vf_super2xsai.c
+++ b/libavfilter/vf_super2xsai.c
@@ -30,7 +30,6 @@
 #include "libavutil/intreadwrite.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct Super2xSaIContext {
diff --git a/libavfilter/vf_swaprect.c b/libavfilter/vf_swaprect.c
index e94e23b02b..71869cf53a 100644
--- a/libavfilter/vf_swaprect.c
+++ b/libavfilter/vf_swaprect.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct SwapRectContext {
diff --git a/libavfilter/vf_swapuv.c b/libavfilter/vf_swapuv.c
index dacd2f6f46..5c7c69494e 100644
--- a/libavfilter/vf_swapuv.c
+++ b/libavfilter/vf_swapuv.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 static void do_swap(AVFrame *frame)
diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c
index 652535142e..77f62f3e8c 100644
--- a/libavfilter/vf_telecine.c
+++ b/libavfilter/vf_telecine.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct TelecineContext {
diff --git a/libavfilter/vf_threshold.c b/libavfilter/vf_threshold.c
index 2ec35eed51..b8e794f0b0 100644
--- a/libavfilter/vf_threshold.c
+++ b/libavfilter/vf_threshold.c
@@ -30,7 +30,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 #include "threshold.h"
 #include "vf_threshold_init.h"
diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c
index dab6ddecab..6cf791b654 100644
--- a/libavfilter/vf_thumbnail.c
+++ b/libavfilter/vf_thumbnail.c
@@ -32,7 +32,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #define HIST_SIZE (3*256)
 
diff --git a/libavfilter/vf_thumbnail_cuda.c b/libavfilter/vf_thumbnail_cuda.c
index be27d85dc7..d70df03f1e 100644
--- a/libavfilter/vf_thumbnail_cuda.c
+++ b/libavfilter/vf_thumbnail_cuda.c
@@ -29,7 +29,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 
 #include "cuda/load_helper.h"
 
diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c
index ca382f748d..2af97fee75 100644
--- a/libavfilter/vf_tile.c
+++ b/libavfilter/vf_tile.c
@@ -31,7 +31,6 @@
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
-#include "internal.h"
 
 typedef struct TileContext {
     const AVClass *class;
diff --git a/libavfilter/vf_tiltandshift.c b/libavfilter/vf_tiltandshift.c
index 25544d3e70..72475bbaab 100644
--- a/libavfilter/vf_tiltandshift.c
+++ b/libavfilter/vf_tiltandshift.c
@@ -32,7 +32,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum PaddingOption {
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index e864a84213..3e2111d9aa 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -32,7 +32,6 @@
 #include "libavutil/avassert.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "tinterlace.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_tmidequalizer.c b/libavfilter/vf_tmidequalizer.c
index 557df5c1c5..f17b2090cd 100644
--- a/libavfilter/vf_tmidequalizer.c
+++ b/libavfilter/vf_tmidequalizer.c
@@ -24,7 +24,6 @@
 #include "libavutil/opt.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct TMidEqualizerContext {
diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c
index afc966683d..d8322f45b9 100644
--- a/libavfilter/vf_tonemap.c
+++ b/libavfilter/vf_tonemap.c
@@ -36,7 +36,6 @@
 #include "avfilter.h"
 #include "colorspace.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 enum TonemapAlgorithm {
diff --git a/libavfilter/vf_tonemap_opencl.c b/libavfilter/vf_tonemap_opencl.c
index 935f8dcdaa..2f2eeac333 100644
--- a/libavfilter/vf_tonemap_opencl.c
+++ b/libavfilter/vf_tonemap_opencl.c
@@ -25,7 +25,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c
index ca9b9975aa..b1cc03709a 100644
--- a/libavfilter/vf_tonemap_vaapi.c
+++ b/libavfilter/vf_tonemap_vaapi.c
@@ -23,7 +23,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "vaapi_vpp.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_tpad.c b/libavfilter/vf_tpad.c
index 2df99e75f0..0b156772c8 100644
--- a/libavfilter/vf_tpad.c
+++ b/libavfilter/vf_tpad.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "audio.h"
 #include "filters.h"
-#include "internal.h"
 #include "formats.h"
 #include "drawutils.h"
 #include "video.h"
diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c
index 4f23c5cbae..d2836246b5 100644
--- a/libavfilter/vf_transpose.c
+++ b/libavfilter/vf_transpose.c
@@ -37,7 +37,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "transpose.h"
 
diff --git a/libavfilter/vf_transpose_npp.c b/libavfilter/vf_transpose_npp.c
index 2e3a0296f5..1706267b16 100644
--- a/libavfilter/vf_transpose_npp.c
+++ b/libavfilter/vf_transpose_npp.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x)
diff --git a/libavfilter/vf_transpose_opencl.c b/libavfilter/vf_transpose_opencl.c
index aef880a9a4..063c5b3cf5 100644
--- a/libavfilter/vf_transpose_opencl.c
+++ b/libavfilter/vf_transpose_opencl.c
@@ -24,7 +24,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_transpose_vaapi.c b/libavfilter/vf_transpose_vaapi.c
index bc8fc3c284..4976958be1 100644
--- a/libavfilter/vf_transpose_vaapi.c
+++ b/libavfilter/vf_transpose_vaapi.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "transpose.h"
 #include "vaapi_vpp.h"
 #include "video.h"
diff --git a/libavfilter/vf_transpose_vt.c b/libavfilter/vf_transpose_vt.c
index 72bab3d53b..86024c4ad3 100644
--- a/libavfilter/vf_transpose_vt.c
+++ b/libavfilter/vf_transpose_vt.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "transpose.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_transpose_vulkan.c b/libavfilter/vf_transpose_vulkan.c
index a955b099a1..72ea142e52 100644
--- a/libavfilter/vf_transpose_vulkan.c
+++ b/libavfilter/vf_transpose_vulkan.c
@@ -25,7 +25,6 @@
 #include "vulkan_spirv.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "transpose.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index 3548b850a5..1bfb837ab1 100644
--- a/libavfilter/vf_unsharp.c
+++ b/libavfilter/vf_unsharp.c
@@ -38,7 +38,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/common.h"
 #include "libavutil/imgutils.h"
diff --git a/libavfilter/vf_unsharp_opencl.c b/libavfilter/vf_unsharp_opencl.c
index 2a9f61dc18..c36997f69c 100644
--- a/libavfilter/vf_unsharp_opencl.c
+++ b/libavfilter/vf_unsharp_opencl.c
@@ -24,7 +24,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index 1d06b57bd8..f8e506aa27 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -37,7 +37,6 @@
 #include "libavcodec/avcodec.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "qp_table.h"
 #include "avfilter.h"
 #include "video.h"
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index 28a09a0857..12e40205ba 100644
--- a/libavfilter/vf_v360.c
+++ b/libavfilter/vf_v360.c
@@ -42,7 +42,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "v360.h"
 
diff --git a/libavfilter/vf_vaguedenoiser.c b/libavfilter/vf_vaguedenoiser.c
index 1c6f65c2e1..9321356853 100644
--- a/libavfilter/vf_vaguedenoiser.c
+++ b/libavfilter/vf_vaguedenoiser.c
@@ -29,7 +29,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct VagueDenoiserContext {
diff --git a/libavfilter/vf_varblur.c b/libavfilter/vf_varblur.c
index 5f0126fccf..8c5aebdcf0 100644
--- a/libavfilter/vf_varblur.c
+++ b/libavfilter/vf_varblur.c
@@ -25,7 +25,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct VarBlurContext {
diff --git a/libavfilter/vf_vectorscope.c b/libavfilter/vf_vectorscope.c
index 2d6da65f26..efaf7d9279 100644
--- a/libavfilter/vf_vectorscope.c
+++ b/libavfilter/vf_vectorscope.c
@@ -27,7 +27,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 enum GraticuleType {
diff --git a/libavfilter/vf_vflip.c b/libavfilter/vf_vflip.c
index 7dfd94e5fe..1b7e1e4d7d 100644
--- a/libavfilter/vf_vflip.c
+++ b/libavfilter/vf_vflip.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct FlipContext {
diff --git a/libavfilter/vf_vfrdet.c b/libavfilter/vf_vfrdet.c
index a96ebd3b81..049e87b3e1 100644
--- a/libavfilter/vf_vfrdet.c
+++ b/libavfilter/vf_vfrdet.c
@@ -22,7 +22,6 @@
 #include "libavutil/opt.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct VFRDETContext {
diff --git a/libavfilter/vf_vibrance.c b/libavfilter/vf_vibrance.c
index d60e50b7d9..3be620e696 100644
--- a/libavfilter/vf_vibrance.c
+++ b/libavfilter/vf_vibrance.c
@@ -23,7 +23,6 @@
 #include "avfilter.h"
 #include "drawutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define R 0
diff --git a/libavfilter/vf_vidstabdetect.c b/libavfilter/vf_vidstabdetect.c
index 1e1946a45d..7b52f36dd6 100644
--- a/libavfilter/vf_vidstabdetect.c
+++ b/libavfilter/vf_vidstabdetect.c
@@ -28,7 +28,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include "vidstabutils.h"
diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c
index e54a99d1b3..d2b771591e 100644
--- a/libavfilter/vf_vidstabtransform.c
+++ b/libavfilter/vf_vidstabtransform.c
@@ -28,7 +28,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include "vidstabutils.h"
diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c
index 3def065e84..ee62723ae0 100644
--- a/libavfilter/vf_vif.c
+++ b/libavfilter/vf_vif.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "framesync.h"
-#include "internal.h"
 
 #define NUM_DATA_BUFS 13
 
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c
index cfce54264d..5b4b9c7389 100644
--- a/libavfilter/vf_vignette.c
+++ b/libavfilter/vf_vignette.c
@@ -26,7 +26,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 static const char *const var_names[] = {
diff --git a/libavfilter/vf_vmafmotion.c b/libavfilter/vf_vmafmotion.c
index 3c9813a0ca..7bc73416e8 100644
--- a/libavfilter/vf_vmafmotion.c
+++ b/libavfilter/vf_vmafmotion.c
@@ -31,7 +31,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "vmaf_motion.h"
 
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 7de3b6dda3..7f05f1fab0 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -34,7 +34,6 @@
 #include "libavutil/mastering_display_metadata.h"
 
 #include "formats.h"
-#include "internal.h"
 #include "avfilter.h"
 #include "filters.h"
 
diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c
index bbb4ea3c47..33ebc4d6c6 100644
--- a/libavfilter/vf_w3fdif.c
+++ b/libavfilter/vf_w3fdif.c
@@ -28,7 +28,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "w3fdif.h"
 
diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c
index 8be5963186..8b54e12e3d 100644
--- a/libavfilter/vf_waveform.c
+++ b/libavfilter/vf_waveform.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/vf_weave.c b/libavfilter/vf_weave.c
index c545e43d6d..598779d1cf 100644
--- a/libavfilter/vf_weave.c
+++ b/libavfilter/vf_weave.c
@@ -24,7 +24,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct WeaveContext {
diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c
index 05e621b1c3..47d11be44a 100644
--- a/libavfilter/vf_xbr.c
+++ b/libavfilter/vf_xbr.c
@@ -32,7 +32,6 @@
 #include "libavutil/pixdesc.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define LB_MASK       0x00FEFEFE
diff --git a/libavfilter/vf_xfade.c b/libavfilter/vf_xfade.c
index 0c60c6830e..639904cabc 100644
--- a/libavfilter/vf_xfade.c
+++ b/libavfilter/vf_xfade.c
@@ -23,7 +23,6 @@
 #include "libavutil/pixdesc.h"
 #include "libavutil/pixfmt.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "filters.h"
 #include "video.h"
 
diff --git a/libavfilter/vf_xfade_opencl.c b/libavfilter/vf_xfade_opencl.c
index 2b659d538d..856a300c38 100644
--- a/libavfilter/vf_xfade_opencl.c
+++ b/libavfilter/vf_xfade_opencl.c
@@ -22,7 +22,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "opencl.h"
 #include "opencl_source.h"
 #include "video.h"
diff --git a/libavfilter/vf_xfade_vulkan.c b/libavfilter/vf_xfade_vulkan.c
index 2076f3e7a4..94acc5258f 100644
--- a/libavfilter/vf_xfade_vulkan.c
+++ b/libavfilter/vf_xfade_vulkan.c
@@ -22,7 +22,6 @@
 #include "vulkan_filter.h"
 #include "vulkan_spirv.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define IN_A  0
diff --git a/libavfilter/vf_xmedian.c b/libavfilter/vf_xmedian.c
index e86920cb1a..492fd0fe5e 100644
--- a/libavfilter/vf_xmedian.c
+++ b/libavfilter/vf_xmedian.c
@@ -28,7 +28,6 @@
 #include "libavutil/qsort.h"
 
 #include "avfilter.h"
-#include "internal.h"
 #include "filters.h"
 #include "framesync.h"
 #include "video.h"
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 3b76362c27..2bf58aa487 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -23,7 +23,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "yadif.h"
 
 typedef struct ThreadData {
diff --git a/libavfilter/vf_yadif_cuda.c b/libavfilter/vf_yadif_cuda.c
index e74bd87092..2575237884 100644
--- a/libavfilter/vf_yadif_cuda.c
+++ b/libavfilter/vf_yadif_cuda.c
@@ -24,7 +24,6 @@
 #include "libavutil/cuda_check.h"
 
 #include "filters.h"
-#include "internal.h"
 #include "yadif.h"
 
 #include "cuda/load_helper.h"
diff --git a/libavfilter/vf_yadif_videotoolbox.m b/libavfilter/vf_yadif_videotoolbox.m
index f77e7e86b5..85942e8321 100644
--- a/libavfilter/vf_yadif_videotoolbox.m
+++ b/libavfilter/vf_yadif_videotoolbox.m
@@ -20,7 +20,6 @@
  */
 
 #include "filters.h"
-#include "internal.h"
 #include "metal/utils.h"
 #include "yadif.h"
 #include "libavutil/avassert.h"
diff --git a/libavfilter/vf_yaepblur.c b/libavfilter/vf_yaepblur.c
index c48d99762c..513404734f 100644
--- a/libavfilter/vf_yaepblur.c
+++ b/libavfilter/vf_yaepblur.c
@@ -32,7 +32,6 @@
 #include "libavutil/imgutils.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct YAEPContext {
diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
index e98a8ea408..8a4d57b7ab 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 "internal.h"
 #include "video.h"
 #include "libswscale/swscale.h"
 
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 5f473cfa25..2142a85bfc 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -33,7 +33,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 #include "libavutil/eval.h"
 #include "libavutil/internal.h"
diff --git a/libavfilter/video.c b/libavfilter/video.c
index b8a815eb01..1de7f2ef59 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -32,7 +32,6 @@
 #include "avfilter_internal.h"
 #include "filters.h"
 #include "framepool.h"
-#include "internal.h"
 #include "video.h"
 
 const AVFilterPad ff_video_default_filterpad[1] = {
diff --git a/libavfilter/vsink_nullsink.c b/libavfilter/vsink_nullsink.c
index 4f61f84500..cc8cf1a13c 100644
--- a/libavfilter/vsink_nullsink.c
+++ b/libavfilter/vsink_nullsink.c
@@ -18,7 +18,6 @@
 
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "libavutil/internal.h"
 
 static int filter_frame(AVFilterLink *link, AVFrame *frame)
diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
index 0159d1e508..c831072df8 100644
--- a/libavfilter/vsrc_cellauto.c
+++ b/libavfilter/vsrc_cellauto.c
@@ -34,7 +34,6 @@
 #include "libavutil/avstring.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct CellAutoContext {
diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c
index c900e123b6..302c558d9f 100644
--- a/libavfilter/vsrc_ddagrab.c
+++ b/libavfilter/vsrc_ddagrab.c
@@ -44,7 +44,6 @@
 #include "compat/w32dlfcn.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #include "vsrc_ddagrab_shaders.h"
diff --git a/libavfilter/vsrc_gradients.c b/libavfilter/vsrc_gradients.c
index 02c4965df6..201ca8f86e 100644
--- a/libavfilter/vsrc_gradients.c
+++ b/libavfilter/vsrc_gradients.c
@@ -21,7 +21,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "video.h"
-#include "internal.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/opt.h"
 #include "libavutil/lfg.h"
diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
index 79200a6d0e..a624dbb63c 100644
--- a/libavfilter/vsrc_life.c
+++ b/libavfilter/vsrc_life.c
@@ -34,7 +34,6 @@
 #include "libavutil/random_seed.h"
 #include "libavutil/avstring.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index c1a59fea6d..46b6854bf2 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -29,7 +29,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "video.h"
-#include "internal.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index 8383370470..b431656f61 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -27,7 +27,6 @@
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 
 #define WIDTH 512
diff --git a/libavfilter/vsrc_perlin.c b/libavfilter/vsrc_perlin.c
index 8fd140f225..f736d2b97c 100644
--- a/libavfilter/vsrc_perlin.c
+++ b/libavfilter/vsrc_perlin.c
@@ -27,7 +27,6 @@
 #include "libavutil/lfg.h"
 #include "libavutil/opt.h"
 #include "avfilter.h"
-#include "internal.h"
 #include "filters.h"
 #include "formats.h"
 #include "video.h"
diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c
index e982422549..8cc6142a1e 100644
--- a/libavfilter/vsrc_sierpinski.c
+++ b/libavfilter/vsrc_sierpinski.c
@@ -26,7 +26,6 @@
 #include "avfilter.h"
 #include "filters.h"
 #include "video.h"
-#include "internal.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/intreadwrite.h"
 #include "libavutil/opt.h"
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index ce4013643c..f14e36a95b 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -48,7 +48,6 @@
 #include "filters.h"
 #include "filters.h"
 #include "formats.h"
-#include "internal.h"
 #include "video.h"
 
 typedef struct TestSourceContext {
diff --git a/libavfilter/vsrc_testsrc_vulkan.c b/libavfilter/vsrc_testsrc_vulkan.c
index 4b297af158..77fa9a0ba1 100644
--- a/libavfilter/vsrc_testsrc_vulkan.c
+++ b/libavfilter/vsrc_testsrc_vulkan.c
@@ -23,7 +23,6 @@
 #include "libavutil/opt.h"
 #include "vulkan_filter.h"
 #include "vulkan_spirv.h"
-#include "internal.h"
 #include "filters.h"
 #include "colorspace.h"
 #include "video.h"
diff --git a/libavfilter/yadif_common.c b/libavfilter/yadif_common.c
index 3f5e0ebfb8..059b44ba22 100644
--- a/libavfilter/yadif_common.c
+++ b/libavfilter/yadif_common.c
@@ -22,7 +22,6 @@
 #include "libavutil/avassert.h"
 #include "libavutil/imgutils.h"
 #include "filters.h"
-#include "internal.h"
 #include "video.h"
 #include "yadif.h"
 
