ImagePlaneInfoNative
Representation of the native image plane structure.
Public Methods
ImagePlaneInfoNative
Sets data from an MLWebRTC.VideoSink.Frame.ImagePlane object.
public ImagePlaneInfoNative(
PlaneInfo planeInfo
)
Parameters
Type | Name | Description |
---|---|---|
PlaneInfo | planeInfo | Struct representing an image plane that comes from some captured camera frame. |
override string ToString
public override string ToString()
Public Attributes
BytesPerPixel
The bytes per pixel of the image plane.
public uint BytesPerPixel;
Height
Height of the image plane.
public uint Height;
ImageDataPtr
Data of the image plane.
public IntPtr ImageDataPtr;
Size
Size of the image plane.
public uint Size;
Stride
The stride of the image plane, representing how many bytes one row of the image plane contains.
public uint Stride;
Width
Width of the image plane.
public uint Width;