python_vali.SurfacePlane

class python_vali.SurfacePlane

Continious 2D chunk of memory stored in vRAM which represents single plane / channel of video frame. It supports DLPack specification.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

Attributes

ElemSize

Get element size in bytes

GpuMem

Get pointer to SurfacePlane data

Height

Get height in pixels

HostFrameSize

Get amount of host memory needed to store this SurfacePlane

Pitch

Get pitch in bytes

Width

Get width in pixels

property ElemSize

Get element size in bytes

property GpuMem

Get pointer to SurfacePlane data

property Height

Get height in pixels

property HostFrameSize

Get amount of host memory needed to store this SurfacePlane

property Pitch

Get pitch in bytes

property Width

Get width in pixels