Table of Contents

Class VideoColorimetry

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public sealed class VideoColorimetry
Inheritance
VideoColorimetry
Inherited Members

Constructors

VideoColorimetry()

public VideoColorimetry()

VideoColorimetry(VideoColorimetryOwnedHandle)

public VideoColorimetry(VideoColorimetryOwnedHandle handle)

Parameters

handle VideoColorimetryOwnedHandle

Properties

Handle

public VideoColorimetryOwnedHandle Handle { get; }

Property Value

VideoColorimetryOwnedHandle

Matrix

public VideoColorMatrix Matrix { get; set; }

Property Value

VideoColorMatrix

Primaries

public VideoColorPrimaries Primaries { get; set; }

Property Value

VideoColorPrimaries

Range

public VideoColorRange Range { get; set; }

Property Value

VideoColorRange

Transfer

public VideoTransferFunction Transfer { get; set; }

Property Value

VideoTransferFunction

Methods

Equals(VideoColorimetry?)

public bool Equals(VideoColorimetry? other)

Parameters

other VideoColorimetry

Returns

bool

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.

FromString(string)

public bool FromString(string color)

Parameters

color string

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsEqual(VideoColorimetry)

[Version("1.6")]
public bool IsEqual(VideoColorimetry other)

Parameters

other VideoColorimetry

Returns

bool

IsEquivalent(uint, VideoColorimetry, uint)

[Version("1.22")]
public bool IsEquivalent(uint bitdepth, VideoColorimetry other, uint otherBitdepth)

Parameters

bitdepth uint
other VideoColorimetry
otherBitdepth uint

Returns

bool

Matches(string)

public bool Matches(string color)

Parameters

color string

Returns

bool

ToString()

public string? ToString()

Returns

string