| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_THEORAENC_H |
| 3 | #define _GSTREAMERMM_THEORAENC_H |
| 4 | |
| 5 | #include <gstreamermmconfig.h> |
| 6 | |
| 7 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 8 | |
| 9 | |
| 10 | #include <glibmm/ustring.h> |
| 11 | #include <sigc++/sigc++.h> |
| 12 | |
| 13 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 14 | |
| 15 | |
| 16 | #include <gstreamermm/element.h> |
| 17 | |
| 18 | |
| 19 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 20 | using GstTheoraEnc = struct _GstTheoraEnc; |
| 21 | using GstTheoraEncClass = struct _GstTheoraEncClass; |
| 22 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 23 | |
| 24 | |
| 25 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 26 | namespace Gst |
| 27 | { class TheoraEnc_Class; } // namespace Gst |
| 28 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 29 | |
| 30 | namespace Gst |
| 31 | { |
| 32 | |
| 33 | /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */ |
| 34 | |
| 35 | /** |
| 36 | * |
| 37 | * @ingroup gstreamermmEnums |
| 38 | */ |
| 39 | enum TheoraEncMultipassMode |
| 40 | { |
| 41 | MODE_SINGLE_PASS, |
| 42 | MODE_FIRST_PASS, |
| 43 | MODE_SECOND_PASS |
| 44 | }; |
| 45 | |
| 46 | } // namespace Gst |
| 47 | |
| 48 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 49 | namespace Glib |
| 50 | { |
| 51 | |
| 52 | template <> |
| 53 | class Value<Gst::TheoraEncMultipassMode> : public Glib::Value_Enum<Gst::TheoraEncMultipassMode> |
| 54 | { |
| 55 | public: |
| 56 | static GType value_type() G_GNUC_CONST; |
| 57 | }; |
| 58 | |
| 59 | } // namespace Glib |
| 60 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 61 | |
| 62 | namespace Gst |
| 63 | { |
| 64 | |
| 65 | |
| 66 | /** A Wrapper for the theoraenc plugin. |
| 67 | * Please note that not all plug-ins are available on all systems so care |
| 68 | * must be taken that they exist before they are used otherwise there will |
| 69 | * be errors and possibly a crash. |
| 70 | * |
| 71 | * @ingroup GstPlugins |
| 72 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 73 | */ |
| 74 | |
| 75 | class TheoraEnc |
| 76 | : public Gst::Element |
| 77 | { |
| 78 | |
| 79 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 80 | |
| 81 | public: |
| 82 | using CppObjectType = TheoraEnc; |
| 83 | using CppClassType = TheoraEnc_Class; |
| 84 | using BaseObjectType = GstTheoraEnc; |
| 85 | using BaseClassType = GstTheoraEncClass; |
| 86 | |
| 87 | // noncopyable |
| 88 | TheoraEnc(const TheoraEnc&) = delete; |
| 89 | TheoraEnc& operator=(const TheoraEnc&) = delete; |
| 90 | |
| 91 | private: friend class TheoraEnc_Class; |
| 92 | static CppClassType theoraenc_class_; |
| 93 | |
| 94 | protected: |
| 95 | explicit TheoraEnc(const Glib::ConstructParams& construct_params); |
| 96 | explicit TheoraEnc(GstTheoraEnc* castitem); |
| 97 | |
| 98 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 99 | |
| 100 | public: |
| 101 | |
| 102 | TheoraEnc(TheoraEnc&& src) noexcept; |
| 103 | TheoraEnc& operator=(TheoraEnc&& src) noexcept; |
| 104 | |
| 105 | ~TheoraEnc() noexcept override; |
| 106 | |
| 107 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 108 | */ |
| 109 | static GType get_type() G_GNUC_CONST; |
| 110 | |
| 111 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 112 | |
| 113 | |
| 114 | static GType get_base_type() G_GNUC_CONST; |
| 115 | #endif |
| 116 | |
| 117 | ///Provides access to the underlying C GObject. |
| 118 | GstTheoraEnc* gobj() { return reinterpret_cast<GstTheoraEnc*>(gobject_); } |
| 119 | |
| 120 | ///Provides access to the underlying C GObject. |
| 121 | const GstTheoraEnc* gobj() const { return reinterpret_cast<GstTheoraEnc*>(gobject_); } |
| 122 | |
| 123 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 124 | GstTheoraEnc* gobj_copy(); |
| 125 | |
| 126 | private: |
| 127 | |
| 128 | |
| 129 | protected: |
| 130 | TheoraEnc(); |
| 131 | explicit TheoraEnc(const Glib::ustring& name); |
| 132 | |
| 133 | public: |
| 134 | /** Creates a new theoraenc plugin with a unique name. |
| 135 | */ |
| 136 | |
| 137 | static Glib::RefPtr<TheoraEnc> create(); |
| 138 | |
| 139 | |
| 140 | /** Creates a new theoraenc plugin with the given name. |
| 141 | */ |
| 142 | |
| 143 | static Glib::RefPtr<TheoraEnc> create(const Glib::ustring& name); |
| 144 | |
| 145 | |
| 146 | /** Compressed video bitrate (kbps). |
| 147 | * |
| 148 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 149 | * or receive notification when the value of the property changes. |
| 150 | */ |
| 151 | Glib::PropertyProxy< int > property_bitrate() ; |
| 152 | |
| 153 | /** Compressed video bitrate (kbps). |
| 154 | * |
| 155 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 156 | * or receive notification when the value of the property changes. |
| 157 | */ |
| 158 | Glib::PropertyProxy_ReadOnly< int > property_bitrate() const; |
| 159 | |
| 160 | /** Video quality. |
| 161 | * |
| 162 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 163 | * or receive notification when the value of the property changes. |
| 164 | */ |
| 165 | Glib::PropertyProxy< int > property_quality() ; |
| 166 | |
| 167 | /** Video quality. |
| 168 | * |
| 169 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 170 | * or receive notification when the value of the property changes. |
| 171 | */ |
| 172 | Glib::PropertyProxy_ReadOnly< int > property_quality() const; |
| 173 | |
| 174 | /** Automatic keyframe detection. |
| 175 | * |
| 176 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 177 | * or receive notification when the value of the property changes. |
| 178 | */ |
| 179 | Glib::PropertyProxy< bool > property_keyframe_auto() ; |
| 180 | |
| 181 | /** Automatic keyframe detection. |
| 182 | * |
| 183 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 184 | * or receive notification when the value of the property changes. |
| 185 | */ |
| 186 | Glib::PropertyProxy_ReadOnly< bool > property_keyframe_auto() const; |
| 187 | |
| 188 | /** Keyframe frequency. |
| 189 | * |
| 190 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 191 | * or receive notification when the value of the property changes. |
| 192 | */ |
| 193 | Glib::PropertyProxy< int > property_keyframe_freq() ; |
| 194 | |
| 195 | /** Keyframe frequency. |
| 196 | * |
| 197 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 198 | * or receive notification when the value of the property changes. |
| 199 | */ |
| 200 | Glib::PropertyProxy_ReadOnly< int > property_keyframe_freq() const; |
| 201 | |
| 202 | /** Force keyframe every N frames. |
| 203 | * |
| 204 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 205 | * or receive notification when the value of the property changes. |
| 206 | */ |
| 207 | Glib::PropertyProxy< int > property_keyframe_force() ; |
| 208 | |
| 209 | /** Force keyframe every N frames. |
| 210 | * |
| 211 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 212 | * or receive notification when the value of the property changes. |
| 213 | */ |
| 214 | Glib::PropertyProxy_ReadOnly< int > property_keyframe_force() const; |
| 215 | |
| 216 | /** Controls the amount of motion vector searching done while encoding. |
| 217 | * |
| 218 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 219 | * or receive notification when the value of the property changes. |
| 220 | */ |
| 221 | Glib::PropertyProxy< int > property_speed_level() ; |
| 222 | |
| 223 | /** Controls the amount of motion vector searching done while encoding. |
| 224 | * |
| 225 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 226 | * or receive notification when the value of the property changes. |
| 227 | */ |
| 228 | Glib::PropertyProxy_ReadOnly< int > property_speed_level() const; |
| 229 | |
| 230 | /** Disables non-VP3 compatible features. |
| 231 | * |
| 232 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 233 | * or receive notification when the value of the property changes. |
| 234 | */ |
| 235 | Glib::PropertyProxy< bool > property_vp3_compatible() ; |
| 236 | |
| 237 | /** Disables non-VP3 compatible features. |
| 238 | * |
| 239 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 240 | * or receive notification when the value of the property changes. |
| 241 | */ |
| 242 | Glib::PropertyProxy_ReadOnly< bool > property_vp3_compatible() const; |
| 243 | |
| 244 | /** Allow or disallow frame dropping. |
| 245 | * |
| 246 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 247 | * or receive notification when the value of the property changes. |
| 248 | */ |
| 249 | Glib::PropertyProxy< bool > property_drop_frames() ; |
| 250 | |
| 251 | /** Allow or disallow frame dropping. |
| 252 | * |
| 253 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 254 | * or receive notification when the value of the property changes. |
| 255 | */ |
| 256 | Glib::PropertyProxy_ReadOnly< bool > property_drop_frames() const; |
| 257 | |
| 258 | /** Enable capping of bit reservoir overflows. |
| 259 | * |
| 260 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 261 | * or receive notification when the value of the property changes. |
| 262 | */ |
| 263 | Glib::PropertyProxy< bool > property_cap_overflow() ; |
| 264 | |
| 265 | /** Enable capping of bit reservoir overflows. |
| 266 | * |
| 267 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 268 | * or receive notification when the value of the property changes. |
| 269 | */ |
| 270 | Glib::PropertyProxy_ReadOnly< bool > property_cap_overflow() const; |
| 271 | |
| 272 | /** Enable capping of bit reservoir underflows. |
| 273 | * |
| 274 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 275 | * or receive notification when the value of the property changes. |
| 276 | */ |
| 277 | Glib::PropertyProxy< bool > property_cap_underflow() ; |
| 278 | |
| 279 | /** Enable capping of bit reservoir underflows. |
| 280 | * |
| 281 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 282 | * or receive notification when the value of the property changes. |
| 283 | */ |
| 284 | Glib::PropertyProxy_ReadOnly< bool > property_cap_underflow() const; |
| 285 | |
| 286 | /** Sets the size of the rate control buffer, in units of frames. The default value of 0 instructs the encoder to automatically select an appropriate value. |
| 287 | * |
| 288 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 289 | * or receive notification when the value of the property changes. |
| 290 | */ |
| 291 | Glib::PropertyProxy< int > property_rate_buffer() ; |
| 292 | |
| 293 | /** Sets the size of the rate control buffer, in units of frames. The default value of 0 instructs the encoder to automatically select an appropriate value. |
| 294 | * |
| 295 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 296 | * or receive notification when the value of the property changes. |
| 297 | */ |
| 298 | Glib::PropertyProxy_ReadOnly< int > property_rate_buffer() const; |
| 299 | |
| 300 | /** Multipass cache file. |
| 301 | * |
| 302 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 303 | * or receive notification when the value of the property changes. |
| 304 | */ |
| 305 | Glib::PropertyProxy< Glib::ustring > property_multipass_cache_file() ; |
| 306 | |
| 307 | /** Multipass cache file. |
| 308 | * |
| 309 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 310 | * or receive notification when the value of the property changes. |
| 311 | */ |
| 312 | Glib::PropertyProxy_ReadOnly< Glib::ustring > property_multipass_cache_file() const; |
| 313 | |
| 314 | /** Single pass or first/second pass. |
| 315 | * |
| 316 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 317 | * or receive notification when the value of the property changes. |
| 318 | */ |
| 319 | Glib::PropertyProxy< Gst::TheoraEncMultipassMode > property_multipass_mode() ; |
| 320 | |
| 321 | /** Single pass or first/second pass. |
| 322 | * |
| 323 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 324 | * or receive notification when the value of the property changes. |
| 325 | */ |
| 326 | Glib::PropertyProxy_ReadOnly< Gst::TheoraEncMultipassMode > property_multipass_mode() const; |
| 327 | |
| 328 | |
| 329 | public: |
| 330 | |
| 331 | public: |
| 332 | //C++ methods used to invoke GTK+ virtual functions: |
| 333 | |
| 334 | protected: |
| 335 | //GTK+ Virtual Functions (override these to change behaviour): |
| 336 | |
| 337 | //Default Signal Handlers:: |
| 338 | |
| 339 | |
| 340 | }; |
| 341 | |
| 342 | } // namespace Gst |
| 343 | |
| 344 | |
| 345 | namespace Glib |
| 346 | { |
| 347 | /** A Glib::wrap() method for this object. |
| 348 | * |
| 349 | * @param object The C instance. |
| 350 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 351 | * @result A C++ instance that wraps this C instance. |
| 352 | * |
| 353 | * @relates Gst::TheoraEnc |
| 354 | */ |
| 355 | Glib::RefPtr<Gst::TheoraEnc> wrap(GstTheoraEnc* object, bool take_copy = false); |
| 356 | } |
| 357 | |
| 358 | |
| 359 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 360 | |
| 361 | |
| 362 | #endif /* _GSTREAMERMM_THEORAENC_H */ |
| 363 |