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