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

8–6 Chapter 8: Chroma Resampler MegaCore Function
Signals
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Signals
Table 8–4 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.