| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/query.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/query.h>cxx . . $ `<file>/gstreamer/gstreamermm/query.h`/ |
| 7 | #include <gstreamermm/private/query_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/query_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008 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 <gst/gst.h> |
| 30 | #include <gstreamermm/iterator.h>cxx . . $ `<file>/gstreamer/gstreamermm/iterator.h`/ |
| 31 | #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/ |
| 32 | |
| 33 | |
| 34 | #include <iostream> |
| 35 | |
| 36 | namespace Gstcxx . . $ Gst/ |
| 37 | { |
| 38 | |
| 39 | namespace Enumscxx . . $ Gst/Enums/ |
| 40 | { |
| 41 | |
| 42 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# get_namecxx . . $ Gst/Enums/get_name(d921da685d7d88ef).(QueryTypecxx . . $ Gst/QueryType# t) |
| 43 | { |
| 44 | return gst_query_type_get_namecxx . . $ Glib/ustring#ustring(85c52e162fed56f9).(static_cast<GstQueryType>(t)); |
| 45 | } |
| 46 | |
| 47 | Gstcxx . . $ Gst/::QueryTypeFlagscxx . . $ Gst/QueryTypeFlags# get_flagscxx . . $ Gst/Enums/get_flags(13b9ccadb8e90cdb).(QueryTypecxx . . $ Gst/QueryType# type) |
| 48 | { |
| 49 | return static_cast<Gstcxx . . $ Gst/::QueryTypeFlagscxx . . $ Gst/QueryTypeFlags#>(gst_query_type_get_flags(static_cast<GstQueryType>(type))); |
| 50 | } |
| 51 | |
| 52 | Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark# get_quarkcxx . . $ Gst/Enums/get_quark(fc4f9286dc107815).(QueryTypecxx . . $ Gst/QueryType# t) |
| 53 | { |
| 54 | return Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark#(gst_query_type_to_quark(static_cast<GstQueryType>(t))); |
| 55 | } |
| 56 | |
| 57 | } //namespace Enums |
| 58 | |
| 59 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_writablecxx . . $ Gst/Query#create_writable(69f77bd15c554518).() |
| 60 | { |
| 61 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Query>::cast_staticcxx . . $ Glib/RefPtr#cast_static(da6a15dd5ecab337).(MiniObjectcxx . . $ Gst/MiniObject#::create_writablecxx . . $ Gst/MiniObject#create_writable(92f2c868643191bf).()); |
| 62 | } |
| 63 | |
| 64 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryApplicationcxx . . $ Gst/QueryApplication#> |
| 65 | QueryApplicationcxx . . $ Gst/QueryApplication#::createcxx . . $ Gst/QueryApplication#create(5ffca213d035a51).(QueryTypecxx . . $ Gst/QueryType# type, const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& structure) |
| 66 | { |
| 67 | // Create copy because query takes ownership of structure: |
| 68 | GstStructure* copy_struct = gst_structure_copy(structure.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()); |
| 69 | GstQuery* query = gst_query_new_custom(GstQueryType(type), |
| 70 | copy_struct); |
| 71 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryApplicationcxx . . $ Gst/QueryApplication#>(query); |
| 72 | } |
| 73 | |
| 74 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryConvertcxx . . $ Gst/QueryConvert#> |
| 75 | QueryConvertcxx . . $ Gst/QueryConvert#::createcxx . . $ Gst/QueryConvert#create(b113f9c1f88ebaa0).(Formatcxx . . $ Gst/Format# src_format, gint64 value, Formatcxx . . $ Gst/Format# dest_format) |
| 76 | { |
| 77 | GstQuery* query = gst_query_new_convert(GstFormat(src_format), value, |
| 78 | GstFormat(dest_format)); |
| 79 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryConvertcxx . . $ Gst/QueryConvert#>(query); |
| 80 | } |
| 81 | |
| 82 | void QueryConvertcxx . . $ Gst/QueryConvert#::setcxx . . $ Gst/QueryConvert#set(a31493ae783c6be9).(Formatcxx . . $ Gst/Format# src_format, gint64 src_value, Formatcxx . . $ Gst/Format# dest_format, gint64 dest_value) |
| 83 | { |
| 84 | gst_query_set_convert(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstFormat(src_format), src_value, GstFormat(dest_format), dest_value); |
| 85 | } |
| 86 | |
| 87 | void QueryConvertcxx . . $ Gst/QueryConvert#::parsecxx . . $ Gst/QueryConvert#parse(b7e1e7614849880d).(Formatcxx . . $ Gst/Format#& src_format, gint64& src_value, Formatcxx . . $ Gst/Format#& dest_format, gint64& dest_value) const |
| 88 | { |
| 89 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 90 | reinterpret_cast<GstFormat*>(&src_format), &src_value, |
| 91 | reinterpret_cast<GstFormat*>(&dest_format), &dest_value); |
| 92 | } |
| 93 | |
| 94 | void QueryConvertcxx . . $ Gst/QueryConvert#::parsecxx . . $ Gst/QueryConvert#parse(2dda2a5d42036585).(Formatcxx . . $ Gst/Format#& dest_format, gint64& dest_value) const |
| 95 | { |
| 96 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 97 | reinterpret_cast<GstFormat*>(&dest_format), &dest_value); |
| 98 | } |
| 99 | |
| 100 | Formatcxx . . $ Gst/Format# QueryConvertcxx . . $ Gst/QueryConvert#::parse_src_formatcxx . . $ Gst/QueryConvert#parse_src_format(ea732059a5a183c8).() const |
| 101 | { |
| 102 | Formatcxx . . $ Gst/Format# src_format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 103 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 104 | reinterpret_cast<GstFormat*>(&src_format), nullptr, nullptr, nullptr); |
| 105 | return src_format; |
| 106 | } |
| 107 | |
| 108 | gint64 QueryConvertcxx . . $ Gst/QueryConvert#::parse_src_valuecxx . . $ Gst/QueryConvert#parse_src_value(57a65ae535d7db84).() const |
| 109 | { |
| 110 | gint64 src_value = 0; |
| 111 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, &src_value, |
| 112 | nullptr, nullptr); |
| 113 | return src_value; |
| 114 | } |
| 115 | |
| 116 | Formatcxx . . $ Gst/Format# QueryConvertcxx . . $ Gst/QueryConvert#::parse_dest_formatcxx . . $ Gst/QueryConvert#parse_dest_format(ea732059a5a183c8).() const |
| 117 | { |
| 118 | Formatcxx . . $ Gst/Format# dest_format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 119 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 120 | reinterpret_cast<GstFormat*>(&dest_format), nullptr); |
| 121 | return dest_format; |
| 122 | } |
| 123 | |
| 124 | gint64 QueryConvertcxx . . $ Gst/QueryConvert#::parse_dest_valuecxx . . $ Gst/QueryConvert#parse_dest_value(57a65ae535d7db84).() const |
| 125 | { |
| 126 | gint64 dest_value = 0; |
| 127 | gst_query_parse_convert(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, nullptr, |
| 128 | &dest_value); |
| 129 | return dest_value; |
| 130 | } |
| 131 | |
| 132 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryPositioncxx . . $ Gst/QueryPosition#> QueryPositioncxx . . $ Gst/QueryPosition#::createcxx . . $ Gst/QueryPosition#create(468db319d6979253).(Formatcxx . . $ Gst/Format# format) |
| 133 | { |
| 134 | GstQuery* query = gst_query_new_position(GstFormat(format)); |
| 135 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryPositioncxx . . $ Gst/QueryPosition#>(query); |
| 136 | } |
| 137 | |
| 138 | void QueryPositioncxx . . $ Gst/QueryPosition#::setcxx . . $ Gst/QueryPosition#set(385350c1b22bf960).(Formatcxx . . $ Gst/Format# format, gint64 position) |
| 139 | { |
| 140 | gst_query_set_position(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstFormat(format), position); |
| 141 | } |
| 142 | |
| 143 | void QueryPositioncxx . . $ Gst/QueryPosition#::parsecxx . . $ Gst/QueryPosition#parse(2dda2a5d42036585).(Formatcxx . . $ Gst/Format#& format, gint64& position) const |
| 144 | { |
| 145 | gst_query_parse_position(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 146 | reinterpret_cast<GstFormat*>(&format), &position); |
| 147 | } |
| 148 | |
| 149 | gint64 QueryPositioncxx . . $ Gst/QueryPosition#::parsecxx . . $ Gst/QueryPosition#parse(57a65ae535d7db84).() const |
| 150 | { |
| 151 | gint64 position = 0; |
| 152 | gst_query_parse_position(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, &position); |
| 153 | return position; |
| 154 | } |
| 155 | |
| 156 | Formatcxx . . $ Gst/Format# QueryPositioncxx . . $ Gst/QueryPosition#::parse_formatcxx . . $ Gst/QueryPosition#parse_format(ea732059a5a183c8).() const |
| 157 | { |
| 158 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 159 | gst_query_parse_position(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 160 | reinterpret_cast<GstFormat*>(&format), nullptr); |
| 161 | return format; |
| 162 | } |
| 163 | |
| 164 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryDurationcxx . . $ Gst/QueryDuration#> QueryDurationcxx . . $ Gst/QueryDuration#::createcxx . . $ Gst/QueryDuration#create(7bc9f1f6dfda805).(Formatcxx . . $ Gst/Format# format) |
| 165 | { |
| 166 | GstQuery* query = gst_query_new_duration(GstFormat(format)); |
| 167 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryDurationcxx . . $ Gst/QueryDuration#>(query); |
| 168 | } |
| 169 | |
| 170 | void QueryDurationcxx . . $ Gst/QueryDuration#::setcxx . . $ Gst/QueryDuration#set(385350c1b22bf960).(Formatcxx . . $ Gst/Format# format, gint64 duration) |
| 171 | { |
| 172 | gst_query_set_duration(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstFormat(format), duration); |
| 173 | } |
| 174 | |
| 175 | void QueryDurationcxx . . $ Gst/QueryDuration#::parsecxx . . $ Gst/QueryDuration#parse(2dda2a5d42036585).(Formatcxx . . $ Gst/Format#& format, gint64& duration) const |
| 176 | { |
| 177 | gst_query_parse_duration(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 178 | reinterpret_cast<GstFormat*>(&format), &duration); |
| 179 | } |
| 180 | |
| 181 | gint64 QueryDurationcxx . . $ Gst/QueryDuration#::parsecxx . . $ Gst/QueryDuration#parse(57a65ae535d7db84).() const |
| 182 | { |
| 183 | gint64 duration = 0; |
| 184 | gst_query_parse_duration(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, &duration); |
| 185 | return duration; |
| 186 | } |
| 187 | |
| 188 | Formatcxx . . $ Gst/Format# QueryDurationcxx . . $ Gst/QueryDuration#::parse_formatcxx . . $ Gst/QueryDuration#parse_format(ea732059a5a183c8).() const |
| 189 | { |
| 190 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 191 | gst_query_parse_duration(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 192 | reinterpret_cast<GstFormat*>(&format), 0); |
| 193 | return format; |
| 194 | } |
| 195 | |
| 196 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryLatencycxx . . $ Gst/QueryLatency#> QueryLatencycxx . . $ Gst/QueryLatency#::createcxx . . $ Gst/QueryLatency#create(e41e3b664567ec07).() |
| 197 | { |
| 198 | GstQuery* query = gst_query_new_latency(); |
| 199 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryLatencycxx . . $ Gst/QueryLatency#>(query); |
| 200 | } |
| 201 | |
| 202 | void QueryLatencycxx . . $ Gst/QueryLatency#::setcxx . . $ Gst/QueryLatency#set(32f40796f835ce64).(bool live, ClockTimecxx . . $ Gst/ClockTime# min_latency, ClockTimecxx . . $ Gst/ClockTime# max_latency) |
| 203 | { |
| 204 | gst_query_set_latency(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), live, GstClockTime(min_latency), GstClockTime(max_latency)); |
| 205 | } |
| 206 | |
| 207 | void QueryLatencycxx . . $ Gst/QueryLatency#::parsecxx . . $ Gst/QueryLatency#parse(9ba7a29ebbe72f60).(bool& live, ClockTimecxx . . $ Gst/ClockTime#& min_latency, ClockTimecxx . . $ Gst/ClockTime#& max_latency) const |
| 208 | { |
| 209 | gboolean glive = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 210 | gst_query_parse_latency(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &glive, |
| 211 | reinterpret_cast<ClockTimecxx . . $ Gst/ClockTime#*>(&min_latency), |
| 212 | reinterpret_cast<ClockTimecxx . . $ Gst/ClockTime#*>(&max_latency)); |
| 213 | live = glive; |
| 214 | } |
| 215 | |
| 216 | bool QueryLatencycxx . . $ Gst/QueryLatency#::parse_livecxx . . $ Gst/QueryLatency#parse_live(50ce9a9e25b4a850).() const |
| 217 | { |
| 218 | gboolean glive = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 219 | gst_query_parse_latency(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &glive, nullptr, nullptr); |
| 220 | return glive; |
| 221 | } |
| 222 | |
| 223 | ClockTimecxx . . $ Gst/ClockTime# QueryLatencycxx . . $ Gst/QueryLatency#::parse_mincxx . . $ Gst/QueryLatency#parse_min(fe4d2d262d4164a8).() const |
| 224 | { |
| 225 | ClockTimecxx . . $ Gst/ClockTime# min = 0; |
| 226 | gst_query_parse_latency(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 227 | reinterpret_cast<ClockTimecxx . . $ Gst/ClockTime#*>(&min), nullptr); |
| 228 | return min; |
| 229 | } |
| 230 | |
| 231 | ClockTimecxx . . $ Gst/ClockTime# QueryLatencycxx . . $ Gst/QueryLatency#::parse_maxcxx . . $ Gst/QueryLatency#parse_max(fe4d2d262d4164a8).() const |
| 232 | { |
| 233 | ClockTimecxx . . $ Gst/ClockTime# max = 0; |
| 234 | gst_query_parse_latency(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 235 | reinterpret_cast<ClockTimecxx . . $ Gst/ClockTime#*>(&max)); |
| 236 | return max; |
| 237 | } |
| 238 | |
| 239 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QuerySeekingcxx . . $ Gst/QuerySeeking#> QuerySeekingcxx . . $ Gst/QuerySeeking#::createcxx . . $ Gst/QuerySeeking#create(43545f7d31162a04).(Formatcxx . . $ Gst/Format# format) |
| 240 | { |
| 241 | GstQuery* query = gst_query_new_seeking(GstFormat(format)); |
| 242 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QuerySeekingcxx . . $ Gst/QuerySeeking#>(query); |
| 243 | } |
| 244 | |
| 245 | void QuerySeekingcxx . . $ Gst/QuerySeeking#::setcxx . . $ Gst/QuerySeeking#set(ab5d07439b72d371).(Formatcxx . . $ Gst/Format# format, bool seekable, gint64 segment_start, gint64 segment_end) |
| 246 | { |
| 247 | gst_query_set_seeking(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstFormat(format), seekable, segment_start, segment_end); |
| 248 | } |
| 249 | |
| 250 | void QuerySeekingcxx . . $ Gst/QuerySeeking#::parsecxx . . $ Gst/QuerySeeking#parse(23b315b29e1b103b).(Formatcxx . . $ Gst/Format#& format, bool& seekable, gint64& segment_start, gint64& segment_end) const |
| 251 | { |
| 252 | gboolean gseekable = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 253 | gst_query_parse_seeking(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 254 | reinterpret_cast<GstFormat*>(&format), &gseekable, &segment_start, |
| 255 | &segment_end); |
| 256 | seekable = gseekable; |
| 257 | } |
| 258 | |
| 259 | Formatcxx . . $ Gst/Format# QuerySeekingcxx . . $ Gst/QuerySeeking#::parse_formatcxx . . $ Gst/QuerySeeking#parse_format(ea732059a5a183c8).() const |
| 260 | { |
| 261 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 262 | gst_query_parse_seeking(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 263 | reinterpret_cast<GstFormat*>(&format), nullptr, nullptr, nullptr); |
| 264 | return format; |
| 265 | } |
| 266 | |
| 267 | bool QuerySeekingcxx . . $ Gst/QuerySeeking#::parse_seekablecxx . . $ Gst/QuerySeeking#parse_seekable(50ce9a9e25b4a850).() const |
| 268 | { |
| 269 | gboolean gseekable = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 270 | gst_query_parse_seeking(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 271 | &gseekable, nullptr, nullptr); |
| 272 | return gseekable; |
| 273 | } |
| 274 | |
| 275 | gint64 QuerySeekingcxx . . $ Gst/QuerySeeking#::parse_startcxx . . $ Gst/QuerySeeking#parse_start(57a65ae535d7db84).() const |
| 276 | { |
| 277 | gint64 start = 0; |
| 278 | gst_query_parse_seeking(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 279 | &start, nullptr); |
| 280 | return start; |
| 281 | } |
| 282 | |
| 283 | gint64 QuerySeekingcxx . . $ Gst/QuerySeeking#::parse_endcxx . . $ Gst/QuerySeeking#parse_end(57a65ae535d7db84).() const |
| 284 | { |
| 285 | gint64 end = 0; |
| 286 | gst_query_parse_seeking(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, nullptr, |
| 287 | &end); |
| 288 | return end; |
| 289 | } |
| 290 | |
| 291 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryFormatscxx . . $ Gst/QueryFormats#> QueryFormatscxx . . $ Gst/QueryFormats#::createcxx . . $ Gst/QueryFormats#create(bbe54cada8f4beaf).() |
| 292 | { |
| 293 | GstQuery* query = gst_query_new_formats(); |
| 294 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryFormatscxx . . $ Gst/QueryFormats#>(query); |
| 295 | } |
| 296 | |
| 297 | void QueryFormatscxx . . $ Gst/QueryFormats#::setcxx . . $ Gst/QueryFormats#set(487874ed11be2b24).(const Glibcxx . . $ Glib/::ArrayHandlecxx . . $ Glib/ArrayHandle#<Formatcxx . . $ Gst/Format#>& formats) |
| 298 | { |
| 299 | gst_query_set_formatsv(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), formats.sizecxx . . $ Glib/ArrayHandle#size(fe4d2d262d4164a8).(), |
| 300 | reinterpret_cast<GstFormat*>(const_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#*>(formats.datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()))); |
| 301 | } |
| 302 | |
| 303 | void QueryFormatscxx . . $ Gst/QueryFormats#::setcxx . . $ Gst/QueryFormats#set(cdf70f29d7044f7d).(int n_formats, const Glibcxx . . $ Glib/::ArrayHandlecxx . . $ Glib/ArrayHandle#<Formatcxx . . $ Gst/Format#>& formats) |
| 304 | { |
| 305 | gst_query_set_formatsv(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), n_formats, |
| 306 | reinterpret_cast<GstFormat*>(const_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#*>(formats.datacxx . . $ Glib/ArrayHandle#data(b6fa4944fac54184).()))); |
| 307 | } |
| 308 | |
| 309 | guint QueryFormatscxx . . $ Gst/QueryFormats#::parse_lengthcxx . . $ Gst/QueryFormats#parse_length(ddd8539a2fcdd4ce).() const |
| 310 | { |
| 311 | guint n_formats = 0; |
| 312 | gst_query_parse_n_formats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &n_formats); |
| 313 | return n_formats; |
| 314 | } |
| 315 | |
| 316 | Formatcxx . . $ Gst/Format# QueryFormatscxx . . $ Gst/QueryFormats#::parsecxx . . $ Gst/QueryFormats#parse(8f384ab7b7c1fc11).(guint nth) const |
| 317 | { |
| 318 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 319 | gst_query_parse_nth_format(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nth, |
| 320 | reinterpret_cast<GstFormat*>(&format)); |
| 321 | return format; |
| 322 | } |
| 323 | |
| 324 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QuerySegmentcxx . . $ Gst/QuerySegment#> QuerySegmentcxx . . $ Gst/QuerySegment#::createcxx . . $ Gst/QuerySegment#create(eaa7be637c475161).(Formatcxx . . $ Gst/Format# format) |
| 325 | { |
| 326 | GstQuery* query = gst_query_new_segment(GstFormat(format)); |
| 327 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QuerySegmentcxx . . $ Gst/QuerySegment#>(query); |
| 328 | } |
| 329 | |
| 330 | void QuerySegmentcxx . . $ Gst/QuerySegment#::setcxx . . $ Gst/QuerySegment#set(4f116b746be9341d).(double rate, Formatcxx . . $ Gst/Format# format, gint64 start_value, gint64 stop_value) |
| 331 | { |
| 332 | gst_query_set_segment(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), rate, static_cast<GstFormat>(format), |
| 333 | start_value, stop_value); |
| 334 | } |
| 335 | |
| 336 | void QuerySegmentcxx . . $ Gst/QuerySegment#::parsecxx . . $ Gst/QuerySegment#parse(524b0be592b406bb).(double& rate, Formatcxx . . $ Gst/Format#& format, gint64& start_value, gint64& stop_value) const |
| 337 | { |
| 338 | gst_query_parse_segment(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &rate, |
| 339 | reinterpret_cast<GstFormat*>(&format), &start_value, &stop_value); |
| 340 | } |
| 341 | |
| 342 | double QuerySegmentcxx . . $ Gst/QuerySegment#::parse_ratecxx . . $ Gst/QuerySegment#parse_rate(21b6c25e127938e2).() const |
| 343 | { |
| 344 | double rate = 0; |
| 345 | gst_query_parse_segment(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &rate, nullptr, |
| 346 | nullptr, nullptr); |
| 347 | return rate; |
| 348 | } |
| 349 | |
| 350 | Formatcxx . . $ Gst/Format# QuerySegmentcxx . . $ Gst/QuerySegment#::parse_formatcxx . . $ Gst/QuerySegment#parse_format(ea732059a5a183c8).() const |
| 351 | { |
| 352 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 353 | gst_query_parse_segment(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 354 | reinterpret_cast<GstFormat*>(&format), nullptr, nullptr); |
| 355 | return format; |
| 356 | } |
| 357 | |
| 358 | gint64 QuerySegmentcxx . . $ Gst/QuerySegment#::parse_startcxx . . $ Gst/QuerySegment#parse_start(57a65ae535d7db84).() const |
| 359 | { |
| 360 | gint64 start = 0; |
| 361 | gst_query_parse_segment(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 362 | &start, nullptr); |
| 363 | return start; |
| 364 | } |
| 365 | |
| 366 | gint64 QuerySegmentcxx . . $ Gst/QuerySegment#::parse_stopcxx . . $ Gst/QuerySegment#parse_stop(57a65ae535d7db84).() const |
| 367 | { |
| 368 | gint64 stop = 0; |
| 369 | gst_query_parse_segment(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 370 | nullptr, &stop); |
| 371 | return stop; |
| 372 | } |
| 373 | |
| 374 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryBufferingcxx . . $ Gst/QueryBuffering#> QueryBufferingcxx . . $ Gst/QueryBuffering#::createcxx . . $ Gst/QueryBuffering#create(a32e716be17c8b2e).(Formatcxx . . $ Gst/Format# format) |
| 375 | { |
| 376 | GstQuery* query = gst_query_new_buffering(GstFormat(format)); |
| 377 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryBufferingcxx . . $ Gst/QueryBuffering#>(query); |
| 378 | } |
| 379 | |
| 380 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::setcxx . . $ Gst/QueryBuffering#set(b994e01f1c45a386).(bool busy, int percent) |
| 381 | { |
| 382 | gst_query_set_buffering_percent(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), busy, percent); |
| 383 | } |
| 384 | |
| 385 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::parsecxx . . $ Gst/QueryBuffering#parse(1172370bf479c1ad).(bool& busy, int& percent) const |
| 386 | { |
| 387 | gboolean gbusy = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 388 | gst_query_parse_buffering_percent(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &gbusy, |
| 389 | &percent); |
| 390 | busy = gbusy; |
| 391 | } |
| 392 | |
| 393 | bool QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_busycxx . . $ Gst/QueryBuffering#parse_busy(50ce9a9e25b4a850).() const |
| 394 | { |
| 395 | gboolean gbusy = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 396 | gst_query_parse_buffering_percent(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &gbusy, |
| 397 | 0); |
| 398 | return gbusy; |
| 399 | } |
| 400 | |
| 401 | int QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_percentcxx . . $ Gst/QueryBuffering#parse_percent(455f465bc33b4cdf).() const |
| 402 | { |
| 403 | int percent = 0; |
| 404 | gst_query_parse_buffering_percent(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 405 | &percent); |
| 406 | return percent; |
| 407 | } |
| 408 | |
| 409 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::setcxx . . $ Gst/QueryBuffering#set(6652d24c1dba3e88).(BufferingModecxx . . $ Gst/BufferingMode# mode, int avg_in, int avg_out, gint64 buffering_left) |
| 410 | { |
| 411 | gst_query_set_buffering_stats(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), static_cast<GstBufferingMode>(mode), |
| 412 | avg_in, avg_out, buffering_left); |
| 413 | } |
| 414 | |
| 415 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::parsecxx . . $ Gst/QueryBuffering#parse(a15e8f77e86a1eb4).(BufferingModecxx . . $ Gst/BufferingMode#& mode, int& avg_in, int& avg_out, gint64 buffering_left) const |
| 416 | { |
| 417 | gst_query_parse_buffering_stats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 418 | reinterpret_cast<GstBufferingMode*>(&mode), &avg_in, &avg_out, |
| 419 | &buffering_left); |
| 420 | } |
| 421 | |
| 422 | BufferingModecxx . . $ Gst/BufferingMode# QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_modecxx . . $ Gst/QueryBuffering#parse_mode(eac3167818c77e49).() const |
| 423 | { |
| 424 | BufferingModecxx . . $ Gst/BufferingMode# mode = Gstcxx . . $ Gst/::BUFFERING_STREAMcxx . . $ Gst/BUFFERING_STREAM.; |
| 425 | gst_query_parse_buffering_stats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 426 | reinterpret_cast<GstBufferingMode*>(&mode), nullptr, nullptr, nullptr); |
| 427 | return mode; |
| 428 | } |
| 429 | |
| 430 | int QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_input_ratecxx . . $ Gst/QueryBuffering#parse_input_rate(455f465bc33b4cdf).() const |
| 431 | { |
| 432 | int avg_in = 0; |
| 433 | gst_query_parse_buffering_stats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 434 | &avg_in, nullptr, nullptr); |
| 435 | return avg_in; |
| 436 | } |
| 437 | |
| 438 | int QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_output_ratecxx . . $ Gst/QueryBuffering#parse_output_rate(455f465bc33b4cdf).() const |
| 439 | { |
| 440 | int avg_out = 0; |
| 441 | gst_query_parse_buffering_stats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, nullptr, |
| 442 | &avg_out, nullptr); |
| 443 | return avg_out; |
| 444 | } |
| 445 | |
| 446 | gint64 QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_time_leftcxx . . $ Gst/QueryBuffering#parse_time_left(57a65ae535d7db84).() const |
| 447 | { |
| 448 | gint64 buffering_left = Gstcxx . . $ Gst/::BUFFERING_STREAMcxx . . $ Gst/BUFFERING_STREAM.; |
| 449 | gst_query_parse_buffering_stats(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 450 | nullptr, nullptr, &buffering_left); |
| 451 | return buffering_left; |
| 452 | } |
| 453 | |
| 454 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::setcxx . . $ Gst/QueryBuffering#set(1e0255373c3d36b7).(Formatcxx . . $ Gst/Format# format, gint64 start, gint64 stop, gint64 estimated_total) |
| 455 | { |
| 456 | gst_query_set_buffering_range(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), static_cast<GstFormat>(format), |
| 457 | start, stop, estimated_total); |
| 458 | } |
| 459 | |
| 460 | void QueryBufferingcxx . . $ Gst/QueryBuffering#::parsecxx . . $ Gst/QueryBuffering#parse(15f0ae386cf34541).(Formatcxx . . $ Gst/Format#& format, gint64& start, gint64& stop, gint64& estimated_total) const |
| 461 | { |
| 462 | gst_query_parse_buffering_range(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 463 | reinterpret_cast<GstFormat*>(&format), &start, &stop, &estimated_total); |
| 464 | } |
| 465 | |
| 466 | Formatcxx . . $ Gst/Format# QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_formatcxx . . $ Gst/QueryBuffering#parse_format(ea732059a5a183c8).() const |
| 467 | { |
| 468 | Formatcxx . . $ Gst/Format# format = Gstcxx . . $ Gst/::FORMAT_UNDEFINEDcxx . . $ Gst/FORMAT_UNDEFINED.; |
| 469 | gst_query_parse_buffering_range(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), |
| 470 | reinterpret_cast<GstFormat*>(&format), nullptr, nullptr, nullptr); |
| 471 | return format; |
| 472 | } |
| 473 | |
| 474 | gint64 QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_startcxx . . $ Gst/QueryBuffering#parse_start(57a65ae535d7db84).() const |
| 475 | { |
| 476 | gint64 start = 0; |
| 477 | gst_query_parse_buffering_range(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 478 | &start, nullptr, nullptr); |
| 479 | return start; |
| 480 | } |
| 481 | |
| 482 | gint64 QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_stopcxx . . $ Gst/QueryBuffering#parse_stop(57a65ae535d7db84).() const |
| 483 | { |
| 484 | gint64 stop = 0; |
| 485 | gst_query_parse_buffering_range(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 486 | nullptr, &stop, nullptr); |
| 487 | return stop; |
| 488 | } |
| 489 | |
| 490 | gint64 QueryBufferingcxx . . $ Gst/QueryBuffering#::parse_total_timecxx . . $ Gst/QueryBuffering#parse_total_time(57a65ae535d7db84).() const |
| 491 | { |
| 492 | gint64 estimated_total = 0; |
| 493 | gst_query_parse_buffering_range(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), nullptr, |
| 494 | nullptr, nullptr, &estimated_total); |
| 495 | return estimated_total; |
| 496 | } |
| 497 | |
| 498 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::QueryCapscxx . . $ Gst/QueryCaps#> QueryCapscxx . . $ Gst/QueryCaps#::createcxx . . $ Gst/QueryCaps#create(162d76d30d4ebb0c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& filter) |
| 499 | { |
| 500 | GstQuery* query = gst_query_new_caps(filter->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Caps#gobj(704ee61edb5225b).()); |
| 501 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<Gstcxx . . $ Gst/::QueryCapscxx . . $ Gst/QueryCaps#>(query); |
| 502 | } |
| 503 | |
| 504 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> QueryCapscxx . . $ Gst/QueryCaps#::parsecxx . . $ Gst/QueryCaps#parse(4265aad93b8ec881).() const |
| 505 | { |
| 506 | GstCaps* caps; |
| 507 | gst_query_parse_caps(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &caps); |
| 508 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true); |
| 509 | } |
| 510 | |
| 511 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> QueryCapscxx . . $ Gst/QueryCaps#::parse_caps_resultcxx . . $ Gst/QueryCaps#parse_caps_result(4265aad93b8ec881).() const |
| 512 | { |
| 513 | GstCaps* caps; |
| 514 | gst_query_parse_caps_result(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &caps); |
| 515 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, false); |
| 516 | } |
| 517 | |
| 518 | void QueryCapscxx . . $ Gst/QueryCaps#::set_caps_resultcxx . . $ Gst/QueryCaps#set_caps_result(73baa747cf392ab9).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 519 | { |
| 520 | gst_query_set_caps_result(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), caps->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Caps#gobj(704ee61edb5225b).()); |
| 521 | } |
| 522 | |
| 523 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<QuerySchedulingcxx . . $ Gst/QueryScheduling#> QuerySchedulingcxx . . $ Gst/QueryScheduling#::createcxx . . $ Gst/QueryScheduling#create(b97dc6ac56066fbb).() |
| 524 | { |
| 525 | GstQuery* query = gst_query_new_scheduling(); |
| 526 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<QuerySchedulingcxx . . $ Gst/QueryScheduling#>(query); |
| 527 | } |
| 528 | |
| 529 | void QuerySchedulingcxx . . $ Gst/QueryScheduling#::parsecxx . . $ Gst/QueryScheduling#parse(298bd9ca160852d8).(SchedulingFlagscxx . . $ Gst/SchedulingFlags#& flags, gint& minsize, gint& maxsize, gint& align) const |
| 530 | { |
| 531 | GstSchedulingFlags gst_flags; |
| 532 | gst_query_parse_scheduling(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &gst_flags, &minsize, &maxsize, &align); |
| 533 | flags = SchedulingFlagscxx . . $ Gst/SchedulingFlags#(gst_flags); |
| 534 | } |
| 535 | |
| 536 | void QuerySchedulingcxx . . $ Gst/QueryScheduling#::setcxx . . $ Gst/QueryScheduling#set(7d98ccf6f5d3c6a7).(SchedulingFlagscxx . . $ Gst/SchedulingFlags# flags, gint minsize, gint maxsize, gint align) |
| 537 | { |
| 538 | gst_query_set_scheduling(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstSchedulingFlags(flags), minsize, maxsize, align); |
| 539 | } |
| 540 | |
| 541 | void QuerySchedulingcxx . . $ Gst/QueryScheduling#::add_scheduling_modecxx . . $ Gst/QueryScheduling#add_scheduling_mode(16cd620313bbe6ed).(PadModecxx . . $ Gst/PadMode# mode) |
| 542 | { |
| 543 | gst_query_add_scheduling_mode(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), GstPadMode(mode)); |
| 544 | } |
| 545 | |
| 546 | guint QuerySchedulingcxx . . $ Gst/QueryScheduling#::get_n_scheduling_modescxx . . $ Gst/QueryScheduling#get_n_scheduling_modes(ddd8539a2fcdd4ce).() const |
| 547 | { |
| 548 | return gst_query_get_n_scheduling_modes(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).())); |
| 549 | } |
| 550 | |
| 551 | PadModecxx . . $ Gst/PadMode# QuerySchedulingcxx . . $ Gst/QueryScheduling#::parse_nth_scheduling_modecxx . . $ Gst/QueryScheduling#parse_nth_scheduling_mode(7dbeed2954dba8ac).(guint index) const |
| 552 | { |
| 553 | return PadModecxx . . $ Gst/PadMode#(gst_query_parse_nth_scheduling_mode(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), index)); |
| 554 | } |
| 555 | |
| 556 | bool QuerySchedulingcxx . . $ Gst/QueryScheduling#::has_scheduling_modecxx . . $ Gst/QueryScheduling#has_scheduling_mode(a83c17c69928a107).(PadModecxx . . $ Gst/PadMode# mode) const |
| 557 | { |
| 558 | return PadModecxx . . $ Gst/PadMode#(gst_query_has_scheduling_mode(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), GstPadMode(mode))); |
| 559 | } |
| 560 | |
| 561 | bool QuerySchedulingcxx . . $ Gst/QueryScheduling#::has_scheduling_mode_with_flagscxx . . $ Gst/QueryScheduling#has_scheduling_mode_with_flags(bc171a8246aeb3ac).(PadModecxx . . $ Gst/PadMode# mode, SchedulingFlagscxx . . $ Gst/SchedulingFlags# flags) const |
| 562 | { |
| 563 | return PadModecxx . . $ Gst/PadMode#(gst_query_has_scheduling_mode_with_flags(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), GstPadMode(mode), GstSchedulingFlags(flags))); |
| 564 | } |
| 565 | |
| 566 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<QueryAllocationcxx . . $ Gst/QueryAllocation#> QueryAllocationcxx . . $ Gst/QueryAllocation#::createcxx . . $ Gst/QueryAllocation#create(8b1e802eb862526b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps, bool need_pool) |
| 567 | { |
| 568 | GstQuery* query = gst_query_new_allocation(caps->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Caps#gobj(704ee61edb5225b).(), need_pool); |
| 569 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<QueryAllocationcxx . . $ Gst/QueryAllocation#>(query); |
| 570 | } |
| 571 | |
| 572 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::parsecxx . . $ Gst/QueryAllocation#parse(15299ec2e82239be).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Capscxx . . $ Gst/Caps#>& caps, bool& need_pool) const |
| 573 | { |
| 574 | GstCaps* n_caps; |
| 575 | gboolean gst_need_pool; |
| 576 | gst_query_parse_allocation(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &n_caps, &gst_need_pool); |
| 577 | caps =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(n_caps, false); |
| 578 | need_pool = gst_need_pool; |
| 579 | } |
| 580 | |
| 581 | guint QueryAllocationcxx . . $ Gst/QueryAllocation#::get_n_allocation_poolscxx . . $ Gst/QueryAllocation#get_n_allocation_pools(ddd8539a2fcdd4ce).() const |
| 582 | { |
| 583 | return gst_query_get_n_allocation_pools(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).())); |
| 584 | } |
| 585 | |
| 586 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::remove_nth_allocation_poolcxx . . $ Gst/QueryAllocation#remove_nth_allocation_pool(cb2f890c2fdad230).(guint index) |
| 587 | { |
| 588 | gst_query_remove_nth_allocation_pool(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), index); |
| 589 | } |
| 590 | |
| 591 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::add_allocation_paramcxx . . $ Gst/QueryAllocation#add_allocation_param(e4eeff95341d735a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Allocatorcxx . . $ Gst/Allocator#>& allocator, const AllocationParamscxx . . $ Gst/AllocationParams#& params) |
| 592 | { |
| 593 | gst_query_add_allocation_param(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), allocator->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Allocator#gobj(421823dfa46164ec).(), params.gobjcxx . . $ Gst/AllocationParams#gobj(c99b4985c5b51ade).()); |
| 594 | } |
| 595 | |
| 596 | guint QueryAllocationcxx . . $ Gst/QueryAllocation#::get_n_allocation_paramscxx . . $ Gst/QueryAllocation#get_n_allocation_params(ddd8539a2fcdd4ce).() const |
| 597 | { |
| 598 | return gst_query_get_n_allocation_params(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).())); |
| 599 | } |
| 600 | |
| 601 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::parse_nth_allocation_paramcxx . . $ Gst/QueryAllocation#parse_nth_allocation_param(3d391bc76ef56f0d).(guint index, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Allocatorcxx . . $ Gst/Allocator#>& allocator, AllocationParamscxx . . $ Gst/AllocationParams#& params) const |
| 602 | { |
| 603 | GstAllocatorcxx . . $ GstAllocator#* n_allocator; |
| 604 | gst_query_parse_nth_allocation_param(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), index, &n_allocator, params.gobjcxx . . $ Gst/AllocationParams#gobj(52bfd5f39dfd).()); |
| 605 | allocator =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c608c0ab6ce247e5).(n_allocator, false); |
| 606 | } |
| 607 | |
| 608 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::set_nth_allocation_paramcxx . . $ Gst/QueryAllocation#set_nth_allocation_param(7b7ae9bc955bd027).(guint index, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Allocatorcxx . . $ Gst/Allocator#>& allocator, const AllocationParamscxx . . $ Gst/AllocationParams#& params) |
| 609 | { |
| 610 | gst_query_set_nth_allocation_param(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), index, allocator->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Allocator#gobj(421823dfa46164ec).(), params.gobjcxx . . $ Gst/AllocationParams#gobj(c99b4985c5b51ade).()); |
| 611 | } |
| 612 | |
| 613 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::remove_nth_allocation_paramcxx . . $ Gst/QueryAllocation#remove_nth_allocation_param(cb2f890c2fdad230).(guint index) |
| 614 | { |
| 615 | gst_query_remove_nth_allocation_param(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), index); |
| 616 | } |
| 617 | |
| 618 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::add_allocation_metacxx . . $ Gst/QueryAllocation#add_allocation_meta(728f79b22e5139e3).(GType api, const Structurecxx . . $ Gst/Structure#& params) |
| 619 | { |
| 620 | gst_query_add_allocation_meta(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), api, params.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()); |
| 621 | } |
| 622 | |
| 623 | guint QueryAllocationcxx . . $ Gst/QueryAllocation#::get_n_allocation_metascxx . . $ Gst/QueryAllocation#get_n_allocation_metas(ddd8539a2fcdd4ce).() const |
| 624 | { |
| 625 | return gst_query_get_n_allocation_metas(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).())); |
| 626 | } |
| 627 | |
| 628 | GType QueryAllocationcxx . . $ Gst/QueryAllocation#::parse_nth_allocation_metacxx . . $ Gst/QueryAllocation#parse_nth_allocation_meta(5836dcb441bda873).(guint index, Structurecxx . . $ Gst/Structure#& params) const |
| 629 | { |
| 630 | GstStructure *gst_params; |
| 631 | GType ret = gst_query_parse_nth_allocation_meta(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), index, (const GstStructure**)&gst_params); |
| 632 | params =cxx . . $ Gst/Structure#`operator=`(adaf907fada6380c). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(gst_params, true); |
| 633 | return ret; |
| 634 | } |
| 635 | |
| 636 | void QueryAllocationcxx . . $ Gst/QueryAllocation#::remove_nth_allocation_metacxx . . $ Gst/QueryAllocation#remove_nth_allocation_meta(cb2f890c2fdad230).(guint index) |
| 637 | { |
| 638 | gst_query_remove_nth_allocation_meta(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), index); |
| 639 | } |
| 640 | |
| 641 | bool QueryAllocationcxx . . $ Gst/QueryAllocation#::find_allocation_metacxx . . $ Gst/QueryAllocation#find_allocation_meta(681fe16923283cb7).(GType api, guint& index) const |
| 642 | { |
| 643 | return gst_query_find_allocation_meta(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), api, &index); |
| 644 | } |
| 645 | |
| 646 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<QueryUricxx . . $ Gst/QueryUri#> QueryUricxx . . $ Gst/QueryUri#::createcxx . . $ Gst/QueryUri#create(173dec4e0a973c6c).() |
| 647 | { |
| 648 | GstQuery* query = gst_query_new_uri(); |
| 649 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<QueryUricxx . . $ Gst/QueryUri#>(query); |
| 650 | } |
| 651 | |
| 652 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# QueryUricxx . . $ Gst/QueryUri#::parsecxx . . $ Gst/QueryUri#parse(fff0f585954e56f3).() const |
| 653 | { |
| 654 | gchar* gst_uri; |
| 655 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# uricxx . . $ Glib/ustring#ustring(49f6e7a06ebc5aa8).; |
| 656 | gst_query_parse_uri(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &gst_uri); |
| 657 | if (gst_uri != nullptr) |
| 658 | { |
| 659 | uri =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). gst_uri; |
| 660 | g_free(gst_uri); |
| 661 | } |
| 662 | |
| 663 | return uricxx . . $ Glib/ustring#ustring(9ff8f5cb794dfdbf).; |
| 664 | } |
| 665 | |
| 666 | void QueryUricxx . . $ Gst/QueryUri#::setcxx . . $ Gst/QueryUri#set(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& uri) |
| 667 | { |
| 668 | gst_query_set_uri(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), uri.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 669 | } |
| 670 | |
| 671 | void QueryUricxx . . $ Gst/QueryUri#::set_uri_redirectioncxx . . $ Gst/QueryUri#set_uri_redirection(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& uri) |
| 672 | { |
| 673 | gst_query_set_uri_redirection(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), uri.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 674 | } |
| 675 | |
| 676 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# QueryUricxx . . $ Gst/QueryUri#::parse_uri_redirectioncxx . . $ Gst/QueryUri#parse_uri_redirection(fff0f585954e56f3).() const |
| 677 | { |
| 678 | gchar* c_uri; |
| 679 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# uricxx . . $ Glib/ustring#ustring(49f6e7a06ebc5aa8).; |
| 680 | gst_query_parse_uri_redirection(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &c_uri); |
| 681 | |
| 682 | if (c_uri != nullptr) |
| 683 | { |
| 684 | uri =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). c_uri; |
| 685 | g_free(c_uri); |
| 686 | } |
| 687 | |
| 688 | return uricxx . . $ Glib/ustring#ustring(9ff8f5cb794dfdbf).; |
| 689 | } |
| 690 | |
| 691 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#> QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#::createcxx . . $ Gst/QueryAcceptCaps#create(44ef44a89f97e5ea).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 692 | { |
| 693 | GstQuery* query = gst_query_new_accept_caps(caps->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Caps#gobj(704ee61edb5225b).()); |
| 694 | return Glibcxx . . $ Glib/::wrap_query_derivedcxx . . $ Glib/wrap_query_derived(1682f13aabcd163e).<QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#>(query); |
| 695 | } |
| 696 | |
| 697 | |
| 698 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#::parse_accept_capscxx . . $ Gst/QueryAcceptCaps#parse_accept_caps(4265aad93b8ec881).() const |
| 699 | { |
| 700 | GstCaps *c_caps; |
| 701 | gst_query_parse_accept_caps(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &c_caps); |
| 702 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(c_caps, false); |
| 703 | } |
| 704 | |
| 705 | bool QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#::parse_accept_caps_resultcxx . . $ Gst/QueryAcceptCaps#parse_accept_caps_result(50ce9a9e25b4a850).() const |
| 706 | { |
| 707 | gboolean c_result; |
| 708 | gst_query_parse_accept_caps_result(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()), &c_result); |
| 709 | return bool(c_result); |
| 710 | } |
| 711 | |
| 712 | void QueryAcceptCapscxx . . $ Gst/QueryAcceptCaps#::set_accept_caps_resultcxx . . $ Gst/QueryAcceptCaps#set_accept_caps_result(b45ddcbc8423892c).(bool result) |
| 713 | { |
| 714 | gst_query_set_accept_caps_result(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).(), result); |
| 715 | } |
| 716 | } //namesapce Gst |
| 717 | |
| 718 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/query.cc`/ |
| 719 | { |
| 720 | } // anonymous namespace |
| 721 | |
| 722 | // static |
| 723 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::BufferingMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 724 | { |
| 725 | return gst_buffering_mode_get_type(); |
| 726 | } |
| 727 | |
| 728 | // static |
| 729 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::QueryType>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 730 | { |
| 731 | return gst_query_type_get_type(); |
| 732 | } |
| 733 | |
| 734 | // static |
| 735 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::QueryTypeFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 736 | { |
| 737 | return gst_query_type_flags_get_type(); |
| 738 | } |
| 739 | |
| 740 | // static |
| 741 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::SchedulingFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 742 | { |
| 743 | return gst_scheduling_flags_get_type(); |
| 744 | } |
| 745 | |
| 746 | |
| 747 | /* Why reinterpret_cast<Query*>(gobject) is needed: |
| 748 | * |
| 749 | * A Query instance is in fact always a GstQuery instance. |
| 750 | * Unfortunately, GstQuery cannot be a member of Query, |
| 751 | * because it is an opaque struct. Also, the C interface does not provide |
| 752 | * any hooks to install a destroy notification handler, thus we cannot |
| 753 | * wrap it dynamically either. |
| 754 | * |
| 755 | * The cast works because Query does not have any member data, and |
| 756 | * it is impossible to derive from it. This is ensured by using final on the |
| 757 | * class and by using = delete on the default constructor. |
| 758 | */ |
| 759 | |
| 760 | namespace Glibcxx . . $ Glib/ |
| 761 | { |
| 762 | |
| 763 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(GstQuery* object, bool take_copy) |
| 764 | { |
| 765 | if(take_copy && object) |
| 766 | gst_query_ref(object); |
| 767 | |
| 768 | // See the comment at the top of this file, if you want to know why the cast works. |
| 769 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>(reinterpret_cast<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#*>(object)); |
| 770 | } |
| 771 | |
| 772 | } // namespace Glib |
| 773 | |
| 774 | |
| 775 | namespace Gstcxx . . $ Gst/ |
| 776 | { |
| 777 | |
| 778 | |
| 779 | void Querycxx . . $ Gst/Query#::referencecxx . . $ Gst/Query#reference(83f5f38750778ac8).() const |
| 780 | { |
| 781 | // See the comment at the top of this file, if you want to know why the cast works. |
| 782 | gst_query_ref(reinterpret_cast<GstQuery*>(const_cast<Querycxx . . $ Gst/Query#*>(this))); |
| 783 | } |
| 784 | |
| 785 | void Querycxx . . $ Gst/Query#::unreferencecxx . . $ Gst/Query#unreference(83f5f38750778ac8).() const |
| 786 | { |
| 787 | // See the comment at the top of this file, if you want to know why the cast works. |
| 788 | gst_query_unref(reinterpret_cast<GstQuery*>(const_cast<Querycxx . . $ Gst/Query#*>(this))); |
| 789 | } |
| 790 | |
| 791 | GstQuery* Querycxx . . $ Gst/Query#::gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).() |
| 792 | { |
| 793 | // See the comment at the top of this file, if you want to know why the cast works. |
| 794 | return reinterpret_cast<GstQuery*>(this); |
| 795 | } |
| 796 | |
| 797 | const GstQuery* Querycxx . . $ Gst/Query#::gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).() const |
| 798 | { |
| 799 | // See the comment at the top of this file, if you want to know why the cast works. |
| 800 | return reinterpret_cast<const GstQuery*>(this); |
| 801 | } |
| 802 | |
| 803 | GstQuery* Querycxx . . $ Gst/Query#::gobj_copycxx . . $ Gst/Query#gobj_copy(d5a584cda6203aec).() const |
| 804 | { |
| 805 | // See the comment at the top of this file, if you want to know why the cast works. |
| 806 | const auto gobject = reinterpret_cast<GstQuery*>(const_cast<Querycxx . . $ Gst/Query#*>(this)); |
| 807 | gst_query_ref(gobject); |
| 808 | return gobject; |
| 809 | } |
| 810 | |
| 811 | |
| 812 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# Querycxx . . $ Gst/Query#::get_structurecxx . . $ Gst/Query#get_structure(65062218a0489aeb).() const |
| 813 | { |
| 814 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(gst_query_get_structure(const_cast<GstQuery*>(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()))), true); |
| 815 | } |
| 816 | |
| 817 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_bufferingcxx . . $ Gst/Query#create_buffering(eb06f5afea1dac40).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) |
| 818 | { |
| 819 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_buffering(((GstFormat)(format)))); |
| 820 | } |
| 821 | |
| 822 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_allocationcxx . . $ Gst/Query#create_allocation(18debaf50fc36242).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> caps, bool need_pool) |
| 823 | { |
| 824 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_allocation(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps), static_cast<int>(need_pool))); |
| 825 | } |
| 826 | |
| 827 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_uricxx . . $ Gst/Query#create_uri(69f77bd15c554518).() |
| 828 | { |
| 829 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_uri()); |
| 830 | } |
| 831 | |
| 832 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_schedulingcxx . . $ Gst/Query#create_scheduling(69f77bd15c554518).() |
| 833 | { |
| 834 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_scheduling()); |
| 835 | } |
| 836 | |
| 837 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_draincxx . . $ Gst/Query#create_drain(69f77bd15c554518).() |
| 838 | { |
| 839 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_drain()); |
| 840 | } |
| 841 | |
| 842 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_customcxx . . $ Gst/Query#create_custom(99be407006345bd1).(Gstcxx . . $ Gst/::QueryTypecxx . . $ Gst/QueryType# type, const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& structure) |
| 843 | { |
| 844 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_custom(((GstQueryType)(type)), const_cast<GstStructure*>(structure.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).()))); |
| 845 | } |
| 846 | |
| 847 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_convertcxx . . $ Gst/Query#create_convert(f7b46246928f9a5d).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, gint64 value, Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# dest_format) |
| 848 | { |
| 849 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_convert(((GstFormat)(format)), value, ((GstFormat)(dest_format)))); |
| 850 | } |
| 851 | |
| 852 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_positioncxx . . $ Gst/Query#create_position(eb06f5afea1dac40).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) |
| 853 | { |
| 854 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_position(((GstFormat)(format)))); |
| 855 | } |
| 856 | |
| 857 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_durationcxx . . $ Gst/Query#create_duration(eb06f5afea1dac40).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) |
| 858 | { |
| 859 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_duration(((GstFormat)(format)))); |
| 860 | } |
| 861 | |
| 862 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_latencycxx . . $ Gst/Query#create_latency(69f77bd15c554518).() |
| 863 | { |
| 864 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_latency()); |
| 865 | } |
| 866 | |
| 867 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_seekingcxx . . $ Gst/Query#create_seeking(eb06f5afea1dac40).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) |
| 868 | { |
| 869 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_seeking(((GstFormat)(format)))); |
| 870 | } |
| 871 | |
| 872 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_formatscxx . . $ Gst/Query#create_formats(69f77bd15c554518).() |
| 873 | { |
| 874 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_formats()); |
| 875 | } |
| 876 | |
| 877 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_segmentcxx . . $ Gst/Query#create_segment(eb06f5afea1dac40).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format) |
| 878 | { |
| 879 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_segment(((GstFormat)(format)))); |
| 880 | } |
| 881 | |
| 882 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_capscxx . . $ Gst/Query#create_caps(809a5b7334b22ea2).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> filter) |
| 883 | { |
| 884 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_caps(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter))); |
| 885 | } |
| 886 | |
| 887 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::create_accept_capscxx . . $ Gst/Query#create_accept_caps(809a5b7334b22ea2).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> filter) |
| 888 | { |
| 889 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_new_accept_caps(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter))); |
| 890 | } |
| 891 | |
| 892 | QueryTypecxx . . $ Gst/QueryType# Querycxx . . $ Gst/Query#::get_query_typecxx . . $ Gst/Query#get_query_type(1cb9a6c883f70fed).() const |
| 893 | { |
| 894 | return ((QueryTypecxx . . $ Gst/QueryType#)(gobjcxx . . $ Gst/Query#gobj(e5edac55dfb892a0).()->typecxx . . $ _GstQuery#type.)); |
| 895 | } |
| 896 | |
| 897 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> Querycxx . . $ Gst/Query#::copycxx . . $ Gst/Query#copy(69f77bd15c554518).() |
| 898 | { |
| 899 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_query_copy(gobjcxx . . $ Gst/Query#gobj(dd472d84a38cfe3c).())); |
| 900 | } |
| 901 | |
| 902 | |
| 903 | } // namespace Gst |
| 904 | |
| 905 |