/dports/graphics/chafa/chafa-1.8.0/chafa/internal/ |
H A D | chafa-palette.c | 41 for (i = 0; i < n_pixels; i++) in find_dominant_channel() 163 col_out->ch [0] = (ch [0] + n_pixels / 2) / n_pixels; 164 col_out->ch [1] = (ch [1] + n_pixels / 2) / n_pixels; 165 col_out->ch [2] = (ch [2] + n_pixels / 2) / n_pixels; 232 g_assert (n_pixels > 0); in median_cut_once() 248 g_assert (n_pixels > 0); in median_cut() 262 n_pixels / 2, in median_cut() 268 n_pixels - (n_pixels / 2), in median_cut() 287 gint n_pixels, in diversity_pass() argument 291 gint step = n_pixels / 128; in diversity_pass() [all …]
|
/dports/graphics/gegl/gegl-0.4.34/operations/common/ |
H A D | saturation.c | 60 glong n_pixels, 69 for (i = 0; i < n_pixels; i++) 93 for (i = 0; i < n_pixels; i++) 109 glong n_pixels, 118 for (i = 0; i < n_pixels; i++) 142 for (i = 0; i < n_pixels; i++) 172 for (i = 0; i < n_pixels; i++) 207 for (i = 0; i < n_pixels; i++) 246 babl_process (fish1, in, grayA, n_pixels); 250 for (i = 0; i < n_pixels; i++) [all …]
|
H A D | exposure.c | 50 glong n_pixels, 128 glong n_pixels, 150 for (i=0; i<n_pixels; i++) 165 glong n_pixels, 187 for (i=0; i<n_pixels; i++) 203 glong n_pixels, 225 for (i=0; i<n_pixels; i++) 238 glong n_pixels, 260 for (i=0; i<n_pixels; i++) 362 glong n_pixels, [all …]
|
H A D | slic.c | 57 glong n_pixels; 137 c.n_pixels = 0; 183 glong n_pixels = iter->length; 208 while (n_pixels--) 246 c->n_pixels++; 277 c->center[0] = c->sum[0] / c->n_pixels; 278 c->center[1] = c->sum[1] / c->n_pixels; 279 c->center[2] = c->sum[2] / c->n_pixels; 289 c->n_pixels = 0; 318 glong n_pixels = iter->length; [all …]
|
H A D | waterpixels.c | 73 glong n_pixels; 231 buff = g_new (gfloat, n_pixels); 238 while (n_pixels--) 360 glong n_pixels = iter->length; 362 while (n_pixels--) 370 cell->n_pixels++; 380 cell->color[0] /= cell->n_pixels; 381 cell->color[1] /= cell->n_pixels; 382 cell->color[2] /= cell->n_pixels; 405 glong n_pixels = iter->length; [all …]
|
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/FbTk/ |
H A D | TextUtils.cc | 34 void maxTextLength(int n_pixels, const FbTk::Font& font, const char* const text, in maxTextLength() argument 40 if (text_width > n_pixels) { in maxTextLength() 57 int right = n_pixels / (font.textWidth(".", 1) + 1); in maxTextLength() 58 int left = n_pixels / (font.textWidth("WW", 2) + 1); in maxTextLength() 67 if (text_width < n_pixels) { in maxTextLength() 82 int doAlignment(int n_pixels, int bevel, FbTk::Justify justify, in doAlignment() argument 91 maxTextLength(n_pixels - bevel, font, text, textlen, text_width); in doAlignment() 96 return n_pixels - text_width; in doAlignment() 98 return (n_pixels - text_width + bevel)/2; in doAlignment()
|
H A D | TextButton.cc | 132 int n_pixels = static_cast<int>(button_width) - x_offset; in drawText() local 134 n_pixels = static_cast<int>(button_height) - y_offset; in drawText() 136 n_pixels -= padding; in drawText() 139 if (n_pixels <= bevel()) { in drawText() 147 int align_x = FbTk::doAlignment(n_pixels, in drawText()
|
/dports/deskutils/gnome-photos/gnome-photos-40.0/src/ |
H A D | photos-operation-insta-curve.c | 334 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_1977_process_alpha_float() 359 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_1977_process_alpha_u8() 389 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_1977_process_float() 413 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_1977_process_u8() 441 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_brannan_process_alpha_float() 482 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_brannan_process_alpha_u8() 527 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_brannan_process_float() 566 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_brannan_process_u8() 609 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_gotham_process_alpha_float() 634 for (i = 0; i < n_pixels; i++) in photos_operation_insta_curve_gotham_process_alpha_u8() [all …]
|
H A D | photos-operation-saturation.c | 51 glong n_pixels, in photos_operation_saturation_process_lab() argument 60 for (i = 0; i < n_pixels; i++) in photos_operation_saturation_process_lab() 76 glong n_pixels, in photos_operation_saturation_process_lab_alpha() argument 85 for (i = 0; i < n_pixels; i++) in photos_operation_saturation_process_lab_alpha() 102 glong n_pixels, in photos_operation_saturation_process_lch() argument 111 for (i = 0; i < n_pixels; i++) in photos_operation_saturation_process_lch() 127 glong n_pixels, in photos_operation_saturation_process_lch_alpha() argument 136 for (i = 0; i < n_pixels; i++) in photos_operation_saturation_process_lch_alpha() 207 glong n_pixels, in photos_operation_saturation_process() argument 213 self->process (operation, in_buf, out_buf, n_pixels, roi, level); in photos_operation_saturation_process()
|
/dports/x11/cinnamon-desktop/cinnamon-desktop-4.8.1/libcinnamon-desktop/ |
H A D | gnome-thumbnail-pixbuf-utils.c | 63 int n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() local 121 n_pixels = 0; in gnome_desktop_thumbnail_scale_down_pixbuf() 128 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 138 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 147 if (n_pixels != 0) /* avoid any possible divide by zero */ in gnome_desktop_thumbnail_scale_down_pixbuf() 154 *dest++ = a / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 162 *dest++ = r / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 163 *dest++ = g / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 164 *dest++ = b / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf()
|
/dports/graphics/gthumb/gthumb-3.10.1/gthumb/ |
H A D | gnome-thumbnail-pixbuf-utils.c | 62 int n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() local 120 n_pixels = 0; in gnome_desktop_thumbnail_scale_down_pixbuf() 127 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 137 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 151 *dest++ = a / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 159 *dest++ = r / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 160 *dest++ = g / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 161 *dest++ = b / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf()
|
/dports/audio/goobox/goobox-3.6.0/src/ |
H A D | gnome-thumbnail-pixbuf-utils.c | 62 int n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() local 120 n_pixels = 0; in gnome_desktop_thumbnail_scale_down_pixbuf() 127 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 137 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 151 *dest++ = a / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 159 *dest++ = r / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 160 *dest++ = g / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 161 *dest++ = b / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/external/cairo/pixman/ |
H A D | pixman-0.24.4.patch | 36 + long n_pixels; 44 + cache->n_pixels += glyph->image->bits.width * glyph->image->bits.height; 52 + cache->n_pixels -= glyph->image->bits.width * glyph->image->bits.height; 60 + cache->n_pixels = 0; 68 + cache->n_pixels = 0; 77 + (cache->n_glyphs + cache->n_tombstones > N_GLYPHS_HIGH_WATER || cache->n_pixels > N_PIXELS_HIGH_W… 89 + while (cache->n_glyphs > N_GLYPHS_LOW_WATER || cache->n_pixels > N_PIXELS_HIGH_WATER)
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/external/cairo/pixman/ |
H A D | pixman-0.24.4.patch | 36 + long n_pixels; 44 + cache->n_pixels += glyph->image->bits.width * glyph->image->bits.height; 52 + cache->n_pixels -= glyph->image->bits.width * glyph->image->bits.height; 60 + cache->n_pixels = 0; 68 + cache->n_pixels = 0; 77 + (cache->n_glyphs + cache->n_tombstones > N_GLYPHS_HIGH_WATER || cache->n_pixels > N_PIXELS_HIGH_W… 89 + while (cache->n_glyphs > N_GLYPHS_LOW_WATER || cache->n_pixels > N_PIXELS_HIGH_WATER)
|
/dports/databases/grass7/grass-7.8.6/lib/pngdriver/ |
H A D | color_table.c | 38 int n_pixels; in init_colors_indexed() local 42 n_pixels = 0; in init_colors_indexed() 47 set_color(n_pixels++, 0, 0, 0); in init_colors_indexed() 56 set_color(n_pixels++, red, grn, blu); in init_colors_indexed() 61 while (n_pixels < 256) in init_colors_indexed() 62 set_color(n_pixels++, 0, 0, 0); in init_colors_indexed()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/common/ |
H A D | glcRobustBufferAccessBehaviorTests.cpp | 980 for (GLuint i = 0; i < n_pixels; ++i) in initPixels() 985 for (GLuint i = 0; i < n_pixels; ++i) in initPixels() 994 for (GLuint i = 0; i < n_pixels; ++i) in initPixels() 1889 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 1920 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 1943 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 1961 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 2007 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 2092 for (GLuint i = 0; i < n_pixels; ++i) in verifyInvalidResults() 2141 for (GLuint i = 0; i < n_pixels; ++i) in verifyValidResults() [all …]
|
/dports/devel/libzvbi/zvbi-0.2.35/src/ |
H A D | dvb_mux.c | 819 unsigned int n_pixels; in insert_raw_data_units() local 847 p[5] = n_pixels; in insert_raw_data_units() 851 memcpy (p + 6, r, n_pixels); in insert_raw_data_units() 853 r += n_pixels; in insert_raw_data_units() 854 r_left -= n_pixels; in insert_raw_data_units() 858 0x2C - 4 - n_pixels); in insert_raw_data_units() 874 n_pixels = MIN (n_pixels, p_left - 6); in insert_raw_data_units() 886 p[1] = 4 + n_pixels; in insert_raw_data_units() 892 p[5] = n_pixels; in insert_raw_data_units() 898 r += n_pixels; in insert_raw_data_units() [all …]
|
/dports/graphics/gdk-pixbuf2/gdk-pixbuf-2.40.0/thumbnailer/ |
H A D | gnome-thumbnailer-skeleton.c | 67 int n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() local 128 n_pixels = 0; in gnome_desktop_thumbnail_scale_down_pixbuf() 135 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 145 n_pixels++; in gnome_desktop_thumbnail_scale_down_pixbuf() 154 g_assert (n_pixels > 0); in gnome_desktop_thumbnail_scale_down_pixbuf() 161 *dest++ = a / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 169 *dest++ = r / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 170 *dest++ = g / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf() 171 *dest++ = b / n_pixels; in gnome_desktop_thumbnail_scale_down_pixbuf()
|
/dports/x11-fm/caja/caja-1.26.0/eel/ |
H A D | eel-gdk-pixbuf-extensions.c | 290 int n_pixels; in eel_gdk_pixbuf_scale_down() local 356 n_pixels = 0; in eel_gdk_pixbuf_scale_down() 366 n_pixels++; in eel_gdk_pixbuf_scale_down() 379 n_pixels++; in eel_gdk_pixbuf_scale_down() 395 *dest++ = a / n_pixels; in eel_gdk_pixbuf_scale_down() 407 if (n_pixels != 0) in eel_gdk_pixbuf_scale_down() 409 *dest++ = r / n_pixels; in eel_gdk_pixbuf_scale_down() 410 *dest++ = g / n_pixels; in eel_gdk_pixbuf_scale_down() 411 *dest++ = b / n_pixels; in eel_gdk_pixbuf_scale_down()
|
/dports/graphics/chafa/chafa-1.8.0/chafa/internal/smolscale/ |
H A D | smolscale-avx2.c | 187 uint32_t *row_out_max = row_out + n_pixels; in pack_row_1324_p_to_1234_p_64bpp() 200 uint32_t n_pixels) in pack_row_132a_p_to_123_p_64bpp() argument 202 uint8_t *row_out_max = row_out + n_pixels * 3; in pack_row_132a_p_to_123_p_64bpp() 274 uint32_t *row_out_max = row_out + n_pixels; in pack_row_1234_p_to_1234_p_128bpp() 362 uint32_t *row_out_max = row_out + n_pixels; in pack_row_132a_p_to_1234_u_64bpp() 515 uint32_t *row_out_max = row_out + n_pixels; in pack_row_a324_p_to_1234_u_64bpp() 800 uint32_t *row_out_max = row_out + n_pixels; in pack_row_123a_i_to_1234_u_128bpp() 901 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_1234_p_to_1324_p_64bpp() 923 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_123_p_to_132a_p_64bpp() 1000 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_a234_u_to_a324_p_64bpp() [all …]
|
H A D | smolscale.c | 164 uint32_t *row_out_max = row_out + n_pixels; in pack_row_1324_p_to_1234_p_64bpp() 177 uint32_t n_pixels) in pack_row_132a_p_to_123_p_64bpp() argument 179 uint8_t *row_out_max = row_out + n_pixels * 3; in pack_row_132a_p_to_123_p_64bpp() 251 uint32_t *row_out_max = row_out + n_pixels; in pack_row_1234_p_to_1234_p_128bpp() 339 uint32_t *row_out_max = row_out + n_pixels; in pack_row_132a_p_to_1234_u_64bpp() 492 uint32_t *row_out_max = row_out + n_pixels; in pack_row_a324_p_to_1234_u_64bpp() 651 uint32_t *row_out_max = row_out + n_pixels; in pack_row_123a_i_to_1234_u_128bpp() 745 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_1234_p_to_1324_p_64bpp() 767 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_123_p_to_132a_p_64bpp() 844 uint64_t *row_out_max = row_out + n_pixels; in unpack_row_a234_u_to_a324_p_64bpp() [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/ngl/ |
H A D | gskngltexturelibraryprivate.h | 78 guint n_pixels : 29; member 129 int n_pixels) in gsk_ngl_texture_atlas_mark_unused() argument 131 g_assert (n_pixels >= 0); in gsk_ngl_texture_atlas_mark_unused() 133 self->unused_pixels += n_pixels; in gsk_ngl_texture_atlas_mark_unused() 142 entry->atlas->unused_pixels -= entry->n_pixels; in gsk_ngl_texture_atlas_entry_mark_used() 152 entry->atlas->unused_pixels += entry->n_pixels; in gsk_ngl_texture_atlas_entry_mark_unused()
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/miscellaneous/ |
H A D | plot_multioutput_face_completion.py | 38 n_pixels = data.shape[1] variable 40 X_train = train[:, : (n_pixels + 1) // 2] 42 y_train = train[:, n_pixels // 2 :] 43 X_test = test[:, : (n_pixels + 1) // 2] 44 y_test = test[:, n_pixels // 2 :]
|
/dports/databases/grass7/grass-7.8.6/visualization/ximgview/ |
H A D | color.c | 143 int n_pixels; in try_get_colors() local 149 n_pixels = 0; in try_get_colors() 160 XFreeColors(dpy, cmap, xpixels, n_pixels, in try_get_colors() 165 xpixels[n_pixels++] = xcolor.pixel; in try_get_colors() 176 int n_pixels; in try_get_grays() local 180 n_pixels = 0; in try_get_grays() 192 XFreeColors(dpy, cmap, xpixels, n_pixels, (unsigned long)0); in try_get_grays() 196 xpixels[n_pixels++] = xcolor.pixel; in try_get_grays()
|
/dports/graphics/gegl/gegl-0.4.34/operations/workshop/ |
H A D | segment-kmeans.c | 63 glong n_pixels; 67 n_pixels = w * h; 69 if (n_pixels > MAX_PIXELS) 76 gdouble factor = sqrt (MAX_PIXELS / (gdouble) n_pixels); 184 glong n_pixels = iter->length; 186 while (n_pixels--) 253 glong n_pixels = iter->length; 255 while (n_pixels--)
|