Home
last modified time | relevance | path

Searched refs:BYTESPERPIXEL (Results 1 – 25 of 52) sorted by relevance

123

/dports/games/apricots/apricots-0.2.6/apricots/
H A Dshape.cpp20 const int BYTESPERPIXEL = 1; variable
36 buffer = new char[w * h * BYTESPERPIXEL]; in shape()
59 int buffersize = width * height * BYTESPERPIXEL; in shape()
90 int buffersize = width * height * BYTESPERPIXEL; in operator =()
122 buffer = new char[w * h * BYTESPERPIXEL]; in grab()
154 int buffersize = width * height * BYTESPERPIXEL; in read()
174 int buffersize = width * height * BYTESPERPIXEL; in readfile()
198 int buffersize = width * height * BYTESPERPIXEL; in read()
225 int buffersize = width * height * BYTESPERPIXEL; in readfile()
288 fout.write(buffer, width * height * BYTESPERPIXEL); in write()
[all …]
/dports/graphics/svgalib/svgalib-1.4.3/gl/
H A Dgrlib.c219 BYTESPERPIXEL = 1; in gl_setcontextvga()
229 BYTESPERPIXEL = 1; in gl_setcontextvga()
252 switch (BYTESPERPIXEL) { in gl_setcontextvga()
281 switch (BYTESPERPIXEL) { in gl_setcontextvga()
325 BYTESPERPIXEL = 1; in gl_setcontextvgavirtual()
330 BYTESPERPIXEL = 1; in gl_setcontextvgavirtual()
342 switch (BYTESPERPIXEL) { in gl_setcontextvgavirtual()
366 BYTESPERPIXEL = bpp; in gl_setcontextvirtual()
373 switch (BYTESPERPIXEL) { in gl_setcontextvirtual()
422 w * BYTESPERPIXEL; in gl_setcontextwidth()
[all …]
H A Dtext.c34 switch (BYTESPERPIXEL) { in gl_colorfont()
77 font_charactersize = font_width * font_height * BYTESPERPIXEL; in gl_setfont()
209 switch (BYTESPERPIXEL) { in gl_expandfont()
227 switch (BYTESPERPIXEL) { in gl_expandfont()
262 switch (BYTESPERPIXEL) { in expandcharacter()
280 switch (BYTESPERPIXEL) { in expandcharacter()
307 bitmap = alloca(font_width * font_height * BYTESPERPIXEL); in writecompressed()
H A Dcctext.c37 afont_charsize = afont_width * font_height * BYTESPERPIXEL; in gl_setccfont()
38 cfont_charsize = cfont_width * font_height * BYTESPERPIXEL; in gl_setccfont()
87 switch (BYTESPERPIXEL) { in expandcchar()
105 switch (BYTESPERPIXEL) { in expandcchar()
139 switch (BYTESPERPIXEL) { in expandchar()
157 switch (BYTESPERPIXEL) { in expandchar()
185 bitmap = (unsigned char *)alloca(cfont_width * font_height * BYTESPERPIXEL); in gl_ccwrite()
H A Ddef.h35 #undef BYTESPERPIXEL
52 #define BYTESPERPIXEL (__currentcontext.bytesperpixel) macro
/dports/editors/cooledit/cooledit-3.17.28/widget/
H A Dgrlib.c80 BYTESPERPIXEL = bpp; in gl_setcontextvirtual()
83 BYTEWIDTH = WIDTH * BYTESPERPIXEL; in gl_setcontextvirtual()
115 w * BYTESPERPIXEL; in gl_setcontextwidth()
H A Dtri.c184 if(BYTESPERPIXEL == 1) { in gl_wtriangle()
223 func_num = (7 * 2) + (BYTESPERPIXEL - 1) * 16; in gl_wtriangle()
226 func_num = (MODETYPE * 2) + (BYTESPERPIXEL - 1) * 16; in gl_wtriangle()
228 if (override_8bit_non_lookup && BYTESPERPIXEL == 1) in gl_wtriangle()
/dports/graphics/svgalib/svgalib-1.4.3/threeDKit/
H A Dtri.c185 if(BYTESPERPIXEL == 1) { in gl_wtriangle()
224 colhline_pos = linefuncs[(7 * 2) + (BYTESPERPIXEL - 1) * 16]; in gl_wtriangle()
225 colhline_neg = linefuncs[(7 * 2) + (BYTESPERPIXEL - 1) * 16 + 1]; in gl_wtriangle()
228 colhline_pos = linefuncs[(MODETYPE * 2) + (BYTESPERPIXEL - 1) * 16]; in gl_wtriangle()
229 colhline_neg = linefuncs[(MODETYPE * 2) + (BYTESPERPIXEL - 1) * 16 + 1]; in gl_wtriangle()
/dports/astro/astrometry/astrometry.net-0.85/qfits-an/
H A Dqfits_image.c162 buf_sz = qd->npix * BYTESPERPIXEL(qd->out_ptype); in qfits_pixdump()
239 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_float()
353 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_int()
454 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_double()
H A Dqfits_convert.c64 int n = BYTESPERPIXEL(fitstype); in qfits_pixel_fitstype_size()
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/qfits-an/
H A Dqfits_image.c162 buf_sz = qd->npix * BYTESPERPIXEL(qd->out_ptype); in qfits_pixdump()
239 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_float()
353 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_int()
454 buf_out = qfits_malloc(npix * BYTESPERPIXEL(ptype)); in qfits_pixdump_double()
H A Dqfits_convert.c64 int n = BYTESPERPIXEL(fitstype); in qfits_pixel_fitstype_size()
/dports/graphics/svgalib/svgalib-1.4.3/demos/
H A Daccel.c236 50000000 / BYTESPERPIXEL, in main()
246 20000000 / BYTESPERPIXEL, in main()
258 20000000 / BYTESPERPIXEL, in main()
266 50000000 / BYTESPERPIXEL, in main()
278 30000000 / BYTESPERPIXEL, in main()
289 30000000 / BYTESPERPIXEL, in main()
385 byterate = rate * BYTESPERPIXEL; in DoAccelTest()
478 expandimage = malloc(LOGO_WIDTH * LOGO_HEIGHT * BYTESPERPIXEL); in ScaleLogo()
481 scaleimage = malloc(w * h * BYTESPERPIXEL); in ScaleLogo()
486 gl_setcontextvirtual(LOGO_WIDTH, LOGO_HEIGHT, BYTESPERPIXEL, BITSPERPIXEL, expandimage); in ScaleLogo()
[all …]
H A Dtestgl.c74 bitmap = malloc(64 * 64 * BYTESPERPIXEL); in test()
78 gl_setcontextvirtual(64, 64, BYTESPERPIXEL, BITSPERPIXEL, bitmap); in test()
H A Dkeytest.c16 if (BYTESPERPIXEL == 1) in newcolor()
H A Dmousetest.c18 if (BYTESPERPIXEL == 1) in newcolor()
H A Dspeedtest.c79 WIDTH * BYTESPERPIXEL); in blit()
H A Dforktest.c26 if (BYTESPERPIXEL == 1) in newcolor()
H A Dlinearfork.c26 if (BYTESPERPIXEL == 1) in newcolor()
H A Dlinearspeed.c78 WIDTH * BYTESPERPIXEL); in blit()
H A Dfun.c140 font = smalloc(256 * 8 * 8 * BYTESPERPIXEL); in initfont()
142 font = malloc(256 * 8 * 8 * BYTESPERPIXEL); in initfont()
/dports/astro/astrometry/astrometry.net-0.85/include/astrometry/
H A Dqfits_image.h69 #define BYTESPERPIXEL(x) ( ((x) == BPP_8_UNSIGNED) ? 1 : \ macro
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/include/astrometry/
H A Dqfits_image.h69 #define BYTESPERPIXEL(x) ( ((x) == BPP_8_UNSIGNED) ? 1 : \ macro
/dports/comms/linrad/linrad-04.02/
H A Dmousetest.c25 if (BYTESPERPIXEL == 1) in newcolor()
/dports/games/xkoules/koules1.4/os2dive/include/
H A Dvgagl.h53 #define BYTESPERPIXEL (currentcontext.bytesperpixel) macro

123