NvBufSurfacePlaneParams¶
- class pyds.NvBufSurfacePlaneParams¶
- 保存缓冲区的平面参数。 - 变量:
- num_planes – int, 保存平面数量。 
- width – list of int, 保存平面宽度列表。 
- height – list of int, 保存平面高度列表。 
- pitch – list of int, 保存平面 pitch 列表。 
- offset – list of int, 保存平面偏移量列表。 
- psize – list of int, 保存平面大小列表。 
- bytesPerPix – list of int, 保存每个平面中每个像素占用的字节数列表。 
 
 - cast(*args, **kwargs)¶
- 重载函数。 - cast(self: capsule) -> pyds.NvBufSurfacePlaneParams 
 - 将给定的对象/数据转换为 - NvBufSurfacePlaneParams, 调用 pyds.NvBufSurfacePlaneParams.cast(data)- cast(self: int) -> pyds.NvBufSurfacePlaneParams 
 - 将给定的对象/数据转换为 - NvBufSurfacePlaneParams, 调用 pyds.NvBufSurfacePlaneParams.cast(data)