Altera Video and Image Processing Suite User Manual

Page 291

Advertising
background image

Method Call

Description

function void set_user_packet_probability (int

s);

If the

send_user_packets

is set to random,

the

user_packet_probability

control

determines the probability that a user packet

being sent before a control packet. It also

determines the probability that a user packet

will be sent after a control packet.

function int get_user_packet_probability ();

function void set_control_packet_

probability(int s);

If the

send_control_packets

control is set to

random, the

control_packet_probability

control determines the probability of a control

packet being sent before a video packet.

function int get_control_packet_probability();

function void set_send_garbage_after_control_

packets (t_packet_control s);

When the

send_control_packet()

method

puts a control packet into the

m_video_item_

out

mailbox, the

append_garbage

member of

the control packet object is set to the value of

send_garbage_after_control_packets

.

function t_packet_control get_send_garbage_

after_control_packets();

function void set_object_name(string s);

You can use

object_name

to name a given

object instance of a class to ensure any

reporting that the class generates is labeled

with the originating object’s name.

function string get_object_name();

function string get_filename();

This returns the filename associated with the

object, by the

open_file

call.

function void set_image_

height(bit[15:0]height);

function bit[15:0]get_image_height();

function void set_image_width(bit[15:0] width)

;

function bit[15:] get_image_width();

UG-VIPSUITE

2015.05.04

c_av_st_video_file_io

A-23

Avalon-ST Video Verification IP Suite

Altera Corporation

Send Feedback

Advertising