Enum Class VideoMultiviewFramePacking

java.lang.Object
java.lang.Enum<VideoMultiviewFramePacking>
org.freedesktop.gstreamer.video.VideoMultiviewFramePacking
All Implemented Interfaces:
Serializable, Comparable<VideoMultiviewFramePacking>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum VideoMultiviewFramePacking extends Enum<VideoMultiviewFramePacking> implements Enumeration

GstVideoMultiviewFramePacking represents the subset of GstVideoMultiviewMode values that can be applied to any video frame without needing extra metadata. It can be used by elements that provide a property to override the multiview interpretation of a video stream when the video doesn't contain any markers.

This enum is used (for example) on playbin, to re-interpret a played video stream as a stereoscopic video. The individual enum values are equivalent to and have the same value as the matching GstVideoMultiviewMode.

  • Enum Constant Details

    • NONE

      public static final VideoMultiviewFramePacking NONE
      A special value indicating no frame packing info.
    • MONO

      public static final VideoMultiviewFramePacking MONO
      All frames are monoscopic.
    • LEFT

      public static final VideoMultiviewFramePacking LEFT
      All frames represent a left-eye view.
    • SIDE_BY_SIDE

      public static final VideoMultiviewFramePacking SIDE_BY_SIDE
      Left and right eye views are provided in the left and right half of the frame respectively.
    • SIDE_BY_SIDE_QUINCUNX

      public static final VideoMultiviewFramePacking SIDE_BY_SIDE_QUINCUNX
      Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views.
    • COLUMN_INTERLEAVED

      public static final VideoMultiviewFramePacking COLUMN_INTERLEAVED
      Alternating vertical columns of pixels represent the left and right eye view respectively.
    • ROW_INTERLEAVED

      public static final VideoMultiviewFramePacking ROW_INTERLEAVED
      Alternating horizontal rows of pixels represent the left and right eye view respectively.
    • TOP_BOTTOM

      public static final VideoMultiviewFramePacking TOP_BOTTOM
      The top half of the frame contains the left eye, and the bottom half the right eye.
    • CHECKERBOARD

      public static final VideoMultiviewFramePacking CHECKERBOARD
      Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.
  • Method Details

    • values

      public static VideoMultiviewFramePacking[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VideoMultiviewFramePacking valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static VideoMultiviewFramePacking of(int value)
      Create a new VideoMultiviewFramePacking for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static VideoMultiviewFramePacking of(MemorySegment address)
      Create a new VideoMultiviewFramePacking for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the VideoMultiviewFramePacking class.
      Returns:
      the GType