gstvideo.video_colorimetry

Module for [VideoColorimetry] struct

Types 1

Structure describing the color info.

Fields
VideoColorRange rangethe color range. This is the valid range for the samples. It is used to convert the samples to Y'PbPr values.
VideoColorMatrix matrixthe color matrix. Used to convert between Y'PbPr and non-linear RGB (R'G'B')
VideoTransferFunction transferthe transfer function. used to convert between R'G'B' and RGB
VideoColorPrimaries primariescolor primaries. used to convert between R'G'B' and CIE XYZ
Methods
bool fromString(string color)Parse the colorimetry string and update cinfo with the parsed values.
bool isEqual(gstvideo.video_colorimetry.VideoColorimetry other)Compare the 2 colorimetry sets for equality
bool isEquivalent(uint bitdepth, gstvideo.video_colorimetry.VideoColorimetry other, uint otherBitdepth)Compare the 2 colorimetry sets for functionally equality
bool matches(string color)Check if the colorimetry information in info matches that of the string color.
string toString_()Make a string representation of cinfo. Returns: a string representation of cinfo or null if all the entries of cinfo are unknown values.