![]() |
![]() |
![]() |
GStreamer Base Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
gstvideoorientationgstvideoorientation — Interface for elements providing video orientation controls |
#include <gst/interfaces/videoorientation.h> GstVideoOrientation; GstVideoOrientationInterface; gboolean gst_video_orientation_get_hcenter (GstVideoOrientation *video_orientation, gint *center); gboolean gst_video_orientation_get_hflip (GstVideoOrientation *video_orientation, gboolean *flip); gboolean gst_video_orientation_get_vcenter (GstVideoOrientation *video_orientation, gint *center); gboolean gst_video_orientation_get_vflip (GstVideoOrientation *video_orientation, gboolean *flip); gboolean gst_video_orientation_set_hcenter (GstVideoOrientation *video_orientation, gint center); gboolean gst_video_orientation_set_hflip (GstVideoOrientation *video_orientation, gboolean flip); gboolean gst_video_orientation_set_vcenter (GstVideoOrientation *video_orientation, gint center); gboolean gst_video_orientation_set_vflip (GstVideoOrientation *video_orientation, gboolean flip);
The interface allows unified access to control flipping and autocenter operation of video-sources or operators.
typedef struct { GTypeInterface parent; /* virtual functions */ gboolean (* get_hflip) (GstVideoOrientation *video_orientation, gboolean *flip); gboolean (* get_vflip) (GstVideoOrientation *video_orientation, gboolean *flip); gboolean (* get_hcenter) (GstVideoOrientation *video_orientation, gint *center); gboolean (* get_vcenter) (GstVideoOrientation *video_orientation, gint *center); gboolean (* set_hflip) (GstVideoOrientation *video_orientation, gboolean flip); gboolean (* set_vflip) (GstVideoOrientation *video_orientation, gboolean flip); gboolean (* set_hcenter) (GstVideoOrientation *video_orientation, gint center); gboolean (* set_vcenter) (GstVideoOrientation *video_orientation, gint center); gpointer _gst_reserved[GST_PADDING]; } GstVideoOrientationInterface;
gboolean gst_video_orientation_get_hcenter (GstVideoOrientation *video_orientation, gint *center);
Get the horizontal centering offset from the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementcenter
:center
return location for the result
return location for the result
Returns :Returns TRUE
in case the element supports centering
TRUE
in case the element supports centering
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
center : |
return location for the result |
Returns : | TRUE in case the element supports centering
|
Since 0.10.11
gboolean gst_video_orientation_get_hflip (GstVideoOrientation *video_orientation, gboolean *flip);
Get the horizontal flipping state (TRUE
for flipped) from the given object.
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementflip
:flip
return location for the result
return location for the result
Returns :Returns TRUE
in case the element supports flipping
TRUE
in case the element supports flipping
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
flip : |
return location for the result |
Returns : | TRUE in case the element supports flipping
|
Since 0.10.11
gboolean gst_video_orientation_get_vcenter (GstVideoOrientation *video_orientation, gint *center);
Get the vertical centering offset from the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementcenter
:center
return location for the result
return location for the result
Returns :Returns TRUE
in case the element supports centering
TRUE
in case the element supports centering
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
center : |
return location for the result |
Returns : | TRUE in case the element supports centering
|
Since 0.10.11
gboolean gst_video_orientation_get_vflip (GstVideoOrientation *video_orientation, gboolean *flip);
Get the vertical flipping state (TRUE
for flipped) from the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementflip
:flip
return location for the result
return location for the result
Returns :Returns TRUE
in case the element supports flipping
TRUE
in case the element supports flipping
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
flip : |
return location for the result |
Returns : | TRUE in case the element supports flipping
|
Since 0.10.11
gboolean gst_video_orientation_set_hcenter (GstVideoOrientation *video_orientation, gint center);
Set the horizontal centering offset for the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementcenter
:center
centering offset
centering offset
Returns :Returns TRUE
in case the element supports centering
TRUE
in case the element supports centering
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
center : |
centering offset |
Returns : | TRUE in case the element supports centering
|
Since 0.10.11
gboolean gst_video_orientation_set_hflip (GstVideoOrientation *video_orientation, gboolean flip);
Set the horizontal flipping state (TRUE
for flipped) for the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementflip
:flip
use flipping
use flipping
Returns :Returns TRUE
in case the element supports flipping
TRUE
in case the element supports flipping
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
flip : |
use flipping |
Returns : | TRUE in case the element supports flipping
|
Since 0.10.11
gboolean gst_video_orientation_set_vcenter (GstVideoOrientation *video_orientation, gint center);
Set the vertical centering offset for the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementcenter
:center
centering offset
centering offset
Returns :Returns TRUE
in case the element supports centering
TRUE
in case the element supports centering
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
center : |
centering offset |
Returns : | TRUE in case the element supports centering
|
Since 0.10.11
gboolean gst_video_orientation_set_vflip (GstVideoOrientation *video_orientation, gboolean flip);
Set the vertical flipping state (TRUE
for flipped) for the given object.
Returns:
video_orientation
:video_orientation
GstVideoOrientation interface of a GstElement
GstVideoOrientation interface of a GstElement
GstVideoOrientationGstVideoOrientationGstElementGstElementflip
:flip
use flipping
use flipping
Returns :Returns TRUE
in case the element supports flipping
TRUE
in case the element supports flipping
TRUE
TRUE
video_orientation : |
GstVideoOrientation interface of a GstElement |
flip : |
use flipping |
Returns : | TRUE in case the element supports flipping
|
Since 0.10.11