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