Package org.freedesktop.gstreamer.video
Interface VideoOrientation
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
VideoOrientation.VideoOrientationImpl
The interface allows unified access to control flipping and autocenter
operation of video-sources or operators.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
The VideoOrientationImpl type represents a native instance of the VideoOrientation interface.static class
GstVideoOrientationInterface
interface. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
fromTag
(TagList taglist, Out<VideoOrientationMethod> method) Parses the "image-orientation" tag and transforms it into theGstVideoOrientationMethod
enum.default boolean
getHcenter
(Out<Integer> center) Get the horizontal centering offset from the given object.default boolean
Get the horizontal flipping state (true
for flipped) from the given object.static Type
getType()
Get the GType of the VideoOrientation classdefault boolean
getVcenter
(Out<Integer> center) Get the vertical centering offset from the given object.default boolean
Get the vertical flipping state (true
for flipped) from the given object.default boolean
setHcenter
(int center) Set the horizontal centering offset for the given object.default boolean
setHflip
(boolean flip) Set the horizontal flipping state (true
for flipped) for the given object.default boolean
setVcenter
(int center) Set the vertical centering offset for the given object.default boolean
setVflip
(boolean flip) Set the vertical flipping state (true
for flipped) for the given object.
-
Method Details
-
getType
-
fromTag
Parses the "image-orientation" tag and transforms it into theGstVideoOrientationMethod
enum.- Parameters:
taglist
- AGstTagList
method
- The location where to return the orientation.- Returns:
- TRUE if there was a valid "image-orientation" tag in the taglist.
-
getHcenter
-
getHflip
-
getVcenter
-
getVflip
-
setHcenter
default boolean setHcenter(int center) Set the horizontal centering offset for the given object.- Parameters:
center
- centering offset- Returns:
true
in case the element supports centering
-
setHflip
default boolean setHflip(boolean flip) Set the horizontal flipping state (true
for flipped) for the given object.- Parameters:
flip
- use flipping- Returns:
true
in case the element supports flipping
-
setVcenter
default boolean setVcenter(int center) Set the vertical centering offset for the given object.- Parameters:
center
- centering offset- Returns:
true
in case the element supports centering
-
setVflip
default boolean setVflip(boolean flip) Set the vertical flipping state (true
for flipped) for the given object.- Parameters:
flip
- use flipping- Returns:
true
in case the element supports flipping
-