User guide

Table Of Contents
8–6 Chapter 8: Chroma Resampler MegaCore Function
Signals
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Signals
Table 84 lists the input and output signals for the Chroma Resampler MegaCore
function.
Color plane
configuration
Sequence, Parallel
There must always be three color planes for this function but you can
choose whether the three color planes are transmitted in sequence or in
parallel.
Input Format
(1)
4:4:4, 4:2:2, 4:2:0
Choose the format/sampling rate format for the input frames. Note that the
input and output formats must be different.
Output Format
(1)
4:4:4, 4:2:2, 4:2:0
Choose the format/sampling rate format for the output frames. Note that
the input and output formats must be different.
Horizontal Filtering
Algorithm
Filtered,
Nearest Neighbor
Choose the algorithm to use in the horizontal direction when re-sampling
data to or from 4:4:4.
Luma adaptive On or Off
Turn on to enable luma-adaptive mode. This mode looks at the luma
channel during interpolation and uses this to detect edges.
Note to Table 8–3:
(1) The input and output formats must be different. A warning is issued when the same values are selected for both.
Table 8–3. Chroma Resampler Parameter Settings (Part 2 of 2)
Parameter Value Description
Table 8–4. Chroma Resampler Signals
Signal Direction Description
clock
In
The main system clock. The MegaCore function operates on the rising edge of the
clock
signal.
reset
In
The MegaCore function asynchronously resets when you assert
reset
. You must
deassert
reset
synchronously to the rising edge of the
clock
signal.
din_data
In
din
port Avalon-ST
data
bus. This bus enables the transfer of pixel data into the
MegaCore function.
din_endofpacket
In
din
port Avalon-ST
endofpacket
signal. This signal marks the end of an Avalon-
ST packet.
din_ready
Out
din
port Avalon-ST
ready
signal. This signal indicates when the MegaCore
function is ready to receive data.
din_startofpacket
In
din
port Avalon-ST
startofpacket
signal. This signal marks the start of an
Avalon-ST packet.
din_valid
In
din
port Avalon-ST
valid
signal. This signal identifies the cycles when the port
must input data.
dout_data
Out
dout
port Avalon-ST
data
bus. This bus enables the transfer of pixel data out of
the MegaCore function.
dout_endofpacket
Out
dout
port Avalon-ST
endofpacket
signal. This signal marks the end of an
Avalon-ST packet.
dout_ready
In
dout
port Avalon-ST
ready
signal. The downstream device asserts this signal
when it is able to receive data.
dout_startofpacket
Out
dout
port Avalon-ST
startofpacket
signal. This signal marks the start of an
Avalon-ST packet.
dout_valid
Out
dout
port Avalon-ST
valid
signal. This signal is asserted when the MegaCore
function outputs data.