lavfi/inernal: move ff_fmt_is_regular_yuv() declaration to video.h

This commit is contained in:
Anton Khirnov 2024-08-16 10:03:29 +02:00
parent a83a30e899
commit a2314308f2
4 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -39,6 +39,7 @@
#include "filters.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
typedef struct BufferSourceContext {
const AVClass *class;

View file

@ -27,12 +27,6 @@
#include "libavutil/internal.h"
#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.
*

View file

@ -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 */