Debian Codegraph @

gstreamer/src/videoconvert.ccg

raw
1 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
2
3
4 _PINCLUDE(gstreamermm/private/basetransform_p.h)
5
6 extern "C"
7 {
8
9 static GType gst_video_dither_method_get_type()
10 {
11 static GType const type = g_type_from_name("GstVideoDitherMethod");
12 return type;
13 }
14
15 static GType gst_video_resampler_method_get_type()
16 {
17 static GType const type = g_type_from_name("GstVideoResamplerMethod");
18 return type;
19 }
20
21 static GType gst_video_alpha_mode_get_type()
22 {
23 static GType const type = g_type_from_name("GstVideoAlphaMode");
24 return type;
25 }
26
27 static GType gst_video_chroma_mode_get_type()
28 {
29 static GType const type = g_type_from_name("GstVideoChromaMode");
30 return type;
31 }
32
33 static GType gst_video_matrix_mode_get_type()
34 {
35 static GType const type = g_type_from_name("GstVideoMatrixMode");
36 return type;
37 }
38
39 static GType gst_video_gamma_mode_get_type()
40 {
41 static GType const type = g_type_from_name("GstVideoGammaMode");
42 return type;
43 }
44
45 static GType gst_video_primaries_mode_get_type()
46 {
47 static GType const type = g_type_from_name("GstVideoPrimariesMode");
48 return type;
49 }
50
51 GType gst_video_convert_gstreamermm_get_type()
52 {
53 static GType type = 0;
54 GstElementFactory* factory = 0;
55 GstPluginFeature* feature = 0;
56
57 if(!type)
58 {
59 factory = gst_element_factory_find("videoconvert");
60 // Make sure that the feature is actually loaded:
61 if(factory)
62 {
63 feature =
64 gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));
65
66 g_object_unref(factory);
67 factory = GST_ELEMENT_FACTORY(feature);
68 type = gst_element_factory_get_element_type(factory);
69 g_object_unref(factory);
70 }
71 }
72
73 return type;
74 }
75
76 } // extern "C"
77
78 namespace Gst
79 {
80
81 VideoConvert::VideoConvert()
82 : _CONSTRUCT("name", static_cast<char*>(0))
83 {}
84
85 VideoConvert::VideoConvert(const Glib::ustring& name)
86 : _CONSTRUCT("name", name.c_str())
87 {}
88
89 }