| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/enums.h`/ |
| 2 | #ifndef _GSTREAMERMM_ENUMS_H |
| 3 | #define _GSTREAMERMM_ENUMS_Hcxx . . $ `gstreamer/gstreamermm/enums.h:3:9`! |
| 4 | |
| 5 | |
| 6 | #include <glibmm/ustring.h> |
| 7 | #include <sigc++/sigc++.h> |
| 8 | |
| 9 | /* gstreamermm - a C++ wrapper for gstreamer |
| 10 | * |
| 11 | * Copyright 2008 The gstreamermm Development Team |
| 12 | * |
| 13 | * This library is free software; you can redistribute it and/or |
| 14 | * modify it under the terms of the GNU Lesser General Public |
| 15 | * License as published by the Free Software Foundation; either |
| 16 | * version 2.1 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * This library is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 21 | * Lesser General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU Lesser General Public |
| 24 | * License along with this library; if not, write to the Free |
| 25 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 26 | */ |
| 27 | |
| 28 | #include <gst/gst.h> |
| 29 | |
| 30 | |
| 31 | // Plug-in C enums used in the plug-in signals that are shared need to be |
| 32 | // declared. This one is is shared between decodebin2 and uridecodebin so it |
| 33 | // is difficult for it to be generated. |
| 34 | enum GstAutoplugSelectResultcxx . . $ GstAutoplugSelectResult# |
| 35 | { |
| 36 | GST_AUTOPLUG_SELECT_TRYcxx . . $ GST_AUTOPLUG_SELECT_TRY., |
| 37 | GST_AUTOPLUG_SELECT_EXPOSEcxx . . $ GST_AUTOPLUG_SELECT_EXPOSE., |
| 38 | GST_AUTOPLUG_SELECT_SKIPcxx . . $ GST_AUTOPLUG_SELECT_SKIP. |
| 39 | }; |
| 40 | |
| 41 | enum GstMultiHandleSinkClientStatuscxx . . $ GstMultiHandleSinkClientStatus# |
| 42 | { |
| 43 | GST_CLIENT_STATUS_OKcxx . . $ GST_CLIENT_STATUS_OK., |
| 44 | GST_CLIENT_STATUS_CLOSEDcxx . . $ GST_CLIENT_STATUS_CLOSED., |
| 45 | GST_CLIENT_STATUS_REMOVEDcxx . . $ GST_CLIENT_STATUS_REMOVED., |
| 46 | GST_CLIENT_STATUS_SLOWcxx . . $ GST_CLIENT_STATUS_SLOW., |
| 47 | GST_CLIENT_STATUS_ERRORcxx . . $ GST_CLIENT_STATUS_ERROR., |
| 48 | GST_CLIENT_STATUS_DUPLICATEcxx . . $ GST_CLIENT_STATUS_DUPLICATE., |
| 49 | GST_CLIENT_STATUS_FLUSHINGcxx . . $ GST_CLIENT_STATUS_FLUSHING. |
| 50 | }; |
| 51 | |
| 52 | enum GstMultiHandleSinkSyncMethodcxx . . $ GstMultiHandleSinkSyncMethod# |
| 53 | { |
| 54 | GST_SYNC_METHOD_LATESTcxx . . $ GST_SYNC_METHOD_LATEST., |
| 55 | GST_SYNC_METHOD_NEXT_KEYFRAMEcxx . . $ GST_SYNC_METHOD_NEXT_KEYFRAME., |
| 56 | GST_SYNC_METHOD_LATEST_KEYFRAMEcxx . . $ GST_SYNC_METHOD_LATEST_KEYFRAME., |
| 57 | GST_SYNC_METHOD_BURSTcxx . . $ GST_SYNC_METHOD_BURST., |
| 58 | GST_SYNC_METHOD_BURST_KEYFRAMEcxx . . $ GST_SYNC_METHOD_BURST_KEYFRAME., |
| 59 | GST_SYNC_METHOD_BURST_WITH_KEYFRAMEcxx . . $ GST_SYNC_METHOD_BURST_WITH_KEYFRAME. |
| 60 | }; |
| 61 | |
| 62 | namespace Gstcxx . . $ Gst/ |
| 63 | { |
| 64 | |
| 65 | /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */ |
| 66 | |
| 67 | /** |
| 68 | * @var State STATE_VOID_PENDING |
| 69 | * No pending state. |
| 70 | * |
| 71 | * @var State STATE_NULL |
| 72 | * The <tt>nullptr</tt> state or initial state of an element. |
| 73 | * |
| 74 | * @var State STATE_READY |
| 75 | * The element is ready to go to PAUSED. |
| 76 | * |
| 77 | * @var State STATE_PAUSED |
| 78 | * The element is PAUSED, it is ready to accept and |
| 79 | * process data. Sink elements however only accept one |
| 80 | * buffer and then block. |
| 81 | * |
| 82 | * @var State STATE_PLAYING |
| 83 | * The element is PLAYING, the Gst::Clock is running and |
| 84 | * the data is flowing. |
| 85 | * |
| 86 | * @enum State |
| 87 | * |
| 88 | * The possible states an element can be in. States can be changed using |
| 89 | * Gst::Element::set_state() and checked using Gst::Element::get_state(). |
| 90 | * |
| 91 | * @ingroup gstreamermmEnums |
| 92 | */ |
| 93 | enum Statecxx . . $ Gst/State# |
| 94 | { |
| 95 | STATE_VOID_PENDINGcxx . . $ Gst/STATE_VOID_PENDING., |
| 96 | STATE_NULLcxx . . $ Gst/STATE_NULL., |
| 97 | STATE_READYcxx . . $ Gst/STATE_READY., |
| 98 | STATE_PAUSEDcxx . . $ Gst/STATE_PAUSED., |
| 99 | STATE_PLAYINGcxx . . $ Gst/STATE_PLAYING. |
| 100 | }; |
| 101 | |
| 102 | } // namespace Gst |
| 103 | |
| 104 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 105 | namespace Glibcxx . . $ Glib/ |
| 106 | { |
| 107 | |
| 108 | template <> |
| 109 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::Statecxx . . $ Gst/State#> |
| 110 | { |
| 111 | public: |
| 112 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 113 | }; |
| 114 | |
| 115 | } // namespace Glib |
| 116 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 117 | |
| 118 | namespace Gstcxx . . $ Gst/ |
| 119 | { |
| 120 | |
| 121 | |
| 122 | // Plug-in non-genereated enums. Handled manually and not generated because |
| 123 | // they are shared by more than one plug-in: |
| 124 | /** |
| 125 | * |
| 126 | * @ingroup gstreamermmEnums |
| 127 | */ |
| 128 | enum AutoplugSelectResultcxx . . $ Gst/AutoplugSelectResult# |
| 129 | { |
| 130 | AUTOPLUG_SELECT_TRYcxx . . $ Gst/AUTOPLUG_SELECT_TRY., |
| 131 | AUTOPLUG_SELECT_EXPOSEcxx . . $ Gst/AUTOPLUG_SELECT_EXPOSE., |
| 132 | AUTOPLUG_SELECT_SKIPcxx . . $ Gst/AUTOPLUG_SELECT_SKIP. |
| 133 | }; |
| 134 | |
| 135 | } // namespace Gst |
| 136 | |
| 137 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 138 | namespace Glibcxx . . $ Glib/ |
| 139 | { |
| 140 | |
| 141 | template <> |
| 142 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::AutoplugSelectResultcxx . . $ Gst/AutoplugSelectResult#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::AutoplugSelectResultcxx . . $ Gst/AutoplugSelectResult#> |
| 143 | { |
| 144 | public: |
| 145 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 146 | }; |
| 147 | |
| 148 | } // namespace Glib |
| 149 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 150 | |
| 151 | namespace Gstcxx . . $ Gst/ |
| 152 | { |
| 153 | |
| 154 | |
| 155 | /** |
| 156 | * |
| 157 | * @ingroup gstreamermmEnums |
| 158 | */ |
| 159 | enum MultiHandleSinkClientStatuscxx . . $ Gst/MultiHandleSinkClientStatus# |
| 160 | { |
| 161 | CLIENT_STATUS_OKcxx . . $ Gst/CLIENT_STATUS_OK., |
| 162 | CLIENT_STATUS_CLOSEDcxx . . $ Gst/CLIENT_STATUS_CLOSED., |
| 163 | CLIENT_STATUS_REMOVEDcxx . . $ Gst/CLIENT_STATUS_REMOVED., |
| 164 | CLIENT_STATUS_SLOWcxx . . $ Gst/CLIENT_STATUS_SLOW., |
| 165 | CLIENT_STATUS_ERRORcxx . . $ Gst/CLIENT_STATUS_ERROR., |
| 166 | CLIENT_STATUS_DUPLICATEcxx . . $ Gst/CLIENT_STATUS_DUPLICATE., |
| 167 | CLIENT_STATUS_FLUSHINGcxx . . $ Gst/CLIENT_STATUS_FLUSHING. |
| 168 | }; |
| 169 | |
| 170 | } // namespace Gst |
| 171 | |
| 172 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 173 | namespace Glibcxx . . $ Glib/ |
| 174 | { |
| 175 | |
| 176 | template <> |
| 177 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::MultiHandleSinkClientStatuscxx . . $ Gst/MultiHandleSinkClientStatus#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::MultiHandleSinkClientStatuscxx . . $ Gst/MultiHandleSinkClientStatus#> |
| 178 | { |
| 179 | public: |
| 180 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 181 | }; |
| 182 | |
| 183 | } // namespace Glib |
| 184 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 185 | |
| 186 | namespace Gstcxx . . $ Gst/ |
| 187 | { |
| 188 | |
| 189 | |
| 190 | /** |
| 191 | * |
| 192 | * @ingroup gstreamermmEnums |
| 193 | */ |
| 194 | enum MultiHandleSinkSyncMethodcxx . . $ Gst/MultiHandleSinkSyncMethod# |
| 195 | { |
| 196 | SYNC_METHOD_LATESTcxx . . $ Gst/SYNC_METHOD_LATEST., |
| 197 | SYNC_METHOD_NEXT_KEYFRAMEcxx . . $ Gst/SYNC_METHOD_NEXT_KEYFRAME., |
| 198 | SYNC_METHOD_LATEST_KEYFRAMEcxx . . $ Gst/SYNC_METHOD_LATEST_KEYFRAME., |
| 199 | SYNC_METHOD_BURSTcxx . . $ Gst/SYNC_METHOD_BURST., |
| 200 | SYNC_METHOD_BURST_KEYFRAMEcxx . . $ Gst/SYNC_METHOD_BURST_KEYFRAME., |
| 201 | SYNC_METHOD_BURST_WITH_KEYFRAMEcxx . . $ Gst/SYNC_METHOD_BURST_WITH_KEYFRAME. |
| 202 | }; |
| 203 | |
| 204 | } // namespace Gst |
| 205 | |
| 206 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 207 | namespace Glibcxx . . $ Glib/ |
| 208 | { |
| 209 | |
| 210 | template <> |
| 211 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::MultiHandleSinkSyncMethodcxx . . $ Gst/MultiHandleSinkSyncMethod#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::MultiHandleSinkSyncMethodcxx . . $ Gst/MultiHandleSinkSyncMethod#> |
| 212 | { |
| 213 | public: |
| 214 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 215 | }; |
| 216 | |
| 217 | } // namespace Glib |
| 218 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 219 | |
| 220 | namespace Gstcxx . . $ Gst/ |
| 221 | { |
| 222 | |
| 223 | |
| 224 | /** |
| 225 | * |
| 226 | * @ingroup gstreamermmEnums |
| 227 | * @par Bitwise operators: |
| 228 | * <tt>%PlayFlags operator|(PlayFlags, PlayFlags)</tt><br> |
| 229 | * <tt>%PlayFlags operator&(PlayFlags, PlayFlags)</tt><br> |
| 230 | * <tt>%PlayFlags operator^(PlayFlags, PlayFlags)</tt><br> |
| 231 | * <tt>%PlayFlags operator~(PlayFlags)</tt><br> |
| 232 | * <tt>%PlayFlags& operator|=(PlayFlags&, PlayFlags)</tt><br> |
| 233 | * <tt>%PlayFlags& operator&=(PlayFlags&, PlayFlags)</tt><br> |
| 234 | * <tt>%PlayFlags& operator^=(PlayFlags&, PlayFlags)</tt><br> |
| 235 | */ |
| 236 | enum PlayFlagscxx . . $ Gst/PlayFlags# |
| 237 | { |
| 238 | PLAY_FLAG_VIDEOcxx . . $ Gst/PLAY_FLAG_VIDEO. = (1 << 0), |
| 239 | PLAY_FLAG_AUDIOcxx . . $ Gst/PLAY_FLAG_AUDIO. = (1 << 1), |
| 240 | PLAY_FLAG_TEXTcxx . . $ Gst/PLAY_FLAG_TEXT. = (1 << 2), |
| 241 | PLAY_FLAG_VIScxx . . $ Gst/PLAY_FLAG_VIS. = (1 << 3), |
| 242 | PLAY_FLAG_SOFT_VOLUMEcxx . . $ Gst/PLAY_FLAG_SOFT_VOLUME. = (1 << 4), |
| 243 | PLAY_FLAG_NATIVE_AUDIOcxx . . $ Gst/PLAY_FLAG_NATIVE_AUDIO. = (1 << 5), |
| 244 | PLAY_FLAG_NATIVE_VIDEOcxx . . $ Gst/PLAY_FLAG_NATIVE_VIDEO. = (1 << 6), |
| 245 | PLAY_FLAG_DOWNLOADcxx . . $ Gst/PLAY_FLAG_DOWNLOAD. = (1 << 7), |
| 246 | PLAY_FLAG_BUFFERINGcxx . . $ Gst/PLAY_FLAG_BUFFERING. = (1 << 8), |
| 247 | PLAY_FLAG_DEINTERLACEcxx . . $ Gst/PLAY_FLAG_DEINTERLACE. = (1 << 9), |
| 248 | PLAY_FLAG_SOFT_COLORBALANCEcxx . . $ Gst/PLAY_FLAG_SOFT_COLORBALANCE. = (1 << 10), |
| 249 | PLAY_FLAG_FORCE_FILTERScxx . . $ Gst/PLAY_FLAG_FORCE_FILTERS. = (1 << 11) |
| 250 | }; |
| 251 | |
| 252 | /** @ingroup gstreamermmEnums */ |
| 253 | inline PlayFlagscxx . . $ Gst/PlayFlags# operatorcxx . . $ Gst/`operator|`(eeea74f48f6d135a).|(PlayFlagscxx . . $ Gst/PlayFlags# lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 254 | { return static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); } |
| 255 | |
| 256 | /** @ingroup gstreamermmEnums */ |
| 257 | inline PlayFlagscxx . . $ Gst/PlayFlags# operatorcxx . . $ Gst/`operator&`(eeea74f48f6d135a).&(PlayFlagscxx . . $ Gst/PlayFlags# lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 258 | { return static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); } |
| 259 | |
| 260 | /** @ingroup gstreamermmEnums */ |
| 261 | inline PlayFlagscxx . . $ Gst/PlayFlags# operatorcxx . . $ Gst/`operator^`(eeea74f48f6d135a).^(PlayFlagscxx . . $ Gst/PlayFlags# lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 262 | { return static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); } |
| 263 | |
| 264 | /** @ingroup gstreamermmEnums */ |
| 265 | inline PlayFlagscxx . . $ Gst/PlayFlags# operatorcxx . . $ Gst/`operator~`(84dee3d4bdba72ff).~(PlayFlagscxx . . $ Gst/PlayFlags# flags) |
| 266 | { return static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(~static_cast<unsigned>(flags)); } |
| 267 | |
| 268 | /** @ingroup gstreamermmEnums */ |
| 269 | inline PlayFlagscxx . . $ Gst/PlayFlags#& operatorcxx . . $ Gst/`operator|=`(3ca2536d43740120).|=(PlayFlagscxx . . $ Gst/PlayFlags#& lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 270 | { return (lhs = static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); } |
| 271 | |
| 272 | /** @ingroup gstreamermmEnums */ |
| 273 | inline PlayFlagscxx . . $ Gst/PlayFlags#& operatorcxx . . $ Gst/`operator&=`(3ca2536d43740120).&=(PlayFlagscxx . . $ Gst/PlayFlags#& lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 274 | { return (lhs = static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); } |
| 275 | |
| 276 | /** @ingroup gstreamermmEnums */ |
| 277 | inline PlayFlagscxx . . $ Gst/PlayFlags#& operatorcxx . . $ Gst/`operator^=`(3ca2536d43740120).^=(PlayFlagscxx . . $ Gst/PlayFlags#& lhs, PlayFlagscxx . . $ Gst/PlayFlags# rhs) |
| 278 | { return (lhs = static_cast<PlayFlagscxx . . $ Gst/PlayFlags#>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); } |
| 279 | |
| 280 | } // namespace Gst |
| 281 | |
| 282 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 283 | namespace Glibcxx . . $ Glib/ |
| 284 | { |
| 285 | |
| 286 | template <> |
| 287 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::PlayFlagscxx . . $ Gst/PlayFlags#> : public Glibcxx . . $ Glib/::Value_Flagscxx . . $ Glib/Value_Flags#<Gstcxx . . $ Gst/::PlayFlagscxx . . $ Gst/PlayFlags#> |
| 288 | { |
| 289 | public: |
| 290 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 291 | }; |
| 292 | |
| 293 | } // namespace Glib |
| 294 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 295 | |
| 296 | namespace Gstcxx . . $ Gst/ |
| 297 | { |
| 298 | |
| 299 | |
| 300 | } //namespace Gst |
| 301 | |
| 302 | |
| 303 | #endif /* _GSTREAMERMM_ENUMS_H */ |
| 304 |