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

Chapter 3: Interfaces 3–7
Avalon-ST Video Protocol
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
Structure of Video Data Packets
Figure 3–6 shows the structure of a video data packet using a set parallel color pattern
and bits per pixel per color plane.
Figure 3–7 shows the structure of a video data packet using a set sequential color
pattern and bits per pixel per color plane.
Control Data Packets
Control data packets configure the MegaCore functions so that they correctly process
the video data packets that follow.
In addition to a packet type identifier of value 15, control data packets contain the
following data:
Width (16 bit), Height (16 bit), Interlacing (4 bit)
The width and height values are the dimensions of the video data packets that follow.
The width refers to the width in pixels of the lines of a frame. The height refers the
number of lines in a frame or field, such that a field of interlaced 1920×1080 (1080i)
would have a width of 1920 and a height of 540, and a frame of 1920×1080 (1080p)
would have a width of 1920 and a height of 1080.
Figure 3–6. Parallel Color Pattern
Figure 3–7. Sequence Color Pattern
Start End
Video data packet type identifier
(4 bits in least significant symbol,
X’s for unused symbols)
Video Data, repeating a
regular color pattern
Color
Pattern
Bits per pixel
per color plane
= 8
0
X
X
Symbols on bits 23:16
Symbols on bits 15:8
Symbols on bits 7:0
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
B
G
R
0
Symbols on bits 7:0
BGR
Color
Pattern
Bits per pixel
per color plane
= 8
Video Data, repeating a
regular color pattern
Video data packet type identifier
(4 bits in least significant symbol,
X’s for unused symbols)
Start End
BGRBGRBGR BGR