gstreamermm
1.10.0
|
An interface for elements providing video orientation controls. More...
#include <gstreamermm/videoorientation.h>
Inherits Interface.
Public Member Functions | |
VideoOrientation (VideoOrientation&& src) noexcept | |
VideoOrientation& | operator= (VideoOrientation&& src) noexcept |
~VideoOrientation () noexcept override | |
GstVideoOrientation* | gobj () |
Provides access to the underlying C GObject. More... | |
const GstVideoOrientation* | gobj () const |
Provides access to the underlying C GObject. More... | |
bool | get_hcenter (int& center) const |
Get the horizontal centering offset from the given object. More... | |
bool | get_hflip (bool&flip) const |
Get the horizontal flipping state (true for flipped) from the given object. More... | |
bool | get_vcenter (int& center) const |
Get the vertical centering offset from the given object. More... | |
bool | get_vflip (bool&flip) const |
Get the vertical flipping state (true for flipped) from the given object. More... | |
bool | set_hcenter (int center) |
Set the horizontal centering offset for the given object. More... | |
bool | set_hflip (bool flip) |
Set the horizontal flipping state (true for flipped) for the given object. More... | |
bool | set_vcenter (int center) |
Set the vertical centering offset for the given object. More... | |
bool | set_vflip (bool flip) |
Set the vertical flipping state (true for flipped) for the given object. More... | |
virtual bool | get_hflip_vfunc (bool&flip) const |
virtual bool | get_vflip_vfunc (bool&flip) const |
virtual bool | get_hcenter_vfunc (int& center) const |
virtual bool | get_vcenter_vfunc (int& center) const |
virtual bool | set_hflip_vfunc (bool flip) |
virtual bool | set_vflip_vfunc (bool flip) |
virtual bool | set_hcenter_vfunc (int center) |
virtual bool | set_vcenter_vfunc (int center) |
Static Public Member Functions | |
static void | add_interface (GType gtype_implementer) |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Member Functions | |
VideoOrientation () | |
You should derive from this class to use it. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::VideoOrientation > | wrap (GstVideoOrientation* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
An interface for elements providing video orientation controls.
The interface allows unified access to control flipping and autocenter operation of video-sources or operators.
|
protected |
You should derive from this class to use it.
|
noexcept |
|
overridenoexcept |
|
static |
bool Gst::VideoOrientation::get_hcenter | ( | int & | center | ) | const |
Get the horizontal centering offset from the given object.
center | Return location for the result. |
true
in case the element supports centering.
|
virtual |
bool Gst::VideoOrientation::get_hflip | ( | bool & | flip | ) | const |
Get the horizontal flipping state (true
for flipped) from the given object.
flip | Return location for the result. |
true
in case the element supports flipping.
|
virtual |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
bool Gst::VideoOrientation::get_vcenter | ( | int & | center | ) | const |
Get the vertical centering offset from the given object.
center | Return location for the result. |
true
in case the element supports centering.
|
virtual |
bool Gst::VideoOrientation::get_vflip | ( | bool & | flip | ) | const |
Get the vertical flipping state (true
for flipped) from the given object.
flip | Return location for the result. |
true
in case the element supports flipping.
|
virtual |
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
|
noexcept |
bool Gst::VideoOrientation::set_hcenter | ( | int | center | ) |
Set the horizontal centering offset for the given object.
center | Centering offset. |
true
in case the element supports centering.
|
virtual |
bool Gst::VideoOrientation::set_hflip | ( | bool | flip | ) |
Set the horizontal flipping state (true
for flipped) for the given object.
flip | Use flipping. |
true
in case the element supports flipping.
|
virtual |
bool Gst::VideoOrientation::set_vcenter | ( | int | center | ) |
Set the vertical centering offset for the given object.
center | Centering offset. |
true
in case the element supports centering.
|
virtual |
bool Gst::VideoOrientation::set_vflip | ( | bool | flip | ) |
Set the vertical flipping state (true
for flipped) for the given object.
flip | Use flipping. |
true
in case the element supports flipping.
|
virtual |
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |