Package org.freedesktop.gstreamer.video
Class VideoVBIEncoder
java.lang.Object
io.github.jwharm.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.
-
Constructor Summary
ConstructorDescriptionVideoVBIEncoder
(MemorySegment address) Create a VideoVBIEncoder proxy instance for the provided memory address.VideoVBIEncoder
(VideoFormat format, int pixelWidth) Create a newGstVideoVBIEncoder
for the specifiedformat
andpixelWidth
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
addAncillary
(boolean composite, byte DID, byte SDIDBlockNumber, byte[] data) Stores Video Ancillary data, according to SMPTE-291M specification.copy()
void
free()
Frees the this VideoVBIEncoder.static Type
getType()
Get the GType of the VideoVBIEncoder classvoid
writeLine
(MemorySegment data) Methods inherited from class io.github.jwharm.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 newGstVideoVBIEncoder
for the specifiedformat
andpixelWidth
.- Parameters:
format
- aGstVideoFormat
pixelWidth
- The width in pixel to use
-
-
Method Details
-
getType
-
addAncillary
public boolean addAncillary(boolean composite, byte DID, byte SDIDBlockNumber, byte[] 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
-true
if 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:
true
if enough space was left in the current line,false
otherwise.
-
copy
-
free
public void free()Frees the this VideoVBIEncoder. -
writeLine
-