/dports/graphics/opencv/opencv-4.5.3/modules/stitching/src/opencl/ |
H A D | warpers.cl | 49 int tl_u, int tl_v, float scale, int rowsPerWI) 52 int dv0 = get_global_id(1) * rowsPerWI; 63 … for (int dv = dv0, dv1 = min(rows, dv0 + rowsPerWI); dv < dv1; ++dv, xmap_index += xmap_step, 89 … __constant float * ck_rinv, int tl_u, int tl_v, float scale, int rowsPerWI) 92 int dv0 = get_global_id(1) * rowsPerWI; 103 … for (int dv = dv0, dv1 = min(rows, dv0 + rowsPerWI); dv < dv1; ++dv, xmap_index += xmap_step, 129 … __constant float * ck_rinv, int tl_u, int tl_v, float scale, int rowsPerWI) 132 int dv0 = get_global_id(1) * rowsPerWI; 142 … for (int dv = dv0, dv1 = min(rows, dv0 + rowsPerWI); dv < dv1; ++dv, xmap_index += xmap_step,
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | convert_scale.dispatch.cpp | 53 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_convertScaleAbs() local 64 ocl::typeToStr(wdepth), rowsPerWI, in ocl_convertScaleAbs() 81 … globalsize[2] = { (size_t)src.cols * cn / kercn, ((size_t)src.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_convertScaleAbs()
|
H A D | convert.dispatch.cpp | 151 int rowsPerWI = 1; in ocl_convertFp16() local 155 rowsPerWI, in ocl_convertFp16() 169 … globalsize[2] = { (size_t)src.cols * cn / kercn, ((size_t)src.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_convertFp16()
|
H A D | split.dispatch.cpp | 178 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_split() local 207 k.set(argidx, rowsPerWI); in ocl_split() 209 … size_t globalsize[2] = { (size_t)size.width, ((size_t)size.height + rowsPerWI - 1) / rowsPerWI }; in ocl_split()
|
H A D | merge.dispatch.cpp | 207 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_merge() local 252 k.set(argidx, rowsPerWI); in ocl_merge() 254 size_t globalsize[2] = { (size_t)dst.cols, ((size_t)dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_merge()
|
H A D | mathfuncs.cpp | 72 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_math_op() local 94 …globalsize[] = { (size_t)src1.cols * cn / kercn, ((size_t)src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_math_op() 233 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_cartToPolar() local 262 …size_t globalsize[2] = { (size_t)dst1.cols * cn, ((size_t)dst1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_cartToPolar() 471 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_polarToCart() local 480 rowsPerWI, in ocl_polarToCart() 497 …size_t globalsize[2] = { (size_t)dst1.cols * cn, ((size_t)dst1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_polarToCart() 1147 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_pow() local 1204 … size_t globalsize[2] = { (size_t)dst.cols * cn, ((size_t)dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_pow() 1578 CV_32F, rowsPerWI)); in ocl_patchNaNs() [all …]
|
H A D | umatrix.cpp | 1213 int wdepth = std::max(CV_32F, sdepth), rowsPerWI = 4; in convertTo() local 1233 k.args(srcarg, dstarg, rowsPerWI); in convertTo() 1235 k.args(srcarg, dstarg, alphaf, betaf, rowsPerWI); in convertTo() 1237 k.args(srcarg, dstarg, alpha, beta, rowsPerWI); in convertTo() 1239 … size_t globalsize[2] = { (size_t)dst.cols * cn, ((size_t)dst.rows + rowsPerWI - 1) / rowsPerWI }; in convertTo() 1273 … int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in setTo() local 1275 ocl::memopTypeToStr(kertp), rowsPerWI, in setTo() 1299 … size_t globalsize[] = { (size_t)cols * cn / kercn, ((size_t)rows + rowsPerWI - 1) / rowsPerWI }; in setTo()
|
H A D | arithm.cpp | 88 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_binary_op() local 102 kercn, rowsPerWI); in ocl_binary_op() 145 …globalsize[] = { (size_t)src1.cols * cn / kercn, ((size_t)src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_binary_op() 490 int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = d.isIntel() ? 4 : 1; in ocl_arithm_op() local 506 doubleSupport ? " -D DOUBLE_SUPPORT" : "", kercn, rowsPerWI, in ocl_arithm_op() 582 …globalsize[] = { (size_t)src1.cols * cn / kercn, ((size_t)src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_arithm_op() 1169 … globalsize[2] = { (size_t)dst.cols * cn / kercn, ((size_t)dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_compare() 1611 int cn = CV_MAT_CN(stype), rowsPerWI = d.isIntel() ? 4 : 1; in ocl_inRange() local 1707 ocl::KernelArg::PtrReadOnly(uscalaru), rowsPerWI); in ocl_inRange() 1711 ocl::KernelArg::ReadOnlyNoSize(uscalaru), rowsPerWI); in ocl_inRange() [all …]
|
H A D | channels.cpp | 214 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_mixChannels() local 262 k.set(argindex, rowsPerWI); in ocl_mixChannels() 264 … size_t globalsize[2] = { (size_t)size.width, ((size_t)size.height + rowsPerWI - 1) / rowsPerWI }; in ocl_mixChannels()
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/opencl/ |
H A D | split_merge.cl | 55 int rows, int cols, int rowsPerWI) 58 int y0 = get_global_id(1) * rowsPerWI; 65 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dst_step) 83 … uchar* srcptr, int src_step, int src_offset, int rows, int cols DECLARE_DST_PARAMS, int rowsPerWI) 86 int y0 = get_global_id(1) * rowsPerWI; 93 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step)
|
H A D | copyset.cl | 120 int y0 = get_global_id(1) * rowsPerWI; 127 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y) 142 int y0 = get_global_id(1) * rowsPerWI; 148 for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, dst_index += dststep)
|
H A D | convert.cl | 59 int rowsPerWI) 62 int y0 = get_global_id(1) * rowsPerWI; 69 …for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index…
|
H A D | repeat.cl | 22 int y0 = get_global_id(1) * rowsPerWI; 29 …for (int y = y0, y1 = min(src_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index…
|
H A D | mulspectrums.cl | 59 int dst_rows, int dst_cols, int rowsPerWI) 62 int y0 = get_global_id(1) * rowsPerWI; 70 for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y,
|
H A D | mixchannels.cl | 58 …kernel void mixChannels(DECLARE_INPUT_MAT_N DECLARE_OUTPUT_MAT_N int rows, int cols, int rowsPerWI) 61 int y0 = get_global_id(1) * rowsPerWI; 67 for (int y = y0, y1 = min(y0 + rowsPerWI, rows); y < y1; ++y)
|
H A D | set_identity.cl | 60 int y0 = get_global_id(1) * rowsPerWI; 68 …for (int y = y0, i = 0, y1 = min(rows, y0 + rowsPerWI); i < rowsPerWI; ++y, ++i, src_index += src_…
|
H A D | normalize.cl | 42 int y0 = get_global_id(1) * rowsPerWI; 50 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1;
|
H A D | arithm.cl | 455 int y0 = get_global_id(1) * rowsPerWI; 466 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index +=… 486 int y0 = get_global_id(1) * rowsPerWI; 495 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, src2_index +… 511 int y0 = get_global_id(1) * rowsPerWI; 518 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index +=… 533 int y0 = get_global_id(1) * rowsPerWI; 541 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, mask_index +…
|
H A D | copymakeborder.cl | 103 int y0 = get_global_id(1) * rowsPerWI; 117 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step) 125 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1; ++y, dst_index += dst_step)
|
H A D | inrange.cl | 60 int rowsPerWI) 63 int y0 = get_global_id(1) * rowsPerWI; 74 …for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src1_index += src1_step, dst_ind…
|
H A D | transpose.cl | 124 int y = get_global_id(1) * rowsPerWI; 126 if (x < y + rowsPerWI) 133 for (int i = 0; i < rowsPerWI; ++i, ++y, src_index += src_step, dst_index += TSIZE)
|
H A D | halfconvert.cl | 63 int y0 = get_global_id(1) * rowsPerWI; 70 …for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index…
|
/dports/graphics/opencv/opencv-4.5.3/modules/stitching/src/ |
H A D | warpers.cpp | 212 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local 219 dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); in buildMaps() 221 …size_t globalsize[2] = { (size_t)dsize.width, ((size_t)dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps() 471 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local 485 … ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); in buildMaps() 487 …size_t globalsize[2] = { (size_t)dsize.width, ((size_t)dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps() 520 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local 535 rowsPerWI); in buildMaps() 537 …size_t globalsize[2] = { (size_t)dsize.width, ((size_t)dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps()
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/opencl/ |
H A D | remap.cl | 150 int y = get_global_id(1) * rowsPerWI; 161 for (int i = 0; i < rowsPerWI; ++i, ++y, 196 int y = get_global_id(1) * rowsPerWI; 205 for (int i = 0; i < rowsPerWI; ++i, ++y, 236 int y = get_global_id(1) * rowsPerWI; 245 for (int i = 0; i < rowsPerWI; ++i, ++y, 277 int y = get_global_id(1) * rowsPerWI; 287 for (int i = 0; i < rowsPerWI; ++i, ++y, 333 int y = get_global_id(1) * rowsPerWI; 397 int y = get_global_id(1) * rowsPerWI; [all …]
|
H A D | accumulate.cl | 35 int y = get_global_id(1) * rowsPerWI; 50 for (int i = 0; i < rowsPerWI; ++i)
|