Home
last modified time | relevance | path

Searched refs:xstep (Results 1 – 25 of 1050) sorted by relevance

12345678910>>...42

/dports/graphics/xournalpp/xournalpp-1.1.0/src/view/background/
H A DIsometricBackgroundPainter.cpp22 const auto x = col * xstep; in paintBackgroundDotted()
37 const auto contentWidth = cols * xstep; in paintBackgroundGraph()
45 const auto x = col * xstep; in paintBackgroundGraph()
62 x1 = xstep + d * 2 * xstep; in paintBackgroundGraph()
73 x2 = xstep + (d - vdiags) * 2 * xstep - vcorr * xstep; in paintBackgroundGraph()
85 x1 = contentWidth - (xstep + d * 2 * xstep) - hcorr * xstep; in paintBackgroundGraph()
96 x2 = contentWidth - (xstep + (d - vdiags) * 2 * xstep) + (vcorr - hcorr) * xstep; in paintBackgroundGraph()
112 const auto xstep = std::sqrt(3.0) / 2.0 * drawRaster1; in paint() local
121 const auto contentWidth = cols * xstep; in paint()
131 paintBackgroundGraph(cols, rows, xstep, ystep, drawLine); in paint()
[all …]
/dports/math/p5-Math-Gradient/Math-Gradient-0.04/
H A DGradient.pm159 my $xstep = 0;
163 $xstep += $steppage;
166 my $xxstep = int($xstep);
167 $xstep -= $xxstep;
173 my $xxstep = int($xstep);
174 $xstep -= $xxstep;
194 my $xstep = 0;
199 $xstep += $steppage;
202 my $xxstep = int($xstep);
203 $xstep -= $xxstep;
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vil/
H A Dvil_bilin_interp.h35 const T* pix1 = data + p1y*ystep + p1x*xstep; in vil_bilin_interp_unsafe()
38 double i2 = pix1[xstep]+(pix1[xstep+ystep]-pix1[xstep])*normy; in vil_bilin_interp_unsafe()
54 return vil_bilin_interp_unsafe(x, y, data, xstep, ystep); in vil_bilin_interp_unsafe()
69 const T* pix1 = data + p1y*ystep + p1x*xstep; in vil_bilin_interp_raw()
75 if (normy == 0) return pix1[0]+(pix1[xstep]-pix1[0])*normx; in vil_bilin_interp_raw()
78 double i2 = pix1[xstep]+(pix1[xstep+ystep]-pix1[xstep])*normy; in vil_bilin_interp_raw()
93 return vil_bilin_interp_raw(x, y, data, xstep, ystep); in vil_bilin_interp_raw()
109 return vil_bilin_interp_raw(x,y,data,xstep,ystep); in vil_bilin_interp_safe()
123 return vil_bilin_interp_raw(x,y,data,xstep,ystep); in vil_bilin_interp_safe_edgena()
166 return vil_bilin_interp_raw(x,y,data,xstep,ystep); in vil_bilin_interp()
[all …]
H A Dvil_bicub_interp.h26 std::ptrdiff_t xstep, std::ptrdiff_t ystep);
36 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_bicub_interp_unsafe() argument
38 return vil_bicub_interp_unsafe(x, y, data, xstep, ystep); in vil_bicub_interp_unsafe()
48 std::ptrdiff_t xstep, std::ptrdiff_t ystep);
59 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_bicub_interp_raw() argument
61 return vil_bicub_interp_raw(x, y, data, xstep, ystep); in vil_bicub_interp_raw()
71 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_bicub_interp_safe() argument
77 return vil_bicub_interp_raw(x,y,data,xstep,ystep); in vil_bicub_interp_safe()
100 int ny, std::ptrdiff_t xstep, in vil_bicub_interp() argument
106 return vil_bicub_interp_raw(x, y, data, xstep, ystep); in vil_bicub_interp()
[all …]
H A Dvil_nearest_interp.h28 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_nearest_interp_unsafe() argument
32 return *(data + ix*xstep + iy*ystep); in vil_nearest_interp_unsafe()
51 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_nearest_interp_safe() argument
56 return *(data + ix*xstep + iy*ystep); in vil_nearest_interp_safe()
82 int ny, std::ptrdiff_t xstep, in vil_nearest_interp() argument
90 return *(data + ix*xstep + iy*ystep); in vil_nearest_interp()
114 std::ptrdiff_t xstep, std::ptrdiff_t ystep) in vil_nearest_interp_safe_extend() argument
128 return *(data + ix*xstep + iy*ystep); in vil_nearest_interp_safe_extend()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dv_pfx.cpp283 if (xstep == FRACUNIT && ystep == FRACUNIT) in Scale8()
356 xf += xstep; in Scale8()
367 work |= src[xf >> FRACBITS]; xf += xstep; in Scale8()
369 work = src[xf >> FRACBITS]; xf += xstep; in Scale8()
405 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert8()
450 xf += xstep; in Convert8()
499 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert16()
540 xf += xstep; in Convert16()
585 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert24()
614 xf += xstep; in Convert24()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dv_pfx.cpp283 if (xstep == FRACUNIT && ystep == FRACUNIT) in Scale8()
356 xf += xstep; in Scale8()
367 work |= src[xf >> FRACBITS]; xf += xstep; in Scale8()
369 work = src[xf >> FRACBITS]; xf += xstep; in Scale8()
405 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert8()
450 xf += xstep; in Convert8()
499 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert16()
540 xf += xstep; in Convert16()
585 if (xstep == FRACUNIT && ystep == FRACUNIT) in Convert24()
614 xf += xstep; in Convert24()
[all …]
/dports/misc/lifelines/lifelines-3.1.1/src/gedlib/
H A Dxlat.c147 XLSTEP xstep=0; in free_xlat() local
167 XLSTEP xstep; in create_iconv_step() local
168 xstep = (XLSTEP) stdalloc(sizeof(*xstep)); in create_iconv_step()
169 memset(xstep, 0, sizeof(*xstep)); in create_iconv_step()
172 return xstep; in create_iconv_step()
181 XLSTEP xstep; in create_dyntt_step() local
182 xstep = (XLSTEP) stdalloc(sizeof(*xstep)); in create_dyntt_step()
183 memset(xstep, 0, sizeof(*xstep)); in create_dyntt_step()
185 return xstep; in create_dyntt_step()
400 XLSTEP xstep=0; in xl_do_xlat() local
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/imgcodecs/src/
H A Dgrfmt_exr.cpp355 … UpSample( data + xstep, channelstoread, step / xstep, m_green->xSampling, m_green->ySampling ); in readData()
357 … UpSample( data + 2 * xstep, channelstoread, step / xstep, m_red->xSampling, m_red->ySampling ); in readData()
412 UpSampleY( data + xstep, defaultchannels, step / xstep, m_green->ySampling ); in readData()
414 UpSampleY( data + 2 * xstep, defaultchannels, step / xstep, m_red->ySampling ); in readData()
440 data[(yre + i) * ystep + (xre + n) * xstep] = data[y * ystep + x * xstep]; in UpSample()
442 … ((float *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((float *)data)[y * ystep + x * xstep]; in UpSample()
462 ((float *)data)[(xre + n) * xstep] = ((float *)data)[x * xstep]; in UpSampleX()
464 ((unsigned *)data)[(xre + n) * xstep] = ((unsigned *)data)[x * xstep]; in UpSampleX()
482 data[(yre + i) * ystep + x * xstep] = data[y * ystep + x * xstep]; in UpSampleY()
484 … ((float *)data)[(yre + i) * ystep + x * xstep] = ((float *)data)[y * ystep + x * xstep]; in UpSampleY()
[all …]
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/arm/
H A Dintrapred_directional_neon.cc93 int top_x = xstep; in DirectionalZone1_WxH()
141 top_x += xstep; in DirectionalZone1_WxH()
166 int top_x = xstep; in DirectionalZone1_WxH()
204 top_x += xstep; in DirectionalZone1_WxH()
216 assert(xstep > 0); in DirectionalIntraPredictorZone1_NEON()
222 if (xstep == 64) { in DirectionalIntraPredictorZone1_NEON()
555 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_4xH()
667 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_8()
1783 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_4xH()
1850 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_Wx4()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/
H A Dvil3d_trilin_interp.h23 const T* data, std::ptrdiff_t xstep, in vil3d_trilin_interp_raw() argument
35 const T* row11 = data + p1z*zstep+p1y*ystep + p1x*xstep; in vil3d_trilin_interp_raw()
42 double i21 = (double)row11[xstep]+(double)(row21[xstep]-row11[xstep])*normy; in vil3d_trilin_interp_raw()
47 double i22 = (double)row12[xstep]+(double)(row22[xstep]-row12[xstep])*normy; in vil3d_trilin_interp_raw()
60 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep,
69 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep);
96 std::ptrdiff_t xstep, std::ptrdiff_t ystep, in vil3d_trilin_interp_assert() argument
104 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_trilin_interp_assert()
113 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep) in vil3d_trilin_interp_safe_extend() argument
121 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_trilin_interp_safe_extend()
[all …]
H A Dvil3d_tricub_interp.h21 std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep);
30 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep,
39 return vil3d_tricub_interp_raw(x,y,z,data,xstep,ystep,zstep);
50 int nz, std::ptrdiff_t xstep, in vil3d_tricub_interp_assert() argument
59 return vil3d_tricub_interp_raw(x, y, z, data, xstep, ystep, zstep); in vil3d_tricub_interp_assert()
70 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep) in vil3d_tricub_interp_safe_extend() argument
84 return vil3d_tricub_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_tricub_interp_safe_extend()
95 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/dsp/arm/
H A Dintrapred_directional_neon.cc91 int top_x = xstep; in DirectionalZone1_WxH()
139 top_x += xstep; in DirectionalZone1_WxH()
163 int top_x = xstep; in DirectionalZone1_WxH()
201 top_x += xstep; in DirectionalZone1_WxH()
215 assert(xstep > 0); in DirectionalIntraPredictorZone1_NEON()
221 if (xstep == 64) { in DirectionalIntraPredictorZone1_NEON()
249 int top_x = xstep; in DirectionalIntraPredictorZone1_NEON()
276 top_x += xstep; in DirectionalIntraPredictorZone1_NEON()
508 top_x -= xstep; in DirectionalZone1Blend_WxH()
559 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_4xH()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/arm/
H A Dintrapred_directional_neon.cc91 int top_x = xstep; in DirectionalZone1_WxH()
139 top_x += xstep; in DirectionalZone1_WxH()
163 int top_x = xstep; in DirectionalZone1_WxH()
201 top_x += xstep; in DirectionalZone1_WxH()
215 assert(xstep > 0); in DirectionalIntraPredictorZone1_NEON()
221 if (xstep == 64) { in DirectionalIntraPredictorZone1_NEON()
249 int top_x = xstep; in DirectionalIntraPredictorZone1_NEON()
276 top_x += xstep; in DirectionalIntraPredictorZone1_NEON()
508 top_x -= xstep; in DirectionalZone1Blend_WxH()
559 int xstep_bounds_base = (xstep == 64) ? 0 : xstep - 1; in DirectionalZone2_4xH()
[all …]
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/x86/
H A Dintrapred_directional_sse4.cc114 int top_x = xstep; in DirectionalZone1_4xH()
177 int top_x = xstep; in DirectionalZone1_Large()
252 if (xstep == 64) { in DirectionalZone1_SSE4_1()
299 top_x += xstep; in DirectionalZone1_SSE4_1()
314 int top_x = xstep; in DirectionalZone1_SSE4_1()
365 top_x += xstep; in DirectionalZone1_SSE4_1()
682 top_x -= xstep; in DirectionalZone1Blend_4x4()
688 top_x -= xstep; in DirectionalZone1Blend_4x4()
695 top_x -= xstep; in DirectionalZone1Blend_4x4()
702 top_x -= xstep; in DirectionalZone1Blend_4x4()
[all …]
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/datasets/
H A Dtwod.py303 def __init__(self, xstep, ystep, expr): argument
313 if xstep is None or ystep is None:
316 self.xstep = xstep
321 self.xstep[0] - self.xstep[2]*0.5,
322 self.xstep[1] + self.xstep[2]*0.5)
348 xarange = N.arange(self.xstep[0], self.xstep[1]+self.xstep[2],
349 self.xstep[2])
353 xstep = xarange[xstep]
356 env['x'] = xstep
366 data = data + xstep*0
[all …]
/dports/math/R-cran-nloptr/nloptr/src/nlopt_src/neldermead/
H A Dsbplx.c89 if (!xstep) return NLOPT_OUT_OF_MEMORY; in sbplx_minimize()
90 xprev = xstep + n; dx = xprev + n; in sbplx_minimize()
95 if (!p) { free(xstep); return NLOPT_OUT_OF_MEMORY; } in sbplx_minimize()
97 memcpy(xstep, xstep0, n * sizeof(double)); in sbplx_minimize()
151 xsstep[k-i] = xstep[p[k]]; in sbplx_minimize()
172 xsstep[i-sd.is] = xstep[p[i]]; in sbplx_minimize()
200 if (fabs(xstep[j]) * psi > stop->xtol_abs[j] in sbplx_minimize()
201 && fabs(xstep[j]) * psi > stop->xtol_rel * fabs(x[j])) in sbplx_minimize()
220 stepnorm += fabs(xstep[i]); in sbplx_minimize()
230 xstep[i] = (dx[i] == 0) ? -(xstep[i] * scale) in sbplx_minimize()
[all …]
/dports/math/nlopt/nlopt-2.7.1/src/algs/neldermead/
H A Dsbplx.c86 xstep = (double*)malloc(sizeof(double) * (n*3 + nsmax*4 in sbplx_minimize()
88 if (!xstep) return NLOPT_OUT_OF_MEMORY; in sbplx_minimize()
89 xprev = xstep + n; dx = xprev + n; in sbplx_minimize()
94 if (!p) { free(xstep); return NLOPT_OUT_OF_MEMORY; } in sbplx_minimize()
96 memcpy(xstep, xstep0, n * sizeof(double)); in sbplx_minimize()
149 xsstep[k-i] = xstep[p[k]]; in sbplx_minimize()
170 xsstep[i-sd.is] = xstep[p[i]]; in sbplx_minimize()
199 && fabs(xstep[j]) * psi > stop->xtol_rel * fabs(x[j])) in sbplx_minimize()
218 stepnorm += fabs(xstep[i]); in sbplx_minimize()
228 xstep[i] = (dx[i] == 0) ? -(xstep[i] * scale) in sbplx_minimize()
[all …]
/dports/games/kevedit/kevedit-0.5.1/src/texteditor/
H A Dzzl.c99 int lines, ch, fgcolour, bgcolour, xstep, ystep, cycle; in zzlpullobject() local
113 &lines, &ch, &fgcolour, &bgcolour, &xstep, &ystep, &cycle) < 7) { in zzlpullobject()
137 result.param->xstep = xstep; in zzlpullobject()
146 result.param->xstep = xstep; in zzlpullobject()
156 int lines, ch, fgcolour, bgcolour, xstep, ystep, cycle; in zzlappendobject() local
176 xstep = obj.param->xstep; in zzlappendobject()
181 lines, ch, fgcolour, bgcolour, xstep, ystep, cycle); in zzlappendobject()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_draw8.c549 fixed_t xstep, ystep; in R_DrawSpan_8() local
584 xposition += xstep; in R_DrawSpan_8()
588 xposition += xstep; in R_DrawSpan_8()
592 xposition += xstep; in R_DrawSpan_8()
596 xposition += xstep; in R_DrawSpan_8()
600 xposition += xstep; in R_DrawSpan_8()
604 xposition += xstep; in R_DrawSpan_8()
608 xposition += xstep; in R_DrawSpan_8()
612 xposition += xstep; in R_DrawSpan_8()
621 xposition += xstep; in R_DrawSpan_8()
[all …]
/dports/graphics/py-pyx/PyX-0.15/pyx/
H A Dpattern.py49 self.xstep = xstep
61 if xstep is not _marker:
62 xstep = self.xstep
80 if self.xstep is None:
83 xstep = unit.topt(self.xstep)
88 if not xstep:
127 if self.xstep is None:
130 xstep = unit.topt(self.xstep)
135 if not xstep:
326 self.xstep = xstep
[all …]
/dports/audio/bristol/bristol-0.60.10/libbrighton/
H A DbrightonLayer.c46 float xstep, ystep, srcx; in brightonSRotate() local
92 for (xstep = 0; xstep < length; xstep++) in brightonSRotate()
94 if (xstep >= length - 5) in brightonSRotate()
98 } else if (xstep < 5) { in brightonSRotate()
99 srcx = xstep; in brightonSRotate()
102 srcx = 5 + (xstep - 5) * shearx; in brightonSRotate()
110 + ((int) ((height * xstep)/length))) in brightonSRotate()
111 * dst->width + x1 + xstep))) in brightonSRotate()
150 for (xstep = 0; xstep < src->width; xstep++) in brightonSRotate()
157 offset = (int) ystep * src->width + xstep; in brightonSRotate()
[all …]
/dports/graphics/grx/grx249/src/shape/
H A Dpolyedge.h24 int xstep; /* direction of X scan */ member
32 (ep)->xstep = (-1); \
36 (ep)->xstep = 1; \
44 (ep)->error = ((ep)->dy - ((1 - (ep)->xstep) >> 1)) >> 1; \
49 (ep)->x += (ep)->xstep; \
58 (ep)->x += (ep)->xstep; \
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/jpc/
H A Djpc_t2cod.c227 unsigned xstep; in jpc_pi_nextrpcl() local
239 pi->xstep = 0; in jpc_pi_nextrpcl()
258 pi->xstep = (!pi->xstep) ? xstep : JAS_MIN(pi->xstep, xstep); in jpc_pi_nextrpcl()
265 if (pi->xstep == 0 || pi->ystep == 0) in jpc_pi_nextrpcl()
274 pi->xstep - (pi->x % pi->xstep)) { in jpc_pi_nextrpcl()
331 unsigned xstep; in jpc_pi_nextpcrl() local
343 pi->xstep = 0; in jpc_pi_nextpcrl()
362 pi->xstep = (!pi->xstep) ? xstep : JAS_MIN(pi->xstep, xstep); in jpc_pi_nextpcrl()
376 (pi->x % pi->xstep)) { in jpc_pi_nextpcrl()
465 pi->xstep = JAS_MIN(pi->xstep, pi->picomp->hsamp * in jpc_pi_nextcprl()
[all …]
/dports/science/gchemutils/gnome-chemistry-utils-0.14.16/libs/gccv/
H A Dhash.cc53 double xstep = (m_LineWidth + m_LineDist), ystep; in Draw() local
54 int n = floor (length / xstep); in Draw()
55 ystep = xstep * dy / length; in Draw()
56 xstep *= dx / length; in Draw()
74 x1 -= xstep; in Draw()
76 x2 -= xstep; in Draw()

12345678910>>...42