code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo...
[blender-staging.git] / source / blender / imbuf / IMB_imbuf_types.h
index 93e213dc48665366f3b2015cce22b778ff83e6bf..76c247b219507a73cd05713a5fea49a6c3f72335 100644 (file)
@@ -131,6 +131,7 @@ typedef struct ImBuf {
        struct ColorSpace *float_colorspace;         /* color space of float buffer, used by sequencer only */
        unsigned int *display_buffer_flags;          /* array of per-display display buffers dirty flags */
        struct ColormanageCache *colormanage_cache;  /* cache used by color management */
+       int colormanage_flag;
 
        /* information for compressed textures */
        struct DDSData dds_data;
@@ -241,7 +242,7 @@ typedef struct ImBuf {
        ((unsigned long)(unsigned char)(ch1) << 8) | \
        ((unsigned long)(unsigned char)(ch2) << 16) | \
        ((unsigned long)(unsigned char)(ch3) << 24))
-#endif //MAKEFOURCC
+#endif  /* MAKEFOURCC */
 
 /*
  * FOURCC codes for DX compressed-texture pixel formats
@@ -254,10 +255,14 @@ typedef struct ImBuf {
 #define FOURCC_DXT4  (MAKEFOURCC('D','X','T','4'))
 #define FOURCC_DXT5  (MAKEFOURCC('D','X','T','5'))
 
-#endif // DDS
+#endif  /* DDS */
 extern const char *imb_ext_image[];
 extern const char *imb_ext_image_qt[];
 extern const char *imb_ext_movie[];
 extern const char *imb_ext_audio[];
 
+enum {
+       IMB_COLORMANAGE_IS_DATA = (1 << 0)
+};
+
 #endif