VideoColorimetry

Structure describing the color info.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()
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.

Properties

matrix
gstvideo.types.VideoColorMatrix matrix [@property getter]

Get field matrix.

matrix
gstvideo.types.VideoColorMatrix matrix [@property setter]

Set field matrix.

primaries
gstvideo.types.VideoColorPrimaries primaries [@property getter]

Get field primaries.

primaries
gstvideo.types.VideoColorPrimaries primaries [@property setter]

Set field primaries.

range
gstvideo.types.VideoColorRange range [@property getter]

Get field range.

range
gstvideo.types.VideoColorRange range [@property setter]

Set field range.

transfer
gstvideo.types.VideoTransferFunction transfer [@property getter]

Get field transfer.

transfer
gstvideo.types.VideoTransferFunction transfer [@property setter]

Set field transfer.