/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | gpencil_curve.c | 144 int *r_idx) in gpencil_add_from_curve_material() argument 146 Material *mat_gp = BKE_gpencil_object_material_new(bmain, ob_gp, "Material", r_idx); in gpencil_add_from_curve_material() 268 int r_idx = gpencil_check_same_material_color( in gpencil_get_stroke_material_fromcurve() local 271 if ((ob_gp->totcol < r_idx) || (r_idx < 0)) { in gpencil_get_stroke_material_fromcurve() 273 bmain, ob_gp, color_stroke, color_fill, *do_stroke, *do_fill, &r_idx); in gpencil_get_stroke_material_fromcurve() 286 return r_idx; in gpencil_get_stroke_material_fromcurve() 333 int r_idx = gpencil_get_stroke_material_fromcurve(bmain, ob_gp, ob_cu, &do_stroke, &do_fill); in gpencil_convert_spline() local 334 CLAMP_MIN(r_idx, 0); in gpencil_convert_spline() 337 gps->mat_nr = r_idx; in gpencil_convert_spline()
|
H A D | gpencil_geom.c | 2238 int *r_idx) in gpencil_add_material() argument 2240 Material *mat_gp = BKE_gpencil_object_material_new(bmain, ob_gp, name, r_idx); in gpencil_add_material()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/ |
H A D | gpencil_vertex_paint.c | 306 r_idx[0] = 0; in gpencil_grid_cell_average_color_idx_get() 315 r_idx[1] = 0; in gpencil_grid_cell_average_color_idx_get() 319 r_idx[1] = 1; in gpencil_grid_cell_average_color_idx_get() 322 r_idx[0] = 0; in gpencil_grid_cell_average_color_idx_get() 323 r_idx[1] = 1; in gpencil_grid_cell_average_color_idx_get() 329 r_idx[0] = 0; in gpencil_grid_cell_average_color_idx_get() 333 r_idx[0] = 1; in gpencil_grid_cell_average_color_idx_get() 337 r_idx[0] = 1; in gpencil_grid_cell_average_color_idx_get() 338 r_idx[1] = 0; in gpencil_grid_cell_average_color_idx_get() 341 r_idx[0] = 1; in gpencil_grid_cell_average_color_idx_get() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/ |
H A D | mser.c | 503 vl_uint r_idx ; in vl_mser_process() local 511 r_idx = idx ; in vl_mser_process() 558 int hgt = r [ r_idx] .height ; in vl_mser_process() 571 r_idx = climb(r, idx) ; in vl_mser_process() 595 if( r_idx != nr_idx ) { /* skip if (A) */ in vl_mser_process() 602 r [r_idx] .parent = nr_idx ; in vl_mser_process() 603 r [r_idx] .shortcut = nr_idx ; in vl_mser_process() 604 r [nr_idx] .area += r [r_idx] .area ; in vl_mser_process() 607 joins [njoins++] = r_idx ; in vl_mser_process() 612 r [nr_idx] .parent = r_idx ; in vl_mser_process() [all …]
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/libaom-sys-0.9.1/vendor/av1/encoder/ |
H A D | mv_prec.c | 69 int r_idx = 0; in keep_one_comp_stat() local 88 rates[r_idx++] = sign_rate; in keep_one_comp_stat() 92 rates[r_idx++] = class_rate; in keep_one_comp_stat() 106 rates[r_idx++] = int_bit_rate; in keep_one_comp_stat() 108 rates[r_idx++] = frac_part_rate; in keep_one_comp_stat() 115 rates[r_idx++] = high_part_rate; in keep_one_comp_stat()
|
H A D | partition_strategy.c | 362 for (int r_idx = 0; r_idx < SUB_PARTITIONS_SPLIT; r_idx++) { in simple_motion_search_get_best_ref() local 415 for (int r_idx = 0; r_idx < SUB_PARTITIONS_SPLIT; r_idx++) { in simple_motion_search_prune_part_features() local 416 const int sub_mi_col = mi_col + (r_idx & 1) * w_mi / 2; in simple_motion_search_prune_part_features() 417 const int sub_mi_row = mi_row + (r_idx >> 1) * h_mi / 2; in simple_motion_search_prune_part_features() 434 for (int r_idx = 0; r_idx < SUB_PARTITIONS_RECT; r_idx++) { in simple_motion_search_prune_part_features() local 436 const int sub_mi_row = mi_row + r_idx * h_mi / 2; in simple_motion_search_prune_part_features() 440 use_subpixel, 0, &sms_tree->sms_rect_feat[2 * r_idx], in simple_motion_search_prune_part_features() 441 &sms_tree->sms_rect_feat[2 * r_idx + 1]); in simple_motion_search_prune_part_features() 446 for (int r_idx = 0; r_idx < SUB_PARTITIONS_RECT; r_idx++) { in simple_motion_search_prune_part_features() local 447 const int sub_mi_col = mi_col + r_idx * w_mi / 2; in simple_motion_search_prune_part_features() [all …]
|
H A D | rdopt.c | 3606 for (int r_idx = 0; r_idx < num_rt_refs; r_idx++) { in init_mode_skip_mask() local 3607 const MV_REFERENCE_FRAME ref = real_time_ref_combos[r_idx][0]; in init_mode_skip_mask()
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/ |
H A D | quaternion.inl.hpp | 1010 unsigned r_idx = idx - N_CONSTANTS; in toEulerAngles() local 1011 CV_DbgAssert(r_idx < 9); in toEulerAngles() 1012 value = R.val[r_idx]; in toEulerAngles()
|
/dports/graphics/py-geopandas/geopandas-0.10.2/geopandas/tools/ |
H A D | sjoin.py | 220 l_idx, r_idx = sindex.query_bulk(input_geoms, predicate=predicate, sort=False) 221 indices = pd.DataFrame({"_key_left": l_idx, "_key_right": r_idx}) 388 l_idx, r_idx = tree_idx, input_idx 390 l_idx, r_idx = l_idx[sort_order], r_idx[sort_order] 394 l_idx, r_idx = input_idx, tree_idx 396 {"_key_left": l_idx, "_key_right": r_idx, "distances": distances}
|
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/feature/ |
H A D | sift.py | 604 r_idx, c_idx = np.nonzero(inside) 605 r = r[r_idx, 0]
|
/dports/graphics/sampleicc/SampleICC-1.6.8/Contrib/CmdLine/create_CLUT_profile_from_probe/ |
H A D | create_CLUT_profile_from_probe.cpp | 191 int r_idx = static_cast<int>(pGridAdr[0] * (edge_N_ - 1) + 0.5); in PixelOp() local 194 int flat_idx = r_idx * edge_N_ * edge_N_ + g_idx * edge_N_ + b_idx; in PixelOp()
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/analyzer/ |
H A D | constraint-manager.cc | 2477 for (unsigned r_idx = 0; in purge() local 2478 r_idx < m_bounded_ranges_constraints.length (); ) in purge() 2481 = &m_bounded_ranges_constraints[r_idx]; in purge() 2486 m_bounded_ranges_constraints.ordered_remove (r_idx); in purge() 2495 r_idx++; in purge() 2558 for (unsigned r_idx = 0; in purge() local 2559 r_idx < m_bounded_ranges_constraints.length (); in purge() 2560 r_idx++) in purge() 2563 = &m_bounded_ranges_constraints[r_idx]; in purge()
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/bfd/ |
H A D | bout.c | 266 int r_idx; in b_out_squirt_out_relocs() local 314 r_idx = 0; in b_out_squirt_out_relocs() 329 r_idx = -2; in b_out_squirt_out_relocs() 337 if (r_idx != 0) in b_out_squirt_out_relocs() 347 r_idx = 0; in b_out_squirt_out_relocs() 354 r_idx = (*g->sym_ptr_ptr)->udata.i; in b_out_squirt_out_relocs() 361 r_idx = output_section->target_index; in b_out_squirt_out_relocs() 366 raw[4] = (unsigned char) (r_idx >> 16); in b_out_squirt_out_relocs() 367 raw[5] = (unsigned char) (r_idx >> 8); in b_out_squirt_out_relocs() 368 raw[6] = (unsigned char) (r_idx ); in b_out_squirt_out_relocs() [all …]
|
/dports/lang/gnatdroid-binutils/binutils-2.27/bfd/ |
H A D | bout.c | 266 int r_idx; in b_out_squirt_out_relocs() local 314 r_idx = 0; in b_out_squirt_out_relocs() 329 r_idx = -2; in b_out_squirt_out_relocs() 337 if (r_idx != 0) in b_out_squirt_out_relocs() 347 r_idx = 0; in b_out_squirt_out_relocs() 354 r_idx = (*g->sym_ptr_ptr)->udata.i; in b_out_squirt_out_relocs() 361 r_idx = output_section->target_index; in b_out_squirt_out_relocs() 366 raw[4] = (unsigned char) (r_idx >> 16); in b_out_squirt_out_relocs() 367 raw[5] = (unsigned char) (r_idx >> 8); in b_out_squirt_out_relocs() 368 raw[6] = (unsigned char) (r_idx ); in b_out_squirt_out_relocs() [all …]
|
/dports/lang/sdcc/sdcc-4.0.0/support/sdbinutils/bfd/ |
H A D | bout.c | 266 int r_idx; in b_out_squirt_out_relocs() local 314 r_idx = 0; in b_out_squirt_out_relocs() 329 r_idx = -2; in b_out_squirt_out_relocs() 337 if (r_idx != 0) in b_out_squirt_out_relocs() 347 r_idx = 0; in b_out_squirt_out_relocs() 354 r_idx = (*g->sym_ptr_ptr)->udata.i; in b_out_squirt_out_relocs() 361 r_idx = output_section->target_index; in b_out_squirt_out_relocs() 366 raw[4] = (unsigned char) (r_idx >> 16); in b_out_squirt_out_relocs() 367 raw[5] = (unsigned char) (r_idx >> 8); in b_out_squirt_out_relocs() 368 raw[6] = (unsigned char) (r_idx ); in b_out_squirt_out_relocs() [all …]
|
/dports/math/amgcl/amgcl-1.4.2/amgcl/mpi/ |
H A D | schur_pressure_correction.hpp | 208 std::vector<ptrdiff_t> s_idx(nsend), r_idx(nrecv); in init() local 217 C.exchange(&s_idx[0], &r_idx[0]); in init() 357 ptrdiff_t cj = r_idx[j]; in init()
|
/dports/math/cgl/Cgl-releases-0.60.3/Cgl/src/CglLandP/ |
H A D | CglLandPSimplex.cpp | 2838 int r_idx = nrows_ - 1; in append_row() local 2937 m->modifyCoefficient(r_idx, i, vec[i], true); in append_row() 2939 si_->setRowBounds(r_idx, rhs, rhs); in append_row() 2955 for (int i = 0 ; i < r_idx ; i++) in append_row() 2959 assert(basics[r_idx] == ncols_ - 1); in append_row() 2999 int r_idx = nrows_ - 1; in update_row() local 3002 assert(r_idx == row.num); in update_row() 3045 if (iRow == r_idx) continue; in update_row() 3073 double f = m->getCoefficient(r_idx,i); in update_row() 3074 m->modifyCoefficient(r_idx, i, f + vec[i], true); in update_row() [all …]
|
/dports/math/fflas-ffpack/fflas-ffpack-2.4.3/fflas-ffpack/ffpack/ |
H A D | ffpack_frobenius.inl | 585 size_t r_idx = N - nb_blocs - 1; local 589 FFLAS::fassign (F, M, A + (r_idx--)*lda, 1, A + (w_idx--)*lda, 1); 609 size_t r_idx = N - zeroblockdim - 1; local 614 FFLAS::fassign (F, M, A + (r_idx--)*lda, 1, A + (w_idx--)*lda, 1); 650 size_t r_idx = N - nb_blocs - 1; local 654 FFLAS::fassign (F, M, A + (r_idx--)*lda, 1, A + (w_idx--)*lda, 1);
|
/dports/math/g2o/g2o-20201223_git/g2o/solvers/dense/ |
H A D | linear_solver_dense.h | 90 int r_idx = A.rowBaseOfBlock(it->first); in solve() local 94 H.block(r_idx, c_idx, r_size, c_size) = *(it->second); in solve() 95 if (r_idx != c_idx) // write the lower triangular block in solve() 96 H.block(c_idx, r_idx, c_size, r_size) = it->second->transpose(); in solve()
|
/dports/math/linbox/linbox-1.6.3/linbox/matrix/densematrix/ |
H A D | blas-submatrix.inl | 700 size_t r_idx, argument 702 _cur (cur), _c_dim (c_dim), _stride (stride), _r_idx(r_idx), _c_idx (c_idx) 811 size_t r_idx, argument 813 _cur (cur), _stride (stride), _c_dim (c_dim), _r_idx(r_idx), _c_idx (c_idx)
|
/dports/math/octave-forge-control/control-3.3.1/inst/ |
H A D | __frequency_response__.m | 54 r_idx = cellfun (@iscell, args); # look for frequency ranges {wmin, wmax} variable 57 inv_idx = ! (sys_idx | w_idx | r_idx | s_idx); # look for invalid arguments 81 if (any (r_idx)) # if there are frequency ranges 82 if (nnz (r_idx) > 1) 85 r = args(r_idx){end}; 92 if (nnz (r_idx) > 1)
|
/dports/math/octave-forge-image/image-2.12.0/inst/ |
H A D | imquantize.m | 194 %! r_idx = reshape (randperm (numel (img)), size (img)); 197 %! [quant_r, quant_r_idx] = imquantize (img(r_idx), [5 15 25 30 40 60]); 199 %! assert (imquantize (img(r_idx), [5 15 25 30 40 60]), quant(r_idx))
|
/dports/math/octave-forge-statistics/statistics-1.4.3/inst/ |
H A D | hist3.m | 157 r_idx = lookup (r_edges, X(:,1), "l"); variable 161 counts = accumarray ([r_idx, c_idx], 1, counts_size);
|
/dports/math/pari/pari-2.13.3/src/basemath/ |
H A D | polmodular.c | 1444 long r_idx = (((i - 1) + m) % njs) + 1; /* (i + m) % njs */ in append_neighbours() local 1447 rts[L + 1] = surface_js[r_idx]; in append_neighbours()
|
/dports/math/py-theano/Theano-1.0.5/theano/compile/ |
H A D | debugmode.py | 703 for r_idx, r in enumerate(node.inputs): 720 raise BadDestroyMap(node, r_idx, r_vals[r],
|