Package org.freedesktop.gstreamer.video
Class VideoVBIParser
java.lang.Object
io.github.jwharm.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.-
Constructor Summary
ConstructorDescriptionVideoVBIParser
(MemorySegment address) Create a VideoVBIParser proxy instance for the provided memory address.VideoVBIParser
(VideoFormat format, int pixelWidth) Create a newGstVideoVBIParser
for the specifiedformat
andpixelWidth
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLine
(byte[] data) Provide a new line of data to the this VideoVBIParser.copy()
void
free()
Frees the this VideoVBIParser.Parse the line provided previously by gst_video_vbi_parser_add_line().static Type
getType()
Get the GType of the VideoVBIParser classMethods inherited from class io.github.jwharm.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 newGstVideoVBIParser
for the specifiedformat
andpixelWidth
.- Parameters:
format
- aGstVideoFormat
pixelWidth
- The width in pixel to use
-
-
Method Details
-
getType
-
addLine
public void addLine(byte[] data) Provide a new line of data to the this VideoVBIParser. 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
-
copy
-
free
public void free()Frees the this VideoVBIParser. -
getAncillary
Parse the line provided previously by gst_video_vbi_parser_add_line().- Parameters:
anc
- aGstVideoAncillary
to start the eventual ancillary data- Returns:
VideoVBIParserResult.OK
if ancillary data was found andanc
was filled.VideoVBIParserResult.DONE
if there wasn't any data.
-