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
Get element size in bytes
Get pointer to SurfacePlane data
Get height in pixels
Get amount of host memory needed to store this SurfacePlane
Get pitch in bytes
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