History

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

Anton Khirnov committed 2 years ago

Commit a2314301 parent a83a30e4 files · +8 −6Browse files

Unified · Split

4 files
  1. libavfilter/avfiltergraph.c +1 −0
  2. libavfilter/buffersrc.c +1 −0
  3. libavfilter/internal.h +0 −6
  4. libavfilter/video.h +6 −0
libavfilter/avfiltergraph.c+1−0
@@ -40,6 +40,7 @@ · 39 unmodified lines
4040 #include "formats.h"
4141 #include "framequeue.h"
4242 #include "internal.h"
43+#include "video.h"
4344
4445 #define OFFSET(x) offsetof(AVFilterGraph, x)
4546 #define F AV_OPT_FLAG_FILTERING_PARAM
libavfilter/buffersrc.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
3939 #include "filters.h"
4040 #include "formats.h"
4141 #include "internal.h"
42+#include "video.h"
4243
4344 typedef struct BufferSourceContext {
4445 const AVClass *class;
libavfilter/internal.h+0−6
@@ -27,12 +27,6 @@ · 26 unmodified lines
2727 #include "libavutil/internal.h"
2828 #include "avfilter.h"
2929
30−/**
31− * Returns true if a pixel format is "regular YUV", which includes all pixel
32− * formats that are affected by YUV colorspace negotiation.
33− */
34−int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt);
35−
3630 /**
3731 * Negotiate the media format, dimensions, etc of all inputs to a filter.
3832 *
libavfilter/video.h+6−0
@@ -45,4 +45,10 @@ AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h); · 44 unmodified lines
4545 */
4646 AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h);
4747
48+/**
49+ * Returns true if a pixel format is "regular YUV", which includes all pixel
50+ * formats that are affected by YUV colorspace negotiation.
51+ */
52+int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt);
53+
4854 #endif /* AVFILTER_VIDEO_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t