Package org.freedesktop.gstreamer.video
Class VideoVBIParser
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoVBIParser
- All Implemented Interfaces:
Proxy
A parser for detecting and extracting
GstVideoAncillary data from
Vertical Blanking Interval lines of component signals.- Since:
- 1.16
-
Constructor Summary
ConstructorsConstructorDescriptionVideoVBIParser(MemorySegment address) Create a VideoVBIParser proxy instance for the provided memory address.VideoVBIParser(VideoFormat format, int pixelWidth) Create a newGstVideoVBIParserfor the specifiedformatandpixelWidth. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLine(@org.jspecify.annotations.Nullable byte @Nullable [] data) Provide a new line of data to theparser.Call gst_video_vbi_parser_get_ancillary() to get the Ancillary data that might be present on that line.copy()voidfree()Frees theparser.Parse the line provided previously by gst_video_vbi_parser_add_line().static @Nullable TypegetType()Get the GType of the VideoVBIParser classMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoVBIParser
Create a VideoVBIParser proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
VideoVBIParser
Create a newGstVideoVBIParserfor the specifiedformatandpixelWidth.- Parameters:
format- aGstVideoFormatpixelWidth- The width in pixel to use- Since:
- 1.16
-
-
Method Details
-
getType
-
addLine
public void addLine(@org.jspecify.annotations.Nullable byte @Nullable [] data) Provide a new line of data to theparser.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
-
free
public void free()Frees theparser.- Since:
- 1.16
-
getAncillary
Parse the line provided previously by gst_video_vbi_parser_add_line().- Parameters:
anc- aGstVideoAncillaryto start the eventual ancillary data- Returns:
VideoVBIParserResult.OKif ancillary data was found andancwas filled.VideoVBIParserResult.DONEif there wasn't any data.- Since:
- 1.16
-