/dports/misc/R-cran-xfun/xfun/R/ |
H A D | string.R | 42 convert_1 = function(x_c) zero_to_19[x_c] # 0 - 9 argument 45 convert_2 = function(x_c) { argument 46 x_cs = strsplit(x_c, split = '')[[1]] 54 convert_3 = function(x_c) { argument 55 x_cs = strsplit(x_c, split = '')[[1]] 66 convert_le3 = function(x_c) { argument 67 x_c = gsub('^0+', '', x_c) # avoid something like 000, 001, 010; but also remove 0 68 n = nchar(x_c) 70 if (n == 1) return(convert_1(x_c)) 71 if (n == 2) return(convert_2(x_c)) [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/libpixman/src/ |
H A D | pixman-combine.h.template | 82 * x_c = (x_c * a) / 255 99 * x_c = (x_c * a) / 255 + y_c 120 * x_c = (x_c * a + y_c * b) / 255 143 * x_c = (x_c * a_c) / 255 162 * x_c = (x_c * a_c) / 255 + y_c 185 * x_c = (x_c * a_c + y_c * b) / 255 210 x_c = min(x_c + y_c, 255)
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/cairo/libpixman/src/ |
H A D | pixman-combine.h.template | 82 * x_c = (x_c * a) / 255 99 * x_c = (x_c * a) / 255 + y_c 120 * x_c = (x_c * a + y_c * b) / 255 143 * x_c = (x_c * a_c) / 255 162 * x_c = (x_c * a_c) / 255 + y_c 185 * x_c = (x_c * a_c + y_c * b) / 255 210 x_c = min(x_c + y_c, 255)
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/cairo/libpixman/src/ |
H A D | pixman-combine.h.template | 82 * x_c = (x_c * a) / 255 99 * x_c = (x_c * a) / 255 + y_c 120 * x_c = (x_c * a + y_c * b) / 255 143 * x_c = (x_c * a_c) / 255 162 * x_c = (x_c * a_c) / 255 + y_c 185 * x_c = (x_c * a_c + y_c * b) / 255 210 x_c = min(x_c + y_c, 255)
|
/dports/games/libretro-2048/libretro-2048-35a299c/pixman/pixman/ |
H A D | pixman-combine.h.template | 82 * x_c = (x_c * a) / 255 99 * x_c = (x_c * a) / 255 + y_c 120 * x_c = (x_c * a + y_c * b) / 255 143 * x_c = (x_c * a_c) / 255 162 * x_c = (x_c * a_c) / 255 + y_c 185 * x_c = (x_c * a_c + y_c * b) / 255 210 x_c = min(x_c + y_c, 255)
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
H A D | deshake_opencl_kernel.h | 44 int x_c, x_f, y_c, y_f; 48 x_c = x_f + 1; 55 v2 = pixel(src, x_c, y_f, width, height, stride, def); 57 v1 = pixel(src, x_c, y_c, width, height, stride, def); 59 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); 66 int x_c, x_f, y_c, y_f; 71 x_c = x_f + 1; 78 v2 = pixel(src, x_c, y_f, width, height, stride, def); 80 v1 = pixel(src, x_c, y_c, width, height, stride, def); 82 f1 = 1 - sqrt((x_c - x) * (y_c - y)); [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/ |
H A D | transform.c | 54 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 61 x_c = x_f + 1; in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 72 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); in INTERPOLATE_METHOD() 81 int x_c, x_f, y_c, y_f; in INTERPOLATE_METHOD() local 89 x_c = x_f + 1; in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 98 f1 = 1 - sqrt((x_c - x) * (y_c - y)); in INTERPOLATE_METHOD() [all …]
|
H A D | deshake_opencl_kernel.h | 44 int x_c, x_f, y_c, y_f; 48 x_c = x_f + 1; 55 v2 = pixel(src, x_c, y_f, width, height, stride, def); 57 v1 = pixel(src, x_c, y_c, width, height, stride, def); 59 v3*(x_c - x)*(y - y_f) + v4*((x_c - x)*(y_c - y))); 66 int x_c, x_f, y_c, y_f; 71 x_c = x_f + 1; 78 v2 = pixel(src, x_c, y_f, width, height, stride, def); 80 v1 = pixel(src, x_c, y_c, width, height, stride, def); 82 f1 = 1 - sqrt((x_c - x) * (y_c - y)); [all …]
|
/dports/multimedia/vid.stab/vid.stab-release-0.98b/src/ |
H A D | transformfloat.c | 38 int x_c = x_f+1; in _FLT() local 45 float s = (v1*(x - x_f)+v3*(x_c - x))*(y - y_f) + in _FLT() 46 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in _FLT() 109 int x_c = x_f+1; in _FLT() local 112 short v1 = PIX(img, img_linesize, x_c, y_c); in _FLT() 113 short v2 = PIX(img, img_linesize, x_c, y_f); in _FLT() 117 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in _FLT() 129 int x_c = x_f+1; in _FLT() local 133 float s = v1*(x - x_f) + v2*(x_c - x); in _FLT() 172 int x_c = x_f+1; in _FLT() local [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/redex-doc/redex/scribblings/extended-exercises/ |
H A D | contract.rkt | 65 (--> (in-hole E (pos? · n x_s x_c)) 66 (in-hole E ,(c positive? (term n) (term x_s) (term x_c))) 68 (--> (in-hole E (even? · n x_s x_c)) 69 (in-hole E ,(c even? (term n) (term x_s) (term x_c))) 71 (--> (in-hole E (odd? · n x_s x_c)) 72 (in-hole E ,(c odd? (term n) (term x_s) (term x_c))) 74 (--> (in-hole E (num? · n x_s x_c)) 77 (--> (in-hole E ((c_1 -> c_2) · (lambda (x) e) x_s x_c)) 80 (c_2 · ((lambda (x) e) (c_1 · x x_c x_s)) x_s x_c))))
|
/dports/astro/py-skyfield/skyfield-1.41/skyfield/ |
H A D | projections.py | 8 x_c, y_c, z_c, x, y, z = symbols('x_c y_c z_c x y z') 11 around_z = atan2(x_c, y_c) 51 x_c, y_c, z_c = c 61 t0 = 1/sqrt(x_c**2 + y_c**2) 62 t1 = x*x_c 69 return t0*t5*(x*y_c - x_c*y), -t5*(t1*t6 - t2*z + t4*t6)
|
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/videostab/ |
H A D | transform_image.c | 51 int x_c = x_f+1; in interpolateBiLinBorder() local 58 float s = (v1*(x - x_f)+v3*(x_c - x))*(y - y_f) + in interpolateBiLinBorder() 59 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLinBorder() 119 int x_c = x_f+1; in interpolateSqr() local 126 float f1 = 1 - sqrt((x_c - x) * (y_c - y)); in interpolateSqr() 127 float f2 = 1 - sqrt((x_c - x) * (y - y_f)); in interpolateSqr() 144 int x_c = x_f+1; in interpolateBiLin() local 152 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLin() 164 int x_c = x_f+1; in interpolateLin() local 168 float s = v1*(x - x_f) + v2*(x_c - x); in interpolateLin() [all …]
|
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/videostab/ |
H A D | transform_image.c | 51 int x_c = x_f+1; in interpolateBiLinBorder() local 58 float s = (v1*(x - x_f)+v3*(x_c - x))*(y - y_f) + in interpolateBiLinBorder() 59 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLinBorder() 119 int x_c = x_f+1; in interpolateSqr() local 126 float f1 = 1 - sqrt((x_c - x) * (y_c - y)); in interpolateSqr() 127 float f2 = 1 - sqrt((x_c - x) * (y - y_f)); in interpolateSqr() 144 int x_c = x_f+1; in interpolateBiLin() local 152 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLin() 164 int x_c = x_f+1; in interpolateLin() local 168 float s = v1*(x - x_f) + v2*(x_c - x); in interpolateLin() [all …]
|
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/videostab/ |
H A D | transform_image.c | 51 int x_c = x_f+1; in interpolateBiLinBorder() local 58 float s = (v1*(x - x_f)+v3*(x_c - x))*(y - y_f) + in interpolateBiLinBorder() 59 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLinBorder() 119 int x_c = x_f+1; in interpolateSqr() local 126 float f1 = 1 - sqrt((x_c - x) * (y_c - y)); in interpolateSqr() 127 float f2 = 1 - sqrt((x_c - x) * (y - y_f)); in interpolateSqr() 144 int x_c = x_f+1; in interpolateBiLin() local 152 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLin() 164 int x_c = x_f+1; in interpolateLin() local 168 float s = v1*(x - x_f) + v2*(x_c - x); in interpolateLin() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/CG-DNA/ |
H A D | mf_oxdna.h | 183 inline double MFOxdna::F5(double x, double a, double x_ast, double b, double x_c) in F5() argument 190 } else if (x > x_c) { in F5() 191 return b * (x - x_c) * (x - x_c); in F5() 200 inline double MFOxdna::DF5(double x, double a, double x_ast, double b, double x_c) in DF5() argument 206 } else if (x > x_c) { in DF5() 207 return 2 * b * (x - x_c); in DF5()
|
/dports/math/stanmath/math-4.2.0/test/unit/math/rev/fun/ |
H A D | cholesky_decompose_test.cpp | 49 Eigen::Matrix<T, -1, -1> L = cholesky_decompose(x_c); in operator ()() 67 Eigen::Matrix<T, -1, -1> L = cholesky_decompose(x_c); in operator ()() 83 Eigen::Matrix<T, -1, -1> L = cholesky_decompose(x_c); in operator ()() 99 Eigen::Matrix<T, -1, -1> x_c(K, K); in operator ()() local 103 x_c(m, n) = x(pos++); in operator ()() 104 x_c(n, m) = x_c(m, n); in operator ()() 106 Eigen::Matrix<T, -1, -1> L = cholesky_decompose(x_c); in operator ()() 120 Eigen::Matrix<T, -1, -1> x_c(K, K); in operator ()() local 124 x_c(m, n) = x(pos++); in operator ()() 125 x_c(n, m) = x_c(m, n); in operator ()() [all …]
|
/dports/lang/pocl/pocl-1.8/lib/CL/devices/ |
H A D | pocl_local_size.c | 335 for (size_t x_c = min (dev->max_work_item_sizes[0], global_x); in pocl_wg_utilization_maximizer() local 336 x_c >= 1; --x_c) in pocl_wg_utilization_maximizer() 337 if (global_x % x_c == 0) in pocl_wg_utilization_maximizer() 338 if (x_c * y_c * z_c <= max_group_size in pocl_wg_utilization_maximizer() 339 && x_c * y_c * z_c > *local_x * *local_y * *local_z) in pocl_wg_utilization_maximizer() 341 *local_x = x_c; in pocl_wg_utilization_maximizer()
|
/dports/devel/R-cran-future.apply/future.apply/tests/ |
H A D | future_lapply.R | 16 x_c <- list() list 19 x_c$a <- y_c 23 x_c$b <- y_c 24 print(x_c) 25 y_c <- lapply(x_c, FUN = listenv::map) 54 y <- future_lapply(x_c, FUN = listenv::map, future.scheduling = scheduling)
|
/dports/multimedia/transcode/transcode-1.1.7/filter/stabilize/ |
H A D | filter_transform.c | 175 int x_c = x_f+1; in interpolateBiLinBorder() local 183 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLinBorder() 243 int x_c = x_f+1; in interpolateSqr() local 250 float f1 = 1 - sqrt((x_c - x) * (y_c - y)); in interpolateSqr() 251 float f2 = 1 - sqrt((x_c - x) * (y - y_f)); in interpolateSqr() 268 int x_c = x_f+1; in interpolateBiLin() local 276 (v2*(x - x_f) + v4*(x_c - x))*(y_c - y); in interpolateBiLin() 288 int x_c = x_f+1; in interpolateLin() local 292 float s = v1*(x - x_f) + v2*(x_c - x); in interpolateLin() 329 int x_c = x_f+1; in interpolateN() local [all …]
|