Table of Contents

Class VideoImage

Namespace
Stride.Video
Assembly
Stride.Video.dll

Represents an image extracted from a video.

public sealed class VideoImage : IDisposable
Inheritance
VideoImage
Implements
Extension Methods

Constructors

VideoImage(int, int, int)

Initializes a new instance of the VideoImage class.

public VideoImage(int width, int height, int bufferSize)

Parameters

width int
height int
bufferSize int

Properties

Buffer

Buffer to the image data.

public nint Buffer { get; }

Property Value

nint

BufferSize

Size of the buffer in bytes.

public int BufferSize { get; }

Property Value

int

Height

Image height.

public int Height { get; }

Property Value

int

Linesize

public int Linesize { get; set; }

Property Value

int

Timestamp

public long Timestamp { get; set; }

Property Value

long

Width

Image width.

public int Width { get; }

Property Value

int

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()