User guide

Table Of Contents
13–4 Chapter 13: Color Space Converter MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Avalon-ST Video Protocol Parameters
The Color Space Converter MegaCore function can process streams of pixel data of
the types listed inTable 13–1.
Stall Behavior and Error Recovery
In all parameterizations, the Color Space Converter only stalls between frames and
not between rows. It has no internal buffering apart from the registers of its
processing pipeline so there are only a few clock cycles of latency.
Error Recovery
The Color Space Converter MegaCore function processes video packets until an
endofpacket signal is received; the control packets are not used. For this MegaCore
function, there is no such condition as an early or late endofpacket, any mismatch of
the endofpacket signal and the frame size is propagated unchanged to the next
MegaCore function.
1 For more information about the stall behavior and error recovery, refer to “Stall
Behavior and Error Recovery” on page 1–3.
Latency
Table 132 lists the approximate latency from the video data input to the video data
output for typical usage modes of the Color Space Converter MegaCore function. You
can use this table to predict the approximate latency between the input and the output
of your video processing pipeline.
The latency is described using one or more of the following measures:
the number of progressive frames
the number of interlaced fields
the number of lines when less than a field of latency
a small number of cycles O (cycles)
Table 13–1. Color Space Converter Avalon-ST Video Protocol Parameters
Parameter Value
Frame Width Read from control packets at run time.
Frame Height Read from control packets at run time.
Interlaced / Progressive Either.
Bits per Color Sample Number of bits per color sample selected in the parameter editor.
Color Pattern
(1)
For color planes in sequence:
For color planes in parallel:
Note to Table 131:
(1) For channels in parallel, the top of the color pattern matrix represents the MSB of data and the bottom represents
the LSB. For details, refer to “Avalon-ST Video Protocol” on page 3–2.
210
0
1
2