Conversion.YUVToRGB
Static Method in Conversion
Declaration
public static Color YUVToRGB(float Y, float U, float V, SignalEncoding encoding = SignalEncoding.Rec709)
Description
Converts Y′UV components to an RGB color.
Parameters
Y | The luma component of the color in the range [0..1]. |
U | The blue-difference chroma component of the color in the range [-0.436..0.436]. |
V | The red-difference chroma component of the color in the range [-0.615..0.615]. |
encoding | The encoding to use (default=Rec709). |
Returns
Color | The converted RGB color. |