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

Appendix A: Avalon-ST Video Verification IP Suite A–29
Complete Class Reference
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
c_av_st_video_item
The following is the declaration for the c_av_st_video_item class:
class c_av_st_video_item
;
Table A–9 lists the method calls for the c_av_st_video_item class.
Table A–10 lists the members of the method calls for the c_av_st_video_item class.
rand int early_eop_packet_length = 20;
constraint early_eop_length {
early_eop_packet_length dist {1:= 10,
[2:image_height*image_width-1]:/90};
early_eop_packet_length inside
{[1:image_height*image_width]};
}
rand int late_eop_packet_length = 20;
constraint late_eop_length {
late_eop_packet_length inside {[1:100]};
}
Table A–8. Members of the c_av_st_video_file_io Class (Part 2 of 2)
Members Description
Table A–9. Method Calls for the c_av_st_video_item Class
Method Call Description
function new ();
Constructor
function void copy (c_av_st_video_item c);
Sets this.packet_type to match that of c.
function void set_packet_type (t_packet_types
ptype);
—
function t_packet_typesget_packet_type();
—
Table A–10. Members of the c_av_st_video_item Class
Method Description
t_packet_types packet_type
;
Packet_type
must be one of the following:
■
video_packet
■
control_packet
■
user_packet
■
generic_packet
■
undefined