Class: VideoFrame

VideoFrame()

This class resprents a video frame and is a subclass of Frame

Constructor

new VideoFrame()

Properties:
Name Type Description
width Integer The image width in pixels.
height Integer The image height in pixels.
dataByteLength Integer The length in bytes
strideInBytes Integer The stride of the frame. The unit is number of bytes.
bitsPerPixel Integer The number of bits per pixel
bytesPerPixel Integer The number of bytes per pixel
Source:

Members

bitsPerPixel

Retrieve count of bits per pixel
Source:

bytesPerPixel

Retrieve bytes per pixel
Source:

dataByteLength

Get the data length in bytes
Source:

height

Get image height in pixels
Source:

strideInBytes

Retrieve frame stride, the actual line width in bytes (not the logical image width)
Source:

width

Get image width in pixels
Source: