User guide
Table Of Contents
- Contents
- 1. About This MegaCore Function Suite
- Release Information
- Device Family Support
- Features
- Design Example
- Performance and Resource Utilization
- 2D FIR Filter
- 2D Median Filter
- Alpha Blending Mixer
- Avalon-ST Video Monitor
- Chroma Resampler
- Clipper
- Clocked Video Input
- Clocked Video Output
- Color Plane Sequencer
- Color Space Converter
- Control Synchronizer
- Deinterlacer
- Deinterlacer II
- Frame Buffer
- Gamma Corrector
- Interlacer
- Scaler
- Scaler II
- Switch
- Test Pattern Generator
- Trace System
- 2. Getting Started with Altera IP Cores
- 3. Interfaces
- Interface Types
- Avalon-ST Video Protocol
- Avalon-MM Slave Interfaces
- Avalon-MM Master Interfaces
- Buffering of Non-Image Data Packets in Memory
- 4. 2D FIR Filter MegaCore Function
- 5. 2D Median Filter MegaCore Function
- 6. Alpha Blending MegaCore Function
- 7. Avalon-ST Video Monitor MegaCore Function
- 8. Chroma Resampler MegaCore Function
- 9. Clipper MegaCore Function
- 10. Clocked Video Input MegaCore Function
- 11. Clocked Video Output MegaCore Function
- 12. Color Plane Sequencer MegaCore Function
- 13. Color Space Converter MegaCore Function
- 14. Control Synchronizer MegaCore Function
- 15. Deinterlacer MegaCore Function
- Core Overview
- Functional Description
- Parameter Settings
- Signals
- Control Register Maps
- 16. Deinterlacer II MegaCore Function
- 17. Frame Reader MegaCore Function
- 18. Frame Buffer MegaCore Function
- 19. Gamma Corrector MegaCore Function
- 20. Interlacer MegaCore Function
- 21. Scaler MegaCore Function
- 22. Scaler II MegaCore Function
- 23. Switch MegaCore Function
- 24. Test Pattern Generator MegaCore Function
- 25. Trace System MegaCore Function
- A. Avalon-ST Video Verification IP Suite
- B. Choosing the Correct Deinterlacer
- Additional Information

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