Home
last modified time | relevance | path

Searched refs:sgip (Results 1 - 3 of 3) sorted by relevance

/third_party/cups-filters/cupsfilters/
H A Dimage-sgilib.c52 sgiClose(sgi_t *sgip) /* I - SGI image */ in sgiClose() argument
58 if (sgip == NULL) in sgiClose()
61 if (sgip->mode == SGI_WRITE && sgip->comp != SGI_COMP_NONE) in sgiClose()
67 fseek(sgip->file, 512, SEEK_SET); in sgiClose()
69 for (i = sgip->ysize * sgip->zsize, offset = sgip->table[0]; in sgiClose()
72 if (putlong(offset[0], sgip->file) < 0) in sgiClose()
75 for (i = sgip in sgiClose()
109 sgiGetRow(sgi_t *sgip, unsigned short *row, int y, int z) sgiGetRow() argument
176 sgi_t *sgip; /* New SGI image file */ sgiOpen() local
211 sgi_t *sgip; /* New image pointer */ sgiOpenFile() local
396 sgiPutRow(sgi_t *sgip, unsigned short *row, int y, int z) sgiPutRow() argument
[all...]
H A Dimage-sgi.c41 sgi_t *sgip; /* SGI image file */ in _cupsImageReadSGI() local
57 sgip = sgiOpenFile(fp, SGI_READ, 0, 0, 0, 0, 0); in _cupsImageReadSGI()
69 if (sgip->xsize == 0 || sgip->ysize == 0 || in _cupsImageReadSGI()
70 sgip->zsize == 0 || sgip->zsize > 4) in _cupsImageReadSGI()
73 sgip->xsize, sgip->ysize, sgip->zsize); in _cupsImageReadSGI()
74 sgiClose(sgip); in _cupsImageReadSGI()
[all...]
H A Dimage-sgi.h66 extern int sgiClose(sgi_t *sgip);
67 extern int sgiGetRow(sgi_t *sgip, unsigned short *row, int y, int z);
72 extern int sgiPutRow(sgi_t *sgip, unsigned short *row, int y, int z);

Completed in 2 milliseconds