[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53761] trunk/blender/source/blender/nodes /composite/nodes/node_composite_colorbalance.c: Even though we want to get rid of this legacy compo soon, code should compile as long as it is here! :)

Bastien Montagne montagne29 at wanadoo.fr
Sun Jan 13 09:38:15 CET 2013


Revision: 53761
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53761
Author:   mont29
Date:     2013-01-13 08:38:14 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
Even though we want to get rid of this legacy compo soon, code should compile as long as it is here! :)

Modified Paths:
--------------
    trunk/blender/source/blender/nodes/composite/nodes/node_composite_colorbalance.c

Modified: trunk/blender/source/blender/nodes/composite/nodes/node_composite_colorbalance.c
===================================================================
--- trunk/blender/source/blender/nodes/composite/nodes/node_composite_colorbalance.c	2013-01-13 05:21:49 UTC (rev 53760)
+++ trunk/blender/source/blender/nodes/composite/nodes/node_composite_colorbalance.c	2013-01-13 08:38:14 UTC (rev 53761)
@@ -58,7 +58,7 @@
  *     out = Clamp(O) ^ power
  *         = Clamp((in * slope) + offset) ^ power
  */
-DO_INLINE float colorbalance_cdl(float in, float offset, float power, float slope)
+BLI_INLINE float colorbalance_cdl(float in, float offset, float power, float slope)
 {
 	float x = in * slope + offset;
 	
@@ -69,7 +69,7 @@
 }
 
 /* note: lift_lgg is just 2-lift, gamma_inv is 1.0/gamma */
-DO_INLINE float colorbalance_lgg(float in, float lift_lgg, float gamma_inv, float gain)
+BLI_INLINE float colorbalance_lgg(float in, float lift_lgg, float gamma_inv, float gain)
 {
 	/* 1:1 match with the sequencer with linear/srgb conversions, the conversion isn't pretty
 	 * but best keep it this way, since testing for durian shows a similar calculation




More information about the Bf-blender-cvs mailing list