Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-01-09 13:55:41 +0300
committerTon Roosendaal <ton@blender.org>2006-01-09 13:55:41 +0300
commitf0aceff1966f76fdf32420b9e319eaa5341c364d (patch)
tree84c0892156689ff3c9d4f578856b3602aa5bc103 /source/blender/imbuf/IMB_imbuf_types.h
parentc693e01b8d9bd9af629b0fc8abab0a42a810c177 (diff)
Orange: Further cleanup of EXR saving
- F10 scene buttons now has options "half" and "zbuf" for exr saving. Note: when no float buffer is available, it always saves as "half", that's sufficient anyway, since half is 16 bits per channel. - EXR in imbuf now uses compliant ibuf->ftype flags for denoting exr extensions such as 'half' and 'compression'. - Removed ugly blenkernel dependency from exr module
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf_types.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h
index 4f648031fc6..652c15afdd3 100644
--- a/source/blender/imbuf/IMB_imbuf_types.h
+++ b/source/blender/imbuf/IMB_imbuf_types.h
@@ -134,15 +134,9 @@ typedef enum {
#define IB_mem (1 << 14)
#define IB_rectfloat (1 << 15)
-/**@}*/
-
-/** \name imbuf_formats Image file formats
- * \brief These defines are bit flags for the various image file formats.
- */
-/**@{*/
-/** \brief Identifier for an image file format.
- *
+/*
* The bit flag is stored in the ImBuf.ftype variable.
+ * Note that the lower 10 bits is used for storing custom flags
*/
#define AMI (1 << 31)
#define PNG (1 << 30)
@@ -157,7 +151,10 @@ typedef enum {
#define RADHDR (1 << 24)
#define TIF (1 << 23)
+
#define OPENEXR (1 << 22)
+#define OPENEXR_HALF (1 << 8 )
+#define OPENEXR_COMPRESS (7)
#define RAWTGA (TGA | 1)