1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avfilter/internal: Don't include formats.h

internal.h doesn't rely on it; instead include it directly
in every user that needs it (a filter needing it is basically
equivalent to it using FILTER_QUERY_FUNC, i.e. a majority of
filters doesn't need it).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-08-03 23:44:07 +02:00
parent 571d0359fa
commit 19af142d45
48 changed files with 47 additions and 1 deletions

View File

@ -33,6 +33,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "audio.h" #include "audio.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
static const char * const var_names[] = { static const char * const var_names[] = {

View File

@ -26,6 +26,7 @@
#include "libavutil/xga_font_data.h" #include "libavutil/xga_font_data.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -30,6 +30,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "audio.h" #include "audio.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#define SWR_CH_MAX 64 #define SWR_CH_MAX 64

View File

@ -25,6 +25,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"
#include "video.h" #include "video.h"

View File

@ -22,6 +22,7 @@
#include "libavutil/channel_layout.h" #include "libavutil/channel_layout.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"

View File

@ -33,6 +33,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "audio.h" #include "audio.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct AResampleContext { typedef struct AResampleContext {

View File

@ -20,6 +20,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct ASetRateContext { typedef struct ASetRateContext {

View File

@ -25,6 +25,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct ASRContext { typedef struct ASRContext {

View File

@ -71,6 +71,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
enum FilterType { enum FilterType {

View File

@ -24,6 +24,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "window_func.h" #include "window_func.h"

View File

@ -47,6 +47,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"

View File

@ -29,6 +29,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"

View File

@ -33,6 +33,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct MetaItem { typedef struct MetaItem {

View File

@ -23,6 +23,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"
#include "ebur128.h" #include "ebur128.h"

View File

@ -33,6 +33,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct URITable { typedef struct URITable {

View File

@ -30,6 +30,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#define HISTOGRAM_SLOTS 12000 #define HISTOGRAM_SLOTS 12000

View File

@ -36,6 +36,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "audio.h" #include "audio.h"

View File

@ -23,6 +23,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include <float.h> #include <float.h>

View File

@ -25,6 +25,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct AFDelaySrcContext { typedef struct AFDelaySrcContext {

View File

@ -27,6 +27,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "window_func.h" #include "window_func.h"

View File

@ -23,6 +23,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "libavutil/random_seed.h" #include "libavutil/random_seed.h"

View File

@ -33,6 +33,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct ANullContext { typedef struct ANullContext {

View File

@ -22,6 +22,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "filters.h" #include "filters.h"
#include "window_func.h" #include "window_func.h"

View File

@ -27,6 +27,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct SincContext { typedef struct SincContext {

View File

@ -27,6 +27,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
typedef struct SineContext { typedef struct SineContext {

View File

@ -28,6 +28,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"
#include "audio.h" #include "audio.h"

View File

@ -29,6 +29,7 @@
#include "audio.h" #include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "lavfutils.h" #include "lavfutils.h"
#include "lswsutils.h" #include "lswsutils.h"

View File

@ -30,6 +30,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "audio.h" #include "audio.h"
#include "formats.h"
#include "video.h" #include "video.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"

View File

@ -30,6 +30,7 @@
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "audio.h" #include "audio.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "video.h" #include "video.h"
#include "avfilter.h" #include "avfilter.h"
#include "internal.h" #include "internal.h"

View File

@ -28,6 +28,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "audio.h" #include "audio.h"
#include "formats.h"
#include "video.h" #include "video.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"

View File

@ -40,6 +40,7 @@
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/xga_font_data.h" #include "libavutil/xga_font_data.h"
#include "audio.h" #include "audio.h"
#include "formats.h"
#include "video.h" #include "video.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"

View File

@ -37,6 +37,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "buffersink.h" #include "buffersink.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -26,7 +26,6 @@
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "framequeue.h" #include "framequeue.h"
typedef struct AVFilterCommand { typedef struct AVFilterCommand {

View File

@ -24,6 +24,7 @@
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -24,6 +24,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -30,6 +30,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "drawutils.h" #include "drawutils.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -28,6 +28,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "drawutils.h" #include "drawutils.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -27,6 +27,7 @@
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -25,6 +25,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -38,6 +38,7 @@
#include "libavutil/timestamp.h" #include "libavutil/timestamp.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -31,6 +31,7 @@
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -28,6 +28,7 @@
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -22,6 +22,7 @@
#include "libavutil/file.h" #include "libavutil/file.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "filters.h" #include "filters.h"
#include "video.h" #include "video.h"

View File

@ -24,6 +24,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "framesync.h" #include "framesync.h"
#include "video.h" #include "video.h"

View File

@ -29,6 +29,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "palette.h" #include "palette.h"
#include "video.h" #include "video.h"

View File

@ -31,6 +31,7 @@
#include "libavutil/qsort.h" #include "libavutil/qsort.h"
#include "avfilter.h" #include "avfilter.h"
#include "filters.h" #include "filters.h"
#include "formats.h"
#include "framesync.h" #include "framesync.h"
#include "internal.h" #include "internal.h"
#include "palette.h" #include "palette.h"

View File

@ -24,6 +24,7 @@
#include "libavutil/pixfmt.h" #include "libavutil/pixfmt.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"

View File

@ -22,6 +22,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avfilter.h" #include "avfilter.h"
#include "formats.h"
#include "internal.h" #include "internal.h"
#include "video.h" #include "video.h"