Home
last modified time | relevance | path

Searched refs:color_shift (Results 1 – 25 of 56) sorted by relevance

123

/dports/graphics/pinta/pinta-1.7.1/Pinta.Docking/Extensions/
H A DCairoExtensions.cs186 double[] color_shift = { 0, 0, 0 }; in ColorFromHsb()
199 color_shift[0] = color_shift[1] = color_shift[2] = brightness; in ColorFromHsb()
213 color_shift[i] = m1 + (m2 - m1) * m3 / 60; in ColorFromHsb()
215 color_shift[i] = m2; in ColorFromHsb()
217 color_shift[i] = m1 + (m2 - m1) * (240 - m3) / 60; in ColorFromHsb()
219 color_shift[i] = m1; in ColorFromHsb()
223 return new Cairo.Color (color_shift[0], color_shift[1], color_shift[2]); in ColorFromHsb()
/dports/graphics/mxp/mxp/
H A Dfile.c29 extern int color_shift;
91 set.color_shift = color_shift;
357 set.color_shift = 0; in read_rc_file()
372 color_shift = set.color_shift; in read_rc_file()
H A Dmxp.h13 #define ITER_2_COL_1(n) (((n >> color_shift) % colors) + reserved)
22 int color_shift; member
H A Dcolors.c45 int color_shift = 0; variable
125 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
127 color_shift = val;
134 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
141 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
H A Dmandel.c29 extern int color_shift;
168 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
173 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
174 color_shift = set.color_shift;
176 XtSetValues(seq_menu->entry[color_shift].button, arg, 1);
/dports/audio/ardour6/Ardour-6.8.0/libs/clearlooks-newer/
H A Dcairo-support.c80 gdouble hue_shift[3], color_shift[3]; in ge_color_from_hsb() local
96 color_shift[0] = color_shift[1] = color_shift[2] = brightness; in ge_color_from_hsb()
110 color_shift[i] = m1 + (m2 - m1) * m3 / 60; in ge_color_from_hsb()
112 color_shift[i] = m2; in ge_color_from_hsb()
114 color_shift[i] = m1 + (m2 - m1) * (240 - m3) / 60; in ge_color_from_hsb()
116 color_shift[i] = m1; in ge_color_from_hsb()
119 color->r = color_shift[0]; in ge_color_from_hsb()
120 color->g = color_shift[1]; in ge_color_from_hsb()
121 color->b = color_shift[2]; in ge_color_from_hsb()
/dports/sysutils/opencorsairlink/OpenCorsairLink-4234f4f/
H A Ddriver.c79 .color_shift = corsairlink_unsupported_led,
140 .color_shift = corsairlink_unsupported_led,
201 .color_shift = corsairlink_unsupported_led,
262 .color_shift = corsairlink_asetekpro_led_color_shift,
323 .color_shift = corsairlink_unsupported_led,
/dports/x11-themes/gtk-engines2/gtk-engines-2.20.2/engines/support/
H A Dcairo-support.c111 gdouble hue_shift[3], color_shift[3]; in ge_color_from_hsb() local
127 color_shift[0] = color_shift[1] = color_shift[2] = brightness; in ge_color_from_hsb()
141 color_shift[i] = m1 + (m2 - m1) * m3 / 60; in ge_color_from_hsb()
143 color_shift[i] = m2; in ge_color_from_hsb()
145 color_shift[i] = m1 + (m2 - m1) * (240 - m3) / 60; in ge_color_from_hsb()
147 color_shift[i] = m1; in ge_color_from_hsb()
150 color->r = color_shift[0]; in ge_color_from_hsb()
151 color->g = color_shift[1]; in ge_color_from_hsb()
152 color->b = color_shift[2]; in ge_color_from_hsb()
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/
H A Dsceptre.c420 if (dev->raster_num < dev->color_shift) in sceptre_adjust_raster()
425 else if (dev->raster_num < (3 * dev->color_shift)) in sceptre_adjust_raster()
428 colour = (dev->raster_num - dev->color_shift) % 2; in sceptre_adjust_raster()
432 line = (dev->raster_num - dev->color_shift) / 2; in sceptre_adjust_raster()
437 line = (dev->raster_num + dev->color_shift) / 2; in sceptre_adjust_raster()
454 line = dev->line + dev->color_shift; in sceptre_adjust_raster()
464 colour = (dev->raster_num - 3 * dev->color_shift) % 3; in sceptre_adjust_raster()
469 line = (dev->raster_num + 3 * dev->color_shift) / 3; in sceptre_adjust_raster()
477 line = (dev->raster_num - 3 * dev->color_shift) / 3; in sceptre_adjust_raster()
1795 dev->color_shift = color_shift_list[i]; in sane_get_parameters()
[all …]
/dports/emulators/x16-emulator/x16-emulator-r38/
H A Dvideo.c568 uint8_t color_shift; in render_layer_line_text() local
596 color_shift = max_pixels_per_byte - xx; in render_layer_line_text()
630 color_shift = max_pixels_per_byte; in render_layer_line_text()
634 const uint8_t col_index = (s >> color_shift) & 1; in render_layer_line_text()
635 --color_shift; in render_layer_line_text()
664 uint8_t color_shift; in render_layer_line_tile() local
691 color_shift = 0; in render_layer_line_tile()
693 color_shift = props->first_color_pos; in render_layer_line_tile()
732 color_shift = 0; in render_layer_line_tile()
734 color_shift = props->first_color_pos; in render_layer_line_tile()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dflicvideo.c175 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dflicvideo.c175 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/glx/
H A Ddangerball.c58 int color_shift; member
140 bp->color_shift = random() % (bp->ncolors / 2); in randomize_spikes()
142 bp->color_shift = 0; in randomize_spikes()
329 c2 = (bp->ccolor + bp->color_shift) % bp->ncolors; in draw_ball()
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dflicvideo.c151 int color_shift; in flic_decode_frame_8BPP() local
199 color_shift = 0; in flic_decode_frame_8BPP()
201 color_shift = 2; in flic_decode_frame_8BPP()
224 r = buf[stream_ptr++] << color_shift; in flic_decode_frame_8BPP()
225 g = buf[stream_ptr++] << color_shift; in flic_decode_frame_8BPP()
226 b = buf[stream_ptr++] << color_shift; in flic_decode_frame_8BPP()
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Dmoire2.c38 int delay, color_shift; member
246 st->color_shift = get_integer_resource (st->dpy, "colorShift", "Integer"); in moire2_init()
248 if (st->color_shift <= 0) st->color_shift = 1; in moire2_init()
295 if (st->iteration >= st->color_shift) in moire2_draw()
H A Dqix.c45 int color_shift; member
176 st->color_shift = get_integer_resource (st->dpy, "colorShift", "Integer"); in qix_init()
177 if (st->color_shift < 0 || st->color_shift >= 360) st->color_shift = 5; in qix_init()
450 h = (h + st->color_shift) % 360; in add_qline()
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/pixma/
H A Dpixma_mp800.c202 unsigned color_shift; member
608 mp->color_shift = s->param->ydpi / 75; in calc_shifting()
729 mp->color_shift = mp->shift[0] = mp->shift[1] = mp->shift[2] = 0; in calc_shifting()
736 mp->color_shift = s->param->ydpi / 50; in calc_shifting()
737 mp->shift[1] = mp->color_shift * get_cis_ccd_line_size (s); in calc_shifting()
744 mp->color_shift = s->param->ydpi / 30; in calc_shifting()
745 mp->shift[1] = mp->color_shift * get_cis_ccd_line_size (s); in calc_shifting()
755 mp->color_shift = s->param->ydpi / 75; in calc_shifting()
764 mp->color_shift = s->param->ydpi / 50; in calc_shifting()
766 mp->color_shift = s->param->ydpi / 50; in calc_shifting()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dflicvideo.c172 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dflicvideo.c172 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dflicvideo.c172 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dflicvideo.c172 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dflicvideo.c172 int color_shift; in flic_decode_frame_8BPP() local
229 color_shift = 0; in flic_decode_frame_8BPP()
231 color_shift = 2; in flic_decode_frame_8BPP()
256 r = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
257 g = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
258 b = bytestream2_get_byte(&g2) << color_shift; in flic_decode_frame_8BPP()
260 if (color_shift == 2) in flic_decode_frame_8BPP()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevht.h40 int color_shift; /* # of bits of color */ member
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevht.h40 int color_shift; /* # of bits of color */ member
/dports/sysutils/opencorsairlink/OpenCorsairLink-4234f4f/logic/settings/
H A Dcommanderpro.c128 if ( dev->driver->led.color_shift != NULL ) in commanderpro_settings()
130 rr = dev->driver->led.color_shift( dev, handle, &settings.led_ctrl ); in commanderpro_settings()

123