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:
authorCampbell Barton <ideasman42@gmail.com>2017-09-17 10:55:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-09-17 11:00:08 +0300
commitd7204aed951a511c1549334b78dce0687afac74f (patch)
treef448972ebeedb2d5cf15c1bf263d54987290624c /source/blender/imbuf/intern/iris.c
parent829916f4e57a2d1580ff3b625f6bb909b9144a20 (diff)
Cleanup: SGI format, remove unused struct members
Diffstat (limited to 'source/blender/imbuf/intern/iris.c')
-rw-r--r--source/blender/imbuf/intern/iris.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/source/blender/imbuf/intern/iris.c b/source/blender/imbuf/intern/iris.c
index f492821a479..6c0849358a5 100644
--- a/source/blender/imbuf/intern/iris.c
+++ b/source/blender/imbuf/intern/iris.c
@@ -56,28 +56,16 @@ typedef struct {
ushort zsize;
uint min;
uint max;
- uint wastebytes;
+ uchar _pad1[4];
char name[80];
uint colormap;
-
- int file; /* stuff used in core only */
- ushort flags;
- short dorev;
- short x;
- short y;
- short z;
- short cnt;
- ushort *ptr;
- ushort *base;
- ushort *tmpbuf;
- uint offset;
- uint rleend; /* for rle images */
- uint *rowstart; /* for rle images */
- const int *rowsize; /* for rle images */
+ uchar _pad2[404];
} IMAGE;
#define HEADER_SIZE 512
+BLI_STATIC_ASSERT(sizeof(IMAGE) == HEADER_SIZE, "Invalid header size");
+
#define RINTLUM (79)
#define GINTLUM (156)
#define BINTLUM (21)