/dports/math/cgal/CGAL-5.3/include/CGAL/ImageIO/ |
H A D | iris_impl.h | 222 byte *pic824, *bptr, *iptr; in readIrisImage() local 267 pic824 = (byte *) ImageIO_alloc((size_t) xsize * ysize); in readIrisImage() 268 if (!pic824) exit(-1); in readIrisImage() 271 for (i = 0, bptr = pic824; i < ysize; i++) in readIrisImage() 280 for (bptr = pic824, iptr = (unsigned char *) im->data, in readIrisImage() 286 ImageIO_free(pic824); in readIrisImage() 300 pic824 = (byte *) ImageIO_alloc((size_t) xsize * ysize * 3); in readIrisImage() 301 if (!pic824) in readIrisImage() 305 for (i = 0, bptr = pic824; i< ysize; i++) in readIrisImage() 318 for (bptr = pic824, iptr = (unsigned char *) im->data, i = 0; in readIrisImage() [all …]
|
/dports/graphics/xv/xv-3.10a/ |
H A D | xvsmooth.c | 58 byte *pic824, *rmap, *gmap, *bmap; in Smooth24() 147 pptr = pic824 + y1Off + x1*bperpix; /* corner pixel */ 160 cA = pic824[y1Off + x1]; /* corner pixel */ 161 cB = pic824[y1Off + cx]; /* up/down center pixel */ 163 cD = pic824[cyOff + cx]; /* center pixel */ 223 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothX() 259 cptr = pic824; cptr1 = cptr + swide * bperpix; 273 cptr = pic824 + thisline * swide * bperpix; 325 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothY() 432 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothXY() [all …]
|
H A D | xviris.c | 114 byte *pic824, *bptr; local 171 pic824 = (byte *) malloc((size_t) npixels); 172 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 175 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 184 pinfo->pic = pic824; 200 pic824 = (byte *) malloc((size_t) bufsize); 201 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 204 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 213 pinfo->pic = pic824;
|
H A D | xvbmp.c | 798 int WriteBMP(fp,pic824,ptype,w,h,rmap,gmap,bmap,numcols,colorstyle) in WriteBMP() argument 800 byte *pic824; 839 for (i=0,sp=pic824,dp=graypic; i<npixels; i++,sp+=3, dp++) { 848 pic824 = graypic; 937 if (nbits == 1) writeBMP1 (fp, pic824, w, h); 938 else if (nbits == 4) writeBMP4 (fp, pic824, w, h); 939 else if (nbits == 8) writeBMP8 (fp, pic824, w, h); 940 else if (nbits == 24) writeBMP24(fp, pic824, w, h);
|
H A D | xvimage.c | 1473 static void floydDitherize1(ximage,pic824,ptype, wide, high, rmap, gmap, bmap) in floydDitherize1() argument 1475 byte *pic824, *rmap, *gmap, *bmap; 1514 pp = pic824; 1535 pp = pic824 + (i+1) * wide * bperpix;
|
/dports/graphics/xv-m17n/xv-3.10a/ |
H A D | xvsmooth.c | 58 byte *pic824, *rmap, *gmap, *bmap; in Smooth24() 147 pptr = pic824 + y1Off + x1*bperpix; /* corner pixel */ 160 cA = pic824[y1Off + x1]; /* corner pixel */ 161 cB = pic824[y1Off + cx]; /* up/down center pixel */ 163 cD = pic824[cyOff + cx]; /* center pixel */ 223 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothX() 259 cptr = pic824; cptr1 = cptr + swide * bperpix; 273 cptr = pic824 + thisline * swide * bperpix; 325 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothY() 432 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothXY() [all …]
|
H A D | xviris.c | 114 byte *pic824, *bptr; local 171 pic824 = (byte *) malloc((size_t) npixels); 172 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 175 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 184 pinfo->pic = pic824; 200 pic824 = (byte *) malloc((size_t) bufsize); 201 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 204 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 213 pinfo->pic = pic824;
|
H A D | xvbmp.c | 798 int WriteBMP(fp,pic824,ptype,w,h,rmap,gmap,bmap,numcols,colorstyle) in WriteBMP() argument 800 byte *pic824; 839 for (i=0,sp=pic824,dp=graypic; i<npixels; i++,sp+=3, dp++) { 848 pic824 = graypic; 937 if (nbits == 1) writeBMP1 (fp, pic824, w, h); 938 else if (nbits == 4) writeBMP4 (fp, pic824, w, h); 939 else if (nbits == 8) writeBMP8 (fp, pic824, w, h); 940 else if (nbits == 24) writeBMP24(fp, pic824, w, h);
|
H A D | xvimage.c | 1473 static void floydDitherize1(ximage,pic824,ptype, wide, high, rmap, gmap, bmap) in floydDitherize1() argument 1475 byte *pic824, *rmap, *gmap, *bmap; 1514 pp = pic824; 1535 pp = pic824 + (i+1) * wide * bperpix;
|
/dports/japanese/xv/xv-3.10a/ |
H A D | xvsmooth.c | 58 byte *pic824, *rmap, *gmap, *bmap; in Smooth24() 147 pptr = pic824 + y1Off + x1*bperpix; /* corner pixel */ 160 cA = pic824[y1Off + x1]; /* corner pixel */ 161 cB = pic824[y1Off + cx]; /* up/down center pixel */ 163 cD = pic824[cyOff + cx]; /* center pixel */ 223 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothX() 259 cptr = pic824; cptr1 = cptr + swide * bperpix; 273 cptr = pic824 + thisline * swide * bperpix; 325 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothY() 432 byte *pic24, *pic824, *rmap, *gmap, *bmap; in smoothXY() [all …]
|
H A D | xviris.c | 114 byte *pic824, *bptr; local 171 pic824 = (byte *) malloc((size_t) npixels); 172 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 175 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 184 pinfo->pic = pic824; 200 pic824 = (byte *) malloc((size_t) bufsize); 201 if (!pic824) FatalError("couldn't malloc pic824 in LoadIRIS()"); 204 for (ii=0, bptr=pic824; ii<img.ysize; ii++) { 213 pinfo->pic = pic824;
|
H A D | xvbmp.c | 798 int WriteBMP(fp,pic824,ptype,w,h,rmap,gmap,bmap,numcols,colorstyle) in WriteBMP() argument 800 byte *pic824; 839 for (i=0,sp=pic824,dp=graypic; i<npixels; i++,sp+=3, dp++) { 848 pic824 = graypic; 937 if (nbits == 1) writeBMP1 (fp, pic824, w, h); 938 else if (nbits == 4) writeBMP4 (fp, pic824, w, h); 939 else if (nbits == 8) writeBMP8 (fp, pic824, w, h); 940 else if (nbits == 24) writeBMP24(fp, pic824, w, h);
|
H A D | xvimage.c | 1473 static void floydDitherize1(ximage,pic824,ptype, wide, high, rmap, gmap, bmap) in floydDitherize1() argument 1475 byte *pic824, *rmap, *gmap, *bmap; 1514 pp = pic824; 1535 pp = pic824 + (i+1) * wide * bperpix;
|