NvBufSurfacePlaneParams

class pyds.NvBufSurfacePlaneParams

Holds the planewise parameters of a buffer.

Variables:
  • num_planes – int, Holds the number of planes.

  • width – list of int, Holds the widths of planes.

  • height – list of int, Holds the heights of planes.

  • pitch – list of int, Holds the pitches of planes.

  • offset – list of int, Holds the offsets of planes.

  • psize – list of int, Holds the sizes of planes.

  • bytesPerPix – list of int, Holds the number of bytes occupied by a pixel in each plane.

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvBufSurfacePlaneParams

cast given object/data to NvBufSurfacePlaneParams, call pyds.NvBufSurfacePlaneParams.cast(data)

  1. cast(self: int) -> pyds.NvBufSurfacePlaneParams

cast given object/data to NvBufSurfacePlaneParams, call pyds.NvBufSurfacePlaneParams.cast(data)