Debian Codegraph @

gstreamer/gstreamermm/videoframe.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videoframe.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/videoframe.h>cxx . . $ `<file>/gstreamer/gstreamermm/videoframe.h`/
7 #include <gstreamermm/private/videoframe_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videoframe_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008-2015 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 #include <cstring>
30
31 namespace Gstcxx . . $ Gst/
32 {
33
34 VideoFramecxx . . $ Gst/VideoFrame#::VideoFramecxx . . $ Gst/VideoFrame#VideoFrame(49f6e7a06ebc5aa8).()
35 {
36 std::memset(&gobject_cxx . . $ Gst/VideoFrame#gobject_., 0, sizeof(GstVideoFrame));
37 }
38
39 VideoFramecxx . . $ Gst/VideoFrame#::VideoFramecxx . . $ Gst/VideoFrame#VideoFrame(99c5d3898d216496).(const GstVideoFrame* gobject)
40 {
41 if(gobject)
42 gobject_cxx . . $ Gst/VideoFrame#gobject_. =cxx . . $ _GstVideoFrame#`operator=`(f37f9310a3e6e213). *gobject;
43 else
44 std::memset(&gobject_cxx . . $ Gst/VideoFrame#gobject_., 0, sizeof(GstVideoFrame));
45 }
46 }
47
48 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videoframe.cc`/
49 {
50 } // anonymous namespace
51
52 // static
53 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoFrameFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
54 {
55 return gst_video_frame_flags_get_type();
56 }
57
58 // static
59 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoBufferFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
60 {
61 return gst_video_buffer_flags_get_type();
62 }
63
64 // static
65 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoFrameMapFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
66 {
67 return gst_video_frame_map_flags_get_type();
68 }
69
70
71 namespace Gstcxx . . $ Gst/
72 {
73
74
75 bool VideoFramecxx . . $ Gst/VideoFrame#::mapcxx . . $ Gst/VideoFrame#map(885eead9b62ba2be).(const Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo#& info, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer, Gstcxx . . $ Gst/::MapFlagscxx . . $ Gst/MapFlags# flags)
76 {
77 return gst_video_frame_map(gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).(), const_cast<GstVideoInfo*>(info.gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer), ((GstMapFlags)(flags)));
78 }
79
80 bool VideoFramecxx . . $ Gst/VideoFrame#::map_idcxx . . $ Gst/VideoFrame#map_id(c5bce0625f37e1ec).(const Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo#& info, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer, gint id, Gstcxx . . $ Gst/::MapFlagscxx . . $ Gst/MapFlags# flags)
81 {
82 return gst_video_frame_map_id(gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).(), const_cast<GstVideoInfo*>(info.gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer), id, ((GstMapFlags)(flags)));
83 }
84
85 void VideoFramecxx . . $ Gst/VideoFrame#::unmapcxx . . $ Gst/VideoFrame#unmap(49f6e7a06ebc5aa8).()
86 {
87 gst_video_frame_unmap(gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).());
88 }
89
90 bool VideoFramecxx . . $ Gst/VideoFrame#::copycxx . . $ Gst/VideoFrame#copy(e4865d7aef964b25).(const Gstcxx . . $ Gst/::VideoFramecxx . . $ Gst/VideoFrame#& dest, const Gstcxx . . $ Gst/::VideoFramecxx . . $ Gst/VideoFrame#& src)
91 {
92 return gst_video_frame_copy(const_cast<GstVideoFrame*>(dest.gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()), src.gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).());
93 }
94
95 bool VideoFramecxx . . $ Gst/VideoFrame#::copy_planecxx . . $ Gst/VideoFrame#copy_plane(81c93749161b58ec).(const Gstcxx . . $ Gst/::VideoFramecxx . . $ Gst/VideoFrame#& dest, const Gstcxx . . $ Gst/::VideoFramecxx . . $ Gst/VideoFrame#& src, guint plane)
96 {
97 return gst_video_frame_copy_plane(const_cast<GstVideoFrame*>(dest.gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()), src.gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).(), plane);
98 }
99
100 void VideoFramecxx . . $ Gst/VideoFrame#::set_infocxx . . $ Gst/VideoFrame#set_info(aefd9d03eb4b58e1).(const Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo#& value)
101 {
102 gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).()->infocxx . . $ _GstVideoFrame#info. =cxx . . $ _GstVideoInfo#`operator=`(b75b44feb40b8f63). *(value.gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).());
103 }
104
105 Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo# VideoFramecxx . . $ Gst/VideoFrame#::get_infocxx . . $ Gst/VideoFrame#get_info(d7b4fc897a5df4fb).() const
106 {
107 return Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo#(Gstcxx . . $ Gst/VideoInfo#VideoInfo(b67ad569bc93a3b9).::VideoInfocxx . . $ Gst/VideoInfo#(const_cast<GstVideoInfo*>(&gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()->infocxx . . $ _GstVideoFrame#info.), false));
108 }
109
110 void VideoFramecxx . . $ Gst/VideoFrame#::set_flagscxx . . $ Gst/VideoFrame#set_flags(46ea6467d89d382d).(const Gstcxx . . $ Gst/::VideoFrameFlagscxx . . $ Gst/VideoFrameFlags#& value)
111 {
112 gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).()->flagscxx . . $ _GstVideoFrame#flags. = ((GstVideoFrameFlags)(value));
113 }
114
115 Gstcxx . . $ Gst/::VideoFrameFlagscxx . . $ Gst/VideoFrameFlags# VideoFramecxx . . $ Gst/VideoFrame#::get_flagscxx . . $ Gst/VideoFrame#get_flags(2ec4da5db1e6ef8b).() const
116 {
117 return ((Gstcxx . . $ Gst/::VideoFrameFlagscxx . . $ Gst/VideoFrameFlags#)(gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()->flagscxx . . $ _GstVideoFrame#flags.));
118 }
119
120 void VideoFramecxx . . $ Gst/VideoFrame#::set_buffercxx . . $ Gst/VideoFrame#set_buffer(1c92f0efcb0d0a9f).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& value)
121 {
122 gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).()->buffercxx . . $ _GstVideoFrame#buffer. = Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(value);
123 }
124
125 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> VideoFramecxx . . $ Gst/VideoFrame#::get_buffercxx . . $ Gst/VideoFrame#get_buffer(b4e69e32e7a1ed5d).() const
126 {
127 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()->buffercxx . . $ _GstVideoFrame#buffer.);
128 }
129
130 void VideoFramecxx . . $ Gst/VideoFrame#::set_metacxx . . $ Gst/VideoFrame#set_meta(415e6c753b560bb3).(const gpointer& value)
131 {
132 gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).()->metacxx . . $ _GstVideoFrame#meta. = value;
133 }
134
135 gpointer VideoFramecxx . . $ Gst/VideoFrame#::get_metacxx . . $ Gst/VideoFrame#get_meta(45a5c5ac6be858a8).() const
136 {
137 return gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()->metacxx . . $ _GstVideoFrame#meta.;
138 }
139
140 void VideoFramecxx . . $ Gst/VideoFrame#::set_idcxx . . $ Gst/VideoFrame#set_id(794bbbca577513a2).(const gint& value)
141 {
142 gobjcxx . . $ Gst/VideoFrame#gobj(80c1aa938ef584bf).()->idcxx . . $ _GstVideoFrame#id. = value;
143 }
144
145 gint VideoFramecxx . . $ Gst/VideoFrame#::get_idcxx . . $ Gst/VideoFrame#get_id(455f465bc33b4cdf).() const
146 {
147 return gobjcxx . . $ Gst/VideoFrame#gobj(f6c867e9dd0f3e8f).()->idcxx . . $ _GstVideoFrame#id.;
148 }
149
150
151 } // namespace Gst
152
153