Class VideoVBIParser

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoVBIParser
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class VideoVBIParser extends ProxyInstance
A parser for detecting and extracting GstVideoAncillary data from Vertical Blanking Interval lines of component signals.
Since:
1.16
  • Constructor Details

    • VideoVBIParser

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

      public VideoVBIParser(VideoFormat format, int pixelWidth)
      Create a new GstVideoVBIParser for the specified format and pixelWidth.
      Parameters:
      format - a GstVideoFormat
      pixelWidth - The width in pixel to use
      Since:
      1.16
  • Method Details

    • getType

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

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

      public void addLine(@Nullable byte @Nullable [] data)
      Provide a new line of data to the parser. Call gst_video_vbi_parser_get_ancillary() to get the Ancillary data that might be present on that line.
      Parameters:
      data - The line of data to parse
      Since:
      1.16
    • copy

      public VideoVBIParser copy()
    • free

      public void free()
      Frees the parser.
      Since:
      1.16
    • getAncillary

      public VideoVBIParserResult getAncillary(VideoAncillary anc)
      Parse the line provided previously by gst_video_vbi_parser_add_line().
      Parameters:
      anc - a GstVideoAncillary to start the eventual ancillary data
      Returns:
      VideoVBIParserResult.OK if ancillary data was found and anc was filled. VideoVBIParserResult.DONE if there wasn't any data.
      Since:
      1.16