visionhdl.MeasureTiming
Measure timing of pixel control structure input
Description
The visionhdl.MeasureTiming
System object™ measures the timing parameters of a video stream. The Vision HDL Toolbox™ streaming pixel protocol implements the timing of a video system,
including inactive intervals between frames. These inactive intervals are called
blanking intervals. Many Vision HDL Toolbox objects require minimum blanking intervals. You can use the timing
parameter measurements from this object to check that your video stream meets these
requirements. If you manipulate the control signals of your video stream, you can use
this object to verify the resulting control signals. To determine the parameters of each
frame, the object measures time steps between the control signals in the input
structure.
For details on the pixel control bus and the dimensions of a video frame, see Streaming Pixel Interface. For more information on blanking intervals, see Configure Blanking Intervals.
To measure the timing of the pixel control structure input:
Create the
visionhdl.MeasureTiming
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
returns
a System object that measures the average frame timing of a video stream.MT
= visionhdl.MeasureTiming
Usage
Description
[
incorporates the current pixel location into calculations of video frame timing.
The control signals, activePixels
,activeLines
,totalPixels
,totalLines
,horizBlank
,vertBlank
]
= MT(ctrlin
)ctrlin
, associated with each pixel
indicate the location of this pixel relative to the active frame boundaries. The
input object measures the time steps between the control signals to determine
the parameters of each frame.
For details about the pixel stream format, see Streaming Pixel Interface.
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Version History
Introduced in R2016b