Unified · Split
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "formats.h" |
| 41 | 41 | #include "framequeue.h" |
| 42 | 42 | #include "internal.h" |
| 43 | +#include "video.h" | |
| 43 | 44 | |
| 44 | 45 | #define OFFSET(x) offsetof(AVFilterGraph, x) |
| 45 | 46 | #define F AV_OPT_FLAG_FILTERING_PARAM |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "filters.h" |
| 40 | 40 | #include "formats.h" |
| 41 | 41 | #include "internal.h" |
| 42 | +#include "video.h" | |
| 42 | 43 | |
| 43 | 44 | typedef struct BufferSourceContext { |
| 44 | 45 | const AVClass *class; |
| @@ -27,12 +27,6 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/internal.h" |
| 28 | 28 | #include "avfilter.h" |
| 29 | 29 | |
| 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 | − | |
| 36 | 30 | /** |
| 37 | 31 | * Negotiate the media format, dimensions, etc of all inputs to a filter. |
| 38 | 32 | * |
| @@ -45,4 +45,10 @@ AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h); · 44 unmodified lines | ||
| 45 | 45 | */ |
| 46 | 46 | AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h); |
| 47 | 47 | |
| 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 | + | |
| 48 | 54 | #endif /* AVFILTER_VIDEO_H */ |