/dports/games/apricots/apricots-0.2.6/apricots/ |
H A D | shape.cpp | 20 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 D | grlib.c | 219 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 D | text.c | 34 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 D | cctext.c | 37 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 D | def.h | 35 #undef BYTESPERPIXEL 52 #define BYTESPERPIXEL (__currentcontext.bytesperpixel) macro
|
/dports/editors/cooledit/cooledit-3.17.28/widget/ |
H A D | grlib.c | 80 BYTESPERPIXEL = bpp; in gl_setcontextvirtual() 83 BYTEWIDTH = WIDTH * BYTESPERPIXEL; in gl_setcontextvirtual() 115 w * BYTESPERPIXEL; in gl_setcontextwidth()
|
H A D | tri.c | 184 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 D | tri.c | 185 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 D | qfits_image.c | 162 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 D | qfits_convert.c | 64 int n = BYTESPERPIXEL(fitstype); in qfits_pixel_fitstype_size()
|
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/qfits-an/ |
H A D | qfits_image.c | 162 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 D | qfits_convert.c | 64 int n = BYTESPERPIXEL(fitstype); in qfits_pixel_fitstype_size()
|
/dports/graphics/svgalib/svgalib-1.4.3/demos/ |
H A D | accel.c | 236 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 D | testgl.c | 74 bitmap = malloc(64 * 64 * BYTESPERPIXEL); in test() 78 gl_setcontextvirtual(64, 64, BYTESPERPIXEL, BITSPERPIXEL, bitmap); in test()
|
H A D | keytest.c | 16 if (BYTESPERPIXEL == 1) in newcolor()
|
H A D | mousetest.c | 18 if (BYTESPERPIXEL == 1) in newcolor()
|
H A D | speedtest.c | 79 WIDTH * BYTESPERPIXEL); in blit()
|
H A D | forktest.c | 26 if (BYTESPERPIXEL == 1) in newcolor()
|
H A D | linearfork.c | 26 if (BYTESPERPIXEL == 1) in newcolor()
|
H A D | linearspeed.c | 78 WIDTH * BYTESPERPIXEL); in blit()
|
H A D | fun.c | 140 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 D | qfits_image.h | 69 #define BYTESPERPIXEL(x) ( ((x) == BPP_8_UNSIGNED) ? 1 : \ macro
|
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/include/astrometry/ |
H A D | qfits_image.h | 69 #define BYTESPERPIXEL(x) ( ((x) == BPP_8_UNSIGNED) ? 1 : \ macro
|
/dports/comms/linrad/linrad-04.02/ |
H A D | mousetest.c | 25 if (BYTESPERPIXEL == 1) in newcolor()
|
/dports/games/xkoules/koules1.4/os2dive/include/ |
H A D | vgagl.h | 53 #define BYTESPERPIXEL (currentcontext.bytesperpixel) macro
|