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

release/7.1
Anton Khirnov 8 months ago
parent a83a30e899
commit a2314308f2
  1. 1
      libavfilter/avfiltergraph.c
  2. 1
      libavfilter/buffersrc.c
  3. 6
      libavfilter/internal.h
  4. 6
      libavfilter/video.h

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

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

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

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

Loading…
Cancel
Save