query_convert


Description:

public bool query_convert (Format src_format, int64 src_val, Format dest_format, out int64 dest_val)

Queries a pad to convert src_val in src_format to dest_format.

Parameters:

this

a Pad to invoke the convert query on.

src_format

a Format to convert from.

src_val

a value to convert.

dest_format

the Format to convert to.

dest_val

a pointer to the result.

Returns:

true if the query could be performed.