Block Connection#
Once blocks are created, they can be connected in pairs. The connection can be done in any order and can be intermingled with creation of the blocks. NVIDIA DriveOS™ users should ensure that NvSciStream blocks are connected in a sensible manner, forming a complete tree from one producer to one or more consumers, with all blocks serving a purpose and correctly positioned in relation to one another given their types.
NvSciError
NvSciStreamBlockConnect(
NvSciStreamBlock const upstream,
NvSciStreamBlock const downstream
)
An available output of the upstream block is connected to an available input of the downstream block. If there is no available output or input, the function fails. Each input and output block can be connected only once. A new block cannot be connected in place of an old one, even if the old one is destroyed.