/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/rltiles/tool/ |
H A D | tile_colour.cc | 54 int max_rgb = get_max_rgb(); in get_hue() local 57 if (max_rgb == min_rgb) in get_hue() 62 if (max_rgb == r) in get_hue() 64 else if (max_rgb == g) in get_hue() 73 return max_rgb; in get_max_rgb() 94 int v = max_rgb; in set_from_hue() 95 int s = max_rgb - min_rgb; in set_from_hue() 166 sat = (max_rgb - min_rgb) / (float)(255*2 - min_rgb - max_rgb); in get_sat() 168 sat = (max_rgb - min_rgb) / (float)(min_rgb + max_rgb); in get_sat() 214 if (min_rgb == max_rgb) in change_lum() [all …]
|
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/ |
H A D | plustek-usbcal.c | 301 max_rgb.Red = max_rgb.Green = max_rgb.Blue = 0x3fff; in cano_AdjustLightsource() 588 RGBUShortDef max_rgb; in cano_AdjustGain() local 593 max_rgb.Red = max_rgb.Green = max_rgb.Blue = 0; in cano_AdjustGain() 617 if(max_rgb.Red < dwR) in cano_AdjustGain() 618 max_rgb.Red = dwR; in cano_AdjustGain() 619 if(max_rgb.Green < dwG) in cano_AdjustGain() 620 max_rgb.Green = dwG; in cano_AdjustGain() 621 if(max_rgb.Blue < dwB) in cano_AdjustGain() 622 max_rgb.Blue = dwB; in cano_AdjustGain() 626 max_rgb.Red, max_rgb.Red, max_rgb.Green, in cano_AdjustGain() [all …]
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
H A D | gdevxcmp.c | 209 int max_rgb = ramp_size - 1; in setup_cube() local 663 uint max_rgb = dither_rgb - 1; in gdev_x_map_rgb_color() local 668 if (max_rgb < countof(cv_tables)) { in gdev_x_map_rgb_color() 669 const ushort *cv_tab = cv_tables[max_rgb]; in gdev_x_map_rgb_color() 675 cvr = CV_FRACTION(cr, max_rgb); in gdev_x_map_rgb_color() 676 cvg = CV_FRACTION(cg, max_rgb); in gdev_x_map_rgb_color() 677 cvb = CV_FRACTION(cb, max_rgb); in gdev_x_map_rgb_color() 846 uint max_rgb = size - 1; in gdev_x_map_color_rgb() local 856 prgb[0] = r * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() 857 prgb[1] = g * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/vsp1/ |
H A D | vsp1_hgo.c | 66 } else if (hgo->max_rgb) { in vsp1_hgo_frame_end() 159 hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; in hgo_configure_stream() 168 (hgo->max_rgb ? VI6_HGO_MODE_MAXRGB : 0) | in hgo_configure_stream() 200 hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create() 207 hgo->max_rgb = false; in vsp1_hgo_create()
|
H A D | vsp1_hgo.h | 25 struct v4l2_ctrl *max_rgb; member 29 bool max_rgb; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/vsp1/ |
H A D | vsp1_hgo.c | 66 } else if (hgo->max_rgb) { in vsp1_hgo_frame_end() 159 hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; in hgo_configure_stream() 168 (hgo->max_rgb ? VI6_HGO_MODE_MAXRGB : 0) | in hgo_configure_stream() 200 hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create() 207 hgo->max_rgb = false; in vsp1_hgo_create()
|
H A D | vsp1_hgo.h | 25 struct v4l2_ctrl *max_rgb; member 29 bool max_rgb; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/vsp1/ |
H A D | vsp1_hgo.c | 66 } else if (hgo->max_rgb) { in vsp1_hgo_frame_end() 159 hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; in hgo_configure_stream() 168 (hgo->max_rgb ? VI6_HGO_MODE_MAXRGB : 0) | in hgo_configure_stream() 200 hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, in vsp1_hgo_create() 207 hgo->max_rgb = false; in vsp1_hgo_create()
|
H A D | vsp1_hgo.h | 25 struct v4l2_ctrl *max_rgb; member 29 bool max_rgb; member
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
H A D | gdevxcmp.c | 204 int max_rgb = ramp_size - 1; in setup_cube() local 660 uint max_rgb = dither_rgb - 1; in gdev_x_map_rgb_color() local 665 if (max_rgb < countof(cv_tables)) { in gdev_x_map_rgb_color() 666 const ushort *cv_tab = cv_tables[max_rgb]; in gdev_x_map_rgb_color() 672 cvr = CV_FRACTION(cr, max_rgb); in gdev_x_map_rgb_color() 673 cvg = CV_FRACTION(cg, max_rgb); in gdev_x_map_rgb_color() 674 cvb = CV_FRACTION(cb, max_rgb); in gdev_x_map_rgb_color() 843 uint max_rgb = size - 1; in gdev_x_map_color_rgb() local 853 prgb[0] = r * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() 854 prgb[1] = g * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() [all …]
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
H A D | gdevxcmp.c | 214 int max_rgb = ramp_size - 1; in setup_cube() local 682 uint max_rgb = dither_rgb - 1; in encode_color() local 687 if (max_rgb < countof(cv_tables)) { in encode_color() 688 const ushort *cv_tab = cv_tables[max_rgb]; in encode_color() 694 cvr = CV_FRACTION(cr, max_rgb); in encode_color() 695 cvg = CV_FRACTION(cg, max_rgb); in encode_color() 696 cvb = CV_FRACTION(cb, max_rgb); in encode_color() 876 uint max_rgb = size - 1; in gdev_x_map_color_rgb() local 886 prgb[0] = r * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() 887 prgb[1] = g * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() [all …]
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gdev4693.c | 29 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 32 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
H A D | gdevplan.c | 160 #define plan_prn_device(procs, dev_name, num_comp, depth, max_gray, max_rgb, print_page) \ argument 164 num_comp, depth, max_gray, max_rgb, max_gray + 1, max_rgb + 1,\ 375 uint max_rgb = dev->color_info.max_color; in plan_decode_color() local 378 (ulong) gx_max_color_value / max_rgb; in plan_decode_color() 380 (ulong) gx_max_color_value / max_rgb; in plan_decode_color() 382 (ulong) gx_max_color_value / max_rgb; in plan_decode_color()
|
H A D | gdevxcmp.c | 206 int max_rgb = ramp_size - 1; in setup_cube() local 670 uint max_rgb = dither_rgb - 1; in gdev_x_map_rgb_color() local 675 if (max_rgb < countof(cv_tables)) { in gdev_x_map_rgb_color() 676 const ushort *cv_tab = cv_tables[max_rgb]; in gdev_x_map_rgb_color() 682 cvr = CV_FRACTION(cr, max_rgb); in gdev_x_map_rgb_color() 683 cvg = CV_FRACTION(cg, max_rgb); in gdev_x_map_rgb_color() 684 cvb = CV_FRACTION(cb, max_rgb); in gdev_x_map_rgb_color() 852 uint max_rgb = size - 1; in gdev_x_map_color_rgb() local 862 prgb[0] = r * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() 863 prgb[1] = g * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gdev4693.c | 29 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 32 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
H A D | gdevplan.c | 160 #define plan_prn_device(procs, dev_name, num_comp, depth, max_gray, max_rgb, print_page) \ argument 164 num_comp, depth, max_gray, max_rgb, max_gray + 1, max_rgb + 1,\ 375 uint max_rgb = dev->color_info.max_color; in plan_decode_color() local 378 (ulong) gx_max_color_value / max_rgb; in plan_decode_color() 380 (ulong) gx_max_color_value / max_rgb; in plan_decode_color() 382 (ulong) gx_max_color_value / max_rgb; in plan_decode_color()
|
H A D | gdevxcmp.c | 206 int max_rgb = ramp_size - 1; in setup_cube() local 670 uint max_rgb = dither_rgb - 1; in gdev_x_map_rgb_color() local 675 if (max_rgb < countof(cv_tables)) { in gdev_x_map_rgb_color() 676 const ushort *cv_tab = cv_tables[max_rgb]; in gdev_x_map_rgb_color() 682 cvr = CV_FRACTION(cr, max_rgb); in gdev_x_map_rgb_color() 683 cvg = CV_FRACTION(cg, max_rgb); in gdev_x_map_rgb_color() 684 cvb = CV_FRACTION(cb, max_rgb); in gdev_x_map_rgb_color() 852 uint max_rgb = size - 1; in gdev_x_map_color_rgb() local 862 prgb[0] = r * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() 863 prgb[1] = g * gx_max_color_value / max_rgb; in gdev_x_map_color_rgb() [all …]
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gdev4693.c | 30 #define t4693d_prn_device(name,depth,max_rgb) {prn_device_body( \ argument 33 3,depth,max_rgb,max_rgb,max_rgb + 1,max_rgb + 1, \
|
/dports/math/polymake/polymake-4.5/apps/polytope/src/ |
H A D | vertex_colors.cc | 67 RGB max_rgb(white), min_rgb; in vertex_colors() local 68 options["max"] >> max_rgb; in vertex_colors() 70 HSV maxcolor(max_rgb), mincolor(min_rgb); in vertex_colors()
|
/dports/multimedia/vapoursynth/vapoursynth-R54/doc/functions/ |
H A D | frameeval.rst | 53 max_rgb = max(red, green, blue) 54 red_corr = max_rgb/max(red, small_number) 55 green_corr = max_rgb/max(green, small_number) 56 blue_corr = max_rgb/max(blue, small_number)
|