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

A–10 Appendix A: Avalon-ST Video Verification IP Suite
Types of Example Test Environment
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
7. Run the test by changing to the example video files test or example constrained
random test directory and start the QuestaSim
™
software:
■ For example video files test:
>cd $ALTERA_VIDEO_VERIFICATION/example_video_files
>vsim –do run.tcl
■ For constrained random test:
>cd $ALTERA_VIDEO_VERIFICATION/example_constrained_random
>vsim –do run.tcl
1 To run with other simulators, edit the run.tcl file as provided by Qsys (including the
appropriate TCL script for that vendor’s simulator). The test runs and completes with
the following message:
“Simulation complete. To view resultant video, now run the windows
raw2avi application.”
The example video files test produces a raw output video file (vip_car_out.raw).
Together with an .spc file (vip_car_out.spc), you can use the vip_car_out.raw to
generate an .avi file for viewing. To generate the .avi file, open a DOS command
prompt from a Windows machine and run the following convertor utility:
C:>raw2avi.exe vip_car_out.raw video.avi
You can view the video.avi file with a media player. The media player shows a
greyscale version of the source video file (vip_car_0.avi) that you can also play to see
the full color video. You can view the full sequence from which the clip is taken in the
vip_car.avi file.