VideoVBIEncoder.addAncillary

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).

class VideoVBIEncoder
bool
addAncillary
(,
ubyte DID
,,
ubyte[] data
)

Parameters

composite bool

true if composite ADF should be created, component otherwise

DID ubyte

The Data Identifier

SDIDBlockNumber ubyte

The Secondary Data Identifier (if type 2) or the Data Block Number (if type 1)

data ubyte[]

The user data content of the Ancillary packet. Does not contain the ADF, DID, SDID nor CS.

Return Value

Type: bool

true if enough space was left in the current line, false otherwise.