Table of Contents

Class VideoInfo

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public sealed class VideoInfo : BoxedRecord, IEquatable<VideoInfo>
Inheritance
VideoInfo
Implements
Inherited Members

Constructors

VideoInfo()

public VideoInfo()

VideoInfo(VideoInfoOwnedHandle)

public VideoInfo(VideoInfoOwnedHandle handle)

Parameters

handle VideoInfoOwnedHandle

Properties

ChromaSite

public VideoChromaSite ChromaSite { get; set; }

Property Value

VideoChromaSite

Flags

public VideoFlags Flags { get; set; }

Property Value

VideoFlags

FpsD

public int FpsD { get; set; }

Property Value

int

FpsN

public int FpsN { get; set; }

Property Value

int

Handle

public VideoInfoOwnedHandle Handle { get; }

Property Value

VideoInfoOwnedHandle

Height

public int Height { get; set; }

Property Value

int

InterlaceMode

public VideoInterlaceMode InterlaceMode { get; set; }

Property Value

VideoInterlaceMode

ParD

public int ParD { get; set; }

Property Value

int

ParN

public int ParN { get; set; }

Property Value

int

Size

public nuint Size { get; set; }

Property Value

nuint

Views

public int Views { get; set; }

Property Value

int

Width

public int Width { get; set; }

Property Value

int

Methods

Align(VideoAlignment)

public bool Align(VideoAlignment align)

Parameters

align VideoAlignment

Returns

bool

AlignFull(VideoAlignment, out nuint)

[Version("1.18")]
public bool AlignFull(VideoAlignment align, out nuint planeSize)

Parameters

align VideoAlignment
planeSize nuint

Returns

bool

Convert(Format, long, Format, out long)

public bool Convert(Format srcFormat, long srcValue, Format destFormat, out long destValue)

Parameters

srcFormat Format
srcValue long
destFormat Format
destValue long

Returns

bool

Copy()

[Version("1.6")]
public VideoInfo Copy()

Returns

VideoInfo

Equals(VideoInfo?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(VideoInfo? other)

Parameters

other VideoInfo

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.6")]
public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsEqual(VideoInfo)

public bool IsEqual(VideoInfo other)

Parameters

other VideoInfo

Returns

bool

New()

[Version("1.6")]
public static VideoInfo New()

Returns

VideoInfo

NewFromCaps(Caps)

[Version("1.20")]
public static VideoInfo? NewFromCaps(Caps caps)

Parameters

caps Caps

Returns

VideoInfo

SetFormat(VideoFormat, uint, uint)

public bool SetFormat(VideoFormat format, uint width, uint height)

Parameters

format VideoFormat
width uint
height uint

Returns

bool

SetInterlacedFormat(VideoFormat, VideoInterlaceMode, uint, uint)

[Version("1.16")]
public bool SetInterlacedFormat(VideoFormat format, VideoInterlaceMode mode, uint width, uint height)

Parameters

format VideoFormat
mode VideoInterlaceMode
width uint
height uint

Returns

bool

ToCaps()

public Caps ToCaps()

Returns

Caps