color_space_YCoCg.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_color_space_YCoCg extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  template <typename T, precision P>
55  GLM_FUNC_DECL detail::tvec3<T, P> rgb2YCoCg(
56  detail::tvec3<T, P> const & rgbColor);
57 
60  template <typename T, precision P>
61  GLM_FUNC_DECL detail::tvec3<T, P> YCoCg2rgb(
62  detail::tvec3<T, P> const & YCoCgColor);
63 
67  template <typename T, precision P>
68  GLM_FUNC_DECL detail::tvec3<T, P> rgb2YCoCgR(
69  detail::tvec3<T, P> const & rgbColor);
70 
74  template <typename T, precision P>
75  GLM_FUNC_DECL detail::tvec3<T, P> YCoCgR2rgb(
76  detail::tvec3<T, P> const & YCoCgColor);
77 
79 }//namespace glm
80 
81 #include "color_space_YCoCg.inl"
GLM_FUNC_DECL detail::tvec3< T, P > rgb2YCoCg(detail::tvec3< T, P > const &rgbColor)
GLM_FUNC_DECL detail::tvec3< T, P > YCoCg2rgb(detail::tvec3< T, P > const &YCoCgColor)
GLM_FUNC_DECL detail::tvec3< T, P > rgb2YCoCgR(detail::tvec3< T, P > const &rgbColor)
GLM_FUNC_DECL detail::tvec3< T, P > rgbColor(detail::tvec3< T, P > const &hsvValue)
GLM_FUNC_DECL detail::tvec3< T, P > YCoCgR2rgb(detail::tvec3< T, P > const &YCoCgColor)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:31