/dports/games/flare-engine/flare-engine-1.12/src/ |
H A D | MapCollision.cpp | 76 x += step_x; in smallStep() 89 x += step_x; in smallStepForcedSlideAlongGrid() 107 if (step_x != 0) { in smallStepForcedSlide() 163 float step_x = 0; in move() local 168 if (step_x <= MIN_TILE_GAP) step_x = std::min(1.f, _step_x); in move() 172 if (step_x == 0) step_x = std::max(-1.f, _step_x); in move() 293 float step_x; in lineCheck() local 299 step_x = 1; in lineCheck() 307 if (x1 > x2) step_x = -step_x; in lineCheck() 313 x += step_x; in lineCheck() [all …]
|
/dports/editors/calligra/calligra-3.2.1/sheets/tests/ |
H A D | BenchmarkRTree.cpp | 35 const int step_x = 1; in init() local 39 for (int x = 1; x <= max_x; x += step_x) { // equals cell insertion into row in init() 40 m_tree.insert(QRect(x, y, step_x, step_y), 42); in init() 56 const int step_x = 1; in testInsertionPerformance() local 62 for (int x = 1; x <= max_x; x += step_x) { // equals cell insertion into row in testInsertionPerformance() 63 m_tree.insert(QRect(x, y, step_x, step_y), 42); in testInsertionPerformance() 101 const int step_x = 1; in testLookupPerformance() local 106 for (int x = 1; x <= max_x; x += step_x) { in testLookupPerformance()
|
/dports/math/py-theano/Theano-1.0.5/theano/tensor/nnet/ |
H A D | neighbours.py | 194 step_x, step_y = neib_step 196 if step_x <= 0 or step_y <= 0: 215 grid_c = CEIL_INTDIV(ten4.shape[2], step_x) 222 (c, step_x, ten4.shape[2])) 247 (c, step_x, ten4.shape[2])) 267 (c, step_x, ten4.shape[2])) 298 ten4_2 = i + a * step_x 333 step_x, step_y = node.inputs[2] 335 grid_c = T.ceil_intdiv(in_shape[2], step_x) 338 grid_c = 1 + ((in_shape[2] - c) // step_x) [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/textures/ |
H A D | tgatexture.cpp | 354 int step_x = (hdr.bpp>>3); in MakeTexture() local 355 int Pitch = Width * step_x; in MakeTexture() 379 p+=step_x; in MakeTexture() 389 step_x>>=1; in MakeTexture() 397 p+=step_x; in MakeTexture() 409 p+=step_x; in MakeTexture() 423 p+=step_x; in MakeTexture() 435 p+=step_x; in MakeTexture() 456 p+=step_x; in MakeTexture() 468 p+=step_x; in MakeTexture() [all …]
|
H A D | bitmap.cpp | 228 int step_x; in ClipCopyPixelRect() local 239 step_x = pstep_x; in ClipCopyPixelRect() 246 step_x = -pstep_y; in ClipCopyPixelRect() 253 step_x = -pstep_x; in ClipCopyPixelRect() 260 step_x = pstep_y; in ClipCopyPixelRect() 267 step_x = -pstep_x; in ClipCopyPixelRect() 274 step_x = -pstep_y; in ClipCopyPixelRect() 281 step_x = pstep_x; in ClipCopyPixelRect() 288 step_x = pstep_y; in ClipCopyPixelRect() 300 pstep_x = step_x; in ClipCopyPixelRect() [all …]
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/textures/ |
H A D | tgatexture.cpp | 356 int step_x = (hdr.bpp>>3); in MakeTexture() local 357 int Pitch = Width * step_x; in MakeTexture() 381 p+=step_x; in MakeTexture() 391 step_x>>=1; in MakeTexture() 399 p+=step_x; in MakeTexture() 411 p+=step_x; in MakeTexture() 425 p+=step_x; in MakeTexture() 437 p+=step_x; in MakeTexture() 458 p+=step_x; in MakeTexture() 470 p+=step_x; in MakeTexture() [all …]
|
H A D | bitmap.cpp | 225 int step_x; in ClipCopyPixelRect() local 236 step_x = pstep_x; in ClipCopyPixelRect() 243 step_x = -pstep_y; in ClipCopyPixelRect() 250 step_x = -pstep_x; in ClipCopyPixelRect() 257 step_x = pstep_y; in ClipCopyPixelRect() 264 step_x = -pstep_x; in ClipCopyPixelRect() 271 step_x = -pstep_y; in ClipCopyPixelRect() 278 step_x = pstep_x; in ClipCopyPixelRect() 285 step_x = pstep_y; in ClipCopyPixelRect() 297 pstep_x = step_x; in ClipCopyPixelRect() [all …]
|
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/plugins/gpu_neon/ |
H A D | psx_gpu_if.c | 108 const int step_x = 1024 / sizeof(egpu.enhancement_buf_by_x16); in sync_enhancement_buffers() local 112 w += x & (step_x - 1); in sync_enhancement_buffers() 113 x &= ~(step_x - 1); in sync_enhancement_buffers() 114 w = (w + step_x - 1) & ~(step_x - 1); in sync_enhancement_buffers() 119 fb_index = egpu.enhancement_buf_by_x16[x / step_x]; in sync_enhancement_buffers() 120 for (w1 = 0; w > 0; w1++, w -= step_x) in sync_enhancement_buffers() 121 if (fb_index != egpu.enhancement_buf_by_x16[x / step_x + w1]) in sync_enhancement_buffers() 127 scale2x_tiles8(dst, src, w1 * step_x / 8, h); in sync_enhancement_buffers() 129 x += w1 * step_x; in sync_enhancement_buffers()
|
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/plugins/gpu_neon/ |
H A D | psx_gpu_if.c | 108 const int step_x = 1024 / sizeof(egpu.enhancement_buf_by_x16); in sync_enhancement_buffers() local 112 w += x & (step_x - 1); in sync_enhancement_buffers() 113 x &= ~(step_x - 1); in sync_enhancement_buffers() 114 w = (w + step_x - 1) & ~(step_x - 1); in sync_enhancement_buffers() 119 fb_index = egpu.enhancement_buf_by_x16[x / step_x]; in sync_enhancement_buffers() 120 for (w1 = 0; w > 0; w1++, w -= step_x) in sync_enhancement_buffers() 121 if (fb_index != egpu.enhancement_buf_by_x16[x / step_x + w1]) in sync_enhancement_buffers() 127 scale2x_tiles8(dst, src, w1 * step_x / 8, h); in sync_enhancement_buffers() 129 x += w1 * step_x; in sync_enhancement_buffers()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/ |
H A D | Surface.cpp | 60 coord_t step_x = scale_(10.); in export_surface_type_legend_to_svg() local 62 pos_x += step_x; in export_surface_type_legend_to_svg() 64 pos_x += step_x; in export_surface_type_legend_to_svg() 66 pos_x += step_x; in export_surface_type_legend_to_svg() 68 pos_x += step_x; in export_surface_type_legend_to_svg() 74 pos_x += step_x; in export_surface_type_legend_to_svg() 76 pos_x += step_x; in export_surface_type_legend_to_svg() 78 pos_x += step_x; in export_surface_type_legend_to_svg()
|
/dports/cad/uranium/Uranium-3ed9c4de/UM/View/ |
H A D | CompositePass.py | 76 step_x = outline_size / self._width 79 [-step_x, -step_y], [0.0, -step_y], [step_x, -step_y], 80 [-step_x, 0.0], [0.0, 0.0], [step_x, 0.0], 81 [-step_x, step_y], [0.0, step_y], [step_x, step_y]
|
/dports/cad/cura/Cura-58bae31/plugins/PostProcessingPlugin/scripts/ |
H A D | Stretch.py | 41 self.step_x = 0 56 self.step_x = _getValue(line, "X", self.step_x) 67 self.step_x += delta_step_x 77 self.step_x = step.step_x 132 last_x = current.step_x 203 delta_x = step.step_x - prev_step.step_x 255 if onestep.step_x != self.outpos.step_x or onestep.step_y != self.outpos.step_y: 256 assert onestep.step_x >= -1000 and onestep.step_x < 1000 # If this assertion fails, 258 self.outpos.step_x = onestep.step_x 280 layer_steps[i].step_x = orig_seq[ipos][0] [all …]
|
/dports/graphics/libpillowfight/libpillowfight-dae21f97de872e4ad2e94f1b0fc53302a00259fd/src/pillowfight/ |
H A D | _blackfilter.c | 75 int step_x, int step_y, in fill_line() argument 82 x += step_x; in fill_line() 119 int step_x, int step_y, in flood_fill_around_line() argument 126 if (step_x != 0) { in flood_fill_around_line() 127 x += step_x; in flood_fill_around_line() 163 int step_x, int step_y, in blackfilter_scan() argument 182 if (step_x) { // horizontal scanning in blackfilter_scan() 218 l += step_x, t += step_y, r += step_x, b += step_y in blackfilter_scan()
|
/dports/graphics/py-pypillowfight/pypillowfight-0.3.0/src/pillowfight/ |
H A D | _blackfilter.c | 75 int step_x, int step_y, in fill_line() argument 82 x += step_x; in fill_line() 119 int step_x, int step_y, in flood_fill_around_line() argument 126 if (step_x != 0) { in flood_fill_around_line() 127 x += step_x; in flood_fill_around_line() 163 int step_x, int step_y, in blackfilter_scan() argument 182 if (step_x) { // horizontal scanning in blackfilter_scan() 218 l += step_x, t += step_y, r += step_x, b += step_y in blackfilter_scan()
|
/dports/games/edge/Edge-1.35-source/epi/ |
H A D | image_data.cc | 88 int step_x = width / new_w; in Shrink() local 90 int total = step_x * step_y; in Shrink() 101 int sx = dx * step_x; in Shrink() 116 int sx = dx * step_x; in Shrink() 122 for (int x=0; x < step_x; x++) in Shrink() 144 int sx = dx * step_x; in Shrink() 150 for (int x=0; x < step_x; x++) in Shrink() 185 int step_x = width / new_w; in ShrinkMasked() local 187 int total = step_x * step_y; in ShrinkMasked() 196 int sx = dx * step_x; in ShrinkMasked() [all …]
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/ |
H A D | PerlinNoise.hpp | 109 int step_x=(int)(x*freq); in perlin_octave_2d() local 111 float zone_x=x*freq-step_x; in perlin_octave_2d() 113 int box=step_x+step_y*num; in perlin_octave_2d() 133 int step_x=(int)(x*freq); in perlin_octave_2d_cos() local 135 float zone_x=x*freq-step_x; in perlin_octave_2d_cos() 137 int box=step_x+step_y*num; in perlin_octave_2d_cos() 155 int step_x=(int)(x*freq); in perlin_octave_3d() local 158 float zone_x=x*freq-step_x; in perlin_octave_3d() 162 int boxB=step_x+step_y+step_z*num; in perlin_octave_3d() 163 int boxC=step_x+step_y+step_z*(num+1); in perlin_octave_3d() [all …]
|
/dports/devel/cdialog/dialog-1.3-20201126/ |
H A D | mouse.c | 65 int step_y, int step_x, in dlg_mouse_mkbigregion() argument 70 butPtr->step_x = MAX(1, step_x); in dlg_mouse_mkbigregion() 97 (butPtr->step_x != 0) || in dlg_mouse_mkregion() 110 butPtr->step_x = 0; in dlg_mouse_mkregion()
|
/dports/games/pacmanarena/pacman/ |
H A D | map.c | 296 int c, step_x, step_y, error;//, last_error; in map_detect_collision() local 339 step_x = -1; in map_detect_collision() 342 step_x = 1; in map_detect_collision() 354 x += step_x; in map_detect_collision() 381 map_collision_square(game, x - step_x, y)) in map_detect_collision() 384 ret[X] = x - step_x; in map_detect_collision() 400 ret[X] = x - step_x; in map_detect_collision() 436 x += step_x; in map_detect_collision() 442 map_collision_square(game, x - step_x, y)) in map_detect_collision() 444 ret[X] = x - step_x; in map_detect_collision() [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_prior.cu | 41 const int in_height, const float step_x, in AssignPriors() argument 49 float center_x = (c + center_offx) * step_x; in AssignPriors() 71 const float step_x = steps[1]; in MultiBoxPriorForward() local 89 sizes[i], ratio, in_width, in_height, step_x, step_y, offset_y, offset_x, stride, offset); in MultiBoxPriorForward() 97 sizes[0], sqrtf(ratios[j]), in_width, in_height, step_x, step_y, in MultiBoxPriorForward()
|
/dports/databases/grass7/grass-7.8.6/raster3d/r3.flow/ |
H A D | voxel_traversal.c | 10 int step_x, step_y, step_z; in traverse() local 23 step_x = start[0] < end[0] ? 1 : -1; in traverse() 42 if (step_x > 0) in traverse() 60 x = x + step_x; in traverse() 79 (step_x * (x - x_end) > 0 || step_y * (y - y_end) > 0 || in traverse()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_prior.cu | 41 const int in_height, const float step_x, in AssignPriors() argument 49 float center_x = (c + center_offx) * step_x; in AssignPriors() 71 const float step_x = steps[1]; in MultiBoxPriorForward() local 89 sizes[i], ratio, in_width, in_height, step_x, step_y, offset_y, offset_x, stride, offset); in MultiBoxPriorForward() 97 sizes[0], sqrtf(ratios[j]), in_width, in_height, step_x, step_y, in MultiBoxPriorForward()
|
/dports/devel/upp/upp/bazaar/plugin/assimp/code/Terragen/ |
H A D | TerragenLoader.cpp | 221 float step_y( 0.0f ), step_x( 0.0f ); in InternReadFile() local 225 step_x = 1.f/x; in InternReadFile() 242 *uv++ = aiVector3D( step_x*xx, step_y*yy, 0.f ); in InternReadFile() 243 *uv++ = aiVector3D( step_x*xx, step_y*(yy+1), 0.f ); in InternReadFile() 244 *uv++ = aiVector3D( step_x*(xx+1), step_y*(yy+1), 0.f ); in InternReadFile() 245 *uv++ = aiVector3D( step_x*(xx+1), step_y*yy, 0.f ); in InternReadFile()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/simulation/src/ |
H A D | sum_score.frag | 6 uniform float step_x; 14 texture2D(ArraySampler, TexCoord0.st + vec2(step_x, 0.0)) + 16 texture2D(ArraySampler, TexCoord0.st + vec2(step_x, step_y));
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/ |
H A D | unsharp_opencl.c | 90 static int compute_mask_matrix(cl_mem cl_mask_matrix, int step_x, int step_y) in compute_mask_matrix() argument 94 size_t size_matrix = sizeof(uint32_t) * (2 * step_x + 1) * (2 * step_y + 1); in compute_mask_matrix() 95 mask_x = av_mallocz_array(2 * step_x + 1, sizeof(uint32_t)); in compute_mask_matrix() 110 ret = compute_mask(step_x, mask_x); in compute_mask_matrix() 117 for (i = 0; i < 2 * step_x + 1; i++) { in compute_mask_matrix() 118 mask_matrix[i + j * (2 * step_x + 1)] = mask_y[j] * mask_x[i]; in compute_mask_matrix() 132 int i, ret = 0, step_x[2], step_y[2]; in generate_mask() local 136 step_x[0] = unsharp->luma.steps_x; in generate_mask() 137 step_x[1] = unsharp->chroma.steps_x; in generate_mask() 142 if (step_x[0]>8 || step_x[1]>8 || step_y[0]>8 || step_y[1]>8) in generate_mask() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/ |
H A D | unsharp_opencl.c | 90 static int compute_mask_matrix(cl_mem cl_mask_matrix, int step_x, int step_y) in compute_mask_matrix() argument 94 size_t size_matrix = sizeof(uint32_t) * (2 * step_x + 1) * (2 * step_y + 1); in compute_mask_matrix() 95 mask_x = av_mallocz_array(2 * step_x + 1, sizeof(uint32_t)); in compute_mask_matrix() 110 ret = compute_mask(step_x, mask_x); in compute_mask_matrix() 117 for (i = 0; i < 2 * step_x + 1; i++) { in compute_mask_matrix() 118 mask_matrix[i + j * (2 * step_x + 1)] = mask_y[j] * mask_x[i]; in compute_mask_matrix() 132 int i, ret = 0, step_x[2], step_y[2]; in generate_mask() local 136 step_x[0] = unsharp->luma.steps_x; in generate_mask() 137 step_x[1] = unsharp->chroma.steps_x; in generate_mask() 142 if (step_x[0]>8 || step_x[1]>8 || step_y[0]>8 || step_y[1]>8) in generate_mask() [all …]
|