gstvideo.video_colorimetry
Module for [VideoColorimetry] struct
struct VideoColorimetry
Types 1
structVideoColorimetry
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 RGBVideoColorPrimaries primariescolor primaries. used to convert between R'G'B' and CIE XYZMethods
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 equalitybool isEquivalent(uint bitdepth, gstvideo.video_colorimetry.VideoColorimetry other, uint otherBitdepth)Compare the 2 colorimetry sets for functionally equalitybool 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.