/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | halftone.c | 89 halftone->buffer = halftone->window; in update_buffer() 91 …halftone->buffer = XCreatePixmap(halftone->dpy, halftone->window, halftone->buffer_width, halftone… in update_buffer() 137 halftone->delay = (halftone->delay < 0 ? DEFAULT_DELAY : halftone->delay); in halftone_init() 139 halftone->gc = XCreateGC (halftone->dpy, halftone->window, 0, &gc_values); in halftone_init() 244 …XFillRectangle(halftone->dpy, halftone->buffer, halftone->buffer_gc, 0, 0, halftone->buffer_width,… in repaint_halftone() 253 halftone->color0 = (halftone->color0 + 1) % halftone->ncolors; in repaint_halftone() 254 halftone->color1 = (halftone->color1 + 1) % halftone->ncolors; in repaint_halftone() 259 fill_circle(halftone->dpy, halftone->buffer, halftone->buffer_gc, in repaint_halftone() 261 halftone->max_dot_size * halftone->dots[x + y * halftone->dots_width]); in repaint_halftone() 265 …XCopyArea(halftone->dpy, halftone->buffer, halftone->window, halftone->gc, 0, 0, halftone->buffer_… in repaint_halftone() [all …]
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/modules/mod_filter/ |
H A D | halftone2.cpp | 76 halftone.param_origin=ValueBase(synfig::Point(0,0)); in Halftone2() 78 halftone.param_angle=ValueBase(Angle::zero()); in Halftone2() 79 halftone.param_type=ValueBase(int(TYPE_SYMMETRIC)); in Halftone2() 124 HALFTONE2_IMPORT_VALUE(halftone.param_size); in set_param() 125 HALFTONE2_IMPORT_VALUE(halftone.param_type); in set_param() 126 HALFTONE2_IMPORT_VALUE(halftone.param_angle); in set_param() 127 HALFTONE2_IMPORT_VALUE(halftone.param_origin); in set_param() 141 HALFTONE2_EXPORT_VALUE(halftone.param_size); in get_param() 142 HALFTONE2_EXPORT_VALUE(halftone.param_type); in get_param() 143 HALFTONE2_EXPORT_VALUE(halftone.param_angle); in get_param() [all …]
|
H A D | halftone.cpp | 55 float halftone(mask(point)); in operator ()() local 60 halftone=(halftone-0.5f)*(1.0f-supersample*2.0f)+0.5f; in operator ()() 62 const float diff(halftone-luma); in operator ()()
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/modules/mod_filter/ |
H A D | halftone2.cpp | 76 halftone.param_origin=ValueBase(synfig::Point(0,0)); in Halftone2() 78 halftone.param_angle=ValueBase(Angle::zero()); in Halftone2() 79 halftone.param_type=ValueBase(int(TYPE_SYMMETRIC)); in Halftone2() 124 HALFTONE2_IMPORT_VALUE(halftone.param_size); in set_param() 125 HALFTONE2_IMPORT_VALUE(halftone.param_type); in set_param() 126 HALFTONE2_IMPORT_VALUE(halftone.param_angle); in set_param() 127 HALFTONE2_IMPORT_VALUE(halftone.param_origin); in set_param() 141 HALFTONE2_EXPORT_VALUE(halftone.param_size); in get_param() 142 HALFTONE2_EXPORT_VALUE(halftone.param_type); in get_param() 143 HALFTONE2_EXPORT_VALUE(halftone.param_angle); in get_param() [all …]
|
H A D | halftone.cpp | 55 float halftone(mask(point)); in operator ()() local 60 halftone=(halftone-0.5f)*(1.0f-supersample*2.0f)+0.5f; in operator ()() 62 const float diff(halftone-luma); in operator ()()
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/modules/mod_filter/ |
H A D | halftone2.cpp | 76 halftone.param_origin=ValueBase(synfig::Point(0,0)); in Halftone2() 78 halftone.param_angle=ValueBase(Angle::zero()); in Halftone2() 79 halftone.param_type=ValueBase(int(TYPE_SYMMETRIC)); in Halftone2() 124 HALFTONE2_IMPORT_VALUE(halftone.param_size); in set_param() 125 HALFTONE2_IMPORT_VALUE(halftone.param_type); in set_param() 126 HALFTONE2_IMPORT_VALUE(halftone.param_angle); in set_param() 127 HALFTONE2_IMPORT_VALUE(halftone.param_origin); in set_param() 141 HALFTONE2_EXPORT_VALUE(halftone.param_size); in get_param() 142 HALFTONE2_EXPORT_VALUE(halftone.param_type); in get_param() 143 HALFTONE2_EXPORT_VALUE(halftone.param_angle); in get_param() [all …]
|
H A D | halftone.cpp | 55 float halftone(mask(point)); in operator ()() local 60 halftone=(halftone-0.5f)*(1.0f-supersample*2.0f)+0.5f; in operator ()() 62 const float diff(halftone-luma); in operator ()()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/base/ |
H A D | gxht_thresh.h | 28 int contone_stride, byte *halftone, 32 int contone_stride, byte *halftone, 36 int contone_stride, byte *halftone, 40 ht_landscape_info_t ht_landscape, byte *halftone, 43 ht_landscape_info_t ht_landscape, byte *halftone,
|
H A D | gxht_thresh.c | 92 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_byte() 186 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit_sub() argument 203 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 262 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 291 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit() argument 308 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 367 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 419 halftone_ptr = halftone; in gx_ht_threshold_landscape_sub() 510 halftone_ptr = halftone; in gx_ht_threshold_landscape() 861 byte *halftone; in gxht_thresh_planes() local [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/base/ |
H A D | gxht_thresh.h | 28 int contone_stride, byte *halftone, 32 int contone_stride, byte *halftone, 36 int contone_stride, byte *halftone, 40 ht_landscape_info_t ht_landscape, byte *halftone, 43 ht_landscape_info_t ht_landscape, byte *halftone,
|
H A D | gxht_thresh.c | 92 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_byte() 186 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit_sub() argument 203 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 262 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 291 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit() argument 308 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 367 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 419 halftone_ptr = halftone; in gx_ht_threshold_landscape_sub() 510 halftone_ptr = halftone; in gx_ht_threshold_landscape() 861 byte *halftone; in gxht_thresh_planes() local [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Shadertoy/presets/default/ |
H A D | cmykhalftone-natron.frag.glsl | 3 // CMYK halftone shader. Use mouse to scale and rotate halftone pattern. View in full screen for be… 45 vec4 halftone(in vec2 fc,in mat2 m) 76 float k = halftone(fc, mk).a; 78 halftone(fc, mc).r, 79 halftone(fc, mm).g, 80 halftone(fc, my).b, 81 halftone(fc, mk).a
|
H A D | cmykhalftone.frag.glsl | 3 // CMYK halftone shader. Use mouse to scale and rotate halftone pattern. View in full screen for be… 47 vec4 halftone(in vec2 fc,in mat2 m) 82 float k = halftone(fc, mk).a; 84 halftone(fc, mc).r, 85 halftone(fc, mm).g, 86 halftone(fc, my).b, 87 halftone(fc, mk).a
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/ |
H A D | gxht_thresh.h | 33 int contone_stride, byte *halftone, 37 int contone_stride, byte *halftone, 41 int contone_stride, byte *halftone, 45 ht_landscape_info_t *ht_landscape, byte *halftone, 48 ht_landscape_info_t *ht_landscape, byte *halftone,
|
H A D | gxht_thresh.c | 93 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_byte() 187 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit_sub() argument 204 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 263 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 292 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit() argument 309 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 368 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 420 halftone_ptr = halftone; in gx_ht_threshold_landscape_sub() 511 halftone_ptr = halftone; in gx_ht_threshold_landscape() 867 byte *halftone; in gxht_thresh_planes() local [all …]
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/ |
H A D | gxht_thresh.h | 33 int contone_stride, byte *halftone, 37 int contone_stride, byte *halftone, 41 int contone_stride, byte *halftone, 45 ht_landscape_info_t *ht_landscape, byte *halftone, 48 ht_landscape_info_t *ht_landscape, byte *halftone,
|
H A D | gxht_thresh.c | 93 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_byte() 187 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit_sub() argument 204 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 263 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit_sub() 292 byte *halftone, int dithered_stride, int width, in gx_ht_threshold_row_bit() argument 309 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 368 halftone_ptr = halftone + dithered_stride * j; in gx_ht_threshold_row_bit() 420 halftone_ptr = halftone; in gx_ht_threshold_landscape_sub() 511 halftone_ptr = halftone; in gx_ht_threshold_landscape() 867 byte *halftone; in gxht_thresh_planes() local [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/editor/ |
H A D | pbmreduce.c | 30 enum Halftone halftone; member 78 cmdlineP->halftone = QT_FS; in parseCommandLine() 83 cmdlineP->halftone = QT_FS; in parseCommandLine() 85 cmdlineP->halftone = QT_THRESH; in parseCommandLine() 241 if (cmdline.halftone == QT_FS) in main() 268 if (cmdline.halftone == QT_FS) { in main() 304 if (cmdline.halftone == QT_FS) in main() 308 if (cmdline.halftone == QT_FS) in main() 313 if (cmdline.halftone == QT_FS) { in main() 335 if (cmdline.halftone == QT_FS) { in main()
|
H A D | pamditherbw.c | 23 enum halftone {QT_FS, enum 42 enum halftone halftone; member 106 cmdlineP->halftone = QT_FS; in parseCommandLine() 112 cmdlineP->halftone = QT_FS; in parseCommandLine() 116 cmdlineP->halftone = QT_THRESH; in parseCommandLine() 118 cmdlineP->halftone = QT_HILBERT; in parseCommandLine() 128 cmdlineP->halftone = QT_DITHER8; in parseCommandLine() 130 cmdlineP->halftone = QT_CLUSTER; in parseCommandLine() 133 cmdlineP->halftone = QT_CLUSTER; in parseCommandLine() 941 if (cmdline.halftone == QT_HILBERT) in main() [all …]
|
/dports/graphics/sane-epkowa/iscan-2.11.0/frontend/ |
H A D | pisa_scan_tool.cc | 47 unsigned char halftone, 51 unsigned char halftone, 258 unsigned char halftone, in build_bw() argument 265 switch ( halftone ) in build_bw() 281 ret = build_dither ( info, do_clr, halftone, threshold ); in build_bw() 416 unsigned char halftone, in build_halftone() argument 430 pattern = proc_halftone [ halftone ].matrix; in build_halftone() 434 matrix_size = proc_halftone [ halftone ].size; in build_halftone() 495 unsigned char halftone, in build_dither() argument 507 pattern = proc_halftone [ halftone ].matrix; in build_dither() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | pgmtopbm.c | 29 enum halftone halftone; member 85 cmdlineP->halftone = QT_FS; in parseCommandLine() 91 cmdlineP->halftone = QT_FS; in parseCommandLine() 93 cmdlineP->halftone = QT_THRESH; in parseCommandLine() 95 cmdlineP->halftone = QT_HILBERT; in parseCommandLine() 97 cmdlineP->halftone = QT_DITHER8; in parseCommandLine() 99 cmdlineP->halftone = QT_CLUSTER; in parseCommandLine() 102 cmdlineP->halftone = QT_CLUSTER; in parseCommandLine() 105 cmdlineP->halftone = QT_CLUSTER; in parseCommandLine() 712 if (cmdline.halftone == QT_HILBERT) in main() [all …]
|
/dports/lang/sdcc/sdcc-4.0.0/support/regression/tests/ |
H A D | cvu_play_music.c | 122 uint8_t octave, halftone; in cvu_play_music() local 125 halftone = (note >> 8) & 0xf; in cvu_play_music() 126 pause = (halftone == 0xf); in cvu_play_music() 129 frequency_divider = music->tuning[halftone]; in cvu_play_music()
|
/dports/misc/magicpoint/magicpoint-1.13a/image/ |
H A D | Imakefile.in | 5 value.c misc.c rotate.c rle.c rlelib.c smooth.c halftone.c clip.c\ 9 value.o misc.o rotate.o rle.o rlelib.o smooth.o halftone.o clip.o\ 13 value.c misc.c rotate.c rle.c rlelib.c smooth.c halftone.c clip.c\ 19 value.o misc.o rotate.o rle.o rlelib.o smooth.o halftone.o clip.o\
|
/dports/print/ghostscript8-x11/ghostscript-8.71/base/ |
H A D | gsistate.c | 100 pis->halftone = 0; in gs_imager_state_initialize() 157 rc_increment(pis->halftone); in gs_imager_state_copied() 189 RCCOPY(halftone); in gs_imager_state_pre_assign() 221 RCDECR(halftone); in gs_imager_state_release()
|
/dports/print/ghostscript8-base/ghostscript-8.71/base/ |
H A D | gsistate.c | 100 pis->halftone = 0; in gs_imager_state_initialize() 157 rc_increment(pis->halftone); in gs_imager_state_copied() 189 RCCOPY(halftone); in gs_imager_state_pre_assign() 221 RCDECR(halftone); in gs_imager_state_release()
|