C_av_st_video_source_sink_base – Altera Video and Image Processing Suite User Manual
Page 295

Table A-11: Members of c_av_st_video_item Class
Member
Description
t_packet_types packet_type;
Packet_type
must be one of the following:
•
video_packet
•
control_packet
•
user_packet
•
generic_packet
•
undefined
c_av_st_video_source_sink_base
The declaration for the c_av_st_video_source_sink_base class:
class c_av_st_video_source_sink_base;
Table A-12: Method Calls for c_av_st_video_source_sink_base Class
Method Call
Description
function new(mailbox #(c_av_st_video_item)m_
vid);
Constructor. The video source and sink classes
transfer video objects through their mailboxes.
function void set_readiness_probability(int
percentage);
—
function int get_readiness_probability();
—
function void set_long_delay_probability(real
percentage);
—
function real get_long_delay_probability();
—
function void set_long_delay_duration_min_
beats(int percentage);
—
function int get_long_delay_duration_min_
beats();
—
function void set_long_delay_duration_max_
beats(int percentage);
—
function int get_long_delay_duration_max_
beats();
—
function void set_pixel_transport(t_pixel_
format in_parallel);
—
function t_pixel_format get_pixel_transport();
—
function void set_name(string s);
—
function string get_name();
—
UG-VIPSUITE
2015.05.04
c_av_st_video_source_sink_base
A-27
Avalon-ST Video Verification IP Suite
Altera Corporation