User guide

Table Of Contents
12–2 Chapter 12: Color Plane Sequencer MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Combining Color Patterns
The Color Plane Sequencer also allows the combination of two Avalon-ST Video
streams into a single stream. In this mode of operation, two input color patterns (one
for each input stream) are combined and arranged to the output stream color pattern
in a user defined way, so long as it contains a valid combination of channels in
sequence and parallel.
In addition to this combination and arrangement, color planes can also be dropped.
Avalon-ST Video packets other than video data packets can be forwarded to the single
output stream with the following options:
Packets from input stream 0 (port
din0
) and input stream 1 (port
din1
) forwarded,
input stream 0 packets being transmitted last. (The last control packet received is
the one an Avalon-ST Video compliant MegaCore function uses.)
Packets from input stream 0 forwarded, packets from input stream 1 dropped.
Packets from input stream 1 forwarded, packets from input stream 0 dropped.
Figure 12–2 shows an example of combining and rearranging two color patterns.
Splitting/Duplicating
The Color Plane Sequencer also allows the splitting of a single Avalon-ST Video input
stream into two Avalon-ST Video output streams. In this mode of operation, the color
patterns of video data packets on the output streams can be arranged 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.
Figure 12–2. Example of Combining Color Patterns
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