/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libretro/libretro-common/formats/ |
H A D | image_texture.c | 55 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 62 *g_shift = 8; in image_texture_set_color_shifts() 76 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 94 (r << r_shift) | (g << g_shift) | (b << b_shift); in image_texture_color_convert() 169 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 198 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 233 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 234 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 241 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 258 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/libretro-common/formats/ |
H A D | image_texture.c | 55 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 62 *g_shift = 8; in image_texture_set_color_shifts() 76 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 94 (r << r_shift) | (g << g_shift) | (b << b_shift); in image_texture_color_convert() 169 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 198 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 233 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 234 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 241 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 258 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/libretro-cap32/libretro-cap32-ad7397f/libretro-common/formats/ |
H A D | image_texture.c | 55 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 62 *g_shift = 8; in image_texture_set_color_shifts() 76 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 94 (r << r_shift) | (g << g_shift) | (b << b_shift); in image_texture_color_convert() 169 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 198 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 233 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 234 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 241 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 258 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/x11/wmdrawer/wmdrawer-0.10.5/ |
H A D | graphics.c | 33 unsigned char r_shift=16, g_shift=8, b_shift; in ShadeXImage() local 49 case 15: r_shift = 7 ; g_shift = 2 ; break ; in ShadeXImage() 50 case 16: g_mask = 0xfc ; r_shift = 8 ; g_shift = 3 ; break ; in ShadeXImage() 52 case 24: g_mask = rb_mask = 0xff ; r_shift = 16 ; g_shift = 8 ; break ; in ShadeXImage() 61 ((((((p>>g_shift)&g_mask)*int_gm)/255)&g_mask)<<g_shift)| in ShadeXImage() 71 ((((((p>>g_shift)&g_mask)*int_gm)/255)&g_mask)<<g_shift)| in ShadeXImage()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/formats/ |
H A D | image_texture.c | 80 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 87 *g_shift = 8; in image_texture_set_color_shifts() 101 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 123 ((uint32_t)g << g_shift) | in image_texture_color_convert() 199 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 228 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 263 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 264 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 271 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 288 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/formats/ |
H A D | image_texture.c | 80 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 87 *g_shift = 8; in image_texture_set_color_shifts() 101 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 123 ((uint32_t)g << g_shift) | in image_texture_color_convert() 199 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 228 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 263 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 264 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 271 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 288 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/mrboom/MrBoom-src-5.2/libretro-common/formats/ |
H A D | image_texture.c | 80 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 87 *g_shift = 8; in image_texture_set_color_shifts() 101 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 123 ((uint32_t)g << g_shift) | in image_texture_color_convert() 199 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 228 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 263 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 264 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 271 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 288 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/libretro-common/formats/ |
H A D | image_texture.c | 80 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 87 *g_shift = 8; in image_texture_set_color_shifts() 101 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 123 ((uint32_t)g << g_shift) | in image_texture_color_convert() 199 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 228 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 263 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 264 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 271 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 288 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/libretro-common/formats/ |
H A D | image_texture.c | 80 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 87 *g_shift = 8; in image_texture_set_color_shifts() 101 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 123 ((uint32_t)g << g_shift) | in image_texture_color_convert() 199 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 228 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 263 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load_buffer() local 264 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load_buffer() 271 a_shift, r_shift, g_shift, b_shift)) in image_texture_load_buffer() 288 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local [all …]
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/libretro-common/formats/ |
H A D | image_texture.c | 54 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 59 *g_shift = 8; in image_texture_set_color_shifts() 73 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 77 if (a_shift != 24 || r_shift != 16 || g_shift != 8 || b_shift != 0) in image_texture_color_convert() 91 (r << r_shift) | (g << g_shift) | (b << b_shift); in image_texture_color_convert() 166 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 195 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 280 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local 286 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load() 306 a_shift, r_shift, g_shift, b_shift)) in image_texture_load()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burner/libretro/libretro-common/formats/ |
H A D | image_texture.c | 42 unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, in image_texture_set_color_shifts() argument 49 *g_shift = 8; in image_texture_set_color_shifts() 63 unsigned g_shift, unsigned b_shift, unsigned a_shift, in image_texture_color_convert() argument 67 if (a_shift != 24 || r_shift != 16 || g_shift != 8 || b_shift != 0) in image_texture_color_convert() 81 (r << r_shift) | (g << g_shift) | (b << b_shift); in image_texture_color_convert() 156 unsigned g_shift, unsigned b_shift) in image_texture_load_internal() argument 185 image_texture_color_convert(r_shift, g_shift, b_shift, in image_texture_load_internal() 269 unsigned r_shift, g_shift, b_shift, a_shift; in image_texture_load() local 275 image_texture_set_color_shifts(&r_shift, &g_shift, &b_shift, in image_texture_load() 295 a_shift, r_shift, g_shift, b_shift)) in image_texture_load()
|
/dports/editors/e93/e93/xgui/ |
H A D | colors.c | 24 g_shift, variable 40 pixel=(((r_max+1)*r/256)<<r_shift)|(((g_max+1)*g/256)<<g_shift)|(((b_max+1)*b/256)<<b_shift); in EditorColorToXPixel() 90 for(g_shift=0;!(g_max&1);g_shift++) in InitColors()
|
/dports/databases/grass7/grass-7.8.6/lib/pngdriver/ |
H A D | color_table.c | 9 static int r_shift, g_shift, b_shift, a_shift; variable 24 g_shift = 8; in init_colors_rgb() 30 g_shift = 16; in init_colors_rgb() 83 return (r << r_shift) + (g << g_shift) + (b << b_shift) + (a << a_shift); in get_color_rgb() 97 *g = (pixel >> g_shift) & 0xFF; in get_pixel_rgb()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/targets/ |
H A D | vid_x11.c | 103 static long r_shift, g_shift, b_shift; variable 265 for (g_shift = -8, x = 1; x < g_mask; x <<= 1) in shiftmask_init() 266 g_shift++; in shiftmask_init() 290 if (g_shift > 0) { in xlib_rgb16() 291 p |= (g << (g_shift)) & g_mask; in xlib_rgb16() 293 if (g_shift < 0) { in xlib_rgb16() 294 p |= (g >> (-g_shift)) & g_mask; in xlib_rgb16() 331 if (g_shift > 0) { in xlib_rgb24() 332 p |= (g << (g_shift)) & g_mask; in xlib_rgb24() 334 if (g_shift < 0) { in xlib_rgb24() [all …]
|
/dports/graphics/exiftran/fbida-2.14/rd/ |
H A D | read-xwd.c | 59 int r_shift,g_shift,b_shift; member 81 h->g_shift++; in xwd_map() 88 h->g_shift -= (8 - h->g_bits); in xwd_map() 93 fprintf(stderr,"xwd: green: %04i %05i\n", h->g_bits, h->g_shift); in xwd_map() 254 if (h->g_shift > 0) in xwd_parse() 255 g >>= h->g_shift; in xwd_parse() 256 if (h->g_shift < 0) in xwd_parse() 257 g <<= -h->g_shift; in xwd_parse()
|
/dports/graphics/ida/fbida-2.14/rd/ |
H A D | read-xwd.c | 59 int r_shift,g_shift,b_shift; member 81 h->g_shift++; in xwd_map() 88 h->g_shift -= (8 - h->g_bits); in xwd_map() 93 fprintf(stderr,"xwd: green: %04i %05i\n", h->g_bits, h->g_shift); in xwd_map() 254 if (h->g_shift > 0) in xwd_parse() 255 g >>= h->g_shift; in xwd_parse() 256 if (h->g_shift < 0) in xwd_parse() 257 g <<= -h->g_shift; in xwd_parse()
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/libretro-common/include/formats/ |
H A D | image.h | 52 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 56 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burner/libretro/libretro-common/include/formats/ |
H A D | image.h | 59 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 64 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libretro/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/emulators/libretro-vice/vice-libretro-5725415/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/mrboom/MrBoom-src-5.2/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/libretro-cap32/libretro-cap32-ad7397f/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/libretro-common/include/formats/ |
H A D | image.h | 62 bool image_texture_set_color_shifts(unsigned *r_shift, unsigned *g_shift, 67 unsigned g_shift, unsigned b_shift, unsigned a_shift,
|