Home
last modified time | relevance | path

Searched refs:rowsPerWI (Results 1 – 25 of 27) sorted by relevance

12

/external/opencv3/modules/stitching/src/opencl/
Dwarpers.cl49 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,
/external/opencv3/modules/stitching/src/
Dwarpers.cpp118 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local
125 dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); in buildMaps()
127 size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps()
318 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local
332 … ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); in buildMaps()
334 size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps()
366 int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in buildMaps() local
381 rowsPerWI); in buildMaps()
383 size_t globalsize[2] = { dsize.width, (dsize.height + rowsPerWI - 1) / rowsPerWI }; in buildMaps()
/external/opencv3/modules/core/src/opencl/
Dsplit_merge.cl55 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)
Dcopyset.cl120 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)
Dconvert.cl56 WT alpha, WT beta, int rowsPerWI)
59 int y0 = get_global_id(1) * rowsPerWI;
66 …for (int y = y0, y1 = min(dst_rows, y0 + rowsPerWI); y < y1; ++y, src_index += src_step, dst_index…
Drepeat.cl22 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…
Dmulspectrums.cl59 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,
Dmixchannels.cl58 …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)
Dset_identity.cl60 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_…
Darithm.cl408 int y0 = get_global_id(1) * rowsPerWI;
419 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, dst_index +=…
439 int y0 = get_global_id(1) * rowsPerWI;
448 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, src2_index +…
464 int y0 = get_global_id(1) * rowsPerWI;
471 …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;
494 …for (int y = y0, y1 = min(rows, y0 + rowsPerWI); y < y1; ++y, src1_index += srcstep1, mask_index +…
Dnormalize.cl42 int y0 = get_global_id(1) * rowsPerWI;
50 for (int y = y0, y1 = min(y0 + rowsPerWI, dst_rows); y < y1;
Dcopymakeborder.cl103 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)
Dinrange.cl60 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…
Dtranspose.cl124 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)
/external/opencv3/modules/imgproc/src/opencl/
Dremap.cl150 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;
343 for (int i = 0; i < rowsPerWI; ++i, ++y,
[all …]
Daccumulate.cl35 int y = get_global_id(1) * rowsPerWI;
50 for (int i = 0; i < rowsPerWI; ++i)
Dwarp_affine.cl95 int dy0 = get_global_id(1) * rowsPerWI;
105 … for (int dy = dy0, dy1 = min(dst_rows, dy0 + rowsPerWI); dy < dy1; ++dy, dst_index += dst_step)
139 int dy0 = get_global_id(1) * rowsPerWI;
147 for (int dy = dy0, dy1 = min(dst_rows, dy0 + rowsPerWI); dy < dy1; ++dy)
/external/opencv3/modules/core/src/
Dmathfuncs.cpp74 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_math_op() local
78 oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, in ocl_math_op()
96 size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_math_op()
304 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_cartToPolar() local
315 depth, rowsPerWI, angleInDegrees ? "AD" : "AR", in ocl_cartToPolar()
333 size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_cartToPolar()
590 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_polarToCart() local
598 ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), rowsPerWI, in ocl_polarToCart()
615 size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_polarToCart()
1295 rowsPerWI = d.isIntel() ? 4 : 1; in ocl_pow() local
[all …]
Dumatrix.cpp732 int wdepth = std::max(CV_32F, sdepth), rowsPerWI = 4; in convertTo() local
752 k.args(srcarg, dstarg, alphaf, betaf, rowsPerWI); in convertTo()
754 k.args(srcarg, dstarg, alpha, beta, rowsPerWI); in convertTo()
756 size_t globalsize[2] = { dst.cols * cn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; in convertTo()
786 … int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in setTo() local
788 ocl::memopTypeToStr(kertp), rowsPerWI, in setTo()
812 size_t globalsize[] = { cols * cn / kercn, (rows + rowsPerWI - 1) / rowsPerWI }; in setTo()
Dcopy.cpp849 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1, in ocl_repeat() local
855 nx, ny, rowsPerWI, kercn)); in ocl_repeat()
862 size_t globalsize[] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_repeat()
1088 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_copyMakeBorder() local
1103 ocl::memopTypeToStr(sctype), rowsPerWI); in ocl_copyMakeBorder()
1139 size_t globalsize[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_copyMakeBorder()
Dconvert.cpp874 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_split() local
903 k.set(argidx, rowsPerWI); in ocl_split()
905 size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; in ocl_split()
1025 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_merge() local
1070 k.set(argidx, rowsPerWI); in ocl_merge()
1072 size_t globalsize[2] = { dst.cols, (dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_merge()
1291 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_mixChannels() local
1339 k.set(argindex, rowsPerWI); in ocl_mixChannels()
1341 size_t globalsize[2] = { size.width, (size.height + rowsPerWI - 1) / rowsPerWI }; in ocl_mixChannels()
5502 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_convertScaleAbs() local
[all …]
Darithm.cpp1454 int rowsPerWI = d.isIntel() ? 4 : 1; in ocl_binary_op() local
1464 kercn, rowsPerWI); in ocl_binary_op()
1507 size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_binary_op()
1828 int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = d.isIntel() ? 4 : 1; in ocl_arithm_op() local
1844 doubleSupport ? " -D DOUBLE_SUPPORT" : "", kercn, rowsPerWI, in ocl_arithm_op()
1920 size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_arithm_op()
4902 …int kercn = haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst), rowsPerWI = dev.… in ocl_compare() local
4920 ocl::typeToStr(CV_MAKE_TYPE(depth1, scalarcn)), rowsPerWI, in ocl_compare()
4977 size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_compare()
5569 int cn = CV_MAT_CN(stype), rowsPerWI = d.isIntel() ? 4 : 1; in ocl_inRange() local
[all …]
Dmatrix.cpp2812 … int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), kercn = cn, rowsPerWI = 1; in ocl_setIdentity() local
2816 rowsPerWI = 4; in ocl_setIdentity()
2830 kercn, rowsPerWI)); in ocl_setIdentity()
2838 size_t globalsize[2] = { m.cols * cn / kercn, (m.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_setIdentity()
3042 rowsPerWI = dev.isIntel() ? 4 : 1; in ocl_transpose() local
3067 cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : "")); in ocl_transpose()
3078 …size_t globalsize[2] = { src.cols, inplace ? (src.rows + rowsPerWI - 1) / rowsPerWI : (divUp(src.r… in ocl_transpose()
Ddxt.cpp2917 rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; in ocl_mulSpectrums() local
2937 ocl::KernelArg::WriteOnly(dst), rowsPerWI); in ocl_mulSpectrums()
2939 size_t globalsize[2] = { asize.width, (asize.height + rowsPerWI - 1) / rowsPerWI }; in ocl_mulSpectrums()
/external/opencv3/modules/imgproc/src/
Daccum.cpp799 …int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.… in ocl_accumulate() local
812 doubleSupport ? " -D DOUBLE_SUPPORT" : "", rowsPerWI, in ocl_accumulate()
838 size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; in ocl_accumulate()

12