Debian Codegraph @

gstreamer/gstreamermm/videoformat.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/videoformat.h>
7 #include <gstreamermm/private/videoformat_p.h>
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008-2009 The gstreamermm Development Team
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 */
28
29 namespace Gst
30 {
31 VideoFormatInfo::VideoFormatInfo(const GstVideoFormatInfo* castitem)
32 {
33 gobj_ = castitem;
34 }
35
36 VideoFormatInfo::~VideoFormatInfo()
37 {
38 }
39 }
40
41 namespace
42 {
43 } // anonymous namespace
44
45 // static
46 GType Glib::Value<Gst::VideoFormat>::value_type()
47 {
48 return gst_video_format_get_type();
49 }
50
51 // static
52 GType Glib::Value<Gst::VideoFormatFlags>::value_type()
53 {
54 return gst_video_format_flags_get_type();
55 }
56
57 // static
58 GType Glib::Value<Gst::VideoPackFlags>::value_type()
59 {
60 return gst_video_pack_flags_get_type();
61 }
62
63
64 namespace Gst
65 {
66
67
68 VideoFormat VideoFormatInfo::get_format() const
69 {
70 return ((VideoFormat)(gobj()->format));
71 }
72
73 Glib::ustring VideoFormatInfo::get_name() const
74 {
75 return Glib::convert_const_gchar_ptr_to_ustring(gobj()->name);
76 }
77
78 Glib::ustring VideoFormatInfo::get_description() const
79 {
80 return Glib::convert_const_gchar_ptr_to_ustring(gobj()->description);
81 }
82
83 VideoFormatFlags VideoFormatInfo::get_flags() const
84 {
85 return ((VideoFormatFlags)(gobj()->flags));
86 }
87
88 guint VideoFormatInfo::get_bits() const
89 {
90 return gobj()->bits;
91 }
92
93 guint VideoFormatInfo::get_n_components() const
94 {
95 return gobj()->n_components;
96 }
97
98 guint VideoFormatInfo::get_n_planes() const
99 {
100 return gobj()->n_planes;
101 }
102
103 VideoFormat VideoFormatInfo::get_unpack_format() const
104 {
105 return ((VideoFormat)(gobj()->unpack_format));
106 }
107
108 gint VideoFormatInfo::get_pack_lines() const
109 {
110 return gobj()->pack_lines;
111 }
112
113
114 } // namespace Gst
115
116