Class YccMatrix
Contains standard matrices for converting between R'G'B' and Y'CbCr formats.
Inheritance
System.Object
YccMatrix
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public static class YccMatrix : Object
Fields
Rec2020
Coefficients for converting R'G'B' to Rec. 2020 Y'CbCr. Kr = 0.2627, Kb = 0.0593.
Declaration
public static readonly Matrix4x4 Rec2020
Field Value
Type | Description |
---|---|
System.Numerics.Matrix4x4 |
Rec601
Coefficients for converting R'G'B' to Rec. 601 Y'CbCr. Kr = 0.299, Kb = 0.114.
Declaration
public static readonly Matrix4x4 Rec601
Field Value
Type | Description |
---|---|
System.Numerics.Matrix4x4 |
Rec709
Coefficients for converting R'G'B' to Rec. 709 Y'CbCr. Kr = 0.2126, Kb = 0.0722.
Declaration
public static readonly Matrix4x4 Rec709
Field Value
Type | Description |
---|---|
System.Numerics.Matrix4x4 |
Smpte240M
Coefficients for converting R'G'B' to SMPTE 240M (NTSC) Y'CbCr. Kr = 0.2122, Kb = 0.0865.
Declaration
public static readonly Matrix4x4 Smpte240M
Field Value
Type | Description |
---|---|
System.Numerics.Matrix4x4 |