diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-10-07 15:01:26 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-10-10 09:47:39 +0100 |
commit | 6c0d6e66d219006acfa3201963a0a7123dce3cc9 (patch) | |
tree | 479d1b5737c57292d65546cf40f711716bb2389a | |
parent | fa981020ef9f96cb2d4d92bd48da81b025bc267a (diff) | |
download | ghostpdl-6c0d6e66d219006acfa3201963a0a7123dce3cc9.tar.gz |
Remove sgirgb device
-rw-r--r-- | base/unix-gcc.mak | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | devices/contrib.mak | 13 | ||||
-rw-r--r-- | devices/gdevsgi.c | 296 | ||||
-rw-r--r-- | devices/gdevsgi.h | 70 | ||||
-rw-r--r-- | doc/Develop.htm | 2 | ||||
-rw-r--r-- | windows/ghostscript.vcproj | 8 | ||||
-rw-r--r-- | windows/ghostscript_rt.vcxproj | 2 |
8 files changed, 2 insertions, 393 deletions
diff --git a/base/unix-gcc.mak b/base/unix-gcc.mak index 9fa69db13..d1eacac2f 100644 --- a/base/unix-gcc.mak +++ b/base/unix-gcc.mak @@ -565,7 +565,7 @@ DISPLAY_DEV=$(DD)bbox.dev # devs.mak and contrib.mak for the list of available devices. # DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11_.dev $(DD)x11alpha.dev $(DD)x11alt_.dev $(DD)x11cmyk.dev $(DD)x11cmyk2.dev $(DD)x11cmyk4.dev $(DD)x11cmyk8.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev $(DD)x11rg16x.dev $(DD)x11rg32x.dev DEVICE_DEVS=$(DISPLAY_DEV) -DEVICE_DEVS1=$(DD)bit.dev $(DD)bitcmyk.dev $(DD)bitrgb.dev $(DD)bitrgbtags.dev $(DD)bmp16.dev $(DD)bmp16m.dev $(DD)bmp256.dev $(DD)bmp32b.dev $(DD)bmpgray.dev $(DD)bmpmono.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)ccr.dev $(DD)cif.dev $(DD)devicen.dev $(DD)eps2write.dev $(DD)fpng.dev $(DD)inferno.dev $(DD)ink_cov.dev $(DD)inkcov.dev $(DD)jpeg.dev $(DD)jpegcmyk.dev $(DD)jpeggray.dev $(DD)mgr4.dev $(DD)mgr8.dev $(DD)mgrgray2.dev $(DD)mgrgray4.dev $(DD)mgrgray8.dev $(DD)mgrmono.dev $(DD)miff24.dev $(DD)pam.dev $(DD)pamcmyk32.dev $(DD)pamcmyk4.dev $(DD)pbm.dev $(DD)pbmraw.dev $(DD)pcx16.dev $(DD)pcx24b.dev $(DD)pcx256.dev $(DD)pcxcmyk.dev $(DD)pcxgray.dev $(DD)pcxmono.dev $(DD)pdfwrite.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)plan.dev $(DD)plan9bm.dev $(DD)planc.dev $(DD)plang.dev $(DD)plank.dev $(DD)planm.dev $(DD)plib.dev $(DD)plibc.dev $(DD)plibg.dev $(DD)plibk.dev $(DD)plibm.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)ps2write.dev $(DD)psdcmyk.dev $(DD)psdcmykog.dev $(DD)psdf.dev $(DD)psdrgb.dev $(DD)sgirgb.dev $(DD)spotcmyk.dev $(DD)txtwrite.dev $(DD)xcf.dev +DEVICE_DEVS1=$(DD)bit.dev $(DD)bitcmyk.dev $(DD)bitrgb.dev $(DD)bitrgbtags.dev $(DD)bmp16.dev $(DD)bmp16m.dev $(DD)bmp256.dev $(DD)bmp32b.dev $(DD)bmpgray.dev $(DD)bmpmono.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)ccr.dev $(DD)cif.dev $(DD)devicen.dev $(DD)eps2write.dev $(DD)fpng.dev $(DD)inferno.dev $(DD)ink_cov.dev $(DD)inkcov.dev $(DD)jpeg.dev $(DD)jpegcmyk.dev $(DD)jpeggray.dev $(DD)mgr4.dev $(DD)mgr8.dev $(DD)mgrgray2.dev $(DD)mgrgray4.dev $(DD)mgrgray8.dev $(DD)mgrmono.dev $(DD)miff24.dev $(DD)pam.dev $(DD)pamcmyk32.dev $(DD)pamcmyk4.dev $(DD)pbm.dev $(DD)pbmraw.dev $(DD)pcx16.dev $(DD)pcx24b.dev $(DD)pcx256.dev $(DD)pcxcmyk.dev $(DD)pcxgray.dev $(DD)pcxmono.dev $(DD)pdfwrite.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)plan.dev $(DD)plan9bm.dev $(DD)planc.dev $(DD)plang.dev $(DD)plank.dev $(DD)planm.dev $(DD)plib.dev $(DD)plibc.dev $(DD)plibg.dev $(DD)plibk.dev $(DD)plibm.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)ps2write.dev $(DD)psdcmyk.dev $(DD)psdcmykog.dev $(DD)psdf.dev $(DD)psdrgb.dev $(DD)spotcmyk.dev $(DD)txtwrite.dev $(DD)xcf.dev DEVICE_DEVS2=$(DD)ap3250.dev $(DD)appledmp.dev $(DD)atx23.dev $(DD)atx24.dev $(DD)atx38.dev $(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev $(DD)cdeskjet.dev $(DD)cdj500.dev $(DD)cdj550.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cljet5.dev $(DD)cljet5c.dev $(DD)cljet5pr.dev $(DD)coslw2p.dev $(DD)coslwxl.dev $(DD)cp50.dev $(DD)declj250.dev $(DD)deskjet.dev $(DD)dj505j.dev $(DD)djet500.dev $(DD)djet500c.dev $(DD)dnj650c.dev $(DD)eps9high.dev $(DD)eps9mid.dev $(DD)epson.dev $(DD)epsonc.dev $(DD)escp.dev $(DD)fs600.dev $(DD)hl7x0.dev $(DD)ibmpro.dev $(DD)imagen.dev $(DD)itk24i.dev $(DD)itk38.dev $(DD)iwhi.dev $(DD)iwlo.dev $(DD)iwlq.dev $(DD)jetp3852.dev $(DD)laserjet.dev $(DD)lbp8.dev $(DD)lips3.dev $(DD)lj250.dev $(DD)lj3100sw.dev $(DD)lj4dith.dev $(DD)lj4dithp.dev $(DD)lj5gray.dev $(DD)lj5mono.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)ljet4pjl.dev $(DD)ljetplus.dev $(DD)lp2563.dev $(DD)lp8000.dev $(DD)lq850.dev $(DD)lxm5700m.dev $(DD)m8510.dev $(DD)necp6.dev $(DD)oce9050.dev $(DD)oki182.dev $(DD)okiibm.dev $(DD)paintjet.dev $(DD)photoex.dev $(DD)picty180.dev $(DD)pj.dev $(DD)pjetxl.dev $(DD)pjxl.dev $(DD)pjxl300.dev $(DD)pxlcolor.dev $(DD)pxlmono.dev $(DD)r4081.dev $(DD)rinkj.dev $(DD)sj48.dev $(DD)st800.dev $(DD)stcolor.dev $(DD)t4693d2.dev $(DD)t4693d4.dev $(DD)t4693d8.dev $(DD)tek4696.dev $(DD)uniprint.dev DEVICE_DEVS3= DEVICE_DEVS4=$(DD)ijs.dev diff --git a/configure.ac b/configure.ac index 1caeabff6..b057d4ae5 100644 --- a/configure.ac +++ b/configure.ac @@ -1811,7 +1811,7 @@ JPEG_DEVS='jpeg jpeggray jpegcmyk' PCX_DEVS='pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk' PBM_DEVS='pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm pksmraw pam pamcmyk4 pamcmyk32 plan plang planm planc plank' PS_DEVS='psdf psdcmyk psdrgb pdfwrite ps2write eps2write bbox txtwrite inkcov ink_cov psdcmykog fpng' -MISC_FDEVS='ccr cif inferno mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 plan9bm sgirgb bit bitrgb bitrgbtags bitcmyk devicen spotcmyk xcf plib plibg plibm plibc plibk gprf' +MISC_FDEVS='ccr cif inferno mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 plan9bm bit bitrgb bitrgbtags bitcmyk devicen spotcmyk xcf plib plibg plibm plibc plibk gprf' XPSDEV=$XPSWRITEDEVICE while test -n "$drivers"; do diff --git a/devices/contrib.mak b/devices/contrib.mak index 16afd94d3..d8d2b9d48 100644 --- a/devices/contrib.mak +++ b/devices/contrib.mak @@ -115,7 +115,6 @@ CONTRIB_MAK=$(DEVSRC)contrib.mak $(TOP_MAKEFILES) # mgrgray8 8-bit gray scale MGR devices # mgr4 4-bit (VGA) color MGR devices # mgr8 8-bit color MGR devices -# sgirgb SGI RGB pixmap format # If you add drivers, it would be nice if you kept each list # in alphabetical order. @@ -769,18 +768,6 @@ $(DD)mgr4.dev : $(MGR) $(DD)page.dev $(CONTRIB_MAK) $(MAKEDIRS) $(DD)mgr8.dev : $(MGR) $(DD)page.dev $(CONTRIB_MAK) $(MAKEDIRS) $(SETPDEV) $(DD)mgr8 $(MGR) -### -------------------------- SGI RGB pixmaps -------------------------- ### - -sgirgb_=$(DEVOBJ)gdevsgi.$(OBJ) -$(DD)sgirgb.dev : $(sgirgb_) $(DD)page.dev $(CONTRIB_MAK) $(MAKEDIRS) - $(SETPDEV) $(DD)sgirgb $(sgirgb_) - -gdevsgi_h=$(DEVSRC)gdevsgi.h - -$(DEVOBJ)gdevsgi.$(OBJ) : $(DEVSRC)gdevsgi.c $(PDEVH) $(gdevsgi_h) $(CONTRIB_MAK) $(MAKEDIRS) - $(DEVCC) $(DEVO_)gdevsgi.$(OBJ) $(C_) $(DEVSRC)gdevsgi.c - - ######################################################################### ### --------------------Japanese printer addons --------------------- ### ######################################################################### diff --git a/devices/gdevsgi.c b/devices/gdevsgi.c deleted file mode 100644 index 1bc96dd83..000000000 --- a/devices/gdevsgi.c +++ /dev/null @@ -1,296 +0,0 @@ -/* - * This file is distributed with Ghostscript, but its author, - * Tanmoy Bhattacharya (tanmoy@qcd.lanl.gov) hereby places it in the - * public domain. - */ - -/* SGI raster file driver */ -#include "gdevprn.h" -#include "gdevsgi.h" - -#define X_DPI 72 -#define Y_DPI 72 - -#define sgi_prn_device(procs, dev_name, num_comp, depth, max_gray, max_color, print_page)\ -{prn_device_body(gx_device_printer, procs, dev_name, \ - DEFAULT_WIDTH_10THS, DEFAULT_HEIGHT_10THS, X_DPI, Y_DPI, \ - 0, 0, 0, 0, \ - num_comp, depth, max_gray, max_color, max_gray+1, max_color+1, \ - print_page)} - -static dev_proc_map_rgb_color(sgi_map_rgb_color); -static dev_proc_map_color_rgb(sgi_map_color_rgb); - -static dev_proc_print_page(sgi_print_page); - -/* Since the print_page doesn't alter the device, this device can print in the background */ -static gx_device_procs sgi_procs = - prn_color_procs(gdev_prn_open, gdev_prn_bg_output_page_seekable, gdev_prn_close, - sgi_map_rgb_color, sgi_map_color_rgb); - -const gx_device_printer far_data gs_sgirgb_device = - sgi_prn_device(sgi_procs, "sgirgb", 3, 24, 255, 255, sgi_print_page); - -static gx_color_index -sgi_map_rgb_color(gx_device * dev, const ushort cv[]) -{ ushort bitspercolor = dev->color_info.depth / 3; - ulong max_value = (1 << bitspercolor) - 1; - ushort red, green, blue; - red = cv[0]; green = cv[1]; blue = cv[2]; - - return ((red*max_value / gx_max_color_value) << (bitspercolor * 2)) + - ((green*max_value / gx_max_color_value) << bitspercolor) + - (blue*max_value / gx_max_color_value); -} - -static int -sgi_map_color_rgb(gx_device *dev, gx_color_index color, ushort prgb[3]) -{ ushort bitspercolor = dev->color_info.depth / 3; - ushort colormask = (1 << bitspercolor) - 1; - - prgb[0] = (ushort)(((color >> (bitspercolor * 2)) & colormask) * - (ulong)gx_max_color_value / colormask); - prgb[1] = (ushort)(((color >> bitspercolor) & colormask) * - (ulong)gx_max_color_value / colormask); - prgb[2] = (ushort)((color & colormask) * - (ulong)gx_max_color_value / colormask); - return 0; -} - -typedef struct sgi_cursor_s { - gx_device_printer *dev; - int bpp; - uint line_size; - byte *data; - int lnum; -} sgi_cursor; - -/* write a short int to disk as big-endean */ -static int putshort(unsigned int val, FILE *outf) -{ - unsigned char buf[2]; - - buf[0] = (val>>8); - buf[1] = val; - return fwrite(buf,2,1,outf); -} - -/* write an int to disk as big-endean */ -static int putint(unsigned int val, FILE *outf) -{ - unsigned char buf[4]; - - buf[0] = (val>>24); - buf[1] = (val>>16); - buf[2] = (val>>8); - buf[3] = val; - return fwrite(buf,4,1,outf); -} - -/* write the header field by field in big-endian */ -static void putheader(IMAGE *header, FILE *outf) -{ - int i; - char filler= '\0'; - - putshort(header->imagic, outf); - fputc(1, outf); /* RLE */ - fputc(1, outf); /* bpp */ - putshort(header->dim, outf); - putshort(header->xsize, outf); - putshort(header->ysize, outf); - putshort(header->zsize, outf); - - putint(header->min_color, outf); - putint(header->max_color, outf); - putint(header->wastebytes, outf); - - fwrite(header->name,80,1,outf); - - putint(header->colormap, outf); - - /* put the filler for the rest */ - for (i=0; i<404; i++) - fputc(filler,outf); - } - -static int -sgi_begin_page(gx_device_printer *bdev, FILE *pstream, sgi_cursor *pcur) -{ - uint line_size; - byte *data; - IMAGE *header; - - if (bdev->PageCount >= 1 && !bdev->file_is_new) { /* support single page only */ - emprintf(bdev->memory, - "sgi rgb format only supports one page per file.\n" - "Please use the '%%d' OutputFile option to create one file for each page.\n"); - return_error(gs_error_rangecheck); - } - line_size = gdev_mem_bytes_per_scan_line((gx_device_printer*)bdev); - data = (byte*)gs_malloc(bdev->memory, line_size, 1, "sgi_begin_page"); - header= (IMAGE*)gs_malloc(bdev->memory, sizeof(IMAGE),1,"sgi_begin_page"); - - if ((data == (byte*)0)||(header == (IMAGE*)0)) { - gs_free(bdev->memory, data, line_size, 1, "sgi_begin_page"); - gs_free(bdev->memory, header, sizeof(IMAGE),1,"sgi_begin_page"); - return_error(gs_error_VMerror); - } - memset(header,0, sizeof(IMAGE)); - header->imagic = IMAGIC; - header->type = RLE(1); - header->dim = 3; - header->xsize=bdev->width; - header->ysize=bdev->height; - header->zsize=3; - header->min_color = 0; - header->max_color = bdev->color_info.max_color; - header->wastebytes = 0; - strncpy(header->name,"gs picture",80); - header->colormap = CM_NORMAL; - header->dorev=0; - putheader(header,pstream); - pcur->dev = bdev; - pcur->bpp = bdev->color_info.depth; - pcur->line_size = line_size; - pcur->data = data; - return 0; -} - -static int -sgi_next_row(sgi_cursor *pcur) -{ if (pcur->lnum < 0) - return 1; - gdev_prn_copy_scan_lines((gx_device_printer*)pcur->dev, - pcur->lnum--, pcur->data, pcur->line_size); - return 0; -} - -#define bdev ((gx_device_printer *)pdev) - -static int -sgi_print_page(gx_device_printer *pdev, FILE *pstream) -{ sgi_cursor cur = {0}; - int code = sgi_begin_page(bdev, pstream, &cur); - uint bpe, mask; - int separation; - int *rowsizes; - byte *edata ; - long lastval; - int rownumber; - - if (code < 0) - return code; - - if (pdev->PageCount >= 1 && !pdev->file_is_new) - return_error(gs_error_rangecheck); /* support single page only, can't happen */ - -#define aref2(a,b) (a)*bdev->height+(b) - rowsizes=(int*)gs_malloc(pdev->memory, sizeof(int),3*bdev->height,"sgi_print_page"); - edata = (byte*)gs_malloc(pdev->memory, cur.line_size, 1, "sgi_begin_page"); - - if((code<0)||(rowsizes==(int*)NULL)||(edata==(byte*)NULL)) { - code = gs_note_error(gs_error_VMerror); - goto free_mem; - } - - lastval = 512+4*6*bdev->height; /* skip offset table */ - if (fseek(pstream,lastval,0) != 0) { - code = gs_note_error(gs_error_ioerror); - goto free_mem; - } - for (separation=0; separation < 3; separation++) - { - cur.lnum = cur.dev->height-1; - rownumber = 0; - bpe = cur.bpp/3; - mask = (1<<bpe) - 1; - while ( !(code=sgi_next_row(&cur))) - { byte *bp; - uint x; - int shift; - byte *curcol=cur.data; - byte *startcol=edata; - int count; - byte todo, cc; - byte *iptr, *sptr, *optr, *ibufend; - for (bp = cur.data, x=0, shift = 8 - cur.bpp; - x < bdev->width; - ) - { uint pixel = 0; - uint r, g, b; - switch (cur.bpp >> 3) - { - case 3: pixel = (uint)*bp << 16; bp++; - case 2: pixel += (uint)*bp << 8; bp++; - case 1: pixel += *bp; bp++; break; - case 0: pixel = *bp >> shift; - if ((shift-=cur.bpp) < 0) - bp++, shift += 8; break; - } - ++x; - b = pixel & mask; pixel >>= bpe; - g = pixel & mask; pixel >>= bpe; - r = pixel & mask; - switch(separation) - { - case 0: *curcol++=r; break; - case 1: *curcol++=g; break; - case 2: *curcol++=b; break; - } - } - iptr=cur.data; - optr=startcol; - ibufend=curcol-1; - while(iptr<ibufend) { - sptr = iptr; - iptr += 2; - while((iptr<ibufend)&&((iptr[-2]!=iptr[-1])||(iptr[-1]!=iptr[0]))) - iptr++; - iptr -= 2; - count = iptr-sptr; - while(count) { - todo = count>126 ? 126:count; - count -= todo; - *optr++ = 0x80|todo; - while(todo--) - *optr++ = *sptr++; - } - sptr = iptr; - cc = *iptr++; - while( (iptr<ibufend) && (*iptr == cc) ) - iptr++; - count = iptr-sptr; - while(count) { - todo = count>126 ? 126:count; - count -= todo; - *optr++ = todo; - *optr++ = cc; - } - } - *optr++ = 0; - rowsizes[aref2(separation,rownumber++)] = optr-startcol; - if (fwrite(startcol,1,optr-startcol,pstream) != optr-startcol) { - code = gs_note_error(gs_error_ioerror); - goto free_mem; - } - } - } - if (fseek(pstream,512L,0) != 0) - return gs_error_ioerror; - - for(separation=0; separation<3; separation++) - for(rownumber=0; rownumber<bdev->height; rownumber++) - {putint(lastval,pstream); - lastval+=rowsizes[aref2(separation,rownumber)];} - for(separation=0; separation<3; separation++) - for(rownumber=0; rownumber<bdev->height; rownumber++) - {lastval=rowsizes[aref2(separation,rownumber)]; - putint(lastval,pstream);} - free_mem: - gs_free(pdev->memory, (char*)cur.data, cur.line_size, 1, - "sgi_print_page(done)"); - gs_free(pdev->memory, (char*)edata, cur.line_size, 1, "sgi_print_page(done)"); - gs_free(pdev->memory, (char*)rowsizes,4,3*bdev->height,"sgi_print_page(done)"); - return (code < 0 ? code : 0); -} diff --git a/devices/gdevsgi.h b/devices/gdevsgi.h deleted file mode 100644 index 95bc58368..000000000 --- a/devices/gdevsgi.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * This file is distributed with Ghostscript, but its author, - * Tanmoy Bhattacharya (tanmoy@qcd.lanl.gov) hereby places it in the - * public domain. - * - * The contents of this file were derived (indeed, largely copied) from - * the file image.h on SGI's file server; there is no copyright on that file. - */ - -/* SGI raster file definitions */ - -#ifndef gdevsgi_INCLUDED -# define gdevsgi_INCLUDED - -#define IMAGIC 0732 - -/* colormap of images */ -#define CM_NORMAL 0 -#define CM_DITHERED 1 -#define CM_SCREEN 2 -#define CM_COLORMAP 3 -#define TYPEMASK 0xff00 -#define BPPMASK 0x00ff -#define ITYPE_VERBATIM 0x0000 -#define ITYPE_RLE 0x0100 -#define ISRLE(type) (((type) & 0xff00) == ITYPE_RLE) -#define ISVERBATIM(type) (((type) & 0xff00) == ITYPE_VERBATIM) -#define BPP(type) ((type) & BPPMASK) -#define RLE(bpp) (ITYPE_RLE | (bpp)) -#define VERBATIM(bpp) (ITYPE_VERBATIM | (bpp)) -#define IBUFSIZE(pixels) ((pixels+(pixels>>6))<<2) -#define RLE_NOP 0x00 - -#define ierror(p) (((p)->flags&_IOERR)!=0) -#define ifileno(p) ((p)->file) -#define getpix(p) (--(p)->cnt>=0 ? *(p)->ptr++ : ifilbuf(p)) -#define putpix(p,x) (--(p)->cnt>=0 \ - ? ((int)(*(p)->ptr++=(unsigned)(x))) \ - : iflsbuf(p,(unsigned)(x))) - -typedef struct { - unsigned short imagic; /* stuff saved on disk . . */ - unsigned short type; - unsigned short dim; - unsigned short xsize; - unsigned short ysize; - unsigned short zsize; - unsigned int min_color; - unsigned int max_color; - unsigned int wastebytes; - char name[80]; - unsigned int colormap; - - long file; /* stuff used in core only */ - unsigned short flags; - short dorev; - short x; - short y; - short z; - short cnt; - unsigned short *ptr; - unsigned short *base; - unsigned short *tmpbuf; - unsigned long offset; - unsigned long rleend; /* for rle images */ - unsigned long *rowstart; /* for rle images */ - long *rowsize; /* for rle images */ -} IMAGE; - -#endif /* gdevsgi_INCLUDED */ diff --git a/doc/Develop.htm b/doc/Develop.htm index 489d22c7c..8a20acc16 100644 --- a/doc/Develop.htm +++ b/doc/Develop.htm @@ -1940,8 +1940,6 @@ Raster file output drivers: <a href="../devices/gdevifno.c">devices/gdevifno.c</a>, <a href="../devices/gdevmgr.c">devices/gdevmgr.c</a>, <a href="../devices/gdevmgr.h">devices/gdevmgr.h</a>, -<a href="../devices/gdevsgi.c">devices/gdevsgi.c</a>, -<a href="../devices/gdevsgi.h">devices/gdevsgi.h</a>, <a href="../devices/gdevjbig2.c">devices/gdevjbig2.c</a>, <a href="../devices/gdevjpx.c">devices/gdevjpx.c</a>. diff --git a/windows/ghostscript.vcproj b/windows/ghostscript.vcproj index 0cf7799ce..68bd8ae56 100644 --- a/windows/ghostscript.vcproj +++ b/windows/ghostscript.vcproj @@ -5934,10 +5934,6 @@ > </File> <File - RelativePath="..\devices\gdevsgi.c" - > - </File> - <File RelativePath="..\devices\gdevsj48.c" > </File> @@ -6338,10 +6334,6 @@ > </File> <File - RelativePath="..\devices\gdevsgi.h" - > - </File> - <File RelativePath="..\devices\gdevstc.h" > </File> diff --git a/windows/ghostscript_rt.vcxproj b/windows/ghostscript_rt.vcxproj index ea7913270..268345c40 100644 --- a/windows/ghostscript_rt.vcxproj +++ b/windows/ghostscript_rt.vcxproj @@ -1456,7 +1456,6 @@ <ClCompile Include="..\devices\gdevpsd.c" /> <ClCompile Include="..\devices\gdevpsim.c" /> <ClCompile Include="..\devices\gdevrinkj.c" /> - <ClCompile Include="..\devices\gdevsgi.c" /> <ClCompile Include="..\devices\gdevsj48.c" /> <ClCompile Include="..\devices\gdevsnfb.c" /> <ClCompile Include="..\devices\gdevstc.c" /> @@ -2208,7 +2207,6 @@ <ClInclude Include="..\devices\gdevplib.h" /> <ClInclude Include="..\devices\gdevpm.h" /> <ClInclude Include="..\devices\gdevprna.h" /> - <ClInclude Include="..\devices\gdevsgi.h" /> <ClInclude Include="..\devices\gdevstc.h" /> <ClInclude Include="..\devices\gdevtfax.h" /> <ClInclude Include="..\devices\gdevtifs.h" /> |