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 |
Members
bitsPerPixel
Retrieve count of bits per pixel
bytesPerPixel
Retrieve bytes per pixel
dataByteLength
Get the data length in bytes
height
Get image height in pixels
strideInBytes
Retrieve frame stride, the actual line width in bytes (not the logical image width)
width
Get image width in pixels