VideoColorMatrix

Namespace for VideoColorMatrix enum

Members

Static functions

fromIso
gstvideo.types.VideoColorMatrix fromIso(uint value)

Converts the value to the #GstVideoColorMatrix The matrix coefficients (MatrixCoefficients) value is defined by "ISO/IEC 23001-8 Section 7.3 Table 4" and "ITU-T H.273 Table 4". "H.264 Table E-5" and "H.265 Table E.5" share the identical values.

getKrKb
bool getKrKb(gstvideo.types.VideoColorMatrix matrix, double Kr, double Kb)

Get the coefficients used to convert between Y'PbPr and R'G'B' using matrix.

toIso
uint toIso(gstvideo.types.VideoColorMatrix matrix)

Converts #GstVideoColorMatrix to the "matrix coefficients" (MatrixCoefficients) value defined by "ISO/IEC 23001-8 Section 7.3 Table 4" and "ITU-T H.273 Table 4". "H.264 Table E-5" and "H.265 Table E.5" share the identical values.