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
00029
00030 #include <gstreamermm/element.h>
00031 #include <gstreamermm/preset.h>
00032
00033
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstTheoraEnc GstTheoraEnc;
00036 typedef struct _GstTheoraEncClass GstTheoraEncClass;
00037 #endif
00038
00039
00040 namespace Gst
00041 { class TheoraEnc_Class; }
00042 namespace Gst
00043 {
00044
00050 enum TheoraEncBorderMode
00051 {
00052 THEORA_ENC_BORDER_NONE,
00053 THEORA_ENC_BORDER_BLACK,
00054 THEORA_ENC_BORDER_MIRROR
00055 };
00056
00057 }
00058
00059
00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00061 namespace Glib
00062 {
00063
00064 template <>
00065 class Value<Gst::TheoraEncBorderMode> : public Glib::Value_Enum<Gst::TheoraEncBorderMode>
00066 {
00067 public:
00068 static GType value_type() G_GNUC_CONST;
00069 };
00070
00071 }
00072 #endif
00073
00074
00075 namespace Gst
00076 {
00077
00078
00089 class TheoraEnc
00090 : public Gst::Element, public Gst::Preset
00091 {
00092
00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00094
00095 public:
00096 typedef TheoraEnc CppObjectType;
00097 typedef TheoraEnc_Class CppClassType;
00098 typedef GstTheoraEnc BaseObjectType;
00099 typedef GstTheoraEncClass BaseClassType;
00100
00101 private: friend class TheoraEnc_Class;
00102 static CppClassType theoraenc_class_;
00103
00104 private:
00105
00106 TheoraEnc(const TheoraEnc&);
00107 TheoraEnc& operator=(const TheoraEnc&);
00108
00109 protected:
00110 explicit TheoraEnc(const Glib::ConstructParams& construct_params);
00111 explicit TheoraEnc(GstTheoraEnc* castitem);
00112
00113 #endif
00114
00115 public:
00116 virtual ~TheoraEnc();
00117
00118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00119 static GType get_type() G_GNUC_CONST;
00120
00121
00122 static GType get_base_type() G_GNUC_CONST;
00123 #endif
00124
00126 GstTheoraEnc* gobj() { return reinterpret_cast<GstTheoraEnc*>(gobject_); }
00127
00129 const GstTheoraEnc* gobj() const { return reinterpret_cast<GstTheoraEnc*>(gobject_); }
00130
00132 GstTheoraEnc* gobj_copy();
00133
00134 private:
00135
00136
00137 protected:
00138 TheoraEnc();
00139 TheoraEnc(const Glib::ustring& name);
00140
00141 public:
00145 static Glib::RefPtr<TheoraEnc> create();
00146
00147
00151 static Glib::RefPtr<TheoraEnc> create(const Glib::ustring& name);
00152
00153
00154 #ifdef GLIBMM_PROPERTIES_ENABLED
00155
00161 Glib::PropertyProxy<bool> property_center() ;
00162 #endif //#GLIBMM_PROPERTIES_ENABLED
00163
00164 #ifdef GLIBMM_PROPERTIES_ENABLED
00165
00171 Glib::PropertyProxy_ReadOnly<bool> property_center() const;
00172 #endif //#GLIBMM_PROPERTIES_ENABLED
00173
00174 #ifdef GLIBMM_PROPERTIES_ENABLED
00175
00181 Glib::PropertyProxy<Gst::TheoraEncBorderMode> property_border() ;
00182 #endif //#GLIBMM_PROPERTIES_ENABLED
00183
00184 #ifdef GLIBMM_PROPERTIES_ENABLED
00185
00191 Glib::PropertyProxy_ReadOnly<Gst::TheoraEncBorderMode> property_border() const;
00192 #endif //#GLIBMM_PROPERTIES_ENABLED
00193
00194 #ifdef GLIBMM_PROPERTIES_ENABLED
00195
00201 Glib::PropertyProxy<int> property_bitrate() ;
00202 #endif //#GLIBMM_PROPERTIES_ENABLED
00203
00204 #ifdef GLIBMM_PROPERTIES_ENABLED
00205
00211 Glib::PropertyProxy_ReadOnly<int> property_bitrate() const;
00212 #endif //#GLIBMM_PROPERTIES_ENABLED
00213
00214 #ifdef GLIBMM_PROPERTIES_ENABLED
00215
00221 Glib::PropertyProxy<int> property_quality() ;
00222 #endif //#GLIBMM_PROPERTIES_ENABLED
00223
00224 #ifdef GLIBMM_PROPERTIES_ENABLED
00225
00231 Glib::PropertyProxy_ReadOnly<int> property_quality() const;
00232 #endif //#GLIBMM_PROPERTIES_ENABLED
00233
00234 #ifdef GLIBMM_PROPERTIES_ENABLED
00235
00241 Glib::PropertyProxy<bool> property_quick() ;
00242 #endif //#GLIBMM_PROPERTIES_ENABLED
00243
00244 #ifdef GLIBMM_PROPERTIES_ENABLED
00245
00251 Glib::PropertyProxy_ReadOnly<bool> property_quick() const;
00252 #endif //#GLIBMM_PROPERTIES_ENABLED
00253
00254 #ifdef GLIBMM_PROPERTIES_ENABLED
00255
00261 Glib::PropertyProxy<bool> property_keyframe_auto() ;
00262 #endif //#GLIBMM_PROPERTIES_ENABLED
00263
00264 #ifdef GLIBMM_PROPERTIES_ENABLED
00265
00271 Glib::PropertyProxy_ReadOnly<bool> property_keyframe_auto() const;
00272 #endif //#GLIBMM_PROPERTIES_ENABLED
00273
00274 #ifdef GLIBMM_PROPERTIES_ENABLED
00275
00281 Glib::PropertyProxy<int> property_keyframe_freq() ;
00282 #endif //#GLIBMM_PROPERTIES_ENABLED
00283
00284 #ifdef GLIBMM_PROPERTIES_ENABLED
00285
00291 Glib::PropertyProxy_ReadOnly<int> property_keyframe_freq() const;
00292 #endif //#GLIBMM_PROPERTIES_ENABLED
00293
00294 #ifdef GLIBMM_PROPERTIES_ENABLED
00295
00301 Glib::PropertyProxy<int> property_keyframe_force() ;
00302 #endif //#GLIBMM_PROPERTIES_ENABLED
00303
00304 #ifdef GLIBMM_PROPERTIES_ENABLED
00305
00311 Glib::PropertyProxy_ReadOnly<int> property_keyframe_force() const;
00312 #endif //#GLIBMM_PROPERTIES_ENABLED
00313
00314 #ifdef GLIBMM_PROPERTIES_ENABLED
00315
00321 Glib::PropertyProxy<int> property_keyframe_threshold() ;
00322 #endif //#GLIBMM_PROPERTIES_ENABLED
00323
00324 #ifdef GLIBMM_PROPERTIES_ENABLED
00325
00331 Glib::PropertyProxy_ReadOnly<int> property_keyframe_threshold() const;
00332 #endif //#GLIBMM_PROPERTIES_ENABLED
00333
00334 #ifdef GLIBMM_PROPERTIES_ENABLED
00335
00341 Glib::PropertyProxy<int> property_keyframe_mindistance() ;
00342 #endif //#GLIBMM_PROPERTIES_ENABLED
00343
00344 #ifdef GLIBMM_PROPERTIES_ENABLED
00345
00351 Glib::PropertyProxy_ReadOnly<int> property_keyframe_mindistance() const;
00352 #endif //#GLIBMM_PROPERTIES_ENABLED
00353
00354 #ifdef GLIBMM_PROPERTIES_ENABLED
00355
00361 Glib::PropertyProxy<int> property_noise_sensitivity() ;
00362 #endif //#GLIBMM_PROPERTIES_ENABLED
00363
00364 #ifdef GLIBMM_PROPERTIES_ENABLED
00365
00371 Glib::PropertyProxy_ReadOnly<int> property_noise_sensitivity() const;
00372 #endif //#GLIBMM_PROPERTIES_ENABLED
00373
00374 #ifdef GLIBMM_PROPERTIES_ENABLED
00375
00381 Glib::PropertyProxy<int> property_sharpness() ;
00382 #endif //#GLIBMM_PROPERTIES_ENABLED
00383
00384 #ifdef GLIBMM_PROPERTIES_ENABLED
00385
00391 Glib::PropertyProxy_ReadOnly<int> property_sharpness() const;
00392 #endif //#GLIBMM_PROPERTIES_ENABLED
00393
00394 #ifdef GLIBMM_PROPERTIES_ENABLED
00395
00401 Glib::PropertyProxy<int> property_speed_level() ;
00402 #endif //#GLIBMM_PROPERTIES_ENABLED
00403
00404 #ifdef GLIBMM_PROPERTIES_ENABLED
00405
00411 Glib::PropertyProxy_ReadOnly<int> property_speed_level() const;
00412 #endif //#GLIBMM_PROPERTIES_ENABLED
00413
00414
00415 public:
00416
00417 public:
00418
00419 #ifdef GLIBMM_VFUNCS_ENABLED
00420 #endif //GLIBMM_VFUNCS_ENABLED
00421
00422 protected:
00423
00424 #ifdef GLIBMM_VFUNCS_ENABLED
00425 #endif //GLIBMM_VFUNCS_ENABLED
00426
00427
00428 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00429 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00430
00431
00432 };
00433
00434 }
00435
00436
00437 namespace Glib
00438 {
00447 Glib::RefPtr<Gst::TheoraEnc> wrap(GstTheoraEnc* object, bool take_copy = false);
00448 }
00449
00450
00451 #endif
00452