Splitting and duplicating, Splitting and duplicating -3 – Altera Video and Image Processing Suite User Manual
Page 137

data. Altera recommends that when you define a packet type where the length is variable and
meaningful, you send the length at the start of the packet.
Splitting and Duplicating
The Color Plane Sequencer IP core splits a single Avalon-ST Video input stream into two Avalon-ST
Video output streams..
In this mode of operation, the IP core arranges the color patterns of video data packets on the output
streams in a user-defined way using any of the color planes of the input color pattern.
The color planes of the input color pattern are available for use on either, both, or neither of the outputs.
This allows for splitting of video data packets, duplication of video data packets, or a mix of splitting and
duplication. The output color patterns are independent of each other, so the arrangement of one output
stream's color pattern places no limitation on the arrangement of the other output stream's color pattern.
The Color Plane Sequencer IP core duplicates Avalon-ST Video packets, other than video data packets, to
both outputs.
Figure 9-3: Example of Splitting and Duplicating Color Patterns
The figure shows an example of partially splitting and duplicating an input color pattern.
Color pattern of a video data
packet on input stream 0
3 color plane samples in sequence
Color pattern of a video data
packet on the output stream
2 color plane samples in parallel
and sequence
R
G
B
B
X
Y
Z
R
G
X
Y
Z
Color pattern of a video data
packet on input stream 1
3 color plane samples in parallel
Planes unused between the
input and output are dropped
Caution:
A deadlock may happen when the sequencer splits, processes independently and then joins
back the color planes, or when the sequencer splits the color planes in front of another Video
Image Processing IP core. To avoid this issue, add small FIFO buffers at the output of the Color
Plane Sequencer IP core that are configured as splitters.
UG-VIPSUITE
2015.05.04
Splitting and Duplicating
9-3
Color Plane Sequencer IP Core
Altera Corporation