diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-13 12:38:14 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-13 12:38:14 +0400 |
commit | 61b9f39fc70e6502ca7a4a3152d572eba9ce6e95 (patch) | |
tree | 3b101442d8895ff8b4ffbacad1ffe23cffa4cd14 /source/blender/nodes | |
parent | 80f0bfe48328c4f4029628614f016e550f9020ef (diff) |
Even though we want to get rid of this legacy compo soon, code should compile as long as it is here! :)
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_colorbalance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_colorbalance.c b/source/blender/nodes/composite/nodes/node_composite_colorbalance.c index df49e537788..0927724d3fb 100644 --- a/source/blender/nodes/composite/nodes/node_composite_colorbalance.c +++ b/source/blender/nodes/composite/nodes/node_composite_colorbalance.c @@ -58,7 +58,7 @@ static bNodeSocketTemplate cmp_node_colorbalance_out[] = { * 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 @@ DO_INLINE float colorbalance_cdl(float in, float offset, float power, float slop } /* 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 |