[Bf-blender-cvs] [f9b6709] master: Add missing declarations

Campbell Barton noreply at git.blender.org
Sat Apr 4 01:51:40 CEST 2015


Commit: f9b6709a17f3189a3036250b630216d9b70bd9d2
Author: Campbell Barton
Date:   Sat Apr 4 10:23:22 2015 +1100
Branches: master
https://developer.blender.org/rBf9b6709a17f3189a3036250b630216d9b70bd9d2

Add missing declarations

===================================================================

M	source/blender/blenlib/BLI_math_color.h

===================================================================

diff --git a/source/blender/blenlib/BLI_math_color.h b/source/blender/blenlib/BLI_math_color.h
index 5652c80..d70dfcd 100644
--- a/source/blender/blenlib/BLI_math_color.h
+++ b/source/blender/blenlib/BLI_math_color.h
@@ -129,6 +129,9 @@ void rgba_float_to_uchar(unsigned char r_col[4], const float col_f[4]);
 
 void xyz_to_lab(float x, float y, float z, float *l, float *a, float *b);
 
+MINLINE float rgb_to_grayscale(const float rgb[3]);
+MINLINE unsigned char rgb_to_grayscale_byte(const unsigned char rgb[3]);
+
 MINLINE int compare_rgb_uchar(const unsigned char a[3], const unsigned char b[3], const int limit);
 
 MINLINE float dither_random_value(float s, float t);




More information about the Bf-blender-cvs mailing list