/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/scenes/camera/mesh_camera/ |
H A D | meshcam_macros.inc | 41 #local px_inc=(res_x/res_y)/res_x; 57 #while (col_count<res_x) 96 #local px_inc=(res_x/res_y)/res_x; 112 #while (col_count<res_x) 149 #local px_inc=c_up_length*(res_x/res_y)/res_x; 165 #while (col_count<res_x) 203 #local px_inc=(res_x/res_y)/res_x; 221 #while (col_count<res_x) 335 #local px_inc=(res_x/res_y)/res_x; 353 #while (col_count<res_x) [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/distribution/scenes/camera/mesh_camera/ |
H A D | meshcam_macros.inc | 41 #local px_inc=(res_x/res_y)/res_x; 57 #while (col_count<res_x) 96 #local px_inc=(res_x/res_y)/res_x; 112 #while (col_count<res_x) 149 #local px_inc=c_up_length*(res_x/res_y)/res_x; 165 #while (col_count<res_x) 203 #local px_inc=(res_x/res_y)/res_x; 221 #while (col_count<res_x) 335 #local px_inc=(res_x/res_y)/res_x; 353 #while (col_count<res_x) [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxge/dib/ |
H A D | fx_dib_transform.cpp | 22 int res_x, in bilinear_interpol() argument 26 int i_resx = 255 - res_x; in bilinear_interpol() 45 int res_x, in bicubic_interpol() argument 93 u_w[0] = SDP_Table[256 + res_x]; in bicubic_get_pos_weight() 94 u_w[1] = SDP_Table[res_x]; in bicubic_get_pos_weight() 95 u_w[2] = SDP_Table[256 - res_x]; in bicubic_get_pos_weight() 96 u_w[3] = SDP_Table[512 - res_x]; in bicubic_get_pos_weight() 165 int& res_x, in Transform() argument 169 res_x = x1 % base; in Transform() 171 if (res_x < 0 && res_x > -base) { in Transform() [all …]
|
/dports/russian/gd/libgd-2.3.1/tests/tiff/ |
H A D | tiff_dpi.c | 13 int r, res_x, res_y; in main() local 29 res_x = 100; in main() 31 src->res_x = res_x; in main() 60 if (dst->res_x != res_x) { in main() 62 gdTestErrorMsg("mismatch in res_x (got %d, expected %d)\n", dst->res_x, res_x); in main()
|
/dports/ukrainian/gd/libgd-2.3.1/tests/tiff/ |
H A D | tiff_dpi.c | 13 int r, res_x, res_y; in main() local 29 res_x = 100; in main() 31 src->res_x = res_x; in main() 60 if (dst->res_x != res_x) { in main() 62 gdTestErrorMsg("mismatch in res_x (got %d, expected %d)\n", dst->res_x, res_x); in main()
|
/dports/japanese/gd/libgd-2.3.1/tests/tiff/ |
H A D | tiff_dpi.c | 13 int r, res_x, res_y; in main() local 29 res_x = 100; in main() 31 src->res_x = res_x; in main() 60 if (dst->res_x != res_x) { in main() 62 gdTestErrorMsg("mismatch in res_x (got %d, expected %d)\n", dst->res_x, res_x); in main()
|
/dports/graphics/gd/libgd-2.3.1/tests/tiff/ |
H A D | tiff_dpi.c | 13 int r, res_x, res_y; in main() local 29 res_x = 100; in main() 31 src->res_x = res_x; in main() 60 if (dst->res_x != res_x) { in main() 62 gdTestErrorMsg("mismatch in res_x (got %d, expected %d)\n", dst->res_x, res_x); in main()
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxge/dib/ |
H A D | fx_dib_transform.cpp | 18 int res_x, in bilinear_interpol() argument 22 int i_resx = 255 - res_x; in bilinear_interpol() 41 int res_x, in bicubic_interpol() argument 89 u_w[0] = SDP_Table[256 + res_x]; in bicubic_get_pos_weight() 90 u_w[1] = SDP_Table[res_x]; in bicubic_get_pos_weight() 91 u_w[2] = SDP_Table[256 - res_x]; in bicubic_get_pos_weight() 92 u_w[3] = SDP_Table[512 - res_x]; in bicubic_get_pos_weight() 161 int& res_x, in Transform() argument 165 res_x = x1 % base; in Transform() 167 if (res_x < 0 && res_x > -base) { in Transform() [all …]
|
/dports/devel/py-pyro/Pyro4-4.77/examples/distributed-mandelbrot/ |
H A D | server.py | 10 def calc_line(self, start, res_x, ii, dr, line_nr): argument 13 for r in range(res_x): 19 def calc_lines(self, start, res_x, dr, di, start_line_nr, num_lines): argument 23 for r in range(res_x): 42 def calc_photoimage_line(self, y, res_x, res_y): argument 44 for x in range(res_x): 45 rgb = self.mandel_iterate(x, y, res_x, res_y) 50 def mandel_iterate(self, x, y, res_x, res_y): argument 51 zr = (x/res_x - 0.5) * 1 - 0.3 53 zi *= res_y/res_x # aspect correction
|
H A D | normal_graphics.py | 11 res_x = 1000 variable 19 canvas = tkinter.Canvas(self.root, width=res_x, height=res_y, bg="#000000") 21 self.img = tkinter.PhotoImage(width=res_x, height=res_y) 22 canvas.create_image((res_x/2, res_y/2), image=self.img, state="normal") 29 _, pixeldata = self.mandel.calc_photoimage_line(y, res_x, res_y)
|
H A D | client_graphics.py | 8 res_x = 1000 variable 16 canvas = tkinter.Canvas(self.root, width=res_x, height=res_y, bg="#000000") 18 self.img = tkinter.PhotoImage(width=res_x, height=res_y) 19 canvas.create_image((res_x/2, res_y/2), image=self.img, state="normal") 46 return calcproxy.calc_photoimage_line(y, res_x, res_y)
|
H A D | normal.py | 8 res_x = 100 variable 14 dr = width / res_x 15 di = dr*(res_x/res_y) 17 lines = mandel.calc_lines(start, res_x, dr, di, 0, res_y)
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimpdisplayshell-rulers.c | 71 gdouble res_x, res_y; in gimp_display_shell_rulers_update() local 85 gimp_image_get_resolution (image, &res_x, &res_y); in gimp_display_shell_rulers_update() 87 if (shell->rotate_angle == 0.0 || res_x == res_y) in gimp_display_shell_rulers_update() 89 resolution_x = res_x; in gimp_display_shell_rulers_update() 99 resolution_x = 1.0 / sqrt (SQR (cos_a / res_x) + in gimp_display_shell_rulers_update() 102 SQR (sin_a / res_x)); in gimp_display_shell_rulers_update() 106 resolution_x = sqrt (SQR (res_x * cos_a) + SQR (res_y * sin_a)); in gimp_display_shell_rulers_update() 107 resolution_y = sqrt (SQR (res_y * cos_a) + SQR (res_x * sin_a)); in gimp_display_shell_rulers_update()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxge/dib/ |
H A D | cfx_imagetransformer.cpp | 32 int res_x, in bilinear_interpol() argument 36 int i_resx = 255 - res_x; in bilinear_interpol() 55 int res_x, in bicubic_interpol() argument 94 u_w[0] = SDP_Table[256 + res_x]; in bicubic_get_pos_weight() 95 u_w[1] = SDP_Table[res_x]; in bicubic_get_pos_weight() 96 u_w[2] = SDP_Table[256 - res_x]; in bicubic_get_pos_weight() 97 u_w[3] = SDP_Table[512 - res_x]; in bicubic_get_pos_weight() 199 if (*res_x < 0 && *res_x > -kBase) in Transform() 200 *res_x = kBase + *res_x; in Transform() 233 d.res_x = 0; in DoBilinearLoop() [all …]
|
/dports/games/libretro-paralleln64/parallel-n64-6e26fbb/glide2gl/src/Glide64/ |
H A D | glidemain.c | 130 rdp.scale_x = (float)settings.res_x / rdp.vi_width; in _ChangeSize() 167 settings.res_x = (uint32_t)(settings.res_y * 4.0f / 3.0f); in ChangeSize() 171 settings.res_x = settings.scr_res_x; in ChangeSize() 183 settings.res_x = settings.scr_res_x; in ChangeSize() 188 settings.res_x = settings.scr_res_x; in ChangeSize() 192 rdp.offset_x = (settings.scr_res_x - settings.res_x) / 2.0f; in ChangeSize() 194 settings.res_x += (uint32_t)rdp.offset_x; in ChangeSize() 275 settings.res_x = settings.scr_res_x; in glide64InitGfx() 301 *width = settings.res_x; in glide64ReadScreen2() 320 for (x = 0; x < settings.res_x; x++) in glide64ReadScreen2() [all …]
|
/dports/www/py-django-filer/django-filer-1.7.0/filer/ |
H A D | thumbnail_processors.py | 93 res_x, res_y = [float(v) for v in im.size] 96 subj_x = res_x * float(subject_location[0]) / source_x 98 ex = (res_x - min(res_x, target_x)) / 2 100 fx, fy = res_x - ex, res_y - ey 113 elif tfx > res_x: 115 tex = tex - (tfx - res_x) 116 tfx = res_x
|
/dports/games/retroarch/RetroArch-1.9.7/input/drivers/ |
H A D | wayland_input.c | 106 int16_t res_x = 0; in input_wl_touch_state() local 123 &res_x, &res_y, &res_screen_x, &res_screen_y))) in input_wl_touch_state() 128 res_x = res_screen_x; in input_wl_touch_state() 132 inside = (res_x >= -0x7fff) && (res_y >= -0x7fff); in input_wl_touch_state() 140 return res_x; in input_wl_touch_state() 257 int16_t res_x = 0; in input_wl_state() local 271 &res_x, &res_y, &res_screen_x, &res_screen_y)) in input_wl_state() 275 res_x = res_screen_x; in input_wl_state() 279 inside = (res_x >= -0x7fff) && (res_y >= -0x7fff); in input_wl_state() 285 return res_x; in input_wl_state()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 45 int res_x; /* resistor of Xplate */ member 68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler() 70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler() 118 int *res_x) in pm860x_touch_dt_init() argument 163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init() 185 int irq, ret, res_x = 0, data = 0; in pm860x_touch_probe() local 191 if (pm860x_touch_dt_init(pdev, chip, &res_x)) { in pm860x_touch_probe() 229 res_x = pdata->res_x; in pm860x_touch_probe() 261 touch->res_x = res_x; in pm860x_touch_probe()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 45 int res_x; /* resistor of Xplate */ member 68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler() 70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler() 118 int *res_x) in pm860x_touch_dt_init() argument 163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init() 185 int irq, ret, res_x = 0, data = 0; in pm860x_touch_probe() local 191 if (pm860x_touch_dt_init(pdev, chip, &res_x)) { in pm860x_touch_probe() 229 res_x = pdata->res_x; in pm860x_touch_probe() 261 touch->res_x = res_x; in pm860x_touch_probe()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 45 int res_x; /* resistor of Xplate */ member 68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler() 70 rt = (rt * touch->res_x * x) >> ACCURATE_BIT; in pm860x_touch_handler() 118 int *res_x) in pm860x_touch_dt_init() argument 163 of_property_read_u32(np, "marvell,88pm860x-resistor-X", res_x); in pm860x_touch_dt_init() 185 int irq, ret, res_x = 0, data = 0; in pm860x_touch_probe() local 191 if (pm860x_touch_dt_init(pdev, chip, &res_x)) { in pm860x_touch_probe() 229 res_x = pdata->res_x; in pm860x_touch_probe() 261 touch->res_x = res_x; in pm860x_touch_probe()
|
/dports/emulators/mess/mame-mame0226/src/devices/video/ |
H A D | m50458.cpp | 378 int res_x = x*12+(xi-4); in screen_update() local 408 res_x *= (m_hsz1 + 1); in screen_update() 411 if(res_y > 215 || res_x > 288) in screen_update() 416 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update() 420 res_x *= (m_hsz3 + 1); in screen_update() 424 if(res_y > 215 || res_x > 288) in screen_update() 429 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update() 433 res_x *= (m_hsz2 + 1); in screen_update() 436 if(res_y > 215 || res_x > 288) in screen_update() 441 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update()
|
/dports/emulators/mame/mame-mame0226/src/devices/video/ |
H A D | m50458.cpp | 378 int res_x = x*12+(xi-4); in screen_update() local 408 res_x *= (m_hsz1 + 1); in screen_update() 411 if(res_y > 215 || res_x > 288) in screen_update() 416 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update() 420 res_x *= (m_hsz3 + 1); in screen_update() 424 if(res_y > 215 || res_x > 288) in screen_update() 429 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update() 433 res_x *= (m_hsz2 + 1); in screen_update() 436 if(res_y > 215 || res_x > 288) in screen_update() 441 bitmap.pix(res_y+yh,res_x+xh) = r << 16 | g << 8 | b; in screen_update()
|
/dports/databases/grass7/grass-7.8.6/raster/r.fill.stats/ |
H A D | main.c | 632 p1_x = (DATA_WIDTH / 2 * res_x) + (res_x / 2.0); in build_weights_matrix() 636 tolerance = (sqrt(pow(res_x, 2) + pow(res_y, 2))) / 2; in build_weights_matrix() 643 p2_x = (j * res_x) + (res_x / 2.0); in build_weights_matrix() 672 p2_x = (j * res_x) + (res_x / 2.0); in build_weights_matrix() 728 double res_x, res_y = 0.0; in main() local 899 res_x = (double)region.ew_res; in main() 921 if (res_x < res_y) { in main() 922 if (radius < res_x) in main() 924 res_x); in main() 926 if (res_y < res_x) { in main() [all …]
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/ring-0.16.19/crypto/fipsmodule/ec/ |
H A D | ecp_nistz384.inl | 42 BN_ULONG *res_x = r->X; local 67 elem_sqr_mont(res_x, M); 69 elem_sub(res_x, res_x, tmp0); 70 elem_sub(S, S, res_x); 88 BN_ULONG res_x[P384_LIMBS]; local 138 elem_sub(res_x, Rsqr, Hsqr); 139 elem_sub(res_x, res_x, Hcub); 141 elem_sub(res_y, U2, res_x); 147 copy_conditional(res_x, in2_x, in1infty); 151 copy_conditional(res_x, in1_x, in2infty); [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/ring-0.16.20/crypto/fipsmodule/ec/ |
H A D | ecp_nistz384.inl | 42 BN_ULONG *res_x = r->X; local 67 elem_sqr_mont(res_x, M); 69 elem_sub(res_x, res_x, tmp0); 70 elem_sub(S, S, res_x); 88 BN_ULONG res_x[P384_LIMBS]; local 138 elem_sub(res_x, Rsqr, Hsqr); 139 elem_sub(res_x, res_x, Hcub); 141 elem_sub(res_y, U2, res_x); 147 copy_conditional(res_x, in2_x, in1infty); 151 copy_conditional(res_x, in1_x, in2infty); [all …]
|