Cleanup: SGI format, remove unused struct members

This commit is contained in:
Campbell Barton 2017-09-17 17:55:04 +10:00
parent 829916f4e5
commit d7204aed95
Notes: blender-bot 2023-02-14 11:28:39 +01:00
Referenced by issue #53683, 2.79a release
1 changed files with 4 additions and 16 deletions

View File

@ -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)