VideoVBIEncoder.addAncillary

bool addAncillary(bool composite, ubyte DID, ubyte SDIDBlockNumber, ubyte[] 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

compositetrue if composite ADF should be created, component otherwise
DIDThe Data Identifier
SDIDBlockNumberThe Secondary Data Identifier (if type 2) or the Data Block Number (if type 1)
dataThe 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.