Sgi.h 624 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Sgi.h */
  2. typedef struct {
  3. /* CONFIGURATION */
  4. /* Number of bytes per channel per pixel */
  5. int bpc;
  6. /* RLE offsets table */
  7. UINT32 *starttab;
  8. /* RLE lengths table */
  9. UINT32 *lengthtab;
  10. /* current row offset */
  11. UINT32 rleoffset;
  12. /* current row length */
  13. UINT32 rlelength;
  14. /* RLE table size */
  15. int tablen;
  16. /* RLE table index */
  17. int tabindex;
  18. /* buffer index */
  19. int bufindex;
  20. /* current row index */
  21. int rowno;
  22. /* current channel index */
  23. int channo;
  24. /* image data size from file descriptor */
  25. long bufsize;
  26. } SGISTATE;