Functions

glm::gtx::color_space_YCoCg Namespace Reference

GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations. More...

Functions

template<typename valType >
detail::tvec3< valType > rgb2YCoCg (detail::tvec3< valType > const &rgbColor)
template<typename valType >
detail::tvec3< valType > rgb2YCoCgR (detail::tvec3< valType > const &rgbColor)
template<typename valType >
detail::tvec3< valType > YCoCg2rgb (detail::tvec3< valType > const &YCoCgColor)
template<typename valType >
detail::tvec3< valType > YCoCgR2rgb (detail::tvec3< valType > const &YCoCgColor)

Detailed Description

GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations.