Lines Matching refs:sptr
306 const uchar* sptr = planes[0].ptr(); in convert() local
312 convertTo((const uchar*)sptr, dptr, dtype, total, alpha, beta); in convert()
315 convertTo((const schar*)sptr, dptr, dtype, total, alpha, beta); in convert()
318 convertTo((const ushort*)sptr, dptr, dtype, total, alpha, beta); in convert()
321 convertTo((const short*)sptr, dptr, dtype, total, alpha, beta); in convert()
324 convertTo((const int*)sptr, dptr, dtype, total, alpha, beta); in convert()
327 convertTo((const float*)sptr, dptr, dtype, total, alpha, beta); in convert()
330 convertTo((const double*)sptr, dptr, dtype, total, alpha, beta); in convert()
366 const uchar* sptr = planes[0].ptr(); in copy() local
370 for( j = 0; j < total; j++, sptr += elemSize, dptr += elemSize ) in copy()
374 dptr[k] = sptr[k]; in copy()
453 const uchar* sptr = planes[0].ptr(); in insert() local
456 for( j = 0; j < total; j++, sptr += size0, dptr += size1 ) in insert()
459 dptr[k] = sptr[k]; in insert()
478 const uchar* sptr = planes[0].ptr() + coi*size1; in extract() local
481 for( j = 0; j < total; j++, sptr += size0, dptr += size1 ) in extract()
484 dptr[k] = sptr[k]; in extract()
498 const uchar* sptr = src.ptr(0) + i*esz; in transpose() local
501 for( j = 0; j < dst.cols; j++, sptr += src.step[0], dptr += esz ) in transpose()
504 dptr[k] = sptr[k]; in transpose()
601 const _Tp* sptr = src.ptr<_Tp>(y); in erode_() local
606 _Tp result = sptr[x + ofs[0]]; in erode_()
608 result = std::min(result, sptr[x + ofs[i]]); in erode_()
623 const _Tp* sptr = src.ptr<_Tp>(y); in dilate_() local
628 _Tp result = sptr[x + ofs[0]]; in dilate_()
630 result = std::max(result, sptr[x + ofs[i]]); in dilate_()
763 const _Tp* sptr = src.ptr<_Tp>(y); in filter2D_() local
770 s += sptr[x + ofs[i]]*coeff[i]; in filter2D_()
885 const uchar* sptr = src.ptr(i); in copyMakeBorder() local
889 if( dptr != sptr ) in copyMakeBorder()
891 dptr[j] = sptr[j]; in copyMakeBorder()
932 const uchar* sptr = src.ptr(i); in copyMakeBorder() local
936 dptr[j] = sptr[ltab[j]]; in copyMakeBorder()
937 if( dptr + left != sptr ) in copyMakeBorder()
940 dptr[j + left] = sptr[j]; in copyMakeBorder()
943 dptr[j + left + width] = sptr[rtab[j]]; in copyMakeBorder()
949 const uchar* sptr = dst.ptr(j + top); in copyMakeBorder() local
953 dptr[k] = sptr[k]; in copyMakeBorder()
959 const uchar* sptr = dst.ptr(j + top); in copyMakeBorder() local
963 dptr[k] = sptr[k]; in copyMakeBorder()
1058 const uchar* sptr = planes[0].ptr(); in minMaxLoc() local
1064 minMaxLoc_((const uchar*)sptr, total, startidx, in minMaxLoc()
1068 minMaxLoc_((const schar*)sptr, total, startidx, in minMaxLoc()
1072 minMaxLoc_((const ushort*)sptr, total, startidx, in minMaxLoc()
1076 minMaxLoc_((const short*)sptr, total, startidx, in minMaxLoc()
1080 minMaxLoc_((const int*)sptr, total, startidx, in minMaxLoc()
1084 minMaxLoc_((const float*)sptr, total, startidx, in minMaxLoc()
1088 minMaxLoc_((const double*)sptr, total, startidx, in minMaxLoc()
1285 const uchar* sptr = planes[0].ptr(); in norm() local
1291 result = norm_((const uchar*)sptr, total, cn, normType, result, mptr); in norm()
1294 result = norm_((const schar*)sptr, total, cn, normType, result, mptr); in norm()
1297 result = norm_((const ushort*)sptr, total, cn, normType, result, mptr); in norm()
1300 result = norm_((const short*)sptr, total, cn, normType, result, mptr); in norm()
1303 result = norm_((const int*)sptr, total, cn, normType, result, mptr); in norm()
1306 result = norm_((const float*)sptr, total, cn, normType, result, mptr); in norm()
1309 result = norm_((const double*)sptr, total, cn, normType, result, mptr); in norm()
1553 const uchar* sptr = planes[0].ptr(); in logicOp() local
1556 logicOpS_(sptr, (uchar*)&buf[0], dptr, total, op); in logicOp()
1695 const uchar* sptr = planes[0].ptr(); in compare() local
1701 compareS_((const uchar*)sptr, ivalue, dptr, total, cmpop); in compare()
1704 compareS_((const schar*)sptr, ivalue, dptr, total, cmpop); in compare()
1707 compareS_((const ushort*)sptr, ivalue, dptr, total, cmpop); in compare()
1710 compareS_((const short*)sptr, ivalue, dptr, total, cmpop); in compare()
1713 compareS_((const int*)sptr, ivalue, dptr, total, cmpop); in compare()
1716 compareS_((const float*)sptr, value, dptr, total, cmpop); in compare()
1719 compareS_((const double*)sptr, value, dptr, total, cmpop); in compare()
2273 transform_(const _Tp* sptr, _Tp* dptr, size_t total, int scn, int dcn, const double* mat) in transform_() argument
2275 for( size_t i = 0; i < total; i++, sptr += scn, dptr += dcn ) in transform_()
2281 s += mat[j*(scn + 1) + k]*sptr[k]; in transform_()
2335 const uchar* sptr = planes[0].ptr(); in transform() local
2341 transform_((const uchar*)sptr, (uchar*)dptr, total, scn, dcn, mat); in transform()
2344 transform_((const schar*)sptr, (schar*)dptr, total, scn, dcn, mat); in transform()
2347 transform_((const ushort*)sptr, (ushort*)dptr, total, scn, dcn, mat); in transform()
2350 transform_((const short*)sptr, (short*)dptr, total, scn, dcn, mat); in transform()
2353 transform_((const int*)sptr, (int*)dptr, total, scn, dcn, mat); in transform()
2356 transform_((const float*)sptr, (float*)dptr, total, scn, dcn, mat); in transform()
2359 transform_((const double*)sptr, (double*)dptr, total, scn, dcn, mat); in transform()
2617 const uchar* sptr = planes[0].ptr(); in mean() local
2623 mean_((const uchar*)sptr, mptr, total, cn, sum, nz); in mean()
2626 mean_((const schar*)sptr, mptr, total, cn, sum, nz); in mean()
2629 mean_((const ushort*)sptr, mptr, total, cn, sum, nz); in mean()
2632 mean_((const short*)sptr, mptr, total, cn, sum, nz); in mean()
2635 mean_((const int*)sptr, mptr, total, cn, sum, nz); in mean()
2638 mean_((const float*)sptr, mptr, total, cn, sum, nz); in mean()
2641 mean_((const double*)sptr, mptr, total, cn, sum, nz); in mean()