diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-16 10:03:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-19 21:45:25 +0200 |
commit | a2314308f297ca2384cb30dda580cdc47f12ada4 (patch) | |
tree | ede2c7b78531780c835a4864647354692a42454c /libavfilter | |
parent | a83a30e899099ec76a3570c07ee40b013dbfd409 (diff) | |
download | ffmpeg-a2314308f297ca2384cb30dda580cdc47f12ada4.tar.gz |
lavfi/inernal: move ff_fmt_is_regular_yuv() declaration to video.h
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfiltergraph.c | 1 | ||||
-rw-r--r-- | libavfilter/buffersrc.c | 1 | ||||
-rw-r--r-- | libavfilter/internal.h | 6 | ||||
-rw-r--r-- | libavfilter/video.h | 6 |
4 files changed, 8 insertions, 6 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 0da2f8462b..6317f8d457 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -40,6 +40,7 @@ #include "formats.h" #include "framequeue.h" #include "internal.h" +#include "video.h" #define OFFSET(x) offsetof(AVFilterGraph, x) #define F AV_OPT_FLAG_FILTERING_PARAM diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 2743493d5d..1cf23fe37b 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -39,6 +39,7 @@ #include "filters.h" #include "formats.h" #include "internal.h" +#include "video.h" typedef struct BufferSourceContext { const AVClass *class; diff --git a/libavfilter/internal.h b/libavfilter/internal.h index eb312ab485..6a0b9ed7e1 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -28,12 +28,6 @@ #include "avfilter.h" /** - * Returns true if a pixel format is "regular YUV", which includes all pixel - * formats that are affected by YUV colorspace negotiation. - */ -int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt); - -/** * Negotiate the media format, dimensions, etc of all inputs to a filter. * * @param filter the filter to negotiate the properties for its inputs diff --git a/libavfilter/video.h b/libavfilter/video.h index 8c5f6c84e7..77f27fdf7c 100644 --- a/libavfilter/video.h +++ b/libavfilter/video.h @@ -45,4 +45,10 @@ AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h); */ AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h); +/** + * Returns true if a pixel format is "regular YUV", which includes all pixel + * formats that are affected by YUV colorspace negotiation. + */ +int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt); + #endif /* AVFILTER_VIDEO_H */ |