Home
last modified time | relevance | path

Searched refs:GSHIFT (Results 1 – 25 of 39) sorted by relevance

12

/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/SDLVideo/
H A DSDLSpriteRendererRLE.h126 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 DColors.h30 #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 Dgraphics_common.h40 #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 DAnimationInfo.cpp673 ((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 DPonscripterLabel_image.cpp420 ((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 Datarigt.cpp36 #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 Datarigt.cpp36 #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 Dvideo.h348 #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 Dconfig.h.in21 #define GSHIFT 4 macro
H A Dg2c2e.c51 envs->gbits = ng[GSHIFT]; in CINTinit_int2c2e_EnvVars()
138 envs->gbits = ng[GSHIFT]; in CINTinit_int2c2e_gtg_EnvVars()
H A Dg3c2e.c60 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 Dvideo.cpp412 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 Drspg.F1082 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 Dc-ray-f.c98 #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 Ddraw_util.h47 …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 DDuneStyle.h278 Uint32 g = (color & GMASK) >> GSHIFT; in brightenUp()
/dports/games/stratagus/stratagus-3.2.0/src/include/
H A Dvideo.h53 #define GSHIFT 8 macro
62 #define GSHIFT 16 macro
/dports/math/R/R-4.1.2/src/library/grDevices/src/
H A Dwinbitmap.c44 #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 Dwinbitmap.c44 #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 Drbitmap.c46 #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 Drbitmap.c46 #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 Dquantize.c190 #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 Dquantize.c190 #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 Dxv24to8.c232 #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 Dxv24to8.c232 #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

12