[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50131] branches/soc-2011-tomato/source/ blender/imbuf: Color management: code cleanup

Sergey Sharybin sergey.vfx at gmail.com
Wed Aug 22 18:48:22 CEST 2012


Revision: 50131
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50131
Author:   nazgul
Date:     2012-08-22 16:48:22 +0000 (Wed, 22 Aug 2012)
Log Message:
-----------
Color management: code cleanup

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf.h
    branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf_types.h

Modified: branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf.h
===================================================================
--- branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf.h	2012-08-22 16:45:09 UTC (rev 50130)
+++ branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf.h	2012-08-22 16:48:22 UTC (rev 50131)
@@ -396,11 +396,6 @@
 
 typedef void (*imb_tonecurveCb) (float rgbOut[3], const float rgbIn[3]);
 
-void IMB_buffer_float_from_float_tonecurve(float *rect_to, const float *rect_from,
-                                           int channels_from, int profile_to, int profile_from, int predivide,
-                                           int width, int height, int stride_to, int stride_from,
-                                           imb_tonecurveCb tonecurve_func);
-
 void IMB_buffer_byte_from_float_tonecurve(unsigned char *rect_to, const float *rect_from,
                                           int channels_from, float dither, int profile_to, int profile_from, int predivide,
                                           int width, int height, int stride_to, int stride_from,

Modified: branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf_types.h
===================================================================
--- branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf_types.h	2012-08-22 16:45:09 UTC (rev 50130)
+++ branches/soc-2011-tomato/source/blender/imbuf/IMB_imbuf_types.h	2012-08-22 16:48:22 UTC (rev 50131)
@@ -128,7 +128,6 @@
 	unsigned int   encodedbuffersize; /* Size of encodedbuffer */
 
 	/* color management */
-	unsigned int colormanagement_flags;  /* flags filed used by color management rutines */
 	unsigned int *display_buffer_flags;  /* array of per-display display buffers dirty flags */
 	struct ColormanageCache *colormanage_cache;  /* cache used by color management */
 
@@ -259,11 +258,4 @@
 extern const char *imb_ext_movie[];
 extern const char *imb_ext_audio[];
 
-/* imbuf->colormanagement_flags */
-
-/* special flag for image buffers used in sequencer, which stores all
- * images in display space, even float buffers
- */
-#define IMB_COLORMANAGEMENT_NONLINEAR_FLOAT    (1 << 0)
-
 #endif




More information about the Bf-blender-cvs mailing list