total 474 3rdparty/libjasper/jas_cm.c int total; total 521 3rdparty/libjasper/jas_cm.c total = width * height; total 523 3rdparty/libjasper/jas_cm.c while (n < total) { total 526 3rdparty/libjasper/jas_cm.c m = JAS_MIN(total - n, bufmax); total 511 3rdparty/libjpeg/jquant2.c long total = 0; total 525 3rdparty/libjpeg/jquant2.c total += count; total 533 3rdparty/libjpeg/jquant2.c cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); total 534 3rdparty/libjpeg/jquant2.c cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); total 535 3rdparty/libjpeg/jquant2.c cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); total 760 3rdparty/libwebp/demux/demux.c int total; total 762 3rdparty/libwebp/demux/demux.c for (total = 0; f != NULL && f->frame_num_ == this_frame; f = f->next_) { total 763 3rdparty/libwebp/demux/demux.c if (++total == fragment_num) fragment = f; total 765 3rdparty/libwebp/demux/demux.c *count = total; total 70 3rdparty/libwebp/enc/frame.c static int CalcSkipProba(uint64_t nb, uint64_t total) { total 71 3rdparty/libwebp/enc/frame.c return (int)(total ? (total - nb) * 255 / total : 255); total 170 3rdparty/libwebp/enc/frame.c static int CalcTokenProba(int nb, int total) { total 171 3rdparty/libwebp/enc/frame.c assert(nb <= total); total 172 3rdparty/libwebp/enc/frame.c return nb ? (255 - nb * 255 / total) : 255; total 176 3rdparty/libwebp/enc/frame.c static int BranchCost(int nb, int total, int proba) { total 177 3rdparty/libwebp/enc/frame.c return nb * VP8BitCost(1, proba) + (total - nb) * VP8BitCost(0, proba); total 190 3rdparty/libwebp/enc/frame.c const int total = (stats >> 16) & 0xffff; total 193 3rdparty/libwebp/enc/frame.c const int new_p = CalcTokenProba(nb, total); total 194 3rdparty/libwebp/enc/frame.c const int old_cost = BranchCost(nb, total, old_p) total 196 3rdparty/libwebp/enc/frame.c const int new_cost = BranchCost(nb, total, new_p) total 220 3rdparty/libwebp/enc/frame.c const int total = a + b; total 221 3rdparty/libwebp/enc/frame.c return (total == 0) ? 255 // that's the default probability. total 222 3rdparty/libwebp/enc/frame.c : (255 * a + total / 2) / total; // rounded proba total 111 3rdparty/zlib/inflate.c strm->total_in = strm->total_out = state->total = 0; total 1179 3rdparty/zlib/inflate.c state->total += out; total 1201 3rdparty/zlib/inflate.c if (hold != (state->total & 0xffffffffUL)) { total 1242 3rdparty/zlib/inflate.c state->total += out; total 89 3rdparty/zlib/inflate.h unsigned long total; /* protected copy of output count */ total 222 apps/createsamples/createsamples.cpp int total; total 226 apps/createsamples/createsamples.cpp total = cvCreateTrainingSamplesFromInfo( infoname, vecname, num, showsamples, total 229 apps/createsamples/createsamples.cpp printf( "Done. Created %d samples\n", total ); total 1433 apps/createsamples/utility.cpp int total; total 1438 apps/createsamples/utility.cpp total = 0; total 1446 apps/createsamples/utility.cpp return total; total 1457 apps/createsamples/utility.cpp return total; total 1470 apps/createsamples/utility.cpp return total; total 1497 apps/createsamples/utility.cpp for( line = 1, error = 0, total = 0; total < num ;line++ ) total 1515 apps/createsamples/utility.cpp for( i = 0; (i < count) && (total < num); i++, total++ ) total 1558 apps/createsamples/utility.cpp return total; total 1389 apps/traincascade/boost.cpp while( !isErrDesired() && (weak->total < params.weak_count) ); total 1391 apps/traincascade/boost.cpp if(weak->total > 0) total 1410 apps/traincascade/boost.cpp for( int i = 0; i < weak->total; i++ ) total 1703 apps/traincascade/boost.cpp cout << "|"; cout.width(4); cout << right << weak->total; total 1716 apps/traincascade/boost.cpp fs << CC_WEAK_COUNT << weak->total; total 1719 apps/traincascade/boost.cpp for( int wi = 0; wi < weak->total; wi++) total 1754 apps/traincascade/boost.cpp for( int wi = 0; wi < weak->total; wi++ ) total 458 apps/traincascade/cascadeclassifier.cpp for( int wi = 0; wi < weak->total; wi++ ) total 281 apps/traincascade/old_ml.hpp int total; total 915 apps/traincascade/old_ml_boost.cpp if( weak && weak->total > 0 ) total 1081 apps/traincascade/old_ml_boost.cpp if(weak->total > 0) total 1502 apps/traincascade/old_ml_boost.cpp for( i = 0; i < weak->total; i++ ) total 1557 apps/traincascade/old_ml_boost.cpp for( i = 0; i < weak->total; i++ ) total 1635 apps/traincascade/old_ml_boost.cpp if( weak_count >= weak->total ) total 1637 apps/traincascade/old_ml_boost.cpp weak_count = weak->total; total 1911 apps/traincascade/old_ml_boost.cpp cvWriteInt( fs, "ntrees", weak->total ); total 2004 apps/traincascade/old_ml_boost.cpp ntrees = trees_fnode->data.seq->total; total 2046 apps/traincascade/old_ml_boost.cpp for( i = 0; i < weak->total; i++ ) total 247 apps/traincascade/old_ml_data.cpp values = cvCreateMat( seq->total, cols_count, CV_32FC1 ); total 248 apps/traincascade/old_ml_data.cpp missing = cvCreateMat( seq->total, cols_count, CV_8U ); total 251 apps/traincascade/old_ml_data.cpp train_sample_count = seq->total; total 254 apps/traincascade/old_ml_data.cpp for(int i = 0; i < seq->total; i++ ) total 100 apps/traincascade/old_ml_inner_functions.cpp if( root->data.seq->total > 0 ) total 910 apps/traincascade/old_ml_tree.cpp int i, vi, total = sample_count, count = total, cur_ofs = 0; total 925 apps/traincascade/old_ml_tree.cpp for( i = 0; i < total; i++ ) total 1431 apps/traincascade/old_ml_tree.cpp vartype_node->data.seq->total != var_count ) total 3973 apps/traincascade/old_ml_tree.cpp for( i = 0; i < reader.seq->total; i++ ) total 4055 apps/traincascade/old_ml_tree.cpp for( i = 0; i < reader.seq->total; i++ ) total 4088 apps/traincascade/old_ml_tree.cpp for( i = 0; i < reader.seq->total; i++ ) total 474 modules/calib3d/src/calibinit.cpp int total = 0; total 481 modules/calib3d/src/calibinit.cpp total += ni; total 483 modules/calib3d/src/calibinit.cpp prev_sqr_size = cvRound(sum_dist/MAX(total, 1)); total 660 modules/calib3d/src/calibinit.cpp while( stack->total ) total 1226 modules/calib3d/src/calibinit.cpp while( stack->total ) total 1697 modules/calib3d/src/calibinit.cpp if( dst_contour->total == 4 ) total 1705 modules/calib3d/src/calibinit.cpp if( dst_contour->total == 4 ) total 1710 modules/calib3d/src/calibinit.cpp if( dst_contour->total == 4 && cvCheckContourConvexity(dst_contour) ) total 1757 modules/calib3d/src/calibinit.cpp *out_quads = (CvCBQuad*)cvAlloc((root->total+root->total / 2) * sizeof((*out_quads)[0])); total 1758 modules/calib3d/src/calibinit.cpp *out_corners = (CvCBCorner*)cvAlloc((root->total+root->total / 2) * 4 * sizeof((*out_corners)[0])); total 1761 modules/calib3d/src/calibinit.cpp for( idx = 0; idx < root->total; idx++ ) total 1771 modules/calib3d/src/calibinit.cpp assert( src_contour->total == 4 ); total 557 modules/calib3d/src/calibration.cpp int total = objectPoints->rows * objectPoints->cols * CV_MAT_CN(objectPoints->type); total 558 modules/calib3d/src/calibration.cpp if(total % 3 != 0) total 563 modules/calib3d/src/calibration.cpp count = total / 3; total 1241 modules/calib3d/src/calibration.cpp int i, nimages, maxPoints = 0, ni = 0, pos, total = 0, nparams, npstep, cn; total 1310 modules/calib3d/src/calibration.cpp total += ni; total 1313 modules/calib3d/src/calibration.cpp matM.reset(cvCreateMat( 1, total, CV_64FC3 )); total 1314 modules/calib3d/src/calibration.cpp _m.reset(cvCreateMat( 1, total, CV_64FC2 )); total 1370 modules/calib3d/src/calibration.cpp for( i = 0; i < total; i++ ) total 1561 modules/calib3d/src/calibration.cpp return std::sqrt(reprojErr/total); total 2970 modules/calib3d/src/calibration.cpp int nimages = (int)objectPoints.total(); total 2971 modules/calib3d/src/calibration.cpp int i, j = 0, ni = 0, total = 0; total 2972 modules/calib3d/src/calibration.cpp CV_Assert(nimages > 0 && nimages == (int)imagePoints1.total() && total 2973 modules/calib3d/src/calibration.cpp (!imgPtMat2 || nimages == (int)imagePoints2.total())); total 2985 modules/calib3d/src/calibration.cpp total += ni; total 2989 modules/calib3d/src/calibration.cpp objPtMat.create(1, (int)total, CV_32FC3); total 2990 modules/calib3d/src/calibration.cpp imgPtMat1.create(1, (int)total, CV_32FC2); total 2995 modules/calib3d/src/calibration.cpp imgPtMat2->create(1, (int)total, CV_32FC2); total 3229 modules/calib3d/src/calibration.cpp size_t nimages = _objectPoints.total(); total 3500 modules/calib3d/src/calibration.cpp size_t n1 = _imgpt1_0.total(), n3 = _imgpt3_0.total(); total 74 modules/calib3d/src/fisheye.cpp size_t n = objectPoints.total(); total 76 modules/calib3d/src/fisheye.cpp CV_Assert(_rvec.total() * _rvec.channels() == 3 && (_rvec.depth() == CV_32F || _rvec.depth() == CV_64F)); total 77 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); total 83 modules/calib3d/src/fisheye.cpp CV_Assert(_K.size() == Size(3,3) && (_K.type() == CV_32F || _K.type() == CV_64F) && _D.type() == _K.type() && _D.total() == 4); total 255 modules/calib3d/src/fisheye.cpp size_t n = undistorted.total(); total 257 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3,3) && (K.type() == CV_32F || K.type() == CV_64F) && D.total() == 4); total 319 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); total 320 modules/calib3d/src/fisheye.cpp CV_Assert(D.total() == 4 && K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); total 339 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) total 361 modules/calib3d/src/fisheye.cpp size_t n = distorted.total(); total 410 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3, 3) && (D.empty() || D.total() == 4)); total 411 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); total 433 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) total 515 modules/calib3d/src/fisheye.cpp CV_Assert((D.empty() || D.total() == 4) && (D.depth() == CV_32F || D.depth() == CV_64F || D.empty())); total 550 modules/calib3d/src/fisheye.cpp for(size_t i = 0; i < points.total(); ++i) total 554 modules/calib3d/src/fisheye.cpp for(size_t i = 0; i < points.total(); ++i) total 564 modules/calib3d/src/fisheye.cpp for(size_t i = 0; i < points.total(); ++i) total 612 modules/calib3d/src/fisheye.cpp CV_Assert((_R.size() == Size(3, 3) || _R.total() * _R.channels() == 3) && (_R.depth() == CV_32F || _R.depth() == CV_64F)); total 613 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); total 625 modules/calib3d/src/fisheye.cpp else if (_R.total() * _R.channels() == 3) total 694 modules/calib3d/src/fisheye.cpp CV_Assert(!objectPoints.empty() && !imagePoints.empty() && objectPoints.total() == imagePoints.total()); total 698 modules/calib3d/src/fisheye.cpp CV_Assert((!D.empty() && D.total() == 4) || D.empty()); total 750 modules/calib3d/src/fisheye.cpp std::vector<Vec3d> omc(objectPoints.total()), Tc(objectPoints.total()); total 800 modules/calib3d/src/fisheye.cpp for( i = 0; i < (int)objectPoints.total(); i++ ) total 823 modules/calib3d/src/fisheye.cpp CV_Assert(objectPoints.total() == imagePoints1.total() || imagePoints1.total() == imagePoints2.total()); total 829 modules/calib3d/src/fisheye.cpp CV_Assert((!D1.empty() && D1.total() == 4) || D1.empty()); total 831 modules/calib3d/src/fisheye.cpp CV_Assert((!D2.empty() && D1.total() == 4) || D2.empty()); total 841 modules/calib3d/src/fisheye.cpp int n_points = (int)objectPoints.getMat(0).total(); total 842 modules/calib3d/src/fisheye.cpp int n_images = (int)objectPoints.total(); total 1025 modules/calib3d/src/fisheye.cpp for (size_t i = 0; i < e.total() / 2; i++) total 1030 modules/calib3d/src/fisheye.cpp rms /= ((double)e.total() / 2.0); total 1185 modules/calib3d/src/fisheye.cpp solve(J, ex.reshape(1, (int)ex.total()), param_innov, DECOMP_SVD + DECOMP_NORMAL); total 1301 modules/calib3d/src/fisheye.cpp Mat distorted((int)imagePoints.total(), 1, CV_64FC2), undistorted; total 1304 modules/calib3d/src/fisheye.cpp for (size_t i = 0; i < imagePoints.total(); ++i) total 1360 modules/calib3d/src/fisheye.cpp if (omc.empty()) omc.create(1, (int)objectPoints.total(), CV_64FC3); total 1361 modules/calib3d/src/fisheye.cpp if (Tc.empty()) Tc.create(1, (int)objectPoints.total(), CV_64FC3); total 1365 modules/calib3d/src/fisheye.cpp for(int image_idx = 0; image_idx < (int)imagePoints.total(); ++image_idx) total 1379 modules/calib3d/src/fisheye.cpp CV_Assert(svd.w.at<double>(0) / svd.w.at<double>((int)svd.w.total() - 1) < thresh_cond); total 1397 modules/calib3d/src/fisheye.cpp int n = (int)objectPoints.total(); total 1462 modules/calib3d/src/fisheye.cpp Mat ex((int)(objectPoints.getMat(0).total() * objectPoints.total()), 1, CV_64FC2); total 1464 modules/calib3d/src/fisheye.cpp for (int image_idx = 0; image_idx < (int)objectPoints.total(); ++image_idx) total 1479 modules/calib3d/src/fisheye.cpp std_err *= sqrt((double)ex.total()/((double)ex.total() - 1.0)); total 1483 modules/calib3d/src/fisheye.cpp sigma_x *= sqrt(2.0 * (double)ex.total()/(2.0 * (double)ex.total() - 1.0)); total 1498 modules/calib3d/src/fisheye.cpp for (size_t i = 0; i < ex.total(); i++) total 1503 modules/calib3d/src/fisheye.cpp rms /= (double)ex.total(); total 1615 modules/calib3d/src/fisheye.cpp if ((int)tmp.total() % 2) return tmp.at<double>((int)tmp.total() / 2); total 1616 modules/calib3d/src/fisheye.cpp else return 0.5 *(tmp.at<double>((int)tmp.total() / 2) + tmp.at<double>((int)tmp.total() / 2 - 1)); total 43 modules/calib3d/src/five-point.cpp Mat Q1 = q1.reshape(1, (int)q1.total()); total 44 modules/calib3d/src/five-point.cpp Mat Q2 = q2.reshape(1, (int)q2.total()); total 766 modules/calib3d/src/fundam.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == npoints ); total 95 modules/calib3d/src/ptsetreg.cpp int i, n = (int)err.total(), nz = 0; total 190 modules/calib3d/src/ptsetreg.cpp CV_Assert( (bestMask.cols == 1 || bestMask.rows == 1) && (int)bestMask.total() == count ); total 302 modules/calib3d/src/ptsetreg.cpp CV_Assert( (mask.cols == 1 || mask.rows == 1) && (int)mask.total() == count ); total 346 modules/calib3d/src/ptsetreg.cpp CV_Assert( errf.isContinuous() && errf.type() == CV_32F && (int)errf.total() == count ); total 800 modules/calib3d/src/rho.cpp size_t total = 0; total 802 modules/calib3d/src/rho.cpp size_t v ## _of = total; \ total 803 modules/calib3d/src/rho.cpp total = alignSize(v ## _of + v ## _sz, MEM_ALIGN) total 816 modules/calib3d/src/rho.cpp mem.perObj.create(1, (int)(total + MEM_ALIGN), CV_8UC1); total 845 modules/calib3d/src/rho.cpp size_t total = 0; total 847 modules/calib3d/src/rho.cpp size_t v ## _of = total; \ total 848 modules/calib3d/src/rho.cpp total = alignSize(v ## _of + v ## _sz, MEM_ALIGN) total 856 modules/calib3d/src/rho.cpp mem.perRun.create(1, (int)(total + MEM_ALIGN), CV_8UC1); total 400 modules/calib3d/src/triangulate.cpp points1 = points1.reshape(1, static_cast<int>(points1.total())).t(); total 403 modules/calib3d/src/triangulate.cpp points2 = points2.reshape(1, static_cast<int>(points2.total())).t(); total 690 modules/calib3d/test/test_cameracalibration.cpp int i, total = 0; total 692 modules/calib3d/test/test_cameracalibration.cpp total += pointCounts[i]; total 694 modules/calib3d/test/test_cameracalibration.cpp CvMat _objectPoints = cvMat(1, total, CV_64FC3, objectPoints); total 695 modules/calib3d/test/test_cameracalibration.cpp CvMat _imagePoints = cvMat(1, total, CV_64FC2, imagePoints); total 1427 modules/calib3d/test/test_cameracalibration.cpp int total = 0; total 1450 modules/calib3d/test/test_cameracalibration.cpp total += (int)imgpt1[i].size(); total 1593 modules/calib3d/test/test_cameracalibration.cpp Mat _imgpt1( total, 1, CV_32FC2 ), _imgpt2( total, 1, CV_32FC2 ); total 1708 modules/calib3d/test/test_cameracalibration.cpp int nimages = (int)objectPoints.size(), total = 0; total 1711 modules/calib3d/test/test_cameracalibration.cpp total += (int)objectPoints[i].size(); total 1715 modules/calib3d/test/test_cameracalibration.cpp objPt( 1, total, DataType<Point3f>::type ), total 1716 modules/calib3d/test/test_cameracalibration.cpp imgPt( 1, total, DataType<Point2f>::type ), total 1717 modules/calib3d/test/test_cameracalibration.cpp imgPt2( 1, total, DataType<Point2f>::type ); total 84 modules/calib3d/test/test_chesscorners_timing.cpp board_list->data.seq->total % 4 != 0 ) total 91 modules/calib3d/test/test_chesscorners_timing.cpp max_idx = board_list->data.seq->total/4; total 91 modules/calib3d/test/test_fisheye.cpp for(int i = 0; i < (int)distorted0.total(); ++i) total 326 modules/calib3d/test/test_fisheye.cpp std_err *= sqrt((double)merr.reshape(2).total() / (merr.reshape(2).total() - 1)); total 1686 modules/core/include/opencv2/core/core_c.h int elem_size, void* elements, int total, total 2965 modules/core/include/opencv2/core/core_c.h { return seq ? seq->total : 0; } total 3007 modules/core/include/opencv2/core/core_c.h { return !seq || seq->total == 0; } total 3041 modules/core/include/opencv2/core/core_c.h size_t len = !seq ? 0 : range == Range::all() ? seq->total : range.end - range.start; total 3060 modules/core/include/opencv2/core/core_c.h index = seekEnd ? _seq.seq->total : 0; total 3081 modules/core/include/opencv2/core/core_c.h if( ++index >= seq->total*2 ) total 3097 modules/core/include/opencv2/core/core_c.h index = seq->total*2-1; total 3112 modules/core/include/opencv2/core/core_c.h int n = seq->total*2; total 3128 modules/core/include/opencv2/core/core_c.h ptrdiff_t delta = a.index - b.index, n = a.seq->total; total 94 modules/core/include/opencv2/core/cuda/common.hpp __host__ __device__ __forceinline__ int divUp(int total, int grain) total 96 modules/core/include/opencv2/core/cuda/common.hpp return (total + grain - 1) / grain; total 209 modules/core/include/opencv2/core/mat.hpp size_t total(int i=-1) const; total 1622 modules/core/include/opencv2/core/mat.hpp size_t total() const; total 2273 modules/core/include/opencv2/core/mat.hpp size_t total() const; total 743 modules/core/include/opencv2/core/mat.inl.hpp return data == 0 || total() == 0; total 1007 modules/core/include/opencv2/core/mat.inl.hpp it += total(); total 1023 modules/core/include/opencv2/core/mat.inl.hpp it += total(); total 2151 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; total 2164 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; total 2178 modules/core/include/opencv2/core/mat.inl.hpp sliceEnd = sliceStart + m->total()*elemSize; total 3385 modules/core/include/opencv2/core/mat.inl.hpp return u == 0 || total() == 0; total 1241 modules/core/include/opencv2/core/types_c.h int total; /**< Total number of elements. */ \ total 400 modules/core/include/opencv2/core/utility.hpp CV_Assert(this->total() / this->size[this->dims - 1] <= INT_MAX); total 401 modules/core/include/opencv2/core/utility.hpp const int LINES = static_cast<int>(this->total() / this->size[this->dims - 1]); total 63 modules/core/misc/java/src/java/core+MatOfDMatch.java int num = (int) total(); total 65 modules/core/misc/java/src/java/core+MatOfKeyPoint.java int num = (int) total(); total 58 modules/core/misc/java/src/java/core+MatOfPoint.java int num = (int) total(); total 58 modules/core/misc/java/src/java/core+MatOfPoint2f.java int num = (int) total(); total 59 modules/core/misc/java/src/java/core+MatOfPoint3.java int num = (int) total(); total 59 modules/core/misc/java/src/java/core+MatOfPoint3f.java int num = (int) total(); total 62 modules/core/misc/java/src/java/core+MatOfRect.java int num = (int) total(); total 226 modules/core/misc/java/test/CoreTest.java int expected = (int) (grayRnd.total() - Core.countNonZero(grayRnd)); total 449 modules/core/misc/java/test/CoreTest.java assertTrue(gray0.total() > Core.countNonZero(gray0)); total 462 modules/core/misc/java/test/CoreTest.java assertTrue(gray0.total() > Core.countNonZero(gray0)); total 1815 modules/core/misc/java/test/CoreTest.java assertTrue(submat.total() == Core.countNonZero(submat)); total 1821 modules/core/misc/java/test/CoreTest.java assertTrue(submat.total() == Core.countNonZero(submat)); total 1970 modules/core/misc/java/test/CoreTest.java assertTrue(subdst.total() == Core.countNonZero(subdst)); total 976 modules/core/misc/java/test/MatTest.java assertEquals(nElements, gray0.total()); total 122 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); total 123 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; total 149 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); total 150 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; total 176 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); total 177 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; total 1410 modules/core/src/arithm.cpp int scn = (int)sc.total(), cn = CV_MAT_CN(buftype); total 1624 modules/core/src/arithm.cpp size_t total = it.size, blocksize = total; total 1638 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 1640 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 1660 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); total 1670 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 1672 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 2079 modules/core/src/arithm.cpp size_t total = it.size, blocksize = total; total 2098 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 2100 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 2146 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); total 2163 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 2165 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 5043 modules/core/src/arithm.cpp size_t total = it.size; total 5046 modules/core/src/arithm.cpp func( ptrs[0], 0, ptrs[1], 0, ptrs[2], 0, Size((int)total, 1), &op ); total 5054 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); total 5095 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 5097 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 5725 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); total 5764 modules/core/src/arithm.cpp for( size_t j = 0; j < total; j += blocksize ) total 5766 modules/core/src/arithm.cpp int bsz = (int)MIN(total - j, blocksize); total 848 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); total 852 modules/core/src/convert.cpp for( int j = 0; j < total; j += blocksize ) total 854 modules/core/src/convert.cpp int bsz = std::min(total - j, blocksize); total 857 modules/core/src/convert.cpp if( j + blocksize < total ) total 994 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); total 999 modules/core/src/convert.cpp for( int j = 0; j < total; j += blocksize ) total 1001 modules/core/src/convert.cpp int bsz = std::min(total - j, blocksize); total 1004 modules/core/src/convert.cpp if( j + blocksize < total ) total 1224 modules/core/src/convert.cpp int total = (int)it.size, blocksize = std::min(total, (int)((BLOCK_SIZE + esz1-1)/esz1)); total 1235 modules/core/src/convert.cpp for( int t = 0; t < total; t += blocksize ) total 1237 modules/core/src/convert.cpp int bsz = std::min(total - t, blocksize); total 1240 modules/core/src/convert.cpp if( t + blocksize < total ) total 1365 modules/core/src/convert.cpp int nsrc = src_is_mat ? 1 : (int)src.total(); total 1366 modules/core/src/convert.cpp int ndst = dst_is_mat ? 1 : (int)dst.total(); total 1394 modules/core/src/convert.cpp int nsrc = src_is_mat ? 1 : (int)src.total(); total 1395 modules/core/src/convert.cpp int ndst = dst_is_mat ? 1 : (int)dst.total(); total 5916 modules/core/src/convert.cpp _lut.total() == 256 && _lut.isContinuous() && total 5958 modules/core/src/convert.cpp if (dst.total()>>18) total 5959 modules/core/src/convert.cpp parallel_for_(all, *body, (double)std::max((size_t)1, dst.total()>>16)); total 345 modules/core/src/copy.cpp if( total() != 0 ) total 415 modules/core/src/copy.cpp roisize.width = (int)total(); total 494 modules/core/src/copy.cpp roisize.width = (int)total(); total 65 modules/core/src/cuda_host_mem.cpp size_t total = CV_ELEM_SIZE(type); total 72 modules/core/src/cuda_host_mem.cpp CV_Assert(total <= step[i]); total 73 modules/core/src/cuda_host_mem.cpp total = step[i]; total 77 modules/core/src/cuda_host_mem.cpp step[i] = total; total 81 modules/core/src/cuda_host_mem.cpp total *= sizes[i]; total 85 modules/core/src/cuda_host_mem.cpp u->size = total; total 95 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostAlloc(&ptr, total, flags_) ); total 444 modules/core/src/datastructs.cpp int count, total = seq->total; total 446 modules/core/src/datastructs.cpp if( (unsigned)index >= (unsigned)total ) total 448 modules/core/src/datastructs.cpp index += index < 0 ? total : 0; total 449 modules/core/src/datastructs.cpp index -= index >= total ? total : 0; total 450 modules/core/src/datastructs.cpp if( (unsigned)index >= (unsigned)total ) total 455 modules/core/src/datastructs.cpp if( index + index <= total ) total 468 modules/core/src/datastructs.cpp total -= block->count; total 470 modules/core/src/datastructs.cpp while( index < total ); total 471 modules/core/src/datastructs.cpp index -= total; total 519 modules/core/src/datastructs.cpp int total = seq->total; total 525 modules/core/src/datastructs.cpp slice.start_index += total; total 527 modules/core/src/datastructs.cpp slice.end_index += total; total 533 modules/core/src/datastructs.cpp length += total; total 534 modules/core/src/datastructs.cpp if( length > total ) total 535 modules/core/src/datastructs.cpp length = total; total 545 modules/core/src/datastructs.cpp int elem_size, total; total 553 modules/core/src/datastructs.cpp total = cvSliceLength( slice, seq )*elem_size; total 555 modules/core/src/datastructs.cpp if( total == 0 ) total 564 modules/core/src/datastructs.cpp if( count > total ) total 565 modules/core/src/datastructs.cpp count = total; total 572 modules/core/src/datastructs.cpp total -= count; total 574 modules/core/src/datastructs.cpp while( total > 0 ); total 584 modules/core/src/datastructs.cpp void *array, int total, CvSeq *seq, CvSeqBlock * block ) total 588 modules/core/src/datastructs.cpp if( elem_size <= 0 || header_size < (int)sizeof( CvSeq ) || total < 0 ) total 591 modules/core/src/datastructs.cpp if( !seq || ((!array || !block) && total > 0) ) total 609 modules/core/src/datastructs.cpp seq->total = total; total 610 modules/core/src/datastructs.cpp seq->block_max = seq->ptr = (schar *) array + total * elem_size; total 612 modules/core/src/datastructs.cpp if( total > 0 ) total 617 modules/core/src/datastructs.cpp block->count = total; total 645 modules/core/src/datastructs.cpp if( seq->total >= delta_elems*4 ) total 768 modules/core/src/datastructs.cpp seq->total = 0; total 856 modules/core/src/datastructs.cpp int total = 0; total 865 modules/core/src/datastructs.cpp total += block->count; total 870 modules/core/src/datastructs.cpp writer->seq->total = total; total 1041 modules/core/src/datastructs.cpp int elem_size, count, total; total 1046 modules/core/src/datastructs.cpp total = reader->seq->total; total 1053 modules/core/src/datastructs.cpp if( index < -total ) total 1055 modules/core/src/datastructs.cpp index += total; total 1057 modules/core/src/datastructs.cpp else if( index >= total ) total 1059 modules/core/src/datastructs.cpp index -= total; total 1060 modules/core/src/datastructs.cpp if( index >= total ) total 1067 modules/core/src/datastructs.cpp if( index + index <= total ) total 1081 modules/core/src/datastructs.cpp total -= block->count; total 1083 modules/core/src/datastructs.cpp while( index < total ); total 1084 modules/core/src/datastructs.cpp index -= total; total 1153 modules/core/src/datastructs.cpp seq->total++; total 1169 modules/core/src/datastructs.cpp if( seq->total <= 0 ) total 1178 modules/core/src/datastructs.cpp seq->total--; total 1216 modules/core/src/datastructs.cpp seq->total++; total 1231 modules/core/src/datastructs.cpp if( seq->total <= 0 ) total 1241 modules/core/src/datastructs.cpp seq->total--; total 1255 modules/core/src/datastructs.cpp int total; total 1261 modules/core/src/datastructs.cpp total = seq->total; total 1262 modules/core/src/datastructs.cpp before_index += before_index < 0 ? total : 0; total 1263 modules/core/src/datastructs.cpp before_index -= before_index > total ? total : 0; total 1265 modules/core/src/datastructs.cpp if( (unsigned)before_index > (unsigned)total ) total 1268 modules/core/src/datastructs.cpp if( before_index == total ) total 1280 modules/core/src/datastructs.cpp if( before_index >= total >> 1 ) total 1358 modules/core/src/datastructs.cpp seq->total = total + 1; total 1374 modules/core/src/datastructs.cpp int total, front = 0; total 1379 modules/core/src/datastructs.cpp total = seq->total; total 1381 modules/core/src/datastructs.cpp index += index < 0 ? total : 0; total 1382 modules/core/src/datastructs.cpp index -= index >= total ? total : 0; total 1384 modules/core/src/datastructs.cpp if( (unsigned) index >= (unsigned) total ) total 1387 modules/core/src/datastructs.cpp if( index == total - 1 ) total 1405 modules/core/src/datastructs.cpp front = index < total >> 1; total 1444 modules/core/src/datastructs.cpp seq->total = total - 1; total 1474 modules/core/src/datastructs.cpp seq->total += delta; total 1509 modules/core/src/datastructs.cpp seq->total += delta; total 1531 modules/core/src/datastructs.cpp count = MIN( count, seq->total ); total 1546 modules/core/src/datastructs.cpp seq->total -= delta; total 1571 modules/core/src/datastructs.cpp seq->total -= delta; total 1596 modules/core/src/datastructs.cpp cvSeqPopMulti( seq, 0, seq->total ); total 1621 modules/core/src/datastructs.cpp slice.start_index += seq->total; total 1622 modules/core/src/datastructs.cpp else if( slice.start_index >= seq->total ) total 1623 modules/core/src/datastructs.cpp slice.start_index -= seq->total; total 1624 modules/core/src/datastructs.cpp if( (unsigned)length > (unsigned)seq->total || total 1625 modules/core/src/datastructs.cpp ((unsigned)slice.start_index >= (unsigned)seq->total && length != 0) ) total 1658 modules/core/src/datastructs.cpp subseq->total += bl; total 1679 modules/core/src/datastructs.cpp int total, length; total 1685 modules/core/src/datastructs.cpp total = seq->total; total 1688 modules/core/src/datastructs.cpp slice.start_index += total; total 1689 modules/core/src/datastructs.cpp else if( slice.start_index >= total ) total 1690 modules/core/src/datastructs.cpp slice.start_index -= total; total 1692 modules/core/src/datastructs.cpp if( (unsigned)slice.start_index >= (unsigned)total ) total 1697 modules/core/src/datastructs.cpp if( slice.end_index < total ) total 1705 modules/core/src/datastructs.cpp if( slice.start_index > total - slice.end_index ) total 1707 modules/core/src/datastructs.cpp int i, count = seq->total - slice.end_index; total 1739 modules/core/src/datastructs.cpp cvSeqPopMulti( seq, 0, total - slice.start_index ); total 1740 modules/core/src/datastructs.cpp cvSeqPopMulti( seq, 0, slice.end_index - total, 1 ); total 1751 modules/core/src/datastructs.cpp int i, elem_size, total, from_total; total 1777 modules/core/src/datastructs.cpp from_total = from->total; total 1782 modules/core/src/datastructs.cpp total = seq->total; total 1783 modules/core/src/datastructs.cpp index += index < 0 ? total : 0; total 1784 modules/core/src/datastructs.cpp index -= index > total ? total : 0; total 1786 modules/core/src/datastructs.cpp if( (unsigned)index > (unsigned)total ) total 1791 modules/core/src/datastructs.cpp if( index < (total >> 1) ) total 1812 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &reader_from, total ); total 1813 modules/core/src/datastructs.cpp cvSetSeqReaderPos( &reader_to, seq->total ); total 1815 modules/core/src/datastructs.cpp for( i = 0; i < total - index; i++ ) total 1922 modules/core/src/datastructs.cpp if( seq->total <= 1 ) total 2100 modules/core/src/datastructs.cpp l = seq->total; total 2104 modules/core/src/datastructs.cpp l1 = seq->total; total 2200 modules/core/src/datastructs.cpp int total = seq->total; total 2202 modules/core/src/datastructs.cpp if( total == 0 ) total 2212 modules/core/src/datastructs.cpp for( i = 0; i < total; i++ ) total 2221 modules/core/src/datastructs.cpp for( i = 0; i < total; i++ ) total 2235 modules/core/src/datastructs.cpp for( i = 0; i < total; i++ ) total 2249 modules/core/src/datastructs.cpp if( i < total ) total 2257 modules/core/src/datastructs.cpp i = 0, j = total; total 2297 modules/core/src/datastructs.cpp count = seq->total >> 1; total 2361 modules/core/src/datastructs.cpp for( i = 0; i < seq->total; i++ ) total 2379 modules/core/src/datastructs.cpp for( i = 0; i < nodes->total; i++ ) total 2392 modules/core/src/datastructs.cpp for( j = 0; j < nodes->total; j++ ) total 2445 modules/core/src/datastructs.cpp for( i = 0; i < nodes->total; i++ ) total 2507 modules/core/src/datastructs.cpp int count = set->total; total 2520 modules/core/src/datastructs.cpp set->first->prev->count += count - set->total; total 2521 modules/core/src/datastructs.cpp set->total = count; total 2966 modules/core/src/datastructs.cpp int i, total, elem_size; total 2972 modules/core/src/datastructs.cpp total = seq->total; total 2979 modules/core/src/datastructs.cpp for( i = 0; i < total; i++ ) total 2996 modules/core/src/datastructs.cpp int total, elem_size, index; total 3002 modules/core/src/datastructs.cpp total = seq->total; total 3008 modules/core/src/datastructs.cpp if( total == 0 ) total 3011 modules/core/src/datastructs.cpp if( (unsigned)index >= (unsigned)total ) total 3013 modules/core/src/datastructs.cpp index %= total; total 3014 modules/core/src/datastructs.cpp index += index < 0 ? total : 0; total 3022 modules/core/src/datastructs.cpp for( index = 0; index < total; index++ ) total 3031 modules/core/src/datastructs.cpp if( index < total ) total 3192 modules/core/src/datastructs.cpp if( scanner->stack->total == 0 ) total 3268 modules/core/src/datastructs.cpp flag_buffer = (int*)cvAlloc( graph->total*sizeof(flag_buffer[0])); total 3269 modules/core/src/datastructs.cpp ptr_buffer = (CvGraphVtx**)cvAlloc( graph->total*sizeof(ptr_buffer[0])); total 3277 modules/core/src/datastructs.cpp for( i = 0, k = 0; i < graph->total; i++ ) total 3293 modules/core/src/datastructs.cpp for( i = 0; i < graph->edges->total; i++ ) total 3309 modules/core/src/datastructs.cpp for( i = 0, k = 0; i < graph->edges->total; i++ ) total 1658 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_C_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); total 1666 modules/core/src/dxt.cpp parallel_for_(Range(0, src.rows), Dft_R_IPPLoop_Invoker<Dft>(src, dst, ippidft, norm_flag, &ok), src.total()/(double)(1<<16) ); total 2520 modules/core/src/dxt.cpp if ((src.depth() == CV_32F) && (src.total()>(int)(1<<6)) && nonzero_rows == 0) total 61 modules/core/src/lda.cpp size_t n = src.total(); total 66 modules/core/src/lda.cpp size_t d = src.getMat(0).total(); total 72 modules/core/src/lda.cpp if(src.getMat(i).total() != d) { total 73 modules/core/src/lda.cpp String error_message = format("Wrong number of elements in matrix #%d! Expected %d was %d.", i, (int)d, (int)src.getMat(i).total()); total 185 modules/core/src/lda.cpp if(!mean.empty() && (mean.total() != (size_t) d)) { total 186 modules/core/src/lda.cpp String error_message = format("Wrong mean shape for the given data matrix. Expected %d, but was %d.", d, mean.total()); total 223 modules/core/src/lda.cpp if(!mean.empty() && (mean.total() != (size_t) W.rows)) { total 224 modules/core/src/lda.cpp String error_message = format("Wrong mean shape for the given eigenvector matrix. Expected %d, but was %d.", W.cols, mean.total()); total 991 modules/core/src/lda.cpp for(unsigned int i = 0; i < tmp.total(); i++) { total 222 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = total; total 235 modules/core/src/mathfuncs.cpp for( j = 0; j < total; j += blockSize ) total 237 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); total 357 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); total 369 modules/core/src/mathfuncs.cpp for( j = 0; j < total; j += blockSize ) total 371 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); total 648 modules/core/src/mathfuncs.cpp IppStatus status = ippFunc(Mag.ptr(), Angle.ptr(), X.ptr(), Y.ptr(), static_cast<int>(cn * X.total())); total 664 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); total 676 modules/core/src/mathfuncs.cpp for( j = 0; j < total; j += blockSize ) total 678 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); total 1962 modules/core/src/matmul.cpp memset(tmp.ptr(), 0, tmp.total()*tmp.elemSize()); total 2008 modules/core/src/matmul.cpp size_t i, total = it.size; total 2011 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); total 2153 modules/core/src/matmul.cpp size_t i, total = it.size; total 2156 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); total 2342 modules/core/src/matmul.cpp size_t len = src1.total()*cn; total 3248 modules/core/src/matmul.cpp size_t len = total()*cn; total 175 modules/core/src/matrix.cpp size_t total = CV_ELEM_SIZE(type); total 182 modules/core/src/matrix.cpp CV_Assert(total <= step[i]); total 183 modules/core/src/matrix.cpp total = step[i]; total 186 modules/core/src/matrix.cpp step[i] = total; total 188 modules/core/src/matrix.cpp total *= sizes[i]; total 190 modules/core/src/matrix.cpp uchar* data = data0 ? (uchar*)data0 : (uchar*)fastMalloc(total); total 193 modules/core/src/matrix.cpp u->size = total; total 288 modules/core/src/matrix.cpp size_t esz = CV_ELEM_SIZE(m.flags), esz1 = CV_ELEM_SIZE1(m.flags), total = esz; total 307 modules/core/src/matrix.cpp m.step.p[i] = total; total 308 modules/core/src/matrix.cpp int64 total1 = (int64)total*s; total 311 modules/core/src/matrix.cpp total = (size_t)total1; total 393 modules/core/src/matrix.cpp if( total() > 0 ) total 752 modules/core/src/matrix.cpp size_t newsize = total()*elemSize(); total 834 modules/core/src/matrix.cpp memcpy(data + r*step.p[0], elems.data, elems.total()*elems.elemSize()); total 862 modules/core/src/matrix.cpp int total = seq->total, type = CV_MAT_TYPE(seq->flags), esz = seq->elem_size; total 863 modules/core/src/matrix.cpp if( total == 0 ) total 865 modules/core/src/matrix.cpp CV_Assert(total > 0 && CV_ELEM_SIZE(seq->flags) == esz); total 867 modules/core/src/matrix.cpp return Mat(total, 1, type, seq->first->data); total 870 modules/core/src/matrix.cpp abuf->allocate(((size_t)total*esz + sizeof(double)-1)/sizeof(double)); total 873 modules/core/src/matrix.cpp return Mat(total, 1, type, bufdata); total 876 modules/core/src/matrix.cpp Mat buf(total, 1, type); total 1032 modules/core/src/matrix.cpp ? (int)(total()*channels()/_elemChannels) : -1; total 1753 modules/core/src/matrix.cpp return ((const Mat*)obj)->total(); total 1759 modules/core/src/matrix.cpp return ((const UMat*)obj)->total(); total 1769 modules/core/src/matrix.cpp return vv[i].total(); total 1779 modules/core/src/matrix.cpp return vv[i].total(); total 3080 modules/core/src/ocl.cpp return KernelArg(CONSTANT, 0, 0, 0, m.ptr(), m.total()*m.elemSize()); total 3369 modules/core/src/ocl.cpp size_t total = 1; total 3376 modules/core/src/ocl.cpp total *= _globalsize[i]; total 3379 modules/core/src/ocl.cpp if( total == 0 ) total 4192 modules/core/src/ocl.cpp size_t total = CV_ELEM_SIZE(type); total 4196 modules/core/src/ocl.cpp step[i] = total; total 4197 modules/core/src/ocl.cpp total *= sizes[i]; total 4213 modules/core/src/ocl.cpp handle = bufferPoolSVM.allocate(total); total 4224 modules/core/src/ocl.cpp handle = bufferPool.allocate(total); total 4229 modules/core/src/ocl.cpp handle = bufferPoolHostPtr.allocate(total); total 4241 modules/core/src/ocl.cpp u->size = total; total 4687 modules/core/src/ocl.cpp size_t& total, size_t new_sz[], total 4694 modules/core/src/ocl.cpp total = sz[dims-1]; total 4697 modules/core/src/ocl.cpp if( i >= 0 && (total != srcstep[i] || total != dststep[i]) ) total 4699 modules/core/src/ocl.cpp total *= sz[i]; total 4775 modules/core/src/ocl.cpp size_t total = 0, new_sz[] = {0, 0, 0}; total 4780 modules/core/src/ocl.cpp total, new_sz, total 4804 modules/core/src/ocl.cpp memcpy(dstptr, (uchar*)u->handle + srcrawofs, total); total 4848 modules/core/src/ocl.cpp srcrawofs, total, alignedPtr.getAlignedPtr(), 0, 0, 0) >= 0 ); total 4869 modules/core/src/ocl.cpp size_t total = 0, new_sz[] = {0, 0, 0}; total 4874 modules/core/src/ocl.cpp total, new_sz, total 4885 modules/core/src/ocl.cpp if( u->data && (u->hostCopyObsolete() < u->deviceCopyObsolete() || total == u->size)) total 4916 modules/core/src/ocl.cpp memcpy((uchar*)u->handle + dstrawofs, srcptr, total); total 4960 modules/core/src/ocl.cpp CL_TRUE, dstrawofs, total, alignedPtr.getAlignedPtr(), 0, 0, 0) >= 0 ); total 4991 modules/core/src/ocl.cpp size_t total = 0, new_sz[] = {0, 0, 0}; total 4996 modules/core/src/ocl.cpp total, new_sz, total 5045 modules/core/src/ocl.cpp (uchar*)dst->handle + dstrawofs, (uchar*)src->handle + srcrawofs, (int)total); total 5048 modules/core/src/ocl.cpp total, 0, NULL, NULL); total 5107 modules/core/src/ocl.cpp srcrawofs, dstrawofs, total, 0, 0, 0)) == CL_SUCCESS ); total 527 modules/core/src/persistence.cpp while( fs->write_stack->total > 0 ) total 643 modules/core/src/persistence.cpp attempts = fs->roots->total; total 658 modules/core/src/persistence.cpp if( (!CV_NODE_IS_SEQ(map_node->tag) || map_node->data.seq->total != 0) && total 723 modules/core/src/persistence.cpp attempts = fs->roots->total; total 737 modules/core/src/persistence.cpp if( (!CV_NODE_IS_SEQ(map_node->tag) || map_node->data.seq->total != 0) && total 774 modules/core/src/persistence.cpp if( !fs->roots || (unsigned)stream_index >= (unsigned)fs->roots->total ) total 1224 modules/core/src/persistence.cpp if( node->data.seq->total != 0 ) total 1562 modules/core/src/persistence.cpp if( fs->write_stack->total == 0 ) total 1595 modules/core/src/persistence.cpp while( fs->write_stack->total > 0 ) total 2407 modules/core/src/persistence.cpp if( fs->write_stack->total == 0 ) total 2425 modules/core/src/persistence.cpp while( fs->write_stack->total > 0 ) total 3379 modules/core/src/persistence.cpp src->data.seq->total : 1, data, dt ); total 3389 modules/core/src/persistence.cpp int i, total = node->data.seq->total; total 3396 modules/core/src/persistence.cpp for( i = 0; i < total; i++ ) total 3536 modules/core/src/persistence.cpp return CV_NODE_IS_COLLECTION(node->tag) ? node->data.seq->total : total 3642 modules/core/src/persistence.cpp dims = CV_NODE_IS_SEQ(sizes_node->tag) ? sizes_node->data.seq->total : total 3746 modules/core/src/persistence.cpp for( i = 0; i < elements->total; i++ ) total 3795 modules/core/src/persistence.cpp dims = CV_NODE_IS_SEQ(sizes_node->tag) ? sizes_node->data.seq->total : total 3815 modules/core/src/persistence.cpp for( i = 0; i < elements->total; ) total 4140 modules/core/src/persistence.cpp cvWriteInt( fs, "count", seq->total ); total 4206 modules/core/src/persistence.cpp int total, flags; total 4216 modules/core/src/persistence.cpp total = cvReadIntByName( fs, node, "count", -1 ); total 4219 modules/core/src/persistence.cpp if( !flags_str || total == -1 || !dt ) total 4311 modules/core/src/persistence.cpp cvSeqPushMulti( seq, 0, total, 0 ); total 4321 modules/core/src/persistence.cpp if( icvFileNodeSeqLen( data ) != total*items_per_elem ) total 4348 modules/core/src/persistence.cpp int i, total; total 4356 modules/core/src/persistence.cpp total = sequences->total; total 4359 modules/core/src/persistence.cpp for( i = 0; i < total; i++ ) total 4444 modules/core/src/persistence.cpp for( i = 0, k = 0; i < graph->total; i++ ) total 4506 modules/core/src/persistence.cpp for( i = 0; i < data->total; i++ ) total 4548 modules/core/src/persistence.cpp for( i = 0; i < graph->total; i++ ) total 5051 modules/core/src/persistence.cpp for( k = 0; k < (*fs)->roots->total; k++ ) total 5065 modules/core/src/persistence.cpp for( i = 0; i < seq->total; i++ ) total 5633 modules/core/src/persistence.cpp t == SEQ ? (size_t)node->data.seq->total : (size_t)!isNone(); total 507 modules/core/src/rand.cpp int n1 = (int)_param1.total(); total 508 modules/core/src/rand.cpp int n2 = (int)_param2.total(); total 663 modules/core/src/rand.cpp int total = (int)it.size, blockSize = std::min((BLOCK_SIZE + cn - 1)/cn, total); total 714 modules/core/src/rand.cpp for( j = 0; j < total; j += blockSize ) total 716 modules/core/src/rand.cpp int len = std::min(total - j, blockSize); total 753 modules/core/src/rand.cpp unsigned sz = (unsigned)_arr.total(); total 1110 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, maskarg, src2arg); total 1112 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, maskarg); total 1117 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg, src2arg); total 1119 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), ngroups, dbarg); total 1158 modules/core/src/stat.cpp size_t total_size = src.total(); total 1209 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; total 1230 modules/core/src/stat.cpp for( j = 0; j < total; j += blockSize ) total 1232 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); total 1235 modules/core/src/stat.cpp if( blockSum && (count + blockSize >= intSumBlockSize || (i+1 >= it.nplanes && j+bsz >= total)) ) total 1281 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), total 1319 modules/core/src/stat.cpp roiSize.width = (Ipp32s)src.total(); total 1321 modules/core/src/stat.cpp srcstep = (Ipp32s)src.total() * CV_ELEM_SIZE(type); total 1333 modules/core/src/stat.cpp return (Ipp32s)src.total() - count; total 1346 modules/core/src/stat.cpp int total = (int)it.size, nz = 0; total 1349 modules/core/src/stat.cpp nz += func( ptrs[0], total ); total 1364 modules/core/src/stat.cpp size_t total_size = src.total(); total 1457 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; total 1478 modules/core/src/stat.cpp for( j = 0; j < total; j += blockSize ) total 1480 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); total 1484 modules/core/src/stat.cpp if( blockSum && (count + blockSize >= intSumBlockSize || (i+1 >= it.nplanes && j+bsz >= total)) ) total 1508 modules/core/src/stat.cpp int nz = haveMask ? -1 : (int)_src.total(); total 1565 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), groups, dbarg, maskarg); total 1567 modules/core/src/stat.cpp k.args(srcarg, src.cols, (int)src.total(), groups, dbarg); total 1586 modules/core/src/stat.cpp double total = nz != 0 ? 1.0 / nz : 0; total 1590 modules/core/src/stat.cpp mean[i] *= total; total 1591 modules/core/src/stat.cpp stddev[i] = std::sqrt(std::max(stddev[i] * total - mean[i] * mean[i] , 0.)); total 1604 modules/core/src/stat.cpp int dcn = (int)dst.total(); total 1634 modules/core/src/stat.cpp size_t total_size = src.total(); total 1649 modules/core/src/stat.cpp dcn_mean = (int)mean.total(); total 1658 modules/core/src/stat.cpp dcn_stddev = (int)stddev.total(); total 1751 modules/core/src/stat.cpp int total = (int)it.size, blockSize = total, intSumBlockSize = 0; total 1776 modules/core/src/stat.cpp for( j = 0; j < total; j += blockSize ) total 1778 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); total 1782 modules/core/src/stat.cpp if( blockSum && (count + blockSize >= intSumBlockSize || (i+1 >= it.nplanes && j+bsz >= total)) ) total 1822 modules/core/src/stat.cpp int dcn = (int)dst.total(); total 2139 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), total 2142 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), total 2149 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), total 2152 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), total 2202 modules/core/src/stat.cpp size_t total_size = src.total(); total 2636 modules/core/src/stat.cpp size_t total_size = src.total(); total 2801 modules/core/src/stat.cpp size_t len = src.total()*cn; total 2865 modules/core/src/stat.cpp int total = (int)it.size; total 2870 modules/core/src/stat.cpp result += hal::normHamming(ptrs[0], total, cellSize); total 2890 modules/core/src/stat.cpp int j, total = (int)it.size, blockSize = total, intSumBlockSize = 0, count = 0; total 2907 modules/core/src/stat.cpp for( j = 0; j < total; j += blockSize ) total 2909 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); total 2912 modules/core/src/stat.cpp if( blockSum && (count + blockSize >= intSumBlockSize || (i+1 >= it.nplanes && j+bsz >= total)) ) total 3016 modules/core/src/stat.cpp size_t total_size = src1.total(); total 3128 modules/core/src/stat.cpp size_t total_size = src1.total(); total 3297 modules/core/src/stat.cpp size_t len = src1.total()*src1.channels(); total 3349 modules/core/src/stat.cpp int total = (int)it.size; total 3354 modules/core/src/stat.cpp result += hal::normHamming(ptrs[0], ptrs[1], total, cellSize); total 3375 modules/core/src/stat.cpp int j, total = (int)it.size, blockSize = total, intSumBlockSize = 0, count = 0; total 3392 modules/core/src/stat.cpp for( j = 0; j < total; j += blockSize ) total 3394 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); total 3397 modules/core/src/stat.cpp if( blockSum && (count + blockSize >= intSumBlockSize || (i+1 >= it.nplanes && j+bsz >= total)) ) total 3788 modules/core/src/stat.cpp double diff = std::sqrt(norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); total 151 modules/core/src/umatrix.cpp size_t esz = CV_ELEM_SIZE(m.flags), total = esz; total 163 modules/core/src/umatrix.cpp m.step.p[i] = total; total 164 modules/core/src/umatrix.cpp int64 total1 = (int64)total*s; total 167 modules/core/src/umatrix.cpp total = (size_t)total1; total 194 modules/core/src/umatrix.cpp uint64 total = (uint64)m.step[0]*m.size[0]; total 195 modules/core/src/umatrix.cpp if( j <= i && total == (size_t)total ) total 260 modules/core/src/umatrix.cpp if( total() > 0 ) total 555 modules/core/src/umatrix.cpp ? (int)(total()*channels()/_elemChannels) : -1; total 894 modules/core/src/umatrix.cpp k.args(src1arg, src1.cols, (int)src1.total(), dbsize, dbarg, src2arg); total 511 modules/core/test/test_arithm.cpp inRangeS_(const _Tp* src, const _WTp* a, const _WTp* b, uchar* dst, size_t total, int cn) total 515 modules/core/test/test_arithm.cpp for( i = 0; i < total; i++ ) total 522 modules/core/test/test_arithm.cpp for( i = 0; i < total; i++ ) total 530 modules/core/test/test_arithm.cpp template<typename _Tp> static void inRange_(const _Tp* src, const _Tp* a, const _Tp* b, uchar* dst, size_t total, int cn) total 534 modules/core/test/test_arithm.cpp for( i = 0; i < total; i++ ) total 541 modules/core/test/test_arithm.cpp for( i = 0; i < total; i++ ) total 559 modules/core/test/test_arithm.cpp size_t total = planes[0].total(); total 573 modules/core/test/test_arithm.cpp inRange_((const uchar*)sptr, (const uchar*)aptr, (const uchar*)bptr, dptr, total, cn); total 576 modules/core/test/test_arithm.cpp inRange_((const schar*)sptr, (const schar*)aptr, (const schar*)bptr, dptr, total, cn); total 579 modules/core/test/test_arithm.cpp inRange_((const ushort*)sptr, (const ushort*)aptr, (const ushort*)bptr, dptr, total, cn); total 582 modules/core/test/test_arithm.cpp inRange_((const short*)sptr, (const short*)aptr, (const short*)bptr, dptr, total, cn); total 585 modules/core/test/test_arithm.cpp inRange_((const int*)sptr, (const int*)aptr, (const int*)bptr, dptr, total, cn); total 588 modules/core/test/test_arithm.cpp inRange_((const float*)sptr, (const float*)aptr, (const float*)bptr, dptr, total, cn); total 591 modules/core/test/test_arithm.cpp inRange_((const double*)sptr, (const double*)aptr, (const double*)bptr, dptr, total, cn); total 607 modules/core/test/test_arithm.cpp size_t total = planes[0].total(); total 623 modules/core/test/test_arithm.cpp inRangeS_((const uchar*)sptr, lbuf.i, rbuf.i, dptr, total, cn); total 626 modules/core/test/test_arithm.cpp inRangeS_((const schar*)sptr, lbuf.i, rbuf.i, dptr, total, cn); total 629 modules/core/test/test_arithm.cpp inRangeS_((const ushort*)sptr, lbuf.i, rbuf.i, dptr, total, cn); total 632 modules/core/test/test_arithm.cpp inRangeS_((const short*)sptr, lbuf.i, rbuf.i, dptr, total, cn); total 635 modules/core/test/test_arithm.cpp inRangeS_((const int*)sptr, lbuf.i, rbuf.i, dptr, total, cn); total 638 modules/core/test/test_arithm.cpp inRangeS_((const float*)sptr, lbuf.f, rbuf.f, dptr, total, cn); total 641 modules/core/test/test_arithm.cpp inRangeS_((const double*)sptr, lbuf.d, rbuf.d, dptr, total, cn); total 902 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); total 913 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 918 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 931 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); total 942 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 947 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 1021 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total(); total 1035 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 1050 modules/core/test/test_arithm.cpp for( j = 0; j < total; j++ ) total 1143 modules/core/test/test_arithm.cpp dst.at<Scalar>(0,0) = cvtest::mean(src[0])*(double)src[0].total(); total 1176 modules/core/test/test_arithm.cpp dst.at<int>(0,0) = saturate_cast<int>(cvtest::mean(temp)[0]/255*temp.total()); total 333 modules/core/test/test_ds.cpp int test_seq_block_consistence( int _struct_idx, CvSeq* seq, int total ); total 450 modules/core/test/test_ds.cpp int Core_DynStructBaseTest::test_seq_block_consistence( int _struct_idx, CvSeq* seq, int total ) total 481 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == sum && sum == total, total 606 modules/core/test/test_ds.cpp assert( seq->total == sseq->count ); total 647 modules/core/test/test_ds.cpp int total = seq->total; total 653 modules/core/test/test_ds.cpp assert( total == sseq->count ); total 659 modules/core/test/test_ds.cpp if( total == 0 ) total 665 modules/core/test/test_ds.cpp pos = pos ? seq->total - 1 : 0; total 680 modules/core/test/test_ds.cpp new_pos = cvtest::randInt(rng) % (total*2) - total; total 683 modules/core/test/test_ds.cpp if( new_pos0 < 0 ) new_pos0 += total; total 684 modules/core/test/test_ds.cpp if( new_pos0 >= total ) new_pos0 -= total; total 686 modules/core/test/test_ds.cpp bad_range = (unsigned)new_pos0 >= (unsigned)total; total 718 modules/core/test/test_ds.cpp if( -pos > 0 ) pos += total; total 719 modules/core/test/test_ds.cpp if( pos >= total ) pos -= total; total 784 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == sseq->count && total 813 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == sseq->count - 1 && total 870 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == sseq->count && total 876 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == 0 && seq->first == 0, total 908 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == sseq->count - count, total 922 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == 0 && seq->first == 0, total 932 modules/core/test/test_ds.cpp count = cvtest::randInt(rng) % (seq->total + 1); total 933 modules/core/test/test_ds.cpp pos = cvtest::randInt(rng) % (seq->total - count + 1); total 936 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq_slice && seq_slice->total == count, total 957 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( seq->total == 0 && seq->first == 0, total 1254 modules/core/test/test_ds.cpp int prev_total = cvset->total, prev_count = cvset->active_count; total 1263 modules/core/test/test_ds.cpp prev_count = cvset->total; total 1267 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( cvset->active_count == 0 && cvset->total == 0 && total 1354 modules/core/test/test_ds.cpp cvset->total >= cvset->active_count && total 1355 modules/core/test/test_ds.cpp (cvset->total == 0 || cvset->total >= prev_total), total 1360 modules/core/test/test_ds.cpp test_seq_block_consistence( struct_idx, (CvSeq*)cvset, cvset->total ); total 1473 modules/core/test/test_ds.cpp int prev_vtx_total = graph->total, total 1474 modules/core/test/test_ds.cpp prev_edge_total = graph->edges->total, total 1483 modules/core/test/test_ds.cpp int prev_vtx_count2 = graph->total, prev_edge_count2 = graph->edges->total; total 1488 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( graph->active_count == 0 && graph->total == 0 && total 1493 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( edges->active_count == 0 && edges->total == 0 && total 1772 modules/core/test/test_ds.cpp graph->total >= graph->active_count && total 1773 modules/core/test/test_ds.cpp (graph->total == 0 || graph->total >= prev_vtx_total), total 1776 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( graph->edges->total >= graph->edges->active_count && total 1777 modules/core/test/test_ds.cpp (graph->edges->total == 0 || graph->edges->total >= prev_edge_total), total 1782 modules/core/test/test_ds.cpp test_seq_block_consistence( struct_idx, (CvSeq*)graph, graph->total ); total 1783 modules/core/test/test_ds.cpp test_seq_block_consistence( struct_idx, (CvSeq*)graph->edges, graph->edges->total ); total 256 modules/core/test/test_eigen.cpp for (int i = 0; i < (int)(eigen_values.total() - 1); ++i) total 271 modules/core/test/test_eigen.cpp for (int i = 0; i < (int)(eigen_values.total() - 1); ++i) total 709 modules/core/test/test_mat.cpp uint64 total = 0; total 723 modules/core/test/test_mat.cpp total += pixel.x; total 724 modules/core/test/test_mat.cpp total += pixel.y; total 725 modules/core/test/test_mat.cpp total += pixel.z; total 733 modules/core/test/test_mat.cpp if (total != total2) { total 1311 modules/core/test/test_math.cpp int k, total = mat.rows*mat.cols, type = mat.type(); total 1312 modules/core/test/test_math.cpp int zero_total = cvtest::randInt(rng) % total; total 2420 modules/core/test/test_math.cpp static_cast<float>(outOfRangeCount)/resInDeg.total()); total 2425 modules/core/test/test_math.cpp size_t errDegCount = diff.total() - countNonZero((diff < maxAngleDiff) | ((360 - diff) < maxAngleDiff)); total 2429 modules/core/test/test_math.cpp static_cast<float>(errDegCount)/resInDeg.total()); total 165 modules/core/test/test_umat.cpp size_t total = 1; total 169 modules/core/test/test_umat.cpp total *= (size_t)sz[i]; total 173 modules/core/test/test_umat.cpp ASSERT_EQ(ub.total(), total); total 316 modules/core/test/test_umat.cpp if ( ((int)ua.total()*ua.channels())%(new_rows*nChannels) != 0) total 330 modules/core/test/test_umat.cpp new_rows = (int)ua.total()*ua.channels()/(nChannels*randomInt(1, size.width*size.height)); total 332 modules/core/test/test_umat.cpp int new_cols = (int)ua.total()*ua.channels()/(new_rows*nChannels); total 334 modules/core/test/test_umat.cpp if( ((int)ua.total()*ua.channels()) % (new_rows*new_cols) != 0 ) total 125 modules/cudaarithm/src/element_operations.cpp CV_Assert( scalar.total() <= 4 ); total 545 modules/cudafilters/src/filtering.cpp else if (iters_ > 1 && cv::countNonZero(kernel) == (int) kernel.total()) total 118 modules/cudaimgproc/src/gftt.cpp int total = findCorners_gpu(eig_, static_cast<float>(maxVal * qualityLevel_), mask, tmpCorners_.ptr<float2>(), tmpCorners_.cols); total 120 modules/cudaimgproc/src/gftt.cpp if (total == 0) total 126 modules/cudaimgproc/src/gftt.cpp sortCorners_gpu(eig_, tmpCorners_.ptr<float2>(), total); total 130 modules/cudaimgproc/src/gftt.cpp tmpCorners_.colRange(0, maxCorners_ > 0 ? std::min(maxCorners_, total) : total).copyTo(_corners); total 134 modules/cudaimgproc/src/gftt.cpp std::vector<Point2f> tmp(total); total 135 modules/cudaimgproc/src/gftt.cpp Mat tmpMat(1, total, CV_32FC2, (void*)&tmp[0]); total 136 modules/cudaimgproc/src/gftt.cpp tmpCorners_.colRange(0, total).download(tmpMat); total 139 modules/cudaimgproc/src/gftt.cpp tmp2.reserve(total); total 147 modules/cudaimgproc/src/gftt.cpp for (int i = 0; i < total; ++i) total 352 modules/cudalegacy/src/fgd.cpp size_t total = all_contours.size(); total 354 modules/cudalegacy/src/fgd.cpp _contours.create((int) total, 1, 0, -1, true); total 357 modules/cudalegacy/src/fgd.cpp for (size_t i = 0; i < total; ++i, ++it) total 361 modules/cudalegacy/src/fgd.cpp _contours.create((int)c->total, 1, CV_32SC2, (int)i, true); total 679 modules/cudalegacy/src/fgd.cpp size_t total = foreground_regions_.size(); total 681 modules/cudalegacy/src/fgd.cpp dst.create((int) total, 1, 0, -1, true); total 683 modules/cudalegacy/src/fgd.cpp for (size_t i = 0; i < total; ++i) total 384 modules/cudaobjdetect/src/cascadeclassifier.cpp int total, total 561 modules/cudaobjdetect/src/cascadeclassifier.cpp int total = 0, prev = 0; total 575 modules/cudaobjdetect/src/cascadeclassifier.cpp total += totalWidth * (level.workArea.height / step); total 586 modules/cudaobjdetect/src/cascadeclassifier.cpp device::lbp::classifyPyramid(image.cols, image.rows, NxM.width - 1, NxM.height - 1, iniScale, scaleFactor_, total, stage_mat, stage_mat.cols / sizeof(Stage), nodes_mat, total 80 modules/cudev/include/opencv2/cudev/common.hpp __host__ __device__ __forceinline__ int divUp(int total, int grain) total 82 modules/cudev/include/opencv2/cudev/common.hpp return (total + grain - 1) / grain; total 186 modules/features2d/misc/java/test/BruteForceDescriptorMatcherTest.java assertTrue(Math.min(k, train.rows()) >= vdm.total()); total 99 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java assertTrue(keypoints2.total() <= keypoints1.total()); total 121 modules/features2d/misc/java/test/FASTFeatureDetectorTest.java assertTrue(keypoints2.total() <= keypoints1.total()); total 110 modules/features2d/misc/java/test/STARFeatureDetectorTest.java assertTrue(keypoints2.total() <= keypoints1.total()); total 146 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java assertTrue(keypoints2.total() <= keypoints1.total()); total 64 modules/features2d/src/agast.cpp size_t total = 0; total 779 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 793 modules/features2d/src/agast.cpp total++; total 796 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 810 modules/features2d/src/agast.cpp total++; total 824 modules/features2d/src/agast.cpp size_t total = 0; total 3223 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 3237 modules/features2d/src/agast.cpp total++; total 3240 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 3254 modules/features2d/src/agast.cpp total++; total 3268 modules/features2d/src/agast.cpp size_t total = 0; total 5304 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 5318 modules/features2d/src/agast.cpp total++; total 5321 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 5335 modules/features2d/src/agast.cpp total++; total 5349 modules/features2d/src/agast.cpp size_t total = 0; total 7425 modules/features2d/src/agast.cpp if(total == nExpectedCorners) total 7439 modules/features2d/src/agast.cpp total++; total 407 modules/features2d/src/kaze/nldiffusion_functions.cpp cv::parallel_for_(cv::Range(1, Lstep.rows - 1), Nld_Step_Scalar_Invoker(Ld, c, Lstep, stepsize), (double)Ld.total()/(1 << 16)); total 753 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) total 897 modules/features2d/src/matchers.cpp trainDescSize.width == _queryDescriptors.size().width && masks.size() == 1 && masks[0].total() == 0 ) total 702 modules/features2d/src/mser.cpp double* total, total 753 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 763 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 777 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 782 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 792 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 797 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 806 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 815 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 820 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 830 modules/features2d/src/mser.cpp *total += edge->chi = *dxptr; total 835 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 844 modules/features2d/src/mser.cpp *total += edge->chi = *dyptr; total 1023 modules/features2d/src/mser.cpp size_t npix = src.total(); total 122 modules/features2d/test/test_mser.cpp int kMaxArea = (int)src.total()/4; total 17 modules/imgcodecs/misc/java/test/HighguiTest.java assertEquals(0, buff.total()); total 19 modules/imgcodecs/misc/java/test/HighguiTest.java assertFalse(0 == buff.total()); total 35 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(buff40.total() > 0); total 36 modules/imgcodecs/misc/java/test/HighguiTest.java assertTrue(buff40.total() < buff90.total()); total 176 modules/imgcodecs/src/grfmt_webp.cpp res_ptr = WebPDecodeBGRInto(data.ptr(), data.total(), out_data, total 181 modules/imgcodecs/src/grfmt_webp.cpp res_ptr = WebPDecodeBGRAInto(data.ptr(), data.total(), out_data, total 759 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), hierarchy.total()); total 768 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(contours.size(), hierarchy.total()); total 1028 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(4, lp.total()); total 1038 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(4, lp.total()); total 85 modules/imgproc/perf/opencl/perf_houghLines.cpp EXPECT_NE((int) lines.total(), 0); total 41 modules/imgproc/perf/opencl/perf_matchTemplate.cpp : 255 * 255 * tmpl.total() * 1e-4; total 46 modules/imgproc/perf/perf_matchTemplate.cpp : 255 * 255 * tmpl.total() * 1e-6; total 80 modules/imgproc/perf/perf_matchTemplate.cpp : 255.0 * 255.0 * (double)tmpl.total() * 1e-6; total 893 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); total 894 modules/imgproc/src/accum.cpp dststep = static_cast<int>(dst.total() * dst.elemSize()); total 895 modules/imgproc/src/accum.cpp maskstep = static_cast<int>(mask.total() * mask.elemSize()); total 896 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); total 976 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); total 977 modules/imgproc/src/accum.cpp dststep = static_cast<int>(dst.total() * dst.elemSize()); total 978 modules/imgproc/src/accum.cpp maskstep = static_cast<int>(mask.total() * mask.elemSize()); total 979 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src.total()); total 1062 modules/imgproc/src/accum.cpp src1step = static_cast<int>(src1.total() * src1.elemSize()); total 1063 modules/imgproc/src/accum.cpp src2step = static_cast<int>(src2.total() * src2.elemSize()); total 1064 modules/imgproc/src/accum.cpp dststep = static_cast<int>(dst.total() * dst.elemSize()); total 1065 modules/imgproc/src/accum.cpp maskstep = static_cast<int>(mask.total() * mask.elemSize()); total 1066 modules/imgproc/src/accum.cpp size.width = static_cast<int>(src1.total()); total 1150 modules/imgproc/src/accum.cpp srcstep = static_cast<int>(src.total() * src.elemSize()); total 1151 modules/imgproc/src/accum.cpp dststep = static_cast<int>(dst.total() * dst.elemSize()); total 1152 modules/imgproc/src/accum.cpp maskstep = static_cast<int>(mask.total() * mask.elemSize()); total 1153 modules/imgproc/src/accum.cpp size.width = static_cast<int>((int)src.total()); total 63 modules/imgproc/src/approx.cpp cv::AutoBuffer<_CvPtInfo> buf(chain->total + 8); total 68 modules/imgproc/src/approx.cpp int count = chain->total; total 80 modules/imgproc/src/approx.cpp if( chain->total == 0 ) total 397 modules/imgproc/src/approx.cpp int len = src_seq->total; total 415 modules/imgproc/src/approx.cpp if( contour->total > 0 ) total 781 modules/imgproc/src/approx.cpp int npoints = src_seq->total, nout = 0; total 142 modules/imgproc/src/blend.cpp parallel_for_(Range(0, src1.rows), invoker, dst.total()/(double)(1<<16)); total 147 modules/imgproc/src/blend.cpp parallel_for_(Range(0, src1.rows), invoker, dst.total()/(double)(1<<16)); total 200 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorLoop_Invoker<Cvt>(src, dst, cvt), src.total()/(double)(1<<16) ); total 246 modules/imgproc/src/color.cpp parallel_for_(Range(0, src.rows), CvtColorIPPLoop_Invoker<Cvt>(src, dst, cvt, &ok), src.total()/(double)(1<<16) ); total 262 modules/imgproc/src/color.cpp source.total()/(double)(1<<16) ); total 6393 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV420_CONVERSION) total 6403 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV420_CONVERSION) total 6413 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV420_CONVERSION) total 6423 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV420_CONVERSION) total 6486 modules/imgproc/src/color.cpp return (src.total() >= 320*240); total 6609 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV422_CONVERSION) total 6619 modules/imgproc/src/color.cpp if (_dst.total() >= MIN_SIZE_FOR_PARALLEL_YUV422_CONVERSION) total 498 modules/imgproc/src/colormap.cpp if(_lut.total() != 256) total 604 modules/imgproc/src/contours.cpp assert( (writer.seq->total == 0 && writer.seq->first == 0) || total 605 modules/imgproc/src/contours.cpp writer.seq->total > writer.seq->first->count || total 791 modules/imgproc/src/contours.cpp assert( (writer.seq->total == 0 && writer.seq->first == 0) || total 792 modules/imgproc/src/contours.cpp writer.seq->total > writer.seq->first->count || total 980 modules/imgproc/src/contours.cpp assert( (writer.seq->total == 0 && writer.seq->first == 0) || total 981 modules/imgproc/src/contours.cpp writer.seq->total > writer.seq->first->count || total 1399 modules/imgproc/src/contours.cpp upper_total = runs->total - 1; total 1408 modules/imgproc/src/contours.cpp all_total = runs->total; total 1429 modules/imgproc/src/contours.cpp lower_total = runs->total - all_total; total 1585 modules/imgproc/src/contours.cpp for( j = 0; j < contours->total; j++, count++ ) total 1727 modules/imgproc/src/contours.cpp int i, total = (int)all_contours.size(); total 1728 modules/imgproc/src/contours.cpp _contours.create(total, 1, 0, -1, true); total 1730 modules/imgproc/src/contours.cpp for( i = 0; i < total; i++, ++it ) total 1734 modules/imgproc/src/contours.cpp _contours.create((int)c->total, 1, CV_32SC2, i, true); total 1742 modules/imgproc/src/contours.cpp _hierarchy.create(1, total, CV_32SC4, -1, true); total 1746 modules/imgproc/src/contours.cpp for( i = 0; i < total; i++, ++it ) total 132 modules/imgproc/src/convhull.cpp int i, total = points.checkVector(2), depth = points.depth(), nout = 0; total 134 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); total 136 modules/imgproc/src/convhull.cpp if( total == 0 ) total 145 modules/imgproc/src/convhull.cpp AutoBuffer<Point*> _pointer(total); total 146 modules/imgproc/src/convhull.cpp AutoBuffer<int> _stack(total + 2), _hullbuf(total); total 155 modules/imgproc/src/convhull.cpp for( i = 0; i < total; i++ ) total 161 modules/imgproc/src/convhull.cpp std::sort(pointer, pointer + total, CHullCmpPoints<int>()); total 162 modules/imgproc/src/convhull.cpp for( i = 1; i < total; i++ ) total 173 modules/imgproc/src/convhull.cpp std::sort(pointerf, pointerf + total, CHullCmpPoints<float>()); total 174 modules/imgproc/src/convhull.cpp for( i = 1; i < total; i++ ) total 184 modules/imgproc/src/convhull.cpp if( pointer[0]->x == pointer[total-1]->x && total 185 modules/imgproc/src/convhull.cpp pointer[0]->y == pointer[total-1]->y ) total 198 modules/imgproc/src/convhull.cpp Sklansky_( pointer, total-1, maxy_ind, tr_stack, -1, -1) : total 199 modules/imgproc/src/convhull.cpp Sklansky_( pointerf, total-1, maxy_ind, tr_stack, -1, -1); total 221 modules/imgproc/src/convhull.cpp Sklansky_( pointer, total-1, miny_ind, br_stack, 1, 1) : total 222 modules/imgproc/src/convhull.cpp Sklansky_( pointerf, total-1, miny_ind, br_stack, 1, 1); total 381 modules/imgproc/src/convhull.cpp int total = contour.checkVector(2), depth = contour.depth(); total 382 modules/imgproc/src/convhull.cpp CV_Assert(total >= 0 && (depth == CV_32F || depth == CV_32S)); total 384 modules/imgproc/src/convhull.cpp if( total == 0 ) total 388 modules/imgproc/src/convhull.cpp isContourConvex_(contour.ptr<Point>(), total ) : total 389 modules/imgproc/src/convhull.cpp isContourConvex_(contour.ptr<Point2f>(), total ); total 448 modules/imgproc/src/convhull.cpp if( mat->cols + mat->rows - 1 < ptseq->total ) total 464 modules/imgproc/src/convhull.cpp int total = ptseq->total; total 465 modules/imgproc/src/convhull.cpp if( total == 0 ) total 482 modules/imgproc/src/convhull.cpp int ctotal = (int)h0.total(); total 490 modules/imgproc/src/convhull.cpp cvSeqPushMulti(hullseq, h0.ptr(), (int)h0.total()); total 495 modules/imgproc/src/convhull.cpp mat->rows = hullseq->total; total 497 modules/imgproc/src/convhull.cpp mat->cols = hullseq->total; total 573 modules/imgproc/src/convhull.cpp if( mat->cols + mat->rows - 1 > ptseq->total ) total 589 modules/imgproc/src/convhull.cpp if( ptseq->total < 4 || hull->total < 3) total 643 modules/imgproc/src/convhull.cpp for( i = 0; i < hull->total; i++ ) total 733 modules/imgproc/src/convhull.cpp if( contour->total == 0 ) total 633 modules/imgproc/src/demosaicing.cpp parallel_for_(range, invoker, dstmat.total()/static_cast<double>(1<<16)); total 893 modules/imgproc/src/demosaicing.cpp parallel_for_(range, invoker, dstmat.total()/static_cast<double>(1<<16)); total 1589 modules/imgproc/src/demosaicing.cpp parallel_for_(range, invoker, dst.total()/static_cast<double>(1<<16)); total 580 modules/imgproc/src/distransform.cpp cv::parallel_for_(cv::Range(0, n), cv::DTColumnInvoker(&src, &dst, sat_tab, sqr_tab), src.total()/(double)(1<<16)); total 746 modules/imgproc/src/distransform.cpp if ((currentParallelFramework()==NULL) || (src.total()<(int)(1<<14))) total 1265 modules/imgproc/src/drawing.cpp int i, y, total = (int)edges.size(); total 1271 modules/imgproc/src/drawing.cpp if( total < 2 ) total 1274 modules/imgproc/src/drawing.cpp for( i = 0; i < total; i++ ) total 1328 modules/imgproc/src/drawing.cpp else if( i < total ) total 1843 modules/imgproc/src/drawing.cpp int i, total = 0; total 1845 modules/imgproc/src/drawing.cpp total += npts[i]; total 1847 modules/imgproc/src/drawing.cpp edges.reserve( total + 1 ); total 2196 modules/imgproc/src/drawing.cpp int i, ncontours = (int)pts.total(); total 2222 modules/imgproc/src/drawing.cpp int i, ncontours = manyContours ? (int)pts.total() : 1; total 2233 modules/imgproc/src/drawing.cpp if( p.total() == 0 ) total 2259 modules/imgproc/src/drawing.cpp !ci.empty() ? (void*)ci.ptr() : 0, (int)ci.total(), total 2283 modules/imgproc/src/drawing.cpp size_t ncontours = _contours.total(); total 2324 modules/imgproc/src/drawing.cpp CV_Assert(hierarchy.total() == ncontours && hierarchy.type() == CV_32SC4 ); total 2360 modules/imgproc/src/drawing.cpp ((count) -= ((count) == (seq)->total && !CV_IS_SEQ_CLOSED(seq))) total 2402 modules/imgproc/src/drawing.cpp int i, count = contour->total; total 84 modules/imgproc/src/featureselect.cpp size_t total, i, j, ncorners = 0, possibleCornersCount = total 117 modules/imgproc/src/featureselect.cpp k.args(eigarg, eig.cols, (int)eig.total(), dbarg, maskarg); total 119 modules/imgproc/src/featureselect.cpp k.args(eigarg, eig.cols, (int)eig.total(), dbarg); total 164 modules/imgproc/src/featureselect.cpp total = std::min<size_t>(tmpCorners.at<Vec2i>(0, 0)[0], possibleCornersCount); total 165 modules/imgproc/src/featureselect.cpp if (total == 0) total 173 modules/imgproc/src/featureselect.cpp std::sort(corner_ptr, corner_ptr + total); total 176 modules/imgproc/src/featureselect.cpp corners.reserve(total); total 190 modules/imgproc/src/featureselect.cpp for( i = 0; i < total; i++ ) total 246 modules/imgproc/src/featureselect.cpp for( i = 0; i < total; i++ ) total 315 modules/imgproc/src/featureselect.cpp size_t i, j, total = tmpCorners.size(), ncorners = 0; total 331 modules/imgproc/src/featureselect.cpp for( i = 0; i < total; i++ ) total 390 modules/imgproc/src/featureselect.cpp for( i = 0; i < total; i++ ) total 3976 modules/imgproc/src/filter.cpp #define DIVUP(total, grain) (((total) + (grain) - 1) / (grain)) total 300 modules/imgproc/src/generalized_hough.cpp const int total = static_cast<int>(posOutBuf_.size()); total 305 modules/imgproc/src/generalized_hough.cpp _positions.create(1, total, CV_32FC4); total 307 modules/imgproc/src/generalized_hough.cpp Mat(1, total, CV_32FC4, &posOutBuf_[0]).copyTo(positions); total 317 modules/imgproc/src/generalized_hough.cpp _votes.create(1, total, CV_32SC3); total 319 modules/imgproc/src/generalized_hough.cpp Mat(1, total, CV_32SC3, &voteOutBuf_[0]).copyTo(votes); total 99 modules/imgproc/src/geometry.cpp int i, total = contour.checkVector(2), counter = 0; total 101 modules/imgproc/src/geometry.cpp CV_Assert( total >= 0 && (depth == CV_32S || depth == CV_32F)); total 107 modules/imgproc/src/geometry.cpp if( total == 0 ) total 116 modules/imgproc/src/geometry.cpp Point v0, v = cnt[total-1]; total 118 modules/imgproc/src/geometry.cpp for( i = 0; i < total; i++ ) total 151 modules/imgproc/src/geometry.cpp v = cntf[total-1]; total 155 modules/imgproc/src/geometry.cpp v = cnt[total-1]; total 160 modules/imgproc/src/geometry.cpp for( i = 0; i < total; i++ ) total 191 modules/imgproc/src/geometry.cpp for( i = 0; i < total; i++ ) total 433 modules/imgproc/src/histogram.cpp && histogram.total() >= 8*8*8 ); total 554 modules/imgproc/src/histogram.cpp return ( histogram.total() >= 8 total 639 modules/imgproc/src/histogram.cpp return ( (histogram.total() > 4*4 && histogram.total() <= 116*116 total 641 modules/imgproc/src/histogram.cpp || (histogram.total() > 116*116 && imageSize.width * imageSize.height >= 1280*720) ); total 712 modules/imgproc/src/histogram.cpp return ( histogram.total() >= 128*128*128 total 1248 modules/imgproc/src/histogram.cpp int nstripes = std::min<int>(8, static_cast<int>(src.total() / (1 << 16))); total 1505 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); total 1553 modules/imgproc/src/histogram.cpp CV_OCL_RUN(images.total() == 1 && channels.size() == 1 && images.channels(0) == 1 && total 1560 modules/imgproc/src/histogram.cpp int nimages = (int)images.total(); total 2248 modules/imgproc/src/histogram.cpp int nimages = (int)images.total(); total 2461 modules/imgproc/src/histogram.cpp size_t total = H1.total(); total 2462 modules/imgproc/src/histogram.cpp double scale = 1./total; total 2528 modules/imgproc/src/histogram.cpp size_t total = 1; total 2530 modules/imgproc/src/histogram.cpp total *= H1.size(i); total 2531 modules/imgproc/src/histogram.cpp double scale = 1./total; total 2890 modules/imgproc/src/histogram.cpp int size1[CV_MAX_DIM], size2[CV_MAX_DIM], total = 1; total 2916 modules/imgproc/src/histogram.cpp total *= size1[i]; total 2950 modules/imgproc/src/histogram.cpp double num, denom2, scale = 1./total; total 3114 modules/imgproc/src/histogram.cpp int dims, size[CV_MAX_DIM], total = 0; total 3125 modules/imgproc/src/histogram.cpp total += size[i]+1; total 3147 modules/imgproc/src/histogram.cpp total*sizeof(hist->thresh2[0][0])); total 3490 modules/imgproc/src/histogram.cpp return ( src.total() >= 640*480 ); total 3555 modules/imgproc/src/histogram.cpp return ( src.total() >= 640*480 ); total 3595 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); total 3607 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrReadOnly(ghist), (int)_src.total()); total 3654 modules/imgproc/src/histogram.cpp int total = (int)src.total(); total 3655 modules/imgproc/src/histogram.cpp if (hist[i] == total) total 3661 modules/imgproc/src/histogram.cpp float scale = (hist_sz - 1.f)/(total - hist[i]); total 3744 modules/imgproc/src/histogram.cpp int i, dims, size[CV_MAX_DIM], total = 0; total 3750 modules/imgproc/src/histogram.cpp total += size[i]+1; total 3768 modules/imgproc/src/histogram.cpp total*sizeof(h->thresh2[0][0])); total 668 modules/imgproc/src/hough.cpp _pointsList.create(1, (int) src.total(), CV_32SC1); total 938 modules/imgproc/src/hough.cpp linesMax = lines->total; total 1102 modules/imgproc/src/hough.cpp nz_count = nz->total; total 1118 modules/imgproc/src/hough.cpp center_count = centers->total; total 1138 modules/imgproc/src/hough.cpp for( i = 0; i < centers->total; i++ ) total 1149 modules/imgproc/src/hough.cpp for( j = 0; j < circles->total; j++ ) total 1156 modules/imgproc/src/hough.cpp if( j < circles->total ) total 1214 modules/imgproc/src/hough.cpp if( circles->total > circles_max ) total 1270 modules/imgproc/src/hough.cpp circles_max = circles->total; total 1290 modules/imgproc/src/hough.cpp mat->cols = circles->total; total 1292 modules/imgproc/src/hough.cpp mat->rows = circles->total; total 1308 modules/imgproc/src/hough.cpp if( seq && seq->total > 0 ) total 1310 modules/imgproc/src/hough.cpp _arr.create(1, seq->total, seq->flags, -1, true); total 441 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 1789 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 2501 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 2653 modules/imgproc/src/imgwarp.cpp dst.total()/((double)(1 << 16))); total 3269 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 4706 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total() / (double)(1 << 16)); total 4762 modules/imgproc/src/imgwarp.cpp parallel_for_(Range(0, dst.rows), invoker, dst.total()/(double)(1<<16)); total 5662 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 5682 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 6090 modules/imgproc/src/imgwarp.cpp CV_Assert( _src.total() > 0 ); total 6166 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 6182 modules/imgproc/src/imgwarp.cpp parallel_for_(range, invoker, dst.total()/(double)(1<<16)); total 1233 modules/imgproc/src/lsd.cpp for (unsigned int i = 0; i < I1.total(); ++i) total 777 modules/imgproc/src/shapedescr.cpp if( contour->total <= 0 || lpt <= 2 ) total 933 modules/imgproc/src/shapedescr.cpp if( cvSliceLength( slice, contour ) == contour->total ) total 979 modules/imgproc/src/shapedescr.cpp if( contour->total > 1 ) total 987 modules/imgproc/src/shapedescr.cpp count -= !is_closed && count == contour->total; total 1092 modules/imgproc/src/shapedescr.cpp else if( ptseq->total ) total 1029 modules/imgproc/src/smooth.cpp #define DIVUP(total, grain) ((total + grain - 1) / (grain)) total 2739 modules/imgproc/src/smooth.cpp double img_size_mp = (double)(src0.total())/(1 << 20); total 3093 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, dst.rows), body, dst.total()/(double)(1<<16)); total 3132 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, size.height), body, dst.total()/(double)(1<<16)); total 3404 modules/imgproc/src/smooth.cpp parallel_for_(Range(0, size.height), body, dst.total()/(double)(1<<16)); total 533 modules/imgproc/src/subdivision2d.cpp size_t i, total = qedges.size(); total 535 modules/imgproc/src/subdivision2d.cpp for( i = 0; i < total; i++ ) total 538 modules/imgproc/src/subdivision2d.cpp total = vtx.size(); total 539 modules/imgproc/src/subdivision2d.cpp for( i = 0; i < total; i++ ) total 579 modules/imgproc/src/subdivision2d.cpp int i, total = (int)qedges.size(); total 582 modules/imgproc/src/subdivision2d.cpp for( i = 4; i < total; i++ ) total 664 modules/imgproc/src/subdivision2d.cpp int i, total = (int)vtx.size(); total 666 modules/imgproc/src/subdivision2d.cpp for( i = 0; i < total; i++ ) total 729 modules/imgproc/src/subdivision2d.cpp int i, total = (int)(qedges.size()*4); total 730 modules/imgproc/src/subdivision2d.cpp std::vector<bool> edgemask(total, false); total 732 modules/imgproc/src/subdivision2d.cpp for( i = 4; i < total; i += 2 ) total 760 modules/imgproc/src/subdivision2d.cpp size_t i, total; total 762 modules/imgproc/src/subdivision2d.cpp i = 4, total = vtx.size(); total 764 modules/imgproc/src/subdivision2d.cpp i = 0, total = idx.size(); total 766 modules/imgproc/src/subdivision2d.cpp for( ; i < total; i++ ) total 791 modules/imgproc/src/subdivision2d.cpp int i, j, total = (int)qedges.size(); total 793 modules/imgproc/src/subdivision2d.cpp for( i = 0; i < total; i++ ) total 105 modules/imgproc/src/templmatch.cpp k.args(srcarg, src.cols, (int)src.total(), resarg); total 1271 modules/imgproc/src/thresh.cpp dst.total()/(double)(1<<16)); total 70 modules/imgproc/test/ocl/test_houghlines.cpp if (dst.total() > 0) total 139 modules/imgproc/test/ocl/test_houghlines.cpp if (dst.total() > 0 && lines_gpu.total() > 0) total 110 modules/imgproc/test/ocl/test_warp.cpp EXPECT_MAT_N_DIFF(dst_roi, udst_roi, cvRound(dst_roi.total()*threshold)); total 130 modules/imgproc/test/test_approxpoly.cpp int total = cvtest::randInt(rng) % 1000 + 1; total 143 modules/imgproc/test/test_approxpoly.cpp for( i = 0; i < total; i++ ) total 146 modules/imgproc/test/test_approxpoly.cpp int d_angle = 360/total;//cvtest::randInt( rng ) % 10 - 5; total 245 modules/imgproc/test/test_approxpoly.cpp Count = SrcSeq->total; total 259 modules/imgproc/test/test_approxpoly.cpp for( i = 1, j = 0 ; i <= DstSeq->total ; ) total 348 modules/imgproc/test/test_contours.cpp if( seq1->total != seq2->total ) total 352 modules/imgproc/test/test_contours.cpp count3, seq1->total, seq2->total ); total 357 modules/imgproc/test/test_contours.cpp for(int i = 0; i < seq1->total; i++ ) total 276 modules/imgproc/test/test_convhull.cpp int i, k, n, total, point_type; total 291 modules/imgproc/test/test_convhull.cpp total = ptseq->total; total 299 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; total 309 modules/imgproc/test/test_convhull.cpp for( i = 0; i < total; i++ ) total 391 modules/imgproc/test/test_convhull.cpp points2 = cvCreateMat( 1, points1->total, CV_SEQ_ELTYPE(points1) ); total 486 modules/imgproc/test/test_convhull.cpp int sz = points1 ? points1->total : points2->cols + points2->rows - 1; total 556 modules/imgproc/test/test_convhull.cpp point_count = ptseq->total; total 565 modules/imgproc/test/test_convhull.cpp hull_count = hseq->total; total 1049 modules/imgproc/test/test_convhull.cpp int total; total 1061 modules/imgproc/test/test_convhull.cpp total = points1->total; total 1064 modules/imgproc/test/test_convhull.cpp total = points2->cols + points2->rows - 1; total 1068 modules/imgproc/test/test_convhull.cpp slice.start_index = cvtest::randInt(rng) % total; total 1069 modules/imgproc/test/test_convhull.cpp slice.end_index = cvtest::randInt(rng) % total; total 1091 modules/imgproc/test/test_convhull.cpp int i, len = slice.end_index - slice.start_index, total = points2->cols + points2->rows - 1; total 1096 modules/imgproc/test/test_convhull.cpp len += total; total 1098 modules/imgproc/test/test_convhull.cpp len = MIN( len, total ); total 1102 modules/imgproc/test/test_convhull.cpp prev_pt = ptr[(is_closed ? slice.start_index+len-1 : slice.start_index) % total]; total 1104 modules/imgproc/test/test_convhull.cpp for( i = 0; i < len + (len < total && (!is_closed || len==1)); i++ ) total 1106 modules/imgproc/test/test_convhull.cpp pt = ptr[(i + slice.start_index) % total]; total 1160 modules/imgproc/test/test_convhull.cpp int i, total, point_type; total 1183 modules/imgproc/test/test_convhull.cpp total = ptseq->total; total 1191 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; total 1198 modules/imgproc/test/test_convhull.cpp for( i = 0; i < total; i++ ) total 1450 modules/imgproc/test/test_convhull.cpp int i, k, n, total, point_type; total 1474 modules/imgproc/test/test_convhull.cpp total = ptseq->total; total 1482 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; total 1487 modules/imgproc/test/test_convhull.cpp for( i = 0; i < total; i++ ) total 1642 modules/imgproc/test/test_convhull.cpp int i, total, point_type; total 1650 modules/imgproc/test/test_convhull.cpp total = ptseq->total; total 1658 modules/imgproc/test/test_convhull.cpp total = ptm->rows + ptm->cols - 1; total 1665 modules/imgproc/test/test_convhull.cpp for( i = 0; i < total; i++ ) total 1670 modules/imgproc/test/test_convhull.cpp double phi0 = 2*CV_PI*i/total; total 325 modules/imgproc/test/test_floodfill.cpp while( seq->total ) total 369 modules/imgproc/test/test_floodfill.cpp while( seq->total ) total 193 modules/imgproc/test/test_houghLines.cpp EXPECT_GE( count, (int) (exp_lines.total() * 0.8) ); total 195 modules/imgproc/test/test_houghLines.cpp EXPECT_EQ( count, (int) exp_lines.total()); total 187 modules/imgproc/test/test_moments.cpp printf("%g\n", ttime/ncalls/u.total())); total 1650 modules/java/generator/src/cpp/Mat.cpp return me->total( ); total 1005 modules/ml/src/ann_mlp.cpp int total = 0; total 1008 modules/ml/src/ann_mlp.cpp total += layer_sizes[i]; total 1015 modules/ml/src/ann_mlp.cpp int dcount0 = max_buf_size/(2*total); total 1161 modules/ml/src/ann_mlp.cpp fs.writeRaw("d", weights[0].ptr(), weights[0].total()*esz); total 1164 modules/ml/src/ann_mlp.cpp fs.writeRaw("d", weights[l_count].ptr(), weights[l_count].total()*esz); total 1167 modules/ml/src/ann_mlp.cpp fs.writeRaw("d", weights[l_count+1].ptr(), weights[l_count+1].total()*esz); total 1173 modules/ml/src/ann_mlp.cpp fs.writeRaw("d", weights[i].ptr(), weights[i].total()*esz); total 1261 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[0].ptr(), weights[0].total()*esz); total 1264 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[l_count].ptr(), weights[l_count].total()*esz); total 1267 modules/ml/src/ann_mlp.cpp w.readRaw("d", weights[l_count+1].ptr(), weights[l_count+1].total()*esz); total 1272 modules/ml/src/ann_mlp.cpp (*w_it).readRaw("d", weights[i].ptr(), weights[i].total()*esz); total 131 modules/ml/src/data.cpp return !sampleIdx.empty() ? (int)sampleIdx.total() : total 136 modules/ml/src/data.cpp return !trainSampleIdx.empty() ? (int)trainSampleIdx.total() : getNSamples(); total 140 modules/ml/src/data.cpp return !testSampleIdx.empty() ? (int)testSampleIdx.total() : 0; total 144 modules/ml/src/data.cpp return !varIdx.empty() ? (int)varIdx.total() : getNAllVars(); total 198 modules/ml/src/data.cpp int n = (int)catOfs.total(); total 279 modules/ml/src/data.cpp std::sort(varIdx.ptr<int>(), varIdx.ptr<int>() + varIdx.total()); total 285 modules/ml/src/data.cpp if( (responses.cols == 1 || responses.rows == 1) && (int)responses.total() == nsamples ) total 895 modules/ml/src/data.cpp int i, n = (int)_sidx.total(); total 263 modules/ml/src/em.cpp (weights->cols == 1 || weights->rows == 1) && static_cast<int>(weights->total()) == nclusters && total 467 modules/ml/src/em.cpp const int evalCount = static_cast<int>(covsEigenValues[clusterIndex].total()); total 1121 modules/ml/src/gbt.cpp for( i = 0; i < weak[j]->total; i++ ) total 1176 modules/ml/src/gbt.cpp ntrees = trees_fnode->data.seq->total; total 74 modules/ml/src/inner_functions.cpp int i, n = (int)sidx.total(); total 155 modules/ml/src/inner_functions.cpp int dim = (int)mean.total(); total 280 modules/ml/src/kdtree.cpp CV_Assert( vecmat.isContinuous() && vecmat.type() == CV_32F && vecmat.total() == (size_t)points.cols ); total 430 modules/ml/src/kdtree.cpp lowerBound.total() == (size_t)ptdims ); total 483 modules/ml/src/kdtree.cpp int i, nidx = (int)idxmat.total(); total 232 modules/ml/src/lr.cpp if(this->learnt_thetas.total()<=0) total 62 modules/ml/src/nbayes.cpp int nclasses = (int)__cls_labels.total(); total 226 modules/ml/src/nbayes.cpp int nclasses = (int)cls_labels->total(); total 309 modules/ml/src/nbayes.cpp int nsamples = samples.rows, nclasses = (int)cls_labels.total(); total 343 modules/ml/src/nbayes.cpp int nclasses = (int)cls_labels.total(), i; total 345 modules/ml/src/nbayes.cpp fs << "var_count" << (var_idx.empty() ? nallvars : (int)var_idx.total()); total 394 modules/ml/src/nbayes.cpp int nclasses = (int)cls_labels.total(), i; total 1408 modules/ml/src/svm.cpp int class_count = (int)class_labels.total(); total 1421 modules/ml/src/svm.cpp (int)cw.total() != class_count || total 1678 modules/ml/src/svm.cpp int class_count = (int)class_labels.total(); total 1684 modules/ml/src/svm.cpp class_count = (int)class_labels.total(); total 1841 modules/ml/src/svm.cpp int class_count = !svm->class_labels.empty() ? (int)svm->class_labels.total() : svmType == ONE_CLASS ? 1 : 0; total 2024 modules/ml/src/svm.cpp int class_count = !class_labels.empty() ? (int)class_labels.total() : total 2161 modules/ml/src/svm.cpp if( class_count > 1 && (class_labels.empty() || (int)class_labels.total() != class_count)) total 80 modules/ml/test/test_emknearestkmeans.cpp int total = 0; total 82 modules/ml/test/test_emknearestkmeans.cpp total += *sit; total 84 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( !data.empty() && data.rows == total ); total 139 modules/ml/test/test_emknearestkmeans.cpp size_t total = 0, nclusters = sizes.size(); total 141 modules/ml/test/test_emknearestkmeans.cpp total += sizes[i]; total 144 modules/ml/test/test_emknearestkmeans.cpp assert( labels.total() == total && (labels.cols == 1 || labels.rows == 1)); total 161 modules/ml/test/test_emknearestkmeans.cpp CV_Assert(count[lbl] < (int)total); total 190 modules/ml/test/test_emknearestkmeans.cpp CV_Assert( labels.total() == origLabels.total() ); total 74 modules/ml/test/test_lr.cpp CV_Assert(_p_labels_temp.total() == _o_labels_temp.total()); total 92 modules/ml/test/test_mltests2.cpp int nvars = (int)var_idx.total(); total 108 modules/ml/test/test_mltests2.cpp int nresponses = (int)responses.total(); total 109 modules/ml/test/test_mltests2.cpp int si, n = !train_sidx.empty() ? (int)train_sidx.total() : nresponses; total 139 modules/ml/test/test_mltests2.cpp int sample_count = (int)sample_idx.total(); total 42 modules/objdetect/misc/java/test/CascadeClassifierTest.java assertEquals(1, faces.total()); total 2068 modules/objdetect/src/haar.cpp n = stages_fn->data.seq->total; total 2073 modules/objdetect/src/haar.cpp if( !seq_fn || !CV_NODE_IS_SEQ( seq_fn->tag ) || seq_fn->data.seq->total != 2 ) total 2100 modules/objdetect/src/haar.cpp || trees_fn->data.seq->total <= 0 ) total 2107 modules/objdetect/src/haar.cpp (CvHaarClassifier*) cvAlloc( trees_fn->data.seq->total total 2109 modules/objdetect/src/haar.cpp for( j = 0; j < trees_fn->data.seq->total; ++j ) total 2113 modules/objdetect/src/haar.cpp cascade->stage_classifier[i].count = trees_fn->data.seq->total; total 2116 modules/objdetect/src/haar.cpp for( j = 0; j < trees_fn->data.seq->total; ++j ) total 2125 modules/objdetect/src/haar.cpp if( !CV_NODE_IS_SEQ( tree_fn->tag ) || tree_fn->data.seq->total <= 0 ) total 2132 modules/objdetect/src/haar.cpp classifier->count = tree_fn->data.seq->total; total 2145 modules/objdetect/src/haar.cpp for( k = 0, last_idx = 0; k < tree_fn->data.seq->total; ++k ) total 2168 modules/objdetect/src/haar.cpp || rects_fn->data.seq->total < 1 total 2169 modules/objdetect/src/haar.cpp || rects_fn->data.seq->total > CV_HAAR_FEATURE_MAX ) total 2176 modules/objdetect/src/haar.cpp for( l = 0; l < rects_fn->data.seq->total; ++l ) total 2182 modules/objdetect/src/haar.cpp if( !CV_NODE_IS_SEQ( rect_fn->tag ) || rect_fn->data.seq->total != 5 ) total 2238 modules/objdetect/src/haar.cpp for( l = rects_fn->data.seq->total; l < CV_HAAR_FEATURE_MAX; ++l ) total 2264 modules/objdetect/src/haar.cpp || fn->data.i >= tree_fn->data.seq->total ) total 2302 modules/objdetect/src/haar.cpp || fn->data.i >= tree_fn->data.seq->total ) total 1390 modules/objdetect/src/hog.cpp descriptors.reshape(1, (int)descriptors.total()).getMat(ACCESS_READ).copyTo(_descriptors); total 446 modules/objdetect/test/test_cascadeandhog.cpp for( int i = 0; i < rs->total; i++ ) total 138 modules/photo/src/align.cpp int min_err = (int)pyr0[level].total(); total 256 modules/photo/src/align.cpp int thresh = (int)img.total() / 2; total 70 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); total 190 modules/photo/src/calibrate.cpp CV_Assert(images.size() == times.total()); total 204 modules/photo/src/calibrate.cpp for(size_t pos = 0; pos < images[i].total(); pos++) { total 222 modules/photo/src/calibrate.cpp for(size_t pos = 0; pos < images[i].total(); pos++) { total 53 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 17)); total 248 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 16)); total 65 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); total 305 modules/photo/src/merge.cpp CV_Assert(images.size() == times.total()); total 132 modules/photo/src/tonemap.cpp float mean = expf(static_cast<float>(sum(log_img)[0]) / log_img.total()); total 300 modules/photo/src/tonemap.cpp float log_mean = static_cast<float>(sum(log_img)[0] / log_img.total()); total 155 modules/photo/test/test_denoising.cpp int nonWhitePixelsCount = (int)img.total() - cv::countNonZero(filtered == img); total 107 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); total 108 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); total 160 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); total 161 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); total 186 modules/ts/src/ts_func.cpp int total = (int)planes[0].total(), maxsize = std::min(12*12*std::max(12/cn, 1), total); total 197 modules/ts/src/ts_func.cpp for( int j = 0; j < total; j += maxsize ) total 199 modules/ts/src/ts_func.cpp int j2 = std::min(j + maxsize, total); total 234 modules/ts/src/ts_func.cpp convert_(const _Tp1* src, _Tp2* dst, size_t total, double alpha, double beta) total 238 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 241 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 244 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 249 modules/ts/src/ts_func.cpp convertTo(const _Tp* src, void* dst, int dtype, size_t total, double alpha, double beta) total 254 modules/ts/src/ts_func.cpp convert_(src, (uchar*)dst, total, alpha, beta); total 257 modules/ts/src/ts_func.cpp convert_(src, (schar*)dst, total, alpha, beta); total 260 modules/ts/src/ts_func.cpp convert_(src, (ushort*)dst, total, alpha, beta); total 263 modules/ts/src/ts_func.cpp convert_(src, (short*)dst, total, alpha, beta); total 266 modules/ts/src/ts_func.cpp convert_(src, (int*)dst, total, alpha, beta); total 269 modules/ts/src/ts_func.cpp convert_(src, (float*)dst, total, alpha, beta); total 272 modules/ts/src/ts_func.cpp convert_(src, (double*)dst, total, alpha, beta); total 301 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); total 312 modules/ts/src/ts_func.cpp convertTo((const uchar*)sptr, dptr, dtype, total, alpha, beta); total 315 modules/ts/src/ts_func.cpp convertTo((const schar*)sptr, dptr, dtype, total, alpha, beta); total 318 modules/ts/src/ts_func.cpp convertTo((const ushort*)sptr, dptr, dtype, total, alpha, beta); total 321 modules/ts/src/ts_func.cpp convertTo((const short*)sptr, dptr, dtype, total, alpha, beta); total 324 modules/ts/src/ts_func.cpp convertTo((const int*)sptr, dptr, dtype, total, alpha, beta); total 327 modules/ts/src/ts_func.cpp convertTo((const float*)sptr, dptr, dtype, total, alpha, beta); total 330 modules/ts/src/ts_func.cpp convertTo((const double*)sptr, dptr, dtype, total, alpha, beta); total 347 modules/ts/src/ts_func.cpp size_t planeSize = planes[0].total()*src.elemSize(); total 361 modules/ts/src/ts_func.cpp size_t j, k, elemSize = src.elemSize(), total = planes[0].total(); total 370 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++, sptr += elemSize, dptr += elemSize ) total 392 modules/ts/src/ts_func.cpp size_t j, k, elemSize = dst.elemSize(), planeSize = plane.total()*elemSize; total 422 modules/ts/src/ts_func.cpp size_t j, k, elemSize = dst.elemSize(), total = planes[0].total(); total 430 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++, dptr += elemSize ) total 449 modules/ts/src/ts_func.cpp size_t j, k, size0 = src.elemSize(), size1 = dst.elemSize(), total = planes[0].total(); total 456 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++, sptr += size0, dptr += size1 ) total 474 modules/ts/src/ts_func.cpp size_t j, k, size0 = src.elemSize(), size1 = dst.elemSize(), total = planes[0].total(); total 481 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++, sptr += size0, dptr += size1 ) total 511 modules/ts/src/ts_func.cpp randUniInt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta) total 513 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i += cn ) total 523 modules/ts/src/ts_func.cpp randUniFlt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta) total 525 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i += cn ) total 559 modules/ts/src/ts_func.cpp size_t total = plane.total()*cn; total 566 modules/ts/src/ts_func.cpp randUniInt_(rng, plane.ptr<uchar>(), total, cn, scale, delta); total 569 modules/ts/src/ts_func.cpp randUniInt_(rng, plane.ptr<schar>(), total, cn, scale, delta); total 572 modules/ts/src/ts_func.cpp randUniInt_(rng, plane.ptr<ushort>(), total, cn, scale, delta); total 575 modules/ts/src/ts_func.cpp randUniInt_(rng, plane.ptr<short>(), total, cn, scale, delta); total 578 modules/ts/src/ts_func.cpp randUniInt_(rng, plane.ptr<int>(), total, cn, scale, delta); total 581 modules/ts/src/ts_func.cpp randUniFlt_(rng, plane.ptr<float>(), total, cn, scale, delta); total 584 modules/ts/src/ts_func.cpp randUniFlt_(rng, plane.ptr<double>(), total, cn, scale, delta); total 970 modules/ts/src/ts_func.cpp minMaxLoc_(const _Tp* src, size_t total, size_t startidx, total 980 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 997 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 1049 modules/ts/src/ts_func.cpp size_t startidx = 1, total = planes[0].total(); total 1056 modules/ts/src/ts_func.cpp for( i = 0; i < nplanes; i++, ++it, startidx += total ) total 1064 modules/ts/src/ts_func.cpp minMaxLoc_((const uchar*)sptr, total, startidx, total 1068 modules/ts/src/ts_func.cpp minMaxLoc_((const schar*)sptr, total, startidx, total 1072 modules/ts/src/ts_func.cpp minMaxLoc_((const ushort*)sptr, total, startidx, total 1076 modules/ts/src/ts_func.cpp minMaxLoc_((const short*)sptr, total, startidx, total 1080 modules/ts/src/ts_func.cpp minMaxLoc_((const int*)sptr, total, startidx, total 1084 modules/ts/src/ts_func.cpp minMaxLoc_((const float*)sptr, total, startidx, total 1088 modules/ts/src/ts_func.cpp minMaxLoc_((const double*)sptr, total, startidx, total 1111 modules/ts/src/ts_func.cpp normHamming(const uchar* src, size_t total, int cellSize) total 1117 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 1128 modules/ts/src/ts_func.cpp norm_(const _Tp* src, size_t total, int cn, int normType, double startval, const uchar* mask) total 1133 modules/ts/src/ts_func.cpp total *= cn; total 1138 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1143 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1151 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1156 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1164 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1172 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1185 modules/ts/src/ts_func.cpp norm_(const _Tp* src1, const _Tp* src2, size_t total, int cn, int normType, double startval, const uchar* mask) total 1190 modules/ts/src/ts_func.cpp total *= cn; total 1195 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1200 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1208 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1213 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1221 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1229 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1259 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1265 modules/ts/src/ts_func.cpp result += normHamming(planes[0].ptr(), total, cellSize); total 1278 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1291 modules/ts/src/ts_func.cpp result = norm_((const uchar*)sptr, total, cn, normType, result, mptr); total 1294 modules/ts/src/ts_func.cpp result = norm_((const schar*)sptr, total, cn, normType, result, mptr); total 1297 modules/ts/src/ts_func.cpp result = norm_((const ushort*)sptr, total, cn, normType, result, mptr); total 1300 modules/ts/src/ts_func.cpp result = norm_((const short*)sptr, total, cn, normType, result, mptr); total 1303 modules/ts/src/ts_func.cpp result = norm_((const int*)sptr, total, cn, normType, result, mptr); total 1306 modules/ts/src/ts_func.cpp result = norm_((const float*)sptr, total, cn, normType, result, mptr); total 1309 modules/ts/src/ts_func.cpp result = norm_((const double*)sptr, total, cn, normType, result, mptr); total 1340 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1346 modules/ts/src/ts_func.cpp result += normHamming(planes[0].ptr(), total, cellSize); total 1359 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1373 modules/ts/src/ts_func.cpp result = norm_((const uchar*)sptr1, (const uchar*)sptr2, total, cn, normType, result, mptr); total 1376 modules/ts/src/ts_func.cpp result = norm_((const schar*)sptr1, (const schar*)sptr2, total, cn, normType, result, mptr); total 1379 modules/ts/src/ts_func.cpp result = norm_((const ushort*)sptr1, (const ushort*)sptr2, total, cn, normType, result, mptr); total 1382 modules/ts/src/ts_func.cpp result = norm_((const short*)sptr1, (const short*)sptr2, total, cn, normType, result, mptr); total 1385 modules/ts/src/ts_func.cpp result = norm_((const int*)sptr1, (const int*)sptr2, total, cn, normType, result, mptr); total 1388 modules/ts/src/ts_func.cpp result = norm_((const float*)sptr1, (const float*)sptr2, total, cn, normType, result, mptr); total 1391 modules/ts/src/ts_func.cpp result = norm_((const double*)sptr1, (const double*)sptr2, total, cn, normType, result, mptr); total 1405 modules/ts/src/ts_func.cpp double diff = std::sqrt(cvtest::norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); total 1410 modules/ts/src/ts_func.cpp crossCorr_(const _Tp* src1, const _Tp* src2, size_t total) total 1413 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 1425 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); total 1438 modules/ts/src/ts_func.cpp result += crossCorr_((const uchar*)sptr1, (const uchar*)sptr2, total); total 1441 modules/ts/src/ts_func.cpp result += crossCorr_((const schar*)sptr1, (const schar*)sptr2, total); total 1444 modules/ts/src/ts_func.cpp result += crossCorr_((const ushort*)sptr1, (const ushort*)sptr2, total); total 1447 modules/ts/src/ts_func.cpp result += crossCorr_((const short*)sptr1, (const short*)sptr2, total); total 1450 modules/ts/src/ts_func.cpp result += crossCorr_((const int*)sptr1, (const int*)sptr2, total); total 1453 modules/ts/src/ts_func.cpp result += crossCorr_((const float*)sptr1, (const float*)sptr2, total); total 1456 modules/ts/src/ts_func.cpp result += crossCorr_((const double*)sptr1, (const double*)sptr2, total); total 1467 modules/ts/src/ts_func.cpp logicOp_(const uchar* src1, const uchar* src2, uchar* dst, size_t total, char c) total 1471 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1474 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1477 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1482 modules/ts/src/ts_func.cpp logicOpS_(const uchar* src, const uchar* scalar, uchar* dst, size_t total, char c) total 1487 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) total 1489 modules/ts/src/ts_func.cpp size_t sz = MIN(total - i, blockSize); total 1494 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) total 1496 modules/ts/src/ts_func.cpp size_t sz = MIN(total - i, blockSize); total 1502 modules/ts/src/ts_func.cpp for( i = 0; i < total; i += blockSize, dst += blockSize, src += blockSize ) total 1504 modules/ts/src/ts_func.cpp size_t sz = MIN(total - i, blockSize); total 1510 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1524 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].elemSize(); total 1533 modules/ts/src/ts_func.cpp logicOp_(sptr1, sptr2, dptr, total, op); total 1546 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].elemSize(); total 1556 modules/ts/src/ts_func.cpp logicOpS_(sptr, (uchar*)&buf[0], dptr, total, op); total 1562 modules/ts/src/ts_func.cpp compare_(const _Tp* src1, const _Tp* src2, uchar* dst, size_t total, int cmpop) total 1568 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1572 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1576 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1580 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1584 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1588 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1598 modules/ts/src/ts_func.cpp compareS_(const _Tp* src1, _WTp value, uchar* dst, size_t total, int cmpop) total 1604 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1608 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1612 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1616 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1620 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1624 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1641 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1654 modules/ts/src/ts_func.cpp compare_((const uchar*)sptr1, (const uchar*)sptr2, dptr, total, cmpop); total 1657 modules/ts/src/ts_func.cpp compare_((const schar*)sptr1, (const schar*)sptr2, dptr, total, cmpop); total 1660 modules/ts/src/ts_func.cpp compare_((const ushort*)sptr1, (const ushort*)sptr2, dptr, total, cmpop); total 1663 modules/ts/src/ts_func.cpp compare_((const short*)sptr1, (const short*)sptr2, dptr, total, cmpop); total 1666 modules/ts/src/ts_func.cpp compare_((const int*)sptr1, (const int*)sptr2, dptr, total, cmpop); total 1669 modules/ts/src/ts_func.cpp compare_((const float*)sptr1, (const float*)sptr2, dptr, total, cmpop); total 1672 modules/ts/src/ts_func.cpp compare_((const double*)sptr1, (const double*)sptr2, dptr, total, cmpop); total 1688 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 1701 modules/ts/src/ts_func.cpp compareS_((const uchar*)sptr, ivalue, dptr, total, cmpop); total 1704 modules/ts/src/ts_func.cpp compareS_((const schar*)sptr, ivalue, dptr, total, cmpop); total 1707 modules/ts/src/ts_func.cpp compareS_((const ushort*)sptr, ivalue, dptr, total, cmpop); total 1710 modules/ts/src/ts_func.cpp compareS_((const short*)sptr, ivalue, dptr, total, cmpop); total 1713 modules/ts/src/ts_func.cpp compareS_((const int*)sptr, ivalue, dptr, total, cmpop); total 1716 modules/ts/src/ts_func.cpp compareS_((const float*)sptr, value, dptr, total, cmpop); total 1719 modules/ts/src/ts_func.cpp compareS_((const double*)sptr, value, dptr, total, cmpop); total 1729 modules/ts/src/ts_func.cpp cmpUlpsInt_(const _Tp* src1, const _Tp* src2, size_t total, int imaxdiff, total 1734 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1749 modules/ts/src/ts_func.cpp size_t total, int imaxdiff, total 1754 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1769 modules/ts/src/ts_func.cpp cmpUlpsFlt_(const int* src1, const int* src2, size_t total, int imaxdiff, size_t startidx, size_t& idx) total 1774 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1791 modules/ts/src/ts_func.cpp cmpUlpsFlt_(const int64* src1, const int64* src2, size_t total, int imaxdiff, size_t startidx, size_t& idx) total 1796 modules/ts/src/ts_func.cpp for( i = 0; i < total; i++ ) total 1817 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); total 1824 modules/ts/src/ts_func.cpp for( i = 0; i < nplanes; i++, ++it, startidx += total ) total 1833 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const uchar*)sptr1, (const uchar*)sptr2, total, imaxDiff, startidx, idx); total 1836 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const schar*)sptr1, (const schar*)sptr2, total, imaxDiff, startidx, idx); total 1839 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const ushort*)sptr1, (const ushort*)sptr2, total, imaxDiff, startidx, idx); total 1842 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const short*)sptr1, (const short*)sptr2, total, imaxDiff, startidx, idx); total 1845 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const int*)sptr1, (const int*)sptr2, total, imaxDiff, startidx, idx); total 1848 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsFlt_((const int*)sptr1, (const int*)sptr2, total, imaxDiff, startidx, idx); total 1851 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsFlt_((const int64*)sptr1, (const int64*)sptr2, total, imaxDiff, startidx, idx); total 1867 modules/ts/src/ts_func.cpp checkInt_(const _Tp* a, size_t total, int imin, int imax, size_t startidx, size_t& idx) total 1869 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 1882 modules/ts/src/ts_func.cpp checkFlt_(const _Tp* a, size_t total, double fmin, double fmax, size_t startidx, size_t& idx) total 1884 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 1903 modules/ts/src/ts_func.cpp size_t total = plane.total()*plane.channels(); total 1915 modules/ts/src/ts_func.cpp for( i = 0; i < nplanes; i++, ++it, startidx += total ) total 1922 modules/ts/src/ts_func.cpp checkInt_((const uchar*)aptr, total, imin, imax, startidx, idx); total 1925 modules/ts/src/ts_func.cpp checkInt_((const schar*)aptr, total, imin, imax, startidx, idx); total 1928 modules/ts/src/ts_func.cpp checkInt_((const ushort*)aptr, total, imin, imax, startidx, idx); total 1931 modules/ts/src/ts_func.cpp checkInt_((const short*)aptr, total, imin, imax, startidx, idx); total 1934 modules/ts/src/ts_func.cpp checkInt_((const int*)aptr, total, imin, imax, startidx, idx); total 1937 modules/ts/src/ts_func.cpp checkFlt_((const float*)aptr, total, fmin, fmax, startidx, idx); total 1940 modules/ts/src/ts_func.cpp checkFlt_((const double*)aptr, total, fmin, fmax, startidx, idx); total 1976 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(), j = total; total 1991 modules/ts/src/ts_func.cpp for( i = 0; i < nplanes; i++, ++it, startidx += total ) total 1999 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const uchar*)sptr1, (const uchar*)sptr2, total, ilevel, startidx, idx); total 2002 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const schar*)sptr1, (const schar*)sptr2, total, ilevel, startidx, idx); total 2005 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const ushort*)sptr1, (const ushort*)sptr2, total, ilevel, startidx, idx); total 2008 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const short*)sptr1, (const short*)sptr2, total, ilevel, startidx, idx); total 2011 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const int*)sptr1, (const int*)sptr2, total, ilevel, startidx, idx); total 2014 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++ ) total 2045 modules/ts/src/ts_func.cpp for( j = 0; j < total; j++ ) total 2124 modules/ts/src/ts_func.cpp if( a.total() == 1 ) total 2273 modules/ts/src/ts_func.cpp transform_(const _Tp* sptr, _Tp* dptr, size_t total, int scn, int dcn, const double* mat) total 2275 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++, sptr += scn, dptr += dcn ) total 2330 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 2341 modules/ts/src/ts_func.cpp transform_((const uchar*)sptr, (uchar*)dptr, total, scn, dcn, mat); total 2344 modules/ts/src/ts_func.cpp transform_((const schar*)sptr, (schar*)dptr, total, scn, dcn, mat); total 2347 modules/ts/src/ts_func.cpp transform_((const ushort*)sptr, (ushort*)dptr, total, scn, dcn, mat); total 2350 modules/ts/src/ts_func.cpp transform_((const short*)sptr, (short*)dptr, total, scn, dcn, mat); total 2353 modules/ts/src/ts_func.cpp transform_((const int*)sptr, (int*)dptr, total, scn, dcn, mat); total 2356 modules/ts/src/ts_func.cpp transform_((const float*)sptr, (float*)dptr, total, scn, dcn, mat); total 2359 modules/ts/src/ts_func.cpp transform_((const double*)sptr, (double*)dptr, total, scn, dcn, mat); total 2368 modules/ts/src/ts_func.cpp minmax_(const _Tp* src1, const _Tp* src2, _Tp* dst, size_t total, char op) total 2371 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2374 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2386 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); total 2398 modules/ts/src/ts_func.cpp minmax_((const uchar*)sptr1, (const uchar*)sptr2, (uchar*)dptr, total, op); total 2401 modules/ts/src/ts_func.cpp minmax_((const schar*)sptr1, (const schar*)sptr2, (schar*)dptr, total, op); total 2404 modules/ts/src/ts_func.cpp minmax_((const ushort*)sptr1, (const ushort*)sptr2, (ushort*)dptr, total, op); total 2407 modules/ts/src/ts_func.cpp minmax_((const short*)sptr1, (const short*)sptr2, (short*)dptr, total, op); total 2410 modules/ts/src/ts_func.cpp minmax_((const int*)sptr1, (const int*)sptr2, (int*)dptr, total, op); total 2413 modules/ts/src/ts_func.cpp minmax_((const float*)sptr1, (const float*)sptr2, (float*)dptr, total, op); total 2416 modules/ts/src/ts_func.cpp minmax_((const double*)sptr1, (const double*)sptr2, (double*)dptr, total, op); total 2437 modules/ts/src/ts_func.cpp minmax_(const _Tp* src1, _Tp val, _Tp* dst, size_t total, char op) total 2440 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2443 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2454 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); total 2466 modules/ts/src/ts_func.cpp minmax_((const uchar*)sptr1, saturate_cast<uchar>(ival), (uchar*)dptr, total, op); total 2469 modules/ts/src/ts_func.cpp minmax_((const schar*)sptr1, saturate_cast<schar>(ival), (schar*)dptr, total, op); total 2472 modules/ts/src/ts_func.cpp minmax_((const ushort*)sptr1, saturate_cast<ushort>(ival), (ushort*)dptr, total, op); total 2475 modules/ts/src/ts_func.cpp minmax_((const short*)sptr1, saturate_cast<short>(ival), (short*)dptr, total, op); total 2478 modules/ts/src/ts_func.cpp minmax_((const int*)sptr1, saturate_cast<int>(ival), (int*)dptr, total, op); total 2481 modules/ts/src/ts_func.cpp minmax_((const float*)sptr1, saturate_cast<float>(val), (float*)dptr, total, op); total 2484 modules/ts/src/ts_func.cpp minmax_((const double*)sptr1, saturate_cast<double>(val), (double*)dptr, total, op); total 2505 modules/ts/src/ts_func.cpp muldiv_(const _Tp* src1, const _Tp* src2, _Tp* dst, size_t total, double scale, char op) total 2508 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2511 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2514 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2526 modules/ts/src/ts_func.cpp size_t total = planes[1].total()*planes[1].channels(); total 2538 modules/ts/src/ts_func.cpp muldiv_((const uchar*)sptr1, (const uchar*)sptr2, (uchar*)dptr, total, scale, op); total 2541 modules/ts/src/ts_func.cpp muldiv_((const schar*)sptr1, (const schar*)sptr2, (schar*)dptr, total, scale, op); total 2544 modules/ts/src/ts_func.cpp muldiv_((const ushort*)sptr1, (const ushort*)sptr2, (ushort*)dptr, total, scale, op); total 2547 modules/ts/src/ts_func.cpp muldiv_((const short*)sptr1, (const short*)sptr2, (short*)dptr, total, scale, op); total 2550 modules/ts/src/ts_func.cpp muldiv_((const int*)sptr1, (const int*)sptr2, (int*)dptr, total, scale, op); total 2553 modules/ts/src/ts_func.cpp muldiv_((const float*)sptr1, (const float*)sptr2, (float*)dptr, total, scale, op); total 2556 modules/ts/src/ts_func.cpp muldiv_((const double*)sptr1, (const double*)sptr2, (double*)dptr, total, scale, op); total 2577 modules/ts/src/ts_func.cpp mean_(const _Tp* src, const uchar* mask, size_t total, int cn, Scalar& sum, int& nz) total 2581 modules/ts/src/ts_func.cpp nz += (int)total; total 2582 modules/ts/src/ts_func.cpp total *= cn; total 2583 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i += cn ) total 2591 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++ ) total 2611 modules/ts/src/ts_func.cpp size_t total = planes[0].total(); total 2623 modules/ts/src/ts_func.cpp mean_((const uchar*)sptr, mptr, total, cn, sum, nz); total 2626 modules/ts/src/ts_func.cpp mean_((const schar*)sptr, mptr, total, cn, sum, nz); total 2629 modules/ts/src/ts_func.cpp mean_((const ushort*)sptr, mptr, total, cn, sum, nz); total 2632 modules/ts/src/ts_func.cpp mean_((const short*)sptr, mptr, total, cn, sum, nz); total 2635 modules/ts/src/ts_func.cpp mean_((const int*)sptr, mptr, total, cn, sum, nz); total 2638 modules/ts/src/ts_func.cpp mean_((const float*)sptr, mptr, total, cn, sum, nz); total 2641 modules/ts/src/ts_func.cpp mean_((const double*)sptr, mptr, total, cn, sum, nz); total 404 modules/ts/src/ts_perf.cpp int total = (int)array.total(); total 405 modules/ts/src/ts_perf.cpp int idx = regRNG.uniform(0, total); total 406 modules/ts/src/ts_perf.cpp write() << "len" << total; total 411 modules/ts/src/ts_perf.cpp if (m.total() * m.channels() < 26) //5x5 or smaller total 418 modules/ts/src/ts_perf.cpp if (array.total() * array.channels() < 26) //5x5 or smaller total 460 modules/ts/src/ts_perf.cpp ASSERT_EQ(expected_length, (int)array.total()) << " Vector \"" << node.name() << "\" has unexpected length"; total 467 modules/ts/src/ts_perf.cpp ASSERT_LE((size_t)26, actual.total() * (size_t)actual.channels()) total 493 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) total 509 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) total 523 modules/ts/src/ts_perf.cpp ASSERT_LE((size_t)26, array.total() * (size_t)array.channels()) total 550 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) total 566 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) total 1040 modules/ts/src/ts_perf.cpp size_t total = a.total(); total 1041 modules/ts/src/ts_perf.cpp for (size_t i = 0; i < total; ++i) total 1049 modules/ts/src/ts_perf.cpp int total = (int)a.total(); total 1051 modules/ts/src/ts_perf.cpp return total * CV_ELEM_SIZE(a.type()); total 1054 modules/ts/src/ts_perf.cpp for (int i = 0; i < total; ++i) total 1055 modules/ts/src/ts_perf.cpp size += (int)a.total(i) * CV_ELEM_SIZE(a.type(i)); total 854 modules/video/src/bgfg_gaussmix2.cpp image.total()/(double)(1 << 16)); total 1046 modules/video/src/lkpyramid.cpp size_t npoints = _prevPts.total(); total 1054 modules/video/src/lkpyramid.cpp if (_nextPts.total() != npoints) total 839 modules/video/src/optflowgf.cpp #define DIVUP(total, grain) (((total) + (grain) - 1) / (grain)) total 1287 modules/videoio/src/cap_openni.cpp memcpy( rgbImage.data, pRgbImage, rgbImage.total()*sizeof(XnRGB24Pixel) ); total 294 modules/viz/src/clouds.cpp int total = 0; total 313 modules/viz/src/clouds.cpp lines->InsertCellPoint(total++); total 314 modules/viz/src/clouds.cpp lines->InsertCellPoint(total++); total 332 modules/viz/src/clouds.cpp lines->InsertCellPoint(total++); total 333 modules/viz/src/clouds.cpp lines->InsertCellPoint(total++); total 369 modules/viz/src/clouds.cpp Mat lookup_buffer(1, (int)mesh.cloud.total(), CV_32SC1); total 404 modules/viz/src/clouds.cpp size_t polygons_size = mesh.polygons.total(); total 1034 modules/viz/src/shapes.cpp size_t total = path64.total(); total 1038 modules/viz/src/shapes.cpp for(size_t i = 0; i < total; ++i) total 1047 modules/viz/src/shapes.cpp double alpha = static_cast<double>(i)/total; total 319 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < traj.total(); ++i, ++index) total 323 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < traj.total(); ++i, ++index) total 81 modules/viz/src/vtk/vtkCloudMatSink.cpp for(size_t i = 0; i < cloud.total(); ++i) total 85 modules/viz/src/vtk/vtkCloudMatSink.cpp for(size_t i = 0; i < cloud.total(); ++i) total 99 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)scalars_data->GetNumberOfTuples()); total 103 modules/viz/src/vtk/vtkCloudMatSink.cpp for(size_t i = 0; i < buffer.total(); ++i) total 119 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)normals_data->GetNumberOfTuples()); total 123 modules/viz/src/vtk/vtkCloudMatSink.cpp for(size_t i = 0; i < buffer.total(); ++i) total 138 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert(cloud.total() == (size_t)coords_data->GetNumberOfTuples()); total 142 modules/viz/src/vtk/vtkCloudMatSink.cpp for(size_t i = 0; i < buffer.total(); ++i) total 76 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); total 79 modules/viz/src/vtk/vtkCloudMatSource.cpp vertices->Allocate(vertices->EstimateSize(1, total)); total 80 modules/viz/src/vtk/vtkCloudMatSource.cpp vertices->InsertNextCell(total); total 81 modules/viz/src/vtk/vtkCloudMatSource.cpp for(int i = 0; i < total; ++i) total 84 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 89 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = SetCloud(_cloud); total 92 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 101 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanColorsCopy<float>(colors, cloud, total); total 103 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanColorsCopy<double>(colors, cloud, total); total 105 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 110 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = SetColorCloud(_cloud, _colors); total 113 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 123 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanNormalsCopy<float, float>(n, c, total); total 125 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanNormalsCopy<float, double>(n, c, total); total 127 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanNormalsCopy<double, float>(n, c, total); total 129 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanNormalsCopy<double, double>(n, c, total); total 133 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 138 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = SetColorCloudNormals(_cloud, _colors, _normals); total 141 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 150 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanTCoordsCopy<float, float>(tc, cl, total); total 152 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanTCoordsCopy<float, double>(tc, cl, total); total 154 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanTCoordsCopy<double, float>(tc, cl, total); total 156 modules/viz/src/vtk/vtkCloudMatSource.cpp filterNanTCoordsCopy<double, double>(tc, cl, total); total 160 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 188 modules/viz/src/vtk/vtkCloudMatSource.cpp points->Allocate((vtkIdType)cloud.total()); total 189 modules/viz/src/vtk/vtkCloudMatSource.cpp points->SetNumberOfPoints((vtkIdType)cloud.total()); total 192 modules/viz/src/vtk/vtkCloudMatSource.cpp int total = 0; total 200 modules/viz/src/vtk/vtkCloudMatSource.cpp points->SetPoint(total++, srow); total 202 modules/viz/src/vtk/vtkCloudMatSource.cpp points->SetNumberOfPoints(total); total 204 modules/viz/src/vtk/vtkCloudMatSource.cpp return total; total 208 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanColorsCopy(const Mat& cloud_colors, const Mat& mask, int total) total 210 modules/viz/src/vtk/vtkCloudMatSource.cpp Vec3b* array = new Vec3b[total]; total 237 modules/viz/src/vtk/vtkCloudMatSource.cpp scalars->SetNumberOfTuples(total); total 238 modules/viz/src/vtk/vtkCloudMatSource.cpp scalars->SetArray(array->val, total * 3, 0); total 242 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals, const Mat& mask, int total) total 247 modules/viz/src/vtk/vtkCloudMatSource.cpp normals->SetNumberOfTuples(total); total 267 modules/viz/src/vtk/vtkCloudMatSource.cpp void cv::viz::vtkCloudMatSource::filterNanTCoordsCopy(const Mat& _tcoords, const Mat& mask, int total) total 273 modules/viz/src/vtk/vtkCloudMatSource.cpp tcoords->SetNumberOfTuples(total); total 85 modules/viz/src/vtk/vtkCloudMatSource.h template<typename _Msk> void filterNanColorsCopy(const Mat& cloud_colors, const Mat& mask, int total); total 88 modules/viz/src/vtk/vtkCloudMatSource.h void filterNanNormalsCopy(const Mat& cloud_normals, const Mat& mask, int total); total 91 modules/viz/src/vtk/vtkCloudMatSource.h void filterNanTCoordsCopy(const Mat& tcoords, const Mat& mask, int total); total 63 modules/viz/src/vtk/vtkTrajectorySource.cpp size_t total = traj.total(); total 67 modules/viz/src/vtk/vtkTrajectorySource.cpp points->SetNumberOfPoints((vtkIdType)total); total 71 modules/viz/src/vtk/vtkTrajectorySource.cpp tensors->SetNumberOfTuples((vtkIdType)total); total 73 modules/viz/src/vtk/vtkTrajectorySource.cpp for(size_t i = 0; i < total; ++i, ++dpath) total 88 modules/viz/src/vtk/vtkTrajectorySource.cpp Mat points(1, (int)_traj.total(), CV_MAKETYPE(_traj.depth(), 3)); total 85 modules/viz/test/tests_simple.cpp for(int i = 0; i < (int)dragon_cloud.total(); ++i) total 223 modules/viz/test/tests_simple.cpp for(int i = 0; i < (int)polyline.total(); ++i) total 210 samples/cpp/letter_recog.cpp int i, n = (int)var_importance.total(); total 33 samples/cpp/train_HOG.cpp CV_Assert( alpha.total() == 1 && svidx.total() == 1 && sv_total == 1 ); total 88 samples/cpp/tree_engine.cpp if( (int)data->getClassLabels().total() <= 2 ) // regression or 2-class classification problem total 151 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp double mse = sse / (double)(I1.channels() * I1.total()); total 188 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse =sse /(double)(I1.channels() * I1.total()); total 213 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse = sse /(double)(I1.channels() * I1.total()); total 241 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse =sse /(double)(gI1.channels() * I1.total());