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

3–4 Chapter 3: Interfaces
Avalon-ST Video Protocol
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Static Parameters of Video Data Packets
The following two static parameters specify the Avalon-ST interface that video
systems use:
Bits Per Pixel Per Color Plane
The maximum number of bits that represent each color plane value within each pixel.
For example R’G’B’ data of eight bits per sample (24 bits per pixel) would use eight
bits per pixel per color plane.
1 This parameter also defines the bit width of symbols for all packet types on a
particular Avalon-ST interface. An Avalon-ST interface must be at least four bits wide
to fully support the Avalon-ST Video protocol.
Color Pattern
The organization of the color plane samples within a video data packet is referred to
as the color pattern. This color pattern cannot change within a video data packet.
A color pattern is represented as a matrix which defines a repeating pattern of color
plane samples that make up a pixel (or multiple pixels). The height of the matrix
indicates the number of color plane samples transmitted in parallel, the width
determines how many cycles of data are transmitted before the pattern repeats.
Each color plane sample in the color pattern maps to an Avalon-ST symbol. The
mapping is such that color plane samples on the left of the color pattern matrix are the
symbols transmitted first. Color plane samples on the top are assigned to the symbols
occupying the most significant bits of the Avalon-ST data signal as shown in
Figure 3–3.
1 The number of color plane samples transmitted in parallel (that is, in one clock cycle)
defines the number of symbols transmitted in parallel for all packet types on a
particular Avalon-ST interface.
Figure 3–3. Symbol Transmission Order
RGB
Symbol transmitted first
Symbol transmitted last
B
G
R
Symbol in most significant bits
Symbol in least significant bits