/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bapl/ |
H A D | bapl_keypoint_extractor.cxx | 81 float n_m1_m1 = center[-i_step-j_step]; in curvature_ratio() 82 float n_m1_0 = center[-i_step]; in curvature_ratio() 83 float n_m1_1 = center[-i_step+j_step]; in curvature_ratio() 87 float n_1_m1 = center[i_step-j_step]; in curvature_ratio() 88 float n_1_0 = center[i_step]; in curvature_ratio() 89 float n_1_1 = center[i_step+j_step]; in curvature_ratio() 164 if (*im <= im[i_step]) return false; in bapl_is_max_3x3() 165 if (*im <= im[-i_step]) return false; in bapl_is_max_3x3() 180 if (*im >= im[i_step]) return false; in bapl_is_min_3x3() 181 if (*im >= im[-i_step]) return false; in bapl_is_min_3x3() [all …]
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/common/ |
H A D | hecmw_result.c | 61 int i_step, char *header, char *comment) { in HECMW_result_init() argument 64 hecMESH->global_elem_ID, i_step, header, comment); in HECMW_result_init() 148 int HECMW_result_checkfile_by_name(char *name_ID, int i_step) { in HECMW_result_checkfile_by_name() argument 153 if ((basename = HECMW_ctrl_get_result_file(name_ID, i_step, in HECMW_result_checkfile_by_name() 181 int i_step) { in HECMW_result_read_by_name() argument 186 if ((basename = HECMW_ctrl_get_result_file(name_ID, i_step, in HECMW_result_read_by_name() 258 if (HECMW_result_init_body(*n_node, *n_elem, nodeID, elemID, *i_step, in hecmw_result_init_if() 450 if (HECMW_result_checkfile_by_name(name_ID_str, *i_step)) return; in hecmw_result_checkfile_by_name_if() 456 hecmw_result_checkfile_by_name_if(name_ID, i_step, err, len); in hecmw_result_checkfile_by_name_if_() 460 hecmw_result_checkfile_by_name_if(name_ID, i_step, err, len); in hecmw_result_checkfile_by_name_if__() [all …]
|
H A D | hecmw_result_copy_c2f.c | 300 void hecmw_result_read_by_name_if(char *name_ID, int *i_step, in hecmw_result_read_by_name_if() argument 310 result = HECMW_result_read_by_name(name_ID_str, *i_step); in hecmw_result_read_by_name_if() 321 void hecmw_result_read_by_name_if_(char *name_ID, int *i_step, in hecmw_result_read_by_name_if_() argument 324 hecmw_result_read_by_name_if(name_ID, i_step, n_node, n_elem, err, in hecmw_result_read_by_name_if_() 328 void hecmw_result_read_by_name_if__(char *name_ID, int *i_step, in hecmw_result_read_by_name_if__() argument 331 hecmw_result_read_by_name_if(name_ID, i_step, n_node, n_elem, err, in hecmw_result_read_by_name_if__() 335 void HECMW_RESULT_READ_BY_NAME_IF(char *name_ID, int *i_step, in HECMW_RESULT_READ_BY_NAME_IF() argument 337 hecmw_result_read_by_name_if(name_ID, i_step, n_node, n_elem, err, in HECMW_RESULT_READ_BY_NAME_IF()
|
H A D | hecmw_result_f.f90 | 76 subroutine hecmw_result_init(hecMESH, i_step, header, comment) argument 78 integer(kind=kint) :: nnode, nelem, i_step, ierr local 119 …call hecmw_result_init_if(nnode, nelem_wo_MPC, hecMESH%global_node_ID, elemID_wo_MPC, i_step, head… 121 …lt_init_if(nnode, nelem, hecMESH%global_node_ID, hecMESH%global_elem_ID, i_step, header, comment, … 292 subroutine hecmw_result_checkfile_by_name(name_ID, i_step, ierr) argument 294 integer(kind=kint), intent(in) :: i_step local 297 call hecmw_result_checkfile_by_name_if(name_ID, i_step, ierr) 301 subroutine hecmw_result_read_by_name(hecMESH, name_ID, i_step, result) argument 304 integer(kind=kint), intent(in) :: i_step local 308 call hecmw_result_read_by_name_if(name_ID, i_step, n_node, n_elem, ierr)
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/algo/ |
H A D | vil3d_find_peaks.h | 19 inline bool vil3d_is_above_8nbrs(T v, const T* im, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vil3d_is_above_8nbrs() argument 21 if (v<=im[i_step]) return false; in vil3d_is_above_8nbrs() 22 if (v<=im[-i_step]) return false; in vil3d_is_above_8nbrs() 25 if (v<=im[i_step+j_step]) return false; in vil3d_is_above_8nbrs() 26 if (v<=im[i_step-j_step]) return false; in vil3d_is_above_8nbrs() 27 if (v<=im[j_step-i_step]) return false; in vil3d_is_above_8nbrs() 28 if (v<=im[-i_step-j_step]) return false; in vil3d_is_above_8nbrs() 34 inline bool vil3d_is_peak26(const T* im, std::ptrdiff_t i_step, in vil3d_is_peak26() argument 37 if (!vil3d_is_above_8nbrs(im[0],im,i_step,j_step)) return false; in vil3d_is_peak26() 39 if (!vil3d_is_above_8nbrs(im[0],im+k_step,i_step,j_step)) return false; in vil3d_is_peak26() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | array_utils.c | 256 unsigned int i_step = i_curr + 1; in _bli_array_iter_span() local 257 if (UNLIKELY(i_step == arr_len)) { in _bli_array_iter_span() 258 i_step = 0; in _bli_array_iter_span() 261 i_step_prev = i_step; in _bli_array_iter_span() 262 i_step++; in _bli_array_iter_span() 263 if (UNLIKELY(i_step == arr_len)) { in _bli_array_iter_span() 264 i_step = 0; in _bli_array_iter_span() 276 unsigned int i_step = i_curr + 1; in _bli_array_iter_span() local 277 while ((i_step != arr_len) && in _bli_array_iter_span() 279 i_step_prev = i_step; in _bli_array_iter_span() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vil/algo/ |
H A D | vil_find_plateaus.h | 18 inline bool vil_is_plateau_3x3(const T* im, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vil_is_plateau_3x3() argument 21 return v >= im[i_step] in vil_is_plateau_3x3() 22 && v >= im[-i_step] in vil_is_plateau_3x3() 25 && v >= im[i_step+j_step] in vil_is_plateau_3x3() 26 && v >= im[i_step-j_step] in vil_is_plateau_3x3() 27 && v >= im[j_step-i_step] in vil_is_plateau_3x3() 28 && v >= im[-i_step-j_step]; in vil_is_plateau_3x3()
|
H A D | vil_find_peaks.h | 18 inline bool vil_is_peak_3x3(const T* im, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vil_is_peak_3x3() argument 21 return v > im[i_step] in vil_is_peak_3x3() 22 && v > im[-i_step] in vil_is_peak_3x3() 25 && v > im[i_step+j_step] in vil_is_peak_3x3() 26 && v > im[i_step-j_step] in vil_is_peak_3x3() 27 && v > im[j_step-i_step] in vil_is_peak_3x3() 28 && v > im[-i_step-j_step]; in vil_is_peak_3x3()
|
/dports/games/libretro-shaders-glsl/glsl-shaders-7052b09dc657d56bea443d5661dccbebcafe32dc/crt/shaders/crt-royale/port-helpers/ |
H A D | phosphor-mask-resizing.h | 264 static const int i_step = 4; in downsample_vertical_sinc_tiled() local 268 for(int i = 0; i < 64; i += i_step) in downsample_vertical_sinc_tiled() 276 for(int i = 0; i < 32; i += i_step) in downsample_vertical_sinc_tiled() 284 for(int i = 0; i < 16; i += i_step) in downsample_vertical_sinc_tiled() 292 for(int i = 0; i < 8; i += i_step) in downsample_vertical_sinc_tiled() 300 for(int i = 0; i < 4; i += i_step) in downsample_vertical_sinc_tiled() 309 for(int i = 0; i < 4; i += i_step) in downsample_vertical_sinc_tiled() 369 static const int i_step = 4; in downsample_horizontal_sinc_tiled() local 397 for(int i = 0; i < 8; i += i_step) in downsample_horizontal_sinc_tiled() 405 for(int i = 0; i < 4; i += i_step) in downsample_horizontal_sinc_tiled() [all …]
|
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/crt/shaders/crt-royale/src/ |
H A D | phosphor-mask-resizing.h | 262 static const int i_step = 4; in downsample_vertical_sinc_tiled() local 266 for(int i = 0; i < 64; i += i_step) in downsample_vertical_sinc_tiled() 274 for(int i = 0; i < 32; i += i_step) in downsample_vertical_sinc_tiled() 282 for(int i = 0; i < 16; i += i_step) in downsample_vertical_sinc_tiled() 290 for(int i = 0; i < 8; i += i_step) in downsample_vertical_sinc_tiled() 298 for(int i = 0; i < 4; i += i_step) in downsample_vertical_sinc_tiled() 307 for(int i = 0; i < 4; i += i_step) in downsample_vertical_sinc_tiled() 367 static const int i_step = 4; in downsample_horizontal_sinc_tiled() local 395 for(int i = 0; i < 8; i += i_step) in downsample_horizontal_sinc_tiled() 403 for(int i = 0; i < 4; i += i_step) in downsample_horizontal_sinc_tiled() [all …]
|
/dports/multimedia/vapoursynth-l-smash-works/L-SMASH-Works-0.0-940-g198cc78/AviUtl/ |
H A D | lwcolor_simd.c | 143 for( int x = 0, i_step = 0; x < w; x += i_step, lw48_ptr += i_step*6, rgb_ptr += i_step*3 ) in convert_lw48_to_rgb24_sse41() local 184 i_step = (remain >= 16); in convert_lw48_to_rgb24_sse41() 185 i_step = (i_step<<4) + (remain & ((~(0-i_step)) & 0x0f)); in convert_lw48_to_rgb24_sse41() 207 for( int x = 0, i_step = 0; x < w; x += i_step, ycp += i_step*6, yuy2_ptr += i_step*2 ) in convert_lw48_to_yuy2_sse41() local 250 i_step = (remain >= 16); in convert_lw48_to_yuy2_sse41() 251 i_step = (i_step<<4) + (remain & ((~(0-i_step)) & 0x0f)); in convert_lw48_to_yuy2_sse41()
|
/dports/math/py-ndindex/ndindex-1.5.2/ndindex/ |
H A D | subindex_helpers.py | 76 def subindex_slice(s_start, s_stop, s_step, i_start, i_stop, i_step): argument 91 common = _crt(s_step, i_step, s_start, i_start) 95 lcm = _ilcm(s_step, i_step) 101 start = (start - i_start)//i_step 103 stop = ceiling((_min(s_stop, i_stop) - i_start), i_step) 106 step = lcm//i_step # = s_step//igcd(s_step, i_step)
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vimt/algo/ |
H A D | vimt_find_troughs.h | 15 inline bool vimt_is_trough_3x3(const T* im, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vimt_is_trough_3x3() argument 18 if (v>=im[i_step]) return false; in vimt_is_trough_3x3() 19 if (v>=im[-i_step]) return false; in vimt_is_trough_3x3() 22 if (v>=im[i_step+j_step]) return false; in vimt_is_trough_3x3() 23 if (v>=im[i_step-j_step]) return false; in vimt_is_trough_3x3() 24 if (v>=im[j_step-i_step]) return false; in vimt_is_trough_3x3() 25 if (v>=im[-i_step-j_step]) return false; in vimt_is_trough_3x3()
|
H A D | vimt_find_peaks.h | 14 inline bool vimt_is_peak_3x3(const T* im, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vimt_is_peak_3x3() argument 17 return v>im[i_step] && in vimt_is_peak_3x3() 18 v>im[-i_step] && in vimt_is_peak_3x3() 21 v>im[i_step+j_step] && in vimt_is_peak_3x3() 22 v>im[i_step-j_step] && in vimt_is_peak_3x3() 23 v>im[j_step-i_step] && in vimt_is_peak_3x3() 24 v>im[-i_step-j_step]; in vimt_is_peak_3x3() 29 inline bool vimt_is_peak(const T* im, int radius, std::ptrdiff_t i_step, std::ptrdiff_t j_step) in vimt_is_peak() argument 35 if (v<=im[i_step*i+j_step*j]) return false; // One of the in vimt_is_peak()
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/PW/src/ |
H A D | add_qexsd_step.f90 | 46 INTEGER, INTENT(IN) :: i_step local 66 IF (.NOT. ( i_step == 1 .OR. MOD(i_step-1, stride) == 0 .OR. i_step == nstep)) RETURN 97 CALL qexsd_step_addstep ( i_step, max_xml_steps_, nsp, atm, ityp, nat, &
|
/dports/graphics/cairo/cairo-1.17.4/test/ |
H A D | filter-nearest-offset.c | 74 double i_step; in draw() local 78 i_step = i >= STEPS / 2 ? 1 : 0; in draw() 81 i_step = i * 1.0 / STEPS; in draw() 88 PAD + i * (STAMP_WIDTH + PAD) + i_step, in draw()
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/ipts/ |
H A D | ipts_scale_space_peaks.h | 24 std::ptrdiff_t i_step, std::ptrdiff_t j_step) in ipts_is_above_3x3() argument 27 if (value<=im[i_step]) return false; in ipts_is_above_3x3() 28 if (value<=im[-i_step]) return false; in ipts_is_above_3x3() 31 if (value<=im[i_step+j_step]) return false; in ipts_is_above_3x3() 32 if (value<=im[i_step-j_step]) return false; in ipts_is_above_3x3() 33 if (value<=im[j_step-i_step]) return false; in ipts_is_above_3x3() 34 if (value<=im[-i_step-j_step]) return false; in ipts_is_above_3x3()
|
/dports/science/nest/nest-simulator-3.1/testsuite/pytests/ |
H A D | test_current_recording_generators.py | 149 i_step = events_step['I'] 160 assert len(i_step) == len(v_Vm), \ 192 assert (numpy.all(i_step[:t_start_ind]) == 0 and 193 numpy.all(i_step[t_stop_ind:]) == 0), \ 195 assert (numpy.allclose(i_step[t_start_ind:t_next_ind], 197 numpy.allclose(i_step[t_next_ind:t_stop_ind],
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/Modules/ |
H A D | qexsd.f90 | 105 INTEGER :: ierr, len_steps, i_step local 143 DO i_step = 1, len_steps 144 CALL qes_write (qexsd_xf, steps(i_step) ) 446 SUBROUTINE qexsd_step_addstep(i_step, max_steps, ntyp, atm, ityp, nat, tau, alat, a1, a2, a3, & argument 458 INTEGER ,INTENT(IN) :: i_step, max_steps, ntyp, nat, n_scf_steps, ityp(:) local 471 IF ( i_step .EQ. 1 ) THEN 478 step_obj%n_step = i_step 521 INTEGER :: i_step local 523 DO i_step =1, SIZE(steps) 524 CALL qes_reset(steps(i_step))
|
/dports/multimedia/vlc/vlc-3.0.16/modules/audio_filter/ |
H A D | chorus_flanger.c | 58 int i_step; member 178 p_sys->i_step = p_sys->f_sweepRate > 0 ? 1 : 0; in Open() 236 p_sys->i_cumulative += p_sys->i_step; in DoWork() 239 if( abs( p_sys->i_step ) > 0 ) in DoWork() 245 p_sys->i_step = -1 * ( p_sys->i_step ); in DoWork() 251 p_sys->i_step = -1 * ( p_sys->i_step ); in DoWork()
|
/dports/math/cppad/CppAD-20210000.8/example/general/ |
H A D | taylor_ode.cpp | 117 for(size_t i_step = 0; i_step < n_step; i_step++) in taylor_ode() local
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/fistr1/src/analysis/dynamic/transit/ |
H A D | dynamic_output.f90 | 29 istep = fstrDYNAMIC%i_step 115 if( fstrDYNAMIC%i_step==0 ) return 116 if( fstrDYNAMIC%idx_eqa==1 .and. fstrDYNAMIC%i_step>0 ) then 382 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 389 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 396 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 403 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 415 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 427 fstrDYNAMIC%i_step, fstrDYNAMIC%t_curr, jj, & 444 if(fstrDYNAMIC%i_step==0) then [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/motion/ |
H A D | rt_propagation.F | 271 INTEGER :: aspc_order, handle, i_iter, i_step, & local 306 DO i_step = rtp%i_start + 1, max_steps 308 qs_env%sim_time = REAL(i_step, dp)*rtp%dt 311 qs_env%sim_step = i_step 312 rtp%istep = i_step - rtp%i_start 316 CALL cp_iterate(logger%iter_info, last=(i_step == max_steps), iter_nr=i_step) 319 IF (i_step == rtp%i_start + 1 .AND. i_iter == 2 .AND. rtp_control%hfx_redistribute) & 330 IF (should_stop) CALL cp_iterate(logger%iter_info, last=.TRUE., iter_nr=i_step)
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/motion/ |
H A D | rt_propagation.F | 273 INTEGER :: aspc_order, handle, i_iter, i_step, & local 308 DO i_step = rtp%i_start + 1, max_steps 310 qs_env%sim_time = REAL(i_step, dp)*rtp%dt 313 qs_env%sim_step = i_step 314 rtp%istep = i_step - rtp%i_start 318 CALL cp_iterate(logger%iter_info, last=(i_step == max_steps), iter_nr=i_step) 321 IF (i_step == rtp%i_start + 1 .AND. i_iter == 2 .AND. rtp_control%hfx_redistribute) & 332 IF (should_stop) CALL cp_iterate(logger%iter_info, last=.TRUE., iter_nr=i_step)
|
/dports/devel/tigcc/tigcc-0.96.b8_10/tigcc/tigcclib/examples/ |
H A D | Othello-Reversi.c | 182 int captured,loc_i,loc_j,i_step,j_step,p,q,score=0; in try_a_move() local 186 for(i_step=-1;i_step<=1;i_step++) in try_a_move() 188 if(i_step||j_step) in try_a_move() 193 next=board[loc_i+=i_step][loc_j+=j_step]; in try_a_move() 202 while(board[loc_i+=i_step][loc_j+=j_step]!=figure) in try_a_move()
|