17 #include "../detail/setup.hpp" 18 #include "../detail/qualifier.hpp" 19 #include "../vec3.hpp" 22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 23 # pragma message("GLM: GLM_GTC_color_encoding extension included") 32 template<
typename T, qualifier Q>
36 template<
typename T, qualifier Q>
40 template<
typename T, qualifier Q>
44 template<
typename T, qualifier Q>
50 #include "color_encoding.inl" GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to linear sRGB.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D65 YUV.