VideoColorimetry

Structure describing the color info.

Members

Functions

fromString
bool fromString(string color)

Parse the colorimetry string and update cinfo with the parsed values.

isEqual
bool isEqual(gstvideo.video_colorimetry.VideoColorimetry other)

Compare the 2 colorimetry sets for equality

isEquivalent
bool isEquivalent(uint bitdepth, gstvideo.video_colorimetry.VideoColorimetry other, uint otherBitdepth)

Compare the 2 colorimetry sets for functionally equality

matches
bool matches(string color)

Check if the colorimetry information in info matches that of the string color.

toString_
string toString_()

Make a string representation of cinfo.