Class DiscovererVideoInfo

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DiscovererVideoInfo extends DiscovererStreamInfo
GstDiscovererStreamInfo specific to video streams (this includes images).
  • Constructor Details

    • DiscovererVideoInfo

      public DiscovererVideoInfo(MemorySegment address)
      Create a DiscovererVideoInfo instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • DiscovererVideoInfo

      public DiscovererVideoInfo()
      Create a new DiscovererVideoInfo.
  • Method Details

    • getType

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

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected DiscovererVideoInfo asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class DiscovererStreamInfo
      Returns:
      the instance as if it were its parent type
    • getBitrate

      public int getBitrate()
    • getDepth

      public int getDepth()
    • getFramerateDenom

      public int getFramerateDenom()
    • getFramerateNum

      public int getFramerateNum()
    • getHeight

      public int getHeight()
    • getMaxBitrate

      public int getMaxBitrate()
    • getParDenom

      public int getParDenom()
    • getParNum

      public int getParNum()
    • getWidth

      public int getWidth()
    • isImage

      public boolean isImage()
    • isInterlaced

      public boolean isInterlaced()
    • builder

      public static DiscovererVideoInfo.Builder<? extends DiscovererVideoInfo.Builder> builder()
      A DiscovererVideoInfo.Builder object constructs a DiscovererVideoInfo with the specified properties. Use the various set...() methods to set properties, and finish construction with DiscovererVideoInfo.Builder.build().
      Returns:
      the builder object