Package org.freedesktop.gstreamer.video
Interface VideoOrientation
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
VideoOrientation.VideoOrientation$Impl
The interface allows unified access to control flipping and autocenter
operation of video-sources or operators.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe VideoOrientation$Impl type represents a native instance of the VideoOrientation interface.static classGstVideoOrientationInterfaceinterface. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanfromTag(TagList taglist, Out<VideoOrientationMethod> method) Parses the "image-orientation" tag and transforms it into theGstVideoOrientationMethodenum.default booleangetHcenter(Out<Integer> center) Get the horizontal centering offset from the given object.default booleanGet the horizontal flipping state (truefor flipped) from the given object.static @Nullable TypegetType()Get the GType of the VideoOrientation classdefault booleangetVcenter(Out<Integer> center) Get the vertical centering offset from the given object.default booleanGet the vertical flipping state (truefor flipped) from the given object.default booleansetHcenter(int center) Set the horizontal centering offset for the given object.default booleansetHflip(boolean flip) Set the horizontal flipping state (truefor flipped) for the given object.default booleansetVcenter(int center) Set the vertical centering offset for the given object.default booleansetVflip(boolean flip) Set the vertical flipping state (truefor flipped) for the given object.
-
Method Details
-
getType
-
fromTag
Parses the "image-orientation" tag and transforms it into theGstVideoOrientationMethodenum.- Parameters:
taglist- AGstTagListmethod- The location where to return the orientation.- Returns:
- TRUE if there was a valid "image-orientation" tag in the taglist.
- Since:
- 1.20
-
getHcenter
-
getHflip
-
getVcenter
-
getVflip
-
setHcenter
default boolean setHcenter(int center) Set the horizontal centering offset for the given object.- Parameters:
center- centering offset- Returns:
truein case the element supports centering
-
setHflip
default boolean setHflip(boolean flip) Set the horizontal flipping state (truefor flipped) for the given object.- Parameters:
flip- use flipping- Returns:
truein 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:
truein case the element supports centering
-
setVflip
default boolean setVflip(boolean flip) Set the vertical flipping state (truefor flipped) for the given object.- Parameters:
flip- use flipping- Returns:
truein case the element supports flipping
-