Interface VideoOrientation

All Superinterfaces:
Proxy
All Known Implementing Classes:
VideoOrientation.VideoOrientation$Impl

@Generated("org.javagi.JavaGI") public interface VideoOrientation extends Proxy
The interface allows unified access to control flipping and autocenter operation of video-sources or operators.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    The VideoOrientation$Impl type represents a native instance of the VideoOrientation interface.
    static class 
    GstVideoOrientationInterface interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Parses the "image-orientation" tag and transforms it into the GstVideoOrientationMethod enum.
    default boolean
    Get the horizontal centering offset from the given object.
    default boolean
    Get the horizontal flipping state (true for flipped) from the given object.
    static @Nullable Type
    Get the GType of the VideoOrientation class.
    default boolean
    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.

    Methods inherited from interface Proxy

    handle
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the VideoOrientation class.
      Returns:
      the GType
    • fromTag

      static boolean fromTag(TagList taglist, Out<VideoOrientationMethod> method)
      Parses the "image-orientation" tag and transforms it into the GstVideoOrientationMethod enum.
      Parameters:
      taglist - A GstTagList
      method - The location where to return the orientation.
      Returns:
      TRUE if there was a valid "image-orientation" tag in the taglist.
      Since:
      1.20
    • getHcenter

      default boolean getHcenter(Out<Integer> center)
      Get the horizontal centering offset from the given object.
      Parameters:
      center - return location for the result
      Returns:
      true in case the element supports centering
    • getHflip

      default boolean getHflip(Out<Boolean> flip)
      Get the horizontal flipping state (true for flipped) from the given object.
      Parameters:
      flip - return location for the result
      Returns:
      true in case the element supports flipping
    • getVcenter

      default boolean getVcenter(Out<Integer> center)
      Get the vertical centering offset from the given object.
      Parameters:
      center - return location for the result
      Returns:
      true in case the element supports centering
    • getVflip

      default boolean getVflip(Out<Boolean> flip)
      Get the vertical flipping state (true for flipped) from the given object.
      Parameters:
      flip - return location for the result
      Returns:
      true in case the element supports flipping
    • 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