blob: 4f39320868683da3a0c717ae27b2d9252cc2452f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* vim: set filetype=c: */
% instance-members
% prototypes
% pad-template
/* FIXME: add/remove formats you can handle */
#define VIDEO_SRC_CAPS \
GST_VIDEO_CAPS_RGBA "; " \
GST_VIDEO_CAPS_ARGB "; " \
GST_VIDEO_CAPS_BGRA "; " \
GST_VIDEO_CAPS_ABGR "; " \
GST_VIDEO_CAPS_RGBx "; " \
GST_VIDEO_CAPS_xRGB "; " \
GST_VIDEO_CAPS_BGRx "; " \
GST_VIDEO_CAPS_xBGR "; " \
GST_VIDEO_CAPS_RGB "; " \
GST_VIDEO_CAPS_BGR "; " \
GST_VIDEO_CAPS_YUV("{ AYUV }")
static GstStaticPadTemplate gst_replace_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (VIDEO_SRC_CAPS)
);
% base-init
gst_element_class_add_static_pad_template (element_class,
&gst_replace_src_template);
% instance-init
% methods
% end
|