aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pillow/py3/libImaging/Sgi.h
blob: 797e5cbf9e10049f291c3d4420a689de08ed7d69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Sgi.h */

typedef struct {
    /* CONFIGURATION */

    /* Number of bytes per channel per pixel */
    int bpc;

    /* RLE offsets table */
    UINT32 *starttab;

    /* RLE lengths table */
    UINT32 *lengthtab;

    /* current row offset */
    UINT32 rleoffset;

    /* current row length */
    UINT32 rlelength;

    /* RLE table size */
    int tablen;

    /* RLE table index */
    int tabindex;

    /* buffer index */
    int bufindex;

    /* current row index */
    int rowno;

    /* current channel index */
    int channo;

    /* image data size from file descriptor */
    long bufsize;

} SGISTATE;