| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videoinfo.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/videoinfo.h>cxx . . $ `<file>/gstreamer/gstreamermm/videoinfo.h`/ |
| 7 | #include <gstreamermm/private/videoinfo_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videoinfo_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 | namespace Gstcxx . . $ Gst/ |
| 30 | { |
| 31 | VideoInfocxx . . $ Gst/VideoInfo#::VideoInfocxx . . $ Gst/VideoInfo#VideoInfo(49f6e7a06ebc5aa8).() |
| 32 | : take_ownershipcxx . . $ Gst/VideoInfo#take_ownership.(true) |
| 33 | { |
| 34 | gobject_cxx . . $ Gst/VideoInfo#gobject_. = gst_video_info_new(); |
| 35 | } |
| 36 | |
| 37 | VideoInfocxx . . $ Gst/VideoInfo#::VideoInfocxx . . $ Gst/VideoInfo#VideoInfo(aefd9d03eb4b58e1).(const VideoInfocxx . . $ Gst/VideoInfo#& other) |
| 38 | { |
| 39 | gobject_cxx . . $ Gst/VideoInfo#gobject_. = gst_video_info_copy(other.gobject_cxx . . $ Gst/VideoInfo#gobject_.); |
| 40 | take_ownershipcxx . . $ Gst/VideoInfo#take_ownership. = true; |
| 41 | } |
| 42 | |
| 43 | VideoInfocxx . . $ Gst/VideoInfo#& VideoInfocxx . . $ Gst/VideoInfo#::operatorcxx . . $ Gst/VideoInfo#`operator=`(536185fe95aff9f).=(const VideoInfocxx . . $ Gst/VideoInfo#& other) |
| 44 | { |
| 45 | if (take_ownershipcxx . . $ Gst/VideoInfo#take_ownership.) |
| 46 | gst_video_info_free(gobject_cxx . . $ Gst/VideoInfo#gobject_.); |
| 47 | |
| 48 | take_ownershipcxx . . $ Gst/VideoInfo#take_ownership. = true; |
| 49 | gobject_cxx . . $ Gst/VideoInfo#gobject_. = gst_video_info_copy(other.gobject_cxx . . $ Gst/VideoInfo#gobject_.); |
| 50 | |
| 51 | return *this; |
| 52 | } |
| 53 | |
| 54 | VideoInfocxx . . $ Gst/VideoInfo#::VideoInfocxx . . $ Gst/VideoInfo#VideoInfo(b67ad569bc93a3b9).(GstVideoInfo* castitem, bool take_ownership) |
| 55 | : gobject_cxx . . $ Gst/VideoInfo#gobject_.(castitem), |
| 56 | take_ownershipcxx . . $ Gst/VideoInfo#take_ownership.(take_ownership) |
| 57 | { |
| 58 | } |
| 59 | |
| 60 | VideoInfocxx . . $ Gst/VideoInfo#::~cxx . . $ Gst/VideoInfo#`~VideoInfo`(ced63f7c635d850d).VideoInfocxx . . $ Gst/VideoInfo#() |
| 61 | { |
| 62 | if (take_ownershipcxx . . $ Gst/VideoInfo#take_ownership.) |
| 63 | gst_video_info_free(gobject_cxx . . $ Gst/VideoInfo#gobject_.); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videoinfo.cc`/ |
| 68 | { |
| 69 | } // anonymous namespace |
| 70 | |
| 71 | // static |
| 72 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoInterlaceMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 73 | { |
| 74 | return gst_video_interlace_mode_get_type(); |
| 75 | } |
| 76 | |
| 77 | // static |
| 78 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoMultiviewMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 79 | { |
| 80 | return gst_video_multiview_mode_get_type(); |
| 81 | } |
| 82 | |
| 83 | // static |
| 84 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoMultiviewFramePacking>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 85 | { |
| 86 | return gst_video_multiview_frame_packing_get_type(); |
| 87 | } |
| 88 | |
| 89 | // static |
| 90 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoMultiviewFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 91 | { |
| 92 | return gst_video_multiview_flags_get_type(); |
| 93 | } |
| 94 | |
| 95 | // static |
| 96 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 97 | { |
| 98 | return gst_video_flags_get_type(); |
| 99 | } |
| 100 | |
| 101 | |
| 102 | namespace Gstcxx . . $ Gst/ |
| 103 | { |
| 104 | |
| 105 | |
| 106 | void VideoInfocxx . . $ Gst/VideoInfo#::initcxx . . $ Gst/VideoInfo#init(49f6e7a06ebc5aa8).() |
| 107 | { |
| 108 | gst_video_info_init(gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()); |
| 109 | } |
| 110 | |
| 111 | void VideoInfocxx . . $ Gst/VideoInfo#::set_formatcxx . . $ Gst/VideoInfo#set_format(ef3c41c16d5e8193).(Gstcxx . . $ Gst/::VideoFormatcxx . . $ Gst/VideoFormat# format, guint width, guint height) |
| 112 | { |
| 113 | gst_video_info_set_format(gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).(), ((GstVideoFormat)(format)), width, height); |
| 114 | } |
| 115 | |
| 116 | bool VideoInfocxx . . $ Gst/VideoInfo#::from_capscxx . . $ Gst/VideoInfo#from_caps(f64280a2813dcce4).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 117 | { |
| 118 | return gst_video_info_from_caps(gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)); |
| 119 | } |
| 120 | |
| 121 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> VideoInfocxx . . $ Gst/VideoInfo#::to_capscxx . . $ Gst/VideoInfo#to_caps(4265aad93b8ec881).() const |
| 122 | { |
| 123 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_video_info_to_caps(const_cast<GstVideoInfo*>(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()))); |
| 124 | } |
| 125 | |
| 126 | bool VideoInfocxx . . $ Gst/VideoInfo#::convertcxx . . $ Gst/VideoInfo#convert(e4a72180bff2429b).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# src_format, gint64 src_value, Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# dest_format, gint64& dest_value) |
| 127 | { |
| 128 | return gst_video_info_convert(gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).(), ((GstFormat)(src_format)), src_value, ((GstFormat)(dest_format)), &(dest_value)); |
| 129 | } |
| 130 | |
| 131 | bool VideoInfocxx . . $ Gst/VideoInfo#::is_equalcxx . . $ Gst/VideoInfo#is_equal(dc081b53993ef483).(const Gstcxx . . $ Gst/::VideoInfocxx . . $ Gst/VideoInfo#& other) const |
| 132 | { |
| 133 | return gst_video_info_is_equal(const_cast<GstVideoInfo*>(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()), other.gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()); |
| 134 | } |
| 135 | |
| 136 | const VideoFormatInfocxx . . $ Gst/VideoFormatInfo# VideoInfocxx . . $ Gst/VideoInfo#::get_finfocxx . . $ Gst/VideoInfo#get_finfo(230417ff25f77594).() const |
| 137 | { |
| 138 | return VideoFormatInfocxx . . $ Gst/VideoFormatInfo#(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->finfocxx . . $ _GstVideoInfo#finfo.); |
| 139 | } |
| 140 | |
| 141 | Gstcxx . . $ Gst/::VideoInterlaceModecxx . . $ Gst/VideoInterlaceMode# VideoInfocxx . . $ Gst/VideoInfo#::get_interlace_modecxx . . $ Gst/VideoInfo#get_interlace_mode(2cacd45a21241376).() const |
| 142 | { |
| 143 | return ((Gstcxx . . $ Gst/::VideoInterlaceModecxx . . $ Gst/VideoInterlaceMode#)(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->interlace_modecxx . . $ _GstVideoInfo#interlace_mode.)); |
| 144 | } |
| 145 | |
| 146 | void VideoInfocxx . . $ Gst/VideoInfo#::set_interlace_modecxx . . $ Gst/VideoInfo#set_interlace_mode(896bb58e18d5eacd).(const Gstcxx . . $ Gst/::VideoInterlaceModecxx . . $ Gst/VideoInterlaceMode#& value) |
| 147 | { |
| 148 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->interlace_modecxx . . $ _GstVideoInfo#interlace_mode. = ((GstVideoInterlaceMode)(value)); |
| 149 | } |
| 150 | |
| 151 | Gstcxx . . $ Gst/::VideoFlagscxx . . $ Gst/VideoFlags# VideoInfocxx . . $ Gst/VideoInfo#::get_flagscxx . . $ Gst/VideoInfo#get_flags(9a5abcc42e310dd4).() const |
| 152 | { |
| 153 | return ((Gstcxx . . $ Gst/::VideoFlagscxx . . $ Gst/VideoFlags#)(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->flagscxx . . $ _GstVideoInfo#flags.)); |
| 154 | } |
| 155 | |
| 156 | void VideoInfocxx . . $ Gst/VideoInfo#::set_flagscxx . . $ Gst/VideoInfo#set_flags(e50fccbb4a35663b).(const Gstcxx . . $ Gst/::VideoFlagscxx . . $ Gst/VideoFlags#& value) |
| 157 | { |
| 158 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->flagscxx . . $ _GstVideoInfo#flags. = ((GstVideoFlags)(value)); |
| 159 | } |
| 160 | |
| 161 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_widthcxx . . $ Gst/VideoInfo#get_width(455f465bc33b4cdf).() const |
| 162 | { |
| 163 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->widthcxx . . $ _GstVideoInfo#width.; |
| 164 | } |
| 165 | |
| 166 | void VideoInfocxx . . $ Gst/VideoInfo#::set_widthcxx . . $ Gst/VideoInfo#set_width(794bbbca577513a2).(const gint& value) |
| 167 | { |
| 168 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->widthcxx . . $ _GstVideoInfo#width. = value; |
| 169 | } |
| 170 | |
| 171 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_heightcxx . . $ Gst/VideoInfo#get_height(455f465bc33b4cdf).() const |
| 172 | { |
| 173 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->heightcxx . . $ _GstVideoInfo#height.; |
| 174 | } |
| 175 | |
| 176 | void VideoInfocxx . . $ Gst/VideoInfo#::set_heightcxx . . $ Gst/VideoInfo#set_height(794bbbca577513a2).(const gint& value) |
| 177 | { |
| 178 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->heightcxx . . $ _GstVideoInfo#height. = value; |
| 179 | } |
| 180 | |
| 181 | gsize VideoInfocxx . . $ Gst/VideoInfo#::get_sizecxx . . $ Gst/VideoInfo#get_size(fe4d2d262d4164a8).() const |
| 182 | { |
| 183 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->sizecxx . . $ _GstVideoInfo#size.; |
| 184 | } |
| 185 | |
| 186 | void VideoInfocxx . . $ Gst/VideoInfo#::set_sizecxx . . $ Gst/VideoInfo#set_size(ae19885fdae2095).(const gsize& value) |
| 187 | { |
| 188 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->sizecxx . . $ _GstVideoInfo#size. = value; |
| 189 | } |
| 190 | |
| 191 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_viewscxx . . $ Gst/VideoInfo#get_views(455f465bc33b4cdf).() const |
| 192 | { |
| 193 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->viewscxx . . $ _GstVideoInfo#views.; |
| 194 | } |
| 195 | |
| 196 | void VideoInfocxx . . $ Gst/VideoInfo#::set_viewscxx . . $ Gst/VideoInfo#set_views(794bbbca577513a2).(const gint& value) |
| 197 | { |
| 198 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->viewscxx . . $ _GstVideoInfo#views. = value; |
| 199 | } |
| 200 | |
| 201 | Gstcxx . . $ Gst/::VideoChromaSitecxx . . $ Gst/VideoChromaSite# VideoInfocxx . . $ Gst/VideoInfo#::get_chroma_sitecxx . . $ Gst/VideoInfo#get_chroma_site(736d3734ca3a4e71).() const |
| 202 | { |
| 203 | return ((Gstcxx . . $ Gst/::VideoChromaSitecxx . . $ Gst/VideoChromaSite#)(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->chroma_sitecxx . . $ _GstVideoInfo#chroma_site.)); |
| 204 | } |
| 205 | |
| 206 | void VideoInfocxx . . $ Gst/VideoInfo#::set_chroma_sitecxx . . $ Gst/VideoInfo#set_chroma_site(bdb901476e6ac6e3).(const Gstcxx . . $ Gst/::VideoChromaSitecxx . . $ Gst/VideoChromaSite#& value) |
| 207 | { |
| 208 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->chroma_sitecxx . . $ _GstVideoInfo#chroma_site. = ((GstVideoChromaSite)(value)); |
| 209 | } |
| 210 | |
| 211 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_par_ncxx . . $ Gst/VideoInfo#get_par_n(455f465bc33b4cdf).() const |
| 212 | { |
| 213 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->par_ncxx . . $ _GstVideoInfo#par_n.; |
| 214 | } |
| 215 | |
| 216 | void VideoInfocxx . . $ Gst/VideoInfo#::set_par_ncxx . . $ Gst/VideoInfo#set_par_n(794bbbca577513a2).(const gint& value) |
| 217 | { |
| 218 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->par_ncxx . . $ _GstVideoInfo#par_n. = value; |
| 219 | } |
| 220 | |
| 221 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_par_dcxx . . $ Gst/VideoInfo#get_par_d(455f465bc33b4cdf).() const |
| 222 | { |
| 223 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->par_dcxx . . $ _GstVideoInfo#par_d.; |
| 224 | } |
| 225 | |
| 226 | void VideoInfocxx . . $ Gst/VideoInfo#::set_par_dcxx . . $ Gst/VideoInfo#set_par_d(794bbbca577513a2).(const gint& value) |
| 227 | { |
| 228 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->par_dcxx . . $ _GstVideoInfo#par_d. = value; |
| 229 | } |
| 230 | |
| 231 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_fps_ncxx . . $ Gst/VideoInfo#get_fps_n(455f465bc33b4cdf).() const |
| 232 | { |
| 233 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->fps_ncxx . . $ _GstVideoInfo#fps_n.; |
| 234 | } |
| 235 | |
| 236 | void VideoInfocxx . . $ Gst/VideoInfo#::set_fps_ncxx . . $ Gst/VideoInfo#set_fps_n(794bbbca577513a2).(const gint& value) |
| 237 | { |
| 238 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->fps_ncxx . . $ _GstVideoInfo#fps_n. = value; |
| 239 | } |
| 240 | |
| 241 | gint VideoInfocxx . . $ Gst/VideoInfo#::get_fps_dcxx . . $ Gst/VideoInfo#get_fps_d(455f465bc33b4cdf).() const |
| 242 | { |
| 243 | return gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->fps_dcxx . . $ _GstVideoInfo#fps_d.; |
| 244 | } |
| 245 | |
| 246 | void VideoInfocxx . . $ Gst/VideoInfo#::set_fps_dcxx . . $ Gst/VideoInfo#set_fps_d(794bbbca577513a2).(const gint& value) |
| 247 | { |
| 248 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->fps_dcxx . . $ _GstVideoInfo#fps_d. = value; |
| 249 | } |
| 250 | |
| 251 | Gstcxx . . $ Gst/::VideoMultiviewModecxx . . $ Gst/VideoMultiviewMode# VideoInfocxx . . $ Gst/VideoInfo#::get_multiview_modecxx . . $ Gst/VideoInfo#get_multiview_mode(bcb432f75cd72c06).() const |
| 252 | { |
| 253 | return ((Gstcxx . . $ Gst/::VideoMultiviewModecxx . . $ Gst/VideoMultiviewMode#)(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->ABIcxx . . $ _GstVideoInfo#ABI..abicxx . . $ _GstVideoInfo#$anonymous_type_0#abi..multiview_modecxx . . $ _GstVideoInfo#$anonymous_type_0#$anonymous_type_1#multiview_mode.)); |
| 254 | } |
| 255 | |
| 256 | void VideoInfocxx . . $ Gst/VideoInfo#::set_multiview_modecxx . . $ Gst/VideoInfo#set_multiview_mode(977b09e06dd2ffbd).(const Gstcxx . . $ Gst/::VideoMultiviewModecxx . . $ Gst/VideoMultiviewMode#& value) |
| 257 | { |
| 258 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->ABIcxx . . $ _GstVideoInfo#ABI..abicxx . . $ _GstVideoInfo#$anonymous_type_0#abi..multiview_modecxx . . $ _GstVideoInfo#$anonymous_type_0#$anonymous_type_1#multiview_mode. = ((GstVideoMultiviewMode)(value)); |
| 259 | } |
| 260 | |
| 261 | Gstcxx . . $ Gst/::VideoMultiviewFlagscxx . . $ Gst/VideoMultiviewFlags# VideoInfocxx . . $ Gst/VideoInfo#::get_multiview_flagscxx . . $ Gst/VideoInfo#get_multiview_flags(fc03edae57752109).() const |
| 262 | { |
| 263 | return ((Gstcxx . . $ Gst/::VideoMultiviewFlagscxx . . $ Gst/VideoMultiviewFlags#)(gobjcxx . . $ Gst/VideoInfo#gobj(7504e2817907d660).()->ABIcxx . . $ _GstVideoInfo#ABI..abicxx . . $ _GstVideoInfo#$anonymous_type_0#abi..multiview_flagscxx . . $ _GstVideoInfo#$anonymous_type_0#$anonymous_type_1#multiview_flags.)); |
| 264 | } |
| 265 | |
| 266 | void VideoInfocxx . . $ Gst/VideoInfo#::set_multiview_flagscxx . . $ Gst/VideoInfo#set_multiview_flags(3d53a016f5185fb8).(const Gstcxx . . $ Gst/::VideoMultiviewFlagscxx . . $ Gst/VideoMultiviewFlags#& value) |
| 267 | { |
| 268 | gobjcxx . . $ Gst/VideoInfo#gobj(ebd7d4f6a1bf6f44).()->ABIcxx . . $ _GstVideoInfo#ABI..abicxx . . $ _GstVideoInfo#$anonymous_type_0#abi..multiview_flagscxx . . $ _GstVideoInfo#$anonymous_type_0#$anonymous_type_1#multiview_flags. = ((GstVideoMultiviewFlags)(value)); |
| 269 | } |
| 270 | |
| 271 | |
| 272 | } // namespace Gst |
| 273 | |
| 274 |