Header menu logo fable-electron-docs-api

Planes Type

Constructors

Constructor Description

Planes(stride, offset, size, fd)

Full Usage: Planes(stride, offset, size, fd)

Parameters:
    stride : float - The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.
    offset : float - The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.
    size : float - Size in bytes of the plane. This is necessary to map the buffers.
    fd : float - File descriptor for the underlying memory object (usually dmabuf).

Returns: Planes
stride : float

The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.

offset : float

The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.

size : float

Size in bytes of the plane. This is necessary to map the buffers.

fd : float

File descriptor for the underlying memory object (usually dmabuf).

Returns: Planes

Instance members

Instance member Description

this.fd

Full Usage: this.fd

File descriptor for the underlying memory object (usually dmabuf).

this.offset

Full Usage: this.offset

The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.

this.size

Full Usage: this.size

Size in bytes of the plane. This is necessary to map the buffers.

this.stride

Full Usage: this.stride

The strides and offsets in bytes to be used when accessing the buffers via a memory mapping. One per plane per entry.

Type something to start searching.