User guide

Table Of Contents
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