/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/SDLVideo/ |
H A D | SDLSpriteRendererRLE.h | 126 uint8_t GSHIFT; 138 GSHIFT = fmt->Gshift; 152 uint8_t GSHIFT; 160 GSHIFT = fmt->Gshift; 174 ((g >> GLOSS) << GSHIFT) | 187 unsigned int dg = 1 + a*(g >> GLOSS) + (255-a)*((pix >> GSHIFT) & ((1 << (8-GLOSS))-1)); 194 (g << GSHIFT) | 200 pix = (r << RSHIFT) | (g << GSHIFT) | (b << BSHIFT); 206 ((((r << RSHIFT) | (g << GSHIFT) | (b << BSHIFT)) >> 1) & halfmask); 212 unsigned int dg = 1 + a*g + (255-a)*((pix >> GSHIFT) & 0xFF); [all …]
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/ |
H A D | Colors.h | 30 #define GSHIFT 16 macro 40 #define GSHIFT 8 macro 45 …(((unsigned int) r) & 0xFF) << RSHIFT) | ((((unsigned int) g) & 0xFF) << GSHIFT) | ((((unsigned in… 47 #define MapRGBA(fmt, color) SDL_MapRGBA(fmt, (color & RMASK) >> RSHIFT, (color & GMASK) >> GSHIFT, …
|
/dports/games/ponscripter-07th-mod/ponscripter-fork-3.0.0/src/ |
H A D | graphics_common.h | 40 #define GSHIFT 5 macro 59 #define GSHIFT 8 macro 169 const ONSBuf tmp = ((*buffer & GMASK) >> GSHIFT) << GLOSS; \ 176 ((monocro_color_lut[c].g >> GLOSS) << GSHIFT) | \ 273 const ONSBuf tmp = ((*buffer & GMASK) >> GSHIFT); \ 279 (monocro_color_lut[c].g << GSHIFT) | \
|
H A D | AnimationInfo.cpp | 673 ((color.g >> GLOSS) << GSHIFT) | in blendText() 679 Uint32 src_color2 = color.g << GSHIFT; in blendText() 850 Uint32 rgb = ((r>>RLOSS) << RSHIFT) | ((g>>GLOSS) << GSHIFT) | (b>>BLOSS); in fill() 854 Uint32 rgb = (r << RSHIFT) | (g << GSHIFT) | b; in fill()
|
H A D | PonscripterLabel_image.cpp | 420 ((color.g >> GLOSS) << GSHIFT) | in alphaBlendText() 425 Uint32 src_color2 = color.g << GSHIFT; in alphaBlendText()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | atarigt.cpp | 36 #define GSHIFT 8 macro 539 rgb = (0xff << RSHIFT) | (0xff << GSHIFT) | (0xff << BSHIFT); in screen_update_atarigt() 597 rgb = (0xff << RSHIFT) | (0xff << GSHIFT) | (0xff << BSHIFT); in screen_update_atarigt()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | atarigt.cpp | 36 #define GSHIFT 8 macro 539 rgb = (0xff << RSHIFT) | (0xff << GSHIFT) | (0xff << BSHIFT); in screen_update_atarigt() 597 rgb = (0xff << RSHIFT) | (0xff << GSHIFT) | (0xff << BSHIFT); in screen_update_atarigt()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/ |
H A D | video.h | 348 #define GSHIFT 8 macro 357 #define GSHIFT 16 macro 435 return ((r << RSHIFT) | (g << GSHIFT) | (b << BSHIFT) | (a << ASHIFT)); in MapRGBA() 451 *g = (c >> GSHIFT) & 0xff; in GetRGB() 464 *g = (c >> GSHIFT) & 0xff; in GetRGBA()
|
/dports/science/libcint/libcint-5.1.0/src/ |
H A D | config.h.in | 21 #define GSHIFT 4 macro
|
H A D | g2c2e.c | 51 envs->gbits = ng[GSHIFT]; in CINTinit_int2c2e_EnvVars() 138 envs->gbits = ng[GSHIFT]; in CINTinit_int2c2e_gtg_EnvVars()
|
H A D | g3c2e.c | 60 envs->gbits = ng[GSHIFT]; in CINTinit_int3c2e_EnvVars() 171 envs->gbits = ng[GSHIFT]; in CINTinit_int3c2e_gtg_EnvVars()
|
/dports/games/stratagus/stratagus-3.2.0/src/video/ |
H A D | video.cpp | 412 const uint8_t dstG = 0xFF & (dstPixel >> GSHIFT); in BlitSurfaceAlphaBlending_32bpp() 419 const uint8_t srcG = 0xFF & (srcPixel >> GSHIFT); in BlitSurfaceAlphaBlending_32bpp() 426 dstPixel = (resR << RSHIFT) | (resG << GSHIFT) | (resB << BSHIFT); in BlitSurfaceAlphaBlending_32bpp()
|
/dports/science/dalton/dalton-66052b3af5ea7225e31178bf9a8b031913c72190/DALTON/rsp/ |
H A D | rspg.F | 1082 DIMENSION GSHIFT(3,3), GEIG(3), PVAL(6) 1214 CALL DZERO(GSHIFT,9) 1216 GSHIFT(I,I)=GSHIFT(I,I)+GRMC 1218 IF (DORMC)CALL TENPRI(LUPRI,FMT,'@G RMC',PR,GSHIFT) 1224 GSHIFT(I,J) = GSHIFT(I,J) + GC1(I,J)+GC2(I,J) 1257 CALL TENPRI(LUPRI,FMT,'@G Total ',PR,GSHIFT) 1274 CALL DUNIT(GSHIFT,3) 1282 CALL JACO(PVAL,GSHIFT,3,3,3,WORK,WORK(10)) 1292 & (GSHIFT(J,K),J=1,3)
|
/dports/devel/wasm3/wasm3-0.5.0/test/wasi/c-ray/ |
H A D | c-ray-f.c | 98 #define GSHIFT 8 /* this is the same in both byte orders */ macro 218 fputc((pixels[i] >> GSHIFT) & 0xff, outfile); in main() 255 ((uint32_t)(MIN(g, 1.0) * 255.0) & 0xff) << GSHIFT | in render()
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/misc/ |
H A D | draw_util.h | 47 …SDL_SetRenderDrawColor(renderer, (color & RMASK) >> RSHIFT, (color & GMASK) >> GSHIFT, (color & BM… in setRenderDrawColor()
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/GUI/dune/ |
H A D | DuneStyle.h | 278 Uint32 g = (color & GMASK) >> GSHIFT; in brightenUp()
|
/dports/games/stratagus/stratagus-3.2.0/src/include/ |
H A D | video.h | 53 #define GSHIFT 8 macro 62 #define GSHIFT 16 macro
|
/dports/math/R/R-4.1.2/src/library/grDevices/src/ |
H A D | winbitmap.c | 44 #define DECLARESHIFTS int RSHIFT=(bgr)?0:16, GSHIFT=8, BSHIFT=(bgr)?16:0 46 #define GETGREEN(col) (((col) >> GSHIFT) & 0xFF)
|
/dports/math/libRmath/R-4.1.1/src/library/grDevices/src/ |
H A D | winbitmap.c | 44 #define DECLARESHIFTS int RSHIFT=(bgr)?0:16, GSHIFT=8, BSHIFT=(bgr)?16:0 46 #define GETGREEN(col) (((col) >> GSHIFT) & 0xFF)
|
/dports/math/R/R-4.1.2/src/modules/X11/ |
H A D | rbitmap.c | 46 #define DECLARESHIFTS int RSHIFT=(bgr)?0:16, GSHIFT=8, BSHIFT=(bgr)?16:0 48 #define GETGREEN(col) (((col) >> GSHIFT) & 0xFF)
|
/dports/math/libRmath/R-4.1.1/src/modules/X11/ |
H A D | rbitmap.c | 46 #define DECLARESHIFTS int RSHIFT=(bgr)?0:16, GSHIFT=8, BSHIFT=(bgr)?16:0 48 #define GETGREEN(col) (((col) >> GSHIFT) & 0xFF)
|
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/common/ |
H A D | quantize.c | 190 #define GSHIFT 3 macro 380 GETG(cols[i]) =(((i << GSHIFT) & GMASK)*255 + 0.5*GMASK)/GMASK; in QuickQuantize() 418 val = (((r & RMASK) >> RSHIFT) | ((g & GMASK) >> GSHIFT) | in QuickQuantize()
|
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/common/ |
H A D | quantize.c | 190 #define GSHIFT 3 macro 380 GETG(cols[i]) =(((i << GSHIFT) & GMASK)*255 + 0.5*GMASK)/GMASK; in QuickQuantize() 418 val = (((r & RMASK) >> RSHIFT) | ((g & GMASK) >> GSHIFT) | in QuickQuantize()
|
/dports/graphics/xv-m17n/xv-3.10a/ |
H A D | xv24to8.c | 232 #define GSHIFT 3 macro 252 gmap[i] = (((i<<GSHIFT) & GMASK) * 255 + GMASK/2) / GMASK; 283 val = (((r1&RMASK)>>RSHIFT) | ((g1&GMASK)>>GSHIFT) | 328 #undef GSHIFT
|
/dports/japanese/xv/xv-3.10a/ |
H A D | xv24to8.c | 232 #define GSHIFT 3 macro 252 gmap[i] = (((i<<GSHIFT) & GMASK) * 255 + GMASK/2) / GMASK; 283 val = (((r1&RMASK)>>RSHIFT) | ((g1&GMASK)>>GSHIFT) | 328 #undef GSHIFT
|