Home
last modified time | relevance | path

Searched refs:res_x (Results 1 – 25 of 1415) sorted by relevance

12345678910>>...57

/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/scenes/camera/mesh_camera/
H A Dmeshcam_macros.inc41 #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 Dmeshcam_macros.inc41 #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 Dfx_dib_transform.cpp22 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 Dtiff_dpi.c13 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 Dtiff_dpi.c13 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 Dtiff_dpi.c13 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 Dtiff_dpi.c13 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 Dfx_dib_transform.cpp18 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 Dserver.py10 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 Dnormal_graphics.py11 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 Dclient_graphics.py8 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 Dnormal.py8 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 Dgimpdisplayshell-rulers.c71 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 Dcfx_imagetransformer.cpp32 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 Dglidemain.c130 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 Dthumbnail_processors.py93 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 Dwayland_input.c106 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 D88pm860x-ts.c45 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 D88pm860x-ts.c45 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 D88pm860x-ts.c45 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 Dm50458.cpp378 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 Dm50458.cpp378 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 Dmain.c632 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 Decp_nistz384.inl42 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 Decp_nistz384.inl42 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 …]

12345678910>>...57