vision.DeployableVideoPlayer
Display video
Description
The DeployableVideoPlayer
object displays video frames.
This player is capable of displaying high definition video at high frame rates. This video
player object supports C code generation.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For
example, y = step(obj,x)
and y = obj(x)
perform
equivalent operations.
Creation
Syntax
Description
depVideoPlayer = vision.DeployableVideoPlayer
returns a video
player depVideoPlayer
, for displaying video frames. This object,
unlike the vision.VideoPlayer
object, can generate C
code.
sets properties using one or more name-value pairs. Enclose each property name in
quotes. For example, depVideoPlayer
= vision.DeployableVideoPlayer(Name,Value
)depVideoPlayer =
vision.DeployableVideoPlayer('Name','Caption title')
Properties
Usage
Description
depVideoPlayer(
displays one
grayscale or truecolor RGB video frame in the video player.videoFrame
)
depVideoPlayer(
displays one frame of YCbCr 4:2:2 video in the color components Y, Cb, and Cr when you
set the videoFrame
,Y,Cb,Cr
)InputColorFormat
property to YCbCr
4:2:2
. The number of columns in the Cb and Cr components must be half the
number of columns in the Y component.
Input 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
Extended Capabilities
Version History
Introduced in R2012a