diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 19:13:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 19:13:19 +0400 |
commit | 0bed750c3a4f7b368c06d40847356451f51eced6 (patch) | |
tree | 768c667043cb7a7f686994151c11ea9a07986f12 /source/blender/blenlib/BLI_math_color.h | |
parent | 1dec23d33a86c0412852ef510fc5b5b619284697 (diff) |
move one line color conversion functions to be inline.
Diffstat (limited to 'source/blender/blenlib/BLI_math_color.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_color.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenlib/BLI_math_color.h b/source/blender/blenlib/BLI_math_color.h index 24c237f1130..7520f09fe95 100644 --- a/source/blender/blenlib/BLI_math_color.h +++ b/source/blender/blenlib/BLI_math_color.h @@ -74,12 +74,7 @@ void rgb_to_xyz(float r, float g, float b, float *x, float *y, float *z); unsigned int rgb_to_cpack(float r, float g, float b); unsigned int hsv_to_cpack(float h, float s, float v); -float rgb_to_grayscale(const float rgb[3]); -unsigned char rgb_to_grayscale_byte(const unsigned char rgb[3]); -float rgb_to_luma(const float rgb[3]); -unsigned char rgb_to_luma_byte(const unsigned char rgb[3]); -float rgb_to_luma_y(const float rgb[3]); -float rgb_to_luma_rec709_byte(const unsigned char rgb[3]); +/* rgb_to_grayscale & rgb_to_luma functions moved to math_color_inline.c */ /**************** Profile Transformations *****************/ |