Package org.freedesktop.gstreamer.video
Class VideoVBIEncoder
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoVBIEncoder
- All Implemented Interfaces:
Proxy
An encoder for writing ancillary data to the
Vertical Blanking Interval lines of component signals.
- Since:
- 1.16
-
Constructor Summary
ConstructorsConstructorDescriptionVideoVBIEncoder(MemorySegment address) Create a VideoVBIEncoder proxy instance for the provided memory address.VideoVBIEncoder(VideoFormat format, int pixelWidth) Create a newGstVideoVBIEncoderfor the specifiedformatandpixelWidth. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAncillary(boolean composite, byte DID, byte SDIDBlockNumber, @org.jspecify.annotations.Nullable byte @Nullable [] data) Stores Video Ancillary data, according to SMPTE-291M specification.copy()voidfree()Frees theencoder.static @Nullable TypegetType()Get the GType of the VideoVBIEncoder classvoidwriteLine(MemorySegment data) Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoVBIEncoder
Create a VideoVBIEncoder proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
VideoVBIEncoder
Create a newGstVideoVBIEncoderfor the specifiedformatandpixelWidth.- Parameters:
format- aGstVideoFormatpixelWidth- The width in pixel to use- Since:
- 1.16
-
-
Method Details
-
getType
Get the GType of the VideoVBIEncoder class- Returns:
- the GType
-
addAncillary
public boolean addAncillary(boolean composite, byte DID, byte SDIDBlockNumber, @org.jspecify.annotations.Nullable byte @Nullable [] data) Stores Video Ancillary data, according to SMPTE-291M specification.Note that the contents of the data are always read as 8bit data (i.e. do not contain the parity check bits).
- Parameters:
composite-trueif composite ADF should be created, component otherwiseDID- The Data IdentifierSDIDBlockNumber- The Secondary Data Identifier (if type 2) or the Data Block Number (if type 1)data- The user data content of the Ancillary packet. Does not contain the ADF, DID, SDID nor CS.- Returns:
trueif enough space was left in the current line,falseotherwise.- Since:
- 1.16
-
copy
-
free
public void free()Frees theencoder.- Since:
- 1.16
-
writeLine
-