| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videochroma.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/videochroma.h>cxx . . $ `<file>/gstreamer/gstreamermm/videochroma.h`/ |
| 7 | #include <gstreamermm/private/videochroma_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videochroma_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 <gstreamermm/videoformat.h>cxx . . $ `<file>/gstreamer/gstreamermm/videoformat.h`/ |
| 30 | |
| 31 | namespace Gstcxx . . $ Gst/ |
| 32 | { |
| 33 | |
| 34 | namespace Enumscxx . . $ Gst/Enums/ |
| 35 | { |
| 36 | |
| 37 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# get_namecxx . . $ Gst/Enums/get_name(a1d3c3a991592d1a).(VideoChromaSitecxx . . $ Gst/VideoChromaSite# site) |
| 38 | { |
| 39 | return gst_video_chroma_to_stringcxx . . $ Glib/ustring#ustring(85c52e162fed56f9).(static_cast<GstVideoChromaSite>(site)); |
| 40 | } |
| 41 | |
| 42 | VideoChromaSitecxx . . $ Gst/VideoChromaSite# video_chroma_site_from_stringcxx . . $ Gst/Enums/video_chroma_site_from_string(e92ec060014e4245).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& s) |
| 43 | { |
| 44 | return static_cast<VideoChromaSitecxx . . $ Gst/VideoChromaSite#>(gst_video_chroma_from_string(s.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 45 | } |
| 46 | |
| 47 | } |
| 48 | |
| 49 | VideoChromaResamplecxx . . $ Gst/VideoChromaResample#::VideoChromaResamplecxx . . $ Gst/VideoChromaResample#VideoChromaResample(a65f8bb29f23dffa).(Gstcxx . . $ Gst/::VideoChromaMethodcxx . . $ Gst/VideoChromaMethod# method, Gstcxx . . $ Gst/::VideoChromaSitecxx . . $ Gst/VideoChromaSite# site, |
| 50 | Gstcxx . . $ Gst/::VideoChromaFlagscxx . . $ Gst/VideoChromaFlags# flags, Gstcxx . . $ Gst/::VideoFormatcxx . . $ Gst/VideoFormat# format, gint h_factor, gint v_factor) |
| 51 | { |
| 52 | gobject_cxx . . $ Gst/VideoChromaResample#gobject_. = gst_video_chroma_resample_new (static_cast<GstVideoChromaMethod>(method), |
| 53 | static_cast<GstVideoChromaSite>(site), static_cast<GstVideoChromaFlags>(flags), |
| 54 | static_cast<GstVideoFormat>(format), h_factor, v_factor); |
| 55 | } |
| 56 | |
| 57 | VideoChromaResamplecxx . . $ Gst/VideoChromaResample#::VideoChromaResamplecxx . . $ Gst/VideoChromaResample#VideoChromaResample(a5dbd72b0c701544).(GstVideoChromaResample* castitem) |
| 58 | { |
| 59 | gobject_cxx . . $ Gst/VideoChromaResample#gobject_. = castitem; |
| 60 | } |
| 61 | |
| 62 | VideoChromaResamplecxx . . $ Gst/VideoChromaResample#::~cxx . . $ Gst/VideoChromaResample#`~VideoChromaResample`(ced63f7c635d850d).VideoChromaResamplecxx . . $ Gst/VideoChromaResample#() |
| 63 | { |
| 64 | gst_video_chroma_resample_free(gobject_cxx . . $ Gst/VideoChromaResample#gobject_.); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videochroma.cc`/ |
| 69 | { |
| 70 | } // anonymous namespace |
| 71 | |
| 72 | // static |
| 73 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoChromaSite>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 74 | { |
| 75 | return gst_video_chroma_site_get_type(); |
| 76 | } |
| 77 | |
| 78 | // static |
| 79 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoChromaMethod>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 80 | { |
| 81 | return gst_video_chroma_method_get_type(); |
| 82 | } |
| 83 | |
| 84 | // static |
| 85 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::VideoChromaFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 86 | { |
| 87 | return gst_video_chroma_flags_get_type(); |
| 88 | } |
| 89 | |
| 90 | |
| 91 | namespace Gstcxx . . $ Gst/ |
| 92 | { |
| 93 | |
| 94 | |
| 95 | void VideoChromaResamplecxx . . $ Gst/VideoChromaResample#::get_infocxx . . $ Gst/VideoChromaResample#get_info(6e1a438f27fb2c0c).(guint& n_lines, gint& offset) const |
| 96 | { |
| 97 | gst_video_chroma_resample_get_info(const_cast<GstVideoChromaResample*>(gobjcxx . . $ Gst/VideoChromaResample#gobj(93f56d581e7cdfd5).()), &(n_lines), &(offset)); |
| 98 | } |
| 99 | |
| 100 | |
| 101 | } // namespace Gst |
| 102 | |
| 103 |