Revision: 47653
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47653
Author:   campbellbarton
Date:     2012-06-09 19:57:14 +0000 (Sat, 09 Jun 2012)
Log Message:
-----------
code cleanup: reduce float/double promotion

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/CMakeLists.txt
    trunk/blender/source/blender/compositor/intern/COM_ChunkOrderHotspot.cpp
    trunk/blender/source/blender/compositor/intern/COM_MemoryBuffer.cpp
    
trunk/blender/source/blender/compositor/operations/COM_BokehBlurOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_BokehImageOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_BoxMaskOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_ChangeHSVOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_ColorCurveOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_DifferenceMatteOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_EllipseMaskOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_FogGlowImageOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_GammaOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_HueSaturationValueCorrectOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_MapUVOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_MathBaseOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_RotateOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_TonemapOperation.cpp
    
trunk/blender/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.cpp

Modified: trunk/blender/source/blender/compositor/CMakeLists.txt
===================================================================
--- trunk/blender/source/blender/compositor/CMakeLists.txt      2012-06-09 
19:22:39 UTC (rev 47652)
+++ trunk/blender/source/blender/compositor/CMakeLists.txt      2012-06-09 
19:57:14 UTC (rev 47653)
@@ -26,24 +26,24 @@
 
 set(INC
        .
+       intern
+       nodes
+       operations
        ../blenkernel
        ../blenlib
+       ../blenlib
+       ../blenloader
+       ../imbuf
        ../makesdna
-       ../render/extern/include
-       ../render/intern/include
        ../makesrna
-       ../blenloader
-       ../blenlib
+       ../opencl
        ../windowmanager
-       ../imbuf
-       ../../../intern/guardedalloc
-       nodes
-       ../nodes/
+       ../nodes
        ../nodes/composite
        ../nodes/intern
-       intern
-       operations
-       ../opencl
+       ../render/extern/include
+       ../render/intern/include
+       ../../../intern/guardedalloc
 )
 
 set(SRC
@@ -100,7 +100,7 @@
        operations/COM_QualityStepHelper.h
        operations/COM_QualityStepHelper.cpp
 
-# Internal nodes
+       # Internal nodes
        nodes/COM_MuteNode.cpp
        nodes/COM_MuteNode.h
        nodes/COM_GroupNode.cpp
@@ -108,7 +108,7 @@
        nodes/COM_SocketProxyNode.cpp
        nodes/COM_SocketProxyNode.h
 
-# input nodes
+       # input nodes
        nodes/COM_RenderLayersNode.cpp
        nodes/COM_RenderLayersNode.h
        nodes/COM_ImageNode.cpp
@@ -132,7 +132,7 @@
        nodes/COM_MaskNode.cpp
        nodes/COM_MaskNode.h
 
-# output nodes
+       # output nodes
        nodes/COM_CompositorNode.cpp
        nodes/COM_CompositorNode.h
        nodes/COM_ViewerNode.cpp
@@ -146,7 +146,7 @@
        operations/COM_CalculateMeanOperation.cpp
        operations/COM_CalculateMeanOperation.h
 
-# distort nodes
+       # distort nodes
        nodes/COM_TranslateNode.cpp
        nodes/COM_TranslateNode.h
        nodes/COM_ScaleNode.cpp
@@ -193,27 +193,27 @@
        nodes/COM_DefocusNode.cpp
        nodes/COM_DefocusNode.h
 
-# color nodes
-               nodes/COM_VectorCurveNode.cpp
-               nodes/COM_VectorCurveNode.h
-               nodes/COM_ColorCurveNode.cpp
-               nodes/COM_ColorCurveNode.h
-               nodes/COM_ColorToBWNode.cpp
-               nodes/COM_ColorToBWNode.h
-               nodes/COM_ColorRampNode.cpp
-               nodes/COM_ColorRampNode.h
-               nodes/COM_MixNode.cpp
-               nodes/COM_MixNode.h
-               nodes/COM_AlphaOverNode.cpp
-               nodes/COM_AlphaOverNode.h
-               nodes/COM_ZCombineNode.cpp
-               nodes/COM_ZCombineNode.h
-               nodes/COM_BrightnessNode.cpp
-               nodes/COM_BrightnessNode.h
-               nodes/COM_ColorBalanceNode.cpp
-               nodes/COM_ColorBalanceNode.h
-               nodes/COM_InvertNode.cpp
-               nodes/COM_InvertNode.h
+       # color nodes
+       nodes/COM_VectorCurveNode.cpp
+       nodes/COM_VectorCurveNode.h
+       nodes/COM_ColorCurveNode.cpp
+       nodes/COM_ColorCurveNode.h
+       nodes/COM_ColorToBWNode.cpp
+       nodes/COM_ColorToBWNode.h
+       nodes/COM_ColorRampNode.cpp
+       nodes/COM_ColorRampNode.h
+       nodes/COM_MixNode.cpp
+       nodes/COM_MixNode.h
+       nodes/COM_AlphaOverNode.cpp
+       nodes/COM_AlphaOverNode.h
+       nodes/COM_ZCombineNode.cpp
+       nodes/COM_ZCombineNode.h
+       nodes/COM_BrightnessNode.cpp
+       nodes/COM_BrightnessNode.h
+       nodes/COM_ColorBalanceNode.cpp
+       nodes/COM_ColorBalanceNode.h
+       nodes/COM_InvertNode.cpp
+       nodes/COM_InvertNode.h
        nodes/COM_GammaNode.cpp
        nodes/COM_GammaNode.h
        nodes/COM_SetAlphaNode.cpp
@@ -233,25 +233,25 @@
        operations/COM_TonemapOperation.cpp
        operations/COM_TonemapOperation.h
 
-# converter nodes
-               nodes/COM_IDMaskNode.cpp
-               nodes/COM_IDMaskNode.h
-               nodes/COM_SeparateRGBANode.cpp
-               nodes/COM_SeparateRGBANode.h
-               nodes/COM_CombineRGBANode.cpp
-               nodes/COM_CombineRGBANode.h
-               nodes/COM_SeparateHSVANode.cpp
-               nodes/COM_SeparateHSVANode.h
-               nodes/COM_CombineHSVANode.cpp
-               nodes/COM_CombineHSVANode.h
-               nodes/COM_SeparateYUVANode.cpp
-               nodes/COM_SeparateYUVANode.h
-               nodes/COM_CombineYUVANode.cpp
-               nodes/COM_CombineYUVANode.h
-               nodes/COM_SeparateYCCANode.cpp
-               nodes/COM_SeparateYCCANode.h
-               nodes/COM_CombineYCCANode.cpp
-               nodes/COM_CombineYCCANode.h
+       # converter nodes
+       nodes/COM_IDMaskNode.cpp
+       nodes/COM_IDMaskNode.h
+       nodes/COM_SeparateRGBANode.cpp
+       nodes/COM_SeparateRGBANode.h
+       nodes/COM_CombineRGBANode.cpp
+       nodes/COM_CombineRGBANode.h
+       nodes/COM_SeparateHSVANode.cpp
+       nodes/COM_SeparateHSVANode.h
+       nodes/COM_CombineHSVANode.cpp
+       nodes/COM_CombineHSVANode.h
+       nodes/COM_SeparateYUVANode.cpp
+       nodes/COM_SeparateYUVANode.h
+       nodes/COM_CombineYUVANode.cpp
+       nodes/COM_CombineYUVANode.h
+       nodes/COM_SeparateYCCANode.cpp
+       nodes/COM_SeparateYCCANode.h
+       nodes/COM_CombineYCCANode.cpp
+       nodes/COM_CombineYCCANode.h
 
        nodes/COM_NormalNode.cpp
        nodes/COM_NormalNode.h
@@ -265,7 +265,7 @@
        operations/COM_NormalizeOperation.cpp
        operations/COM_NormalizeOperation.h
 
-# Filter nodes
+       # Filter nodes
        nodes/COM_BilateralBlurNode.cpp
        nodes/COM_BilateralBlurNode.h
        operations/COM_BilateralBlurOperation.cpp
@@ -275,12 +275,10 @@
        operations/COM_VectorBlurOperation.cpp
        operations/COM_VectorBlurOperation.h
 
-
-
-               nodes/COM_FilterNode.cpp
-               nodes/COM_FilterNode.h
-               nodes/COM_DilateErodeNode.cpp
-               nodes/COM_DilateErodeNode.h
+       nodes/COM_FilterNode.cpp
+       nodes/COM_FilterNode.h
+       nodes/COM_DilateErodeNode.cpp
+       nodes/COM_DilateErodeNode.h
        nodes/COM_BlurNode.cpp
        nodes/COM_BlurNode.h
        nodes/COM_BokehBlurNode.cpp
@@ -310,7 +308,7 @@
        operations/COM_GammaCorrectOperation.h
        operations/COM_GammaCorrectOperation.cpp
 
-# Matte nodes
+       # Matte nodes
        nodes/COM_BoxMaskNode.cpp
        nodes/COM_BoxMaskNode.h
        nodes/COM_EllipseMaskNode.cpp
@@ -322,50 +320,50 @@
 
        operations/COM_DoubleEdgeMaskOperation.cpp
        operations/COM_DoubleEdgeMaskOperation.h
-operations/COM_ColorSpillOperation.cpp
-operations/COM_ColorSpillOperation.h
-               operations/COM_RenderLayersBaseProg.cpp
-               operations/COM_RenderLayersBaseProg.h
-               operations/COM_RenderLayersImageProg.cpp
-               operations/COM_RenderLayersImageProg.h
-               operations/COM_RenderLayersAlphaProg.cpp
-               operations/COM_RenderLayersAlphaProg.h
-               operations/COM_RenderLayersDepthProg.cpp
-               operations/COM_RenderLayersDepthProg.h
-               operations/COM_RenderLayersNormalOperation.cpp
-               operations/COM_RenderLayersNormalOperation.h
-               operations/COM_RenderLayersSpeedOperation.cpp
-               operations/COM_RenderLayersSpeedOperation.h
-               operations/COM_RenderLayersColorOperation.cpp
-               operations/COM_RenderLayersColorOperation.h
-               operations/COM_RenderLayersUVOperation.cpp
-               operations/COM_RenderLayersUVOperation.h
-               operations/COM_RenderLayersMistOperation.cpp
-               operations/COM_RenderLayersMistOperation.h
-               operations/COM_RenderLayersObjectIndexOperation.cpp
-               operations/COM_RenderLayersObjectIndexOperation.h
-               operations/COM_RenderLayersMaterialIndexOperation.cpp
-               operations/COM_RenderLayersMaterialIndexOperation.h
-               operations/COM_RenderLayersDiffuseOperation.cpp
-               operations/COM_RenderLayersDiffuseOperation.h
-               operations/COM_RenderLayersSpecularOperation.cpp
-               operations/COM_RenderLayersSpecularOperation.h
-               operations/COM_RenderLayersShadowOperation.cpp
-               operations/COM_RenderLayersShadowOperation.h
-               operations/COM_RenderLayersAOOperation.cpp
-               operations/COM_RenderLayersAOOperation.h
-               operations/COM_RenderLayersEmitOperation.cpp
-               operations/COM_RenderLayersEmitOperation.h
-               operations/COM_RenderLayersReflectionOperation.cpp
-               operations/COM_RenderLayersReflectionOperation.h
-               operations/COM_RenderLayersRefractionOperation.cpp
-               operations/COM_RenderLayersRefractionOperation.h
-               operations/COM_RenderLayersEnvironmentOperation.cpp
-               operations/COM_RenderLayersEnvironmentOperation.h
-               operations/COM_RenderLayersIndirectOperation.cpp
-               operations/COM_RenderLayersIndirectOperation.h
-               operations/COM_RenderLayersCyclesOperation.cpp
-               operations/COM_RenderLayersCyclesOperation.h
+       operations/COM_ColorSpillOperation.cpp
+       operations/COM_ColorSpillOperation.h
+       operations/COM_RenderLayersBaseProg.cpp
+       operations/COM_RenderLayersBaseProg.h
+       operations/COM_RenderLayersImageProg.cpp
+       operations/COM_RenderLayersImageProg.h
+       operations/COM_RenderLayersAlphaProg.cpp
+       operations/COM_RenderLayersAlphaProg.h
+       operations/COM_RenderLayersDepthProg.cpp
+       operations/COM_RenderLayersDepthProg.h
+       operations/COM_RenderLayersNormalOperation.cpp
+       operations/COM_RenderLayersNormalOperation.h
+       operations/COM_RenderLayersSpeedOperation.cpp
+       operations/COM_RenderLayersSpeedOperation.h
+       operations/COM_RenderLayersColorOperation.cpp
+       operations/COM_RenderLayersColorOperation.h
+       operations/COM_RenderLayersUVOperation.cpp
+       operations/COM_RenderLayersUVOperation.h
+       operations/COM_RenderLayersMistOperation.cpp
+       operations/COM_RenderLayersMistOperation.h
+       operations/COM_RenderLayersObjectIndexOperation.cpp
+       operations/COM_RenderLayersObjectIndexOperation.h
+       operations/COM_RenderLayersMaterialIndexOperation.cpp
+       operations/COM_RenderLayersMaterialIndexOperation.h
+       operations/COM_RenderLayersDiffuseOperation.cpp
+       operations/COM_RenderLayersDiffuseOperation.h
+       operations/COM_RenderLayersSpecularOperation.cpp
+       operations/COM_RenderLayersSpecularOperation.h
+       operations/COM_RenderLayersShadowOperation.cpp
+       operations/COM_RenderLayersShadowOperation.h
+       operations/COM_RenderLayersAOOperation.cpp
+       operations/COM_RenderLayersAOOperation.h
+       operations/COM_RenderLayersEmitOperation.cpp
+       operations/COM_RenderLayersEmitOperation.h
+       operations/COM_RenderLayersReflectionOperation.cpp
+       operations/COM_RenderLayersReflectionOperation.h
+       operations/COM_RenderLayersRefractionOperation.cpp
+       operations/COM_RenderLayersRefractionOperation.h
+       operations/COM_RenderLayersEnvironmentOperation.cpp
+       operations/COM_RenderLayersEnvironmentOperation.h
+       operations/COM_RenderLayersIndirectOperation.cpp
+       operations/COM_RenderLayersIndirectOperation.h
+       operations/COM_RenderLayersCyclesOperation.cpp
+       operations/COM_RenderLayersCyclesOperation.h
 
        operations/COM_ImageOperation.cpp
        operations/COM_ImageOperation.h
@@ -377,39 +375,39 @@
        operations/COM_BokehImageOperation.h
 
 
-               operations/COM_SocketProxyOperation.h
-               operations/COM_SocketProxyOperation.cpp
+       operations/COM_SocketProxyOperation.h
+       operations/COM_SocketProxyOperation.cpp
 
-               operations/COM_CompositorOperation.h
-               operations/COM_CompositorOperation.cpp
+       operations/COM_CompositorOperation.h
+       operations/COM_CompositorOperation.cpp
        operations/COM_OutputFileOperation.h
        operations/COM_OutputFileOperation.cpp
-               operations/COM_ViewerBaseOperation.h
-               operations/COM_ViewerBaseOperation.cpp
-               operations/COM_ViewerOperation.h
-               operations/COM_ViewerOperation.cpp
-               operations/COM_PreviewOperation.h
-               operations/COM_PreviewOperation.cpp
-               operations/COM_SplitViewerOperation.h
-               operations/COM_SplitViewerOperation.cpp
-               operations/COM_ConvertValueToColourProg.h
-               operations/COM_ConvertValueToColourProg.cpp
-               operations/COM_ConvertColourToValueProg.h

@@ Diff output truncated at 10240 characters. @@
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to