00001
00002
00003 #ifndef _GSTREAMERMM_THEORAENC_H
00004 #define _GSTREAMERMM_THEORAENC_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/element.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GstTheoraEnc GstTheoraEnc;
00033 typedef struct _GstTheoraEncClass GstTheoraEncClass;
00034 #endif
00035
00036
00037 namespace Gst
00038 { class TheoraEnc_Class; }
00039 namespace Gst
00040 {
00041
00047 enum TheoraEncBorderMode
00048 {
00049 THEORA_ENC_BORDER_NONE,
00050 THEORA_ENC_BORDER_BLACK,
00051 THEORA_ENC_BORDER_MIRROR
00052 };
00053
00054 }
00055
00056
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058 namespace Glib
00059 {
00060
00061 template <>
00062 class Value<Gst::TheoraEncBorderMode> : public Glib::Value_Enum<Gst::TheoraEncBorderMode>
00063 {
00064 public:
00065 static GType value_type() G_GNUC_CONST;
00066 };
00067
00068 }
00069 #endif
00070
00071
00072 namespace Gst
00073 {
00074
00075
00086 class TheoraEnc
00087 : public Gst::Element
00088 {
00089
00090 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00091
00092 public:
00093 typedef TheoraEnc CppObjectType;
00094 typedef TheoraEnc_Class CppClassType;
00095 typedef GstTheoraEnc BaseObjectType;
00096 typedef GstTheoraEncClass BaseClassType;
00097
00098 private: friend class TheoraEnc_Class;
00099 static CppClassType theoraenc_class_;
00100
00101 private:
00102
00103 TheoraEnc(const TheoraEnc&);
00104 TheoraEnc& operator=(const TheoraEnc&);
00105
00106 protected:
00107 explicit TheoraEnc(const Glib::ConstructParams& construct_params);
00108 explicit TheoraEnc(GstTheoraEnc* castitem);
00109
00110 #endif
00111
00112 public:
00113 virtual ~TheoraEnc();
00114
00115 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00116 static GType get_type() G_GNUC_CONST;
00117 static GType get_base_type() G_GNUC_CONST;
00118 #endif
00119
00121 GstTheoraEnc* gobj() { return reinterpret_cast<GstTheoraEnc*>(gobject_); }
00122
00124 const GstTheoraEnc* gobj() const { return reinterpret_cast<GstTheoraEnc*>(gobject_); }
00125
00127 GstTheoraEnc* gobj_copy();
00128
00129 private:
00130
00131
00132 protected:
00133 TheoraEnc();
00134 TheoraEnc(const Glib::ustring& name);
00135
00136 public:
00140 static Glib::RefPtr<TheoraEnc> create();
00141
00142
00146 static Glib::RefPtr<TheoraEnc> create(const Glib::ustring& name);
00147
00148
00149 #ifdef GLIBMM_PROPERTIES_ENABLED
00150
00156 Glib::PropertyProxy<bool> property_center() ;
00157 #endif //#GLIBMM_PROPERTIES_ENABLED
00158
00159 #ifdef GLIBMM_PROPERTIES_ENABLED
00160
00166 Glib::PropertyProxy_ReadOnly<bool> property_center() const;
00167 #endif //#GLIBMM_PROPERTIES_ENABLED
00168
00169 #ifdef GLIBMM_PROPERTIES_ENABLED
00170
00176 Glib::PropertyProxy<TheoraEncBorderMode> property_border() ;
00177 #endif //#GLIBMM_PROPERTIES_ENABLED
00178
00179 #ifdef GLIBMM_PROPERTIES_ENABLED
00180
00186 Glib::PropertyProxy_ReadOnly<TheoraEncBorderMode> property_border() const;
00187 #endif //#GLIBMM_PROPERTIES_ENABLED
00188
00189 #ifdef GLIBMM_PROPERTIES_ENABLED
00190
00196 Glib::PropertyProxy<int> property_bitrate() ;
00197 #endif //#GLIBMM_PROPERTIES_ENABLED
00198
00199 #ifdef GLIBMM_PROPERTIES_ENABLED
00200
00206 Glib::PropertyProxy_ReadOnly<int> property_bitrate() const;
00207 #endif //#GLIBMM_PROPERTIES_ENABLED
00208
00209 #ifdef GLIBMM_PROPERTIES_ENABLED
00210
00216 Glib::PropertyProxy<int> property_quality() ;
00217 #endif //#GLIBMM_PROPERTIES_ENABLED
00218
00219 #ifdef GLIBMM_PROPERTIES_ENABLED
00220
00226 Glib::PropertyProxy_ReadOnly<int> property_quality() const;
00227 #endif //#GLIBMM_PROPERTIES_ENABLED
00228
00229 #ifdef GLIBMM_PROPERTIES_ENABLED
00230
00236 Glib::PropertyProxy<bool> property_quick() ;
00237 #endif //#GLIBMM_PROPERTIES_ENABLED
00238
00239 #ifdef GLIBMM_PROPERTIES_ENABLED
00240
00246 Glib::PropertyProxy_ReadOnly<bool> property_quick() const;
00247 #endif //#GLIBMM_PROPERTIES_ENABLED
00248
00249 #ifdef GLIBMM_PROPERTIES_ENABLED
00250
00256 Glib::PropertyProxy<bool> property_keyframe_auto() ;
00257 #endif //#GLIBMM_PROPERTIES_ENABLED
00258
00259 #ifdef GLIBMM_PROPERTIES_ENABLED
00260
00266 Glib::PropertyProxy_ReadOnly<bool> property_keyframe_auto() const;
00267 #endif //#GLIBMM_PROPERTIES_ENABLED
00268
00269 #ifdef GLIBMM_PROPERTIES_ENABLED
00270
00276 Glib::PropertyProxy<int> property_keyframe_freq() ;
00277 #endif //#GLIBMM_PROPERTIES_ENABLED
00278
00279 #ifdef GLIBMM_PROPERTIES_ENABLED
00280
00286 Glib::PropertyProxy_ReadOnly<int> property_keyframe_freq() const;
00287 #endif //#GLIBMM_PROPERTIES_ENABLED
00288
00289 #ifdef GLIBMM_PROPERTIES_ENABLED
00290
00296 Glib::PropertyProxy<int> property_keyframe_force() ;
00297 #endif //#GLIBMM_PROPERTIES_ENABLED
00298
00299 #ifdef GLIBMM_PROPERTIES_ENABLED
00300
00306 Glib::PropertyProxy_ReadOnly<int> property_keyframe_force() const;
00307 #endif //#GLIBMM_PROPERTIES_ENABLED
00308
00309 #ifdef GLIBMM_PROPERTIES_ENABLED
00310
00316 Glib::PropertyProxy<int> property_keyframe_threshold() ;
00317 #endif //#GLIBMM_PROPERTIES_ENABLED
00318
00319 #ifdef GLIBMM_PROPERTIES_ENABLED
00320
00326 Glib::PropertyProxy_ReadOnly<int> property_keyframe_threshold() const;
00327 #endif //#GLIBMM_PROPERTIES_ENABLED
00328
00329 #ifdef GLIBMM_PROPERTIES_ENABLED
00330
00336 Glib::PropertyProxy<int> property_keyframe_mindistance() ;
00337 #endif //#GLIBMM_PROPERTIES_ENABLED
00338
00339 #ifdef GLIBMM_PROPERTIES_ENABLED
00340
00346 Glib::PropertyProxy_ReadOnly<int> property_keyframe_mindistance() const;
00347 #endif //#GLIBMM_PROPERTIES_ENABLED
00348
00349 #ifdef GLIBMM_PROPERTIES_ENABLED
00350
00356 Glib::PropertyProxy<int> property_noise_sensitivity() ;
00357 #endif //#GLIBMM_PROPERTIES_ENABLED
00358
00359 #ifdef GLIBMM_PROPERTIES_ENABLED
00360
00366 Glib::PropertyProxy_ReadOnly<int> property_noise_sensitivity() const;
00367 #endif //#GLIBMM_PROPERTIES_ENABLED
00368
00369 #ifdef GLIBMM_PROPERTIES_ENABLED
00370
00376 Glib::PropertyProxy<int> property_sharpness() ;
00377 #endif //#GLIBMM_PROPERTIES_ENABLED
00378
00379 #ifdef GLIBMM_PROPERTIES_ENABLED
00380
00386 Glib::PropertyProxy_ReadOnly<int> property_sharpness() const;
00387 #endif //#GLIBMM_PROPERTIES_ENABLED
00388
00389 #ifdef GLIBMM_PROPERTIES_ENABLED
00390
00396 Glib::PropertyProxy<int> property_speed_level() ;
00397 #endif //#GLIBMM_PROPERTIES_ENABLED
00398
00399 #ifdef GLIBMM_PROPERTIES_ENABLED
00400
00406 Glib::PropertyProxy_ReadOnly<int> property_speed_level() const;
00407 #endif //#GLIBMM_PROPERTIES_ENABLED
00408
00409
00410 public:
00411
00412 public:
00413
00414 #ifdef GLIBMM_VFUNCS_ENABLED
00415 #endif //GLIBMM_VFUNCS_ENABLED
00416
00417 protected:
00418
00419 #ifdef GLIBMM_VFUNCS_ENABLED
00420 #endif //GLIBMM_VFUNCS_ENABLED
00421
00422
00423 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00424 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00425
00426
00427 };
00428
00429 }
00430
00431
00432 namespace Glib
00433 {
00442 Glib::RefPtr<Gst::TheoraEnc> wrap(GstTheoraEnc* object, bool take_copy = false);
00443 }
00444
00445
00446 #endif
00447