needed 429 3rdparty/libwebp/dec/frame.c const uint64_t needed = (uint64_t)intra_pred_mode_size needed 435 3rdparty/libwebp/dec/frame.c if (needed != (size_t)needed) return 0; // check for overflow needed 436 3rdparty/libwebp/dec/frame.c if (needed > dec->mem_size_) { needed 439 3rdparty/libwebp/dec/frame.c dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t)); needed 445 3rdparty/libwebp/dec/frame.c dec->mem_size_ = (size_t)needed; needed 3058 modules/calib3d/src/calibration.cpp if( _jacobian.needed() ) needed 3063 modules/calib3d/src/calibration.cpp bool ok = cvRodrigues2(&_csrc, &_cdst, _jacobian.needed() ? &_cjacobian : 0) > 0; needed 3099 modules/calib3d/src/calibration.cpp if( _dr3dr1.needed() ) needed 3105 modules/calib3d/src/calibration.cpp if( _dr3dt1.needed() ) needed 3111 modules/calib3d/src/calibration.cpp if( _dr3dr2.needed() ) needed 3117 modules/calib3d/src/calibration.cpp if( _dr3dt2.needed() ) needed 3123 modules/calib3d/src/calibration.cpp if( _dt3dr1.needed() ) needed 3129 modules/calib3d/src/calibration.cpp if( _dt3dt1.needed() ) needed 3135 modules/calib3d/src/calibration.cpp if( _dt3dr2.needed() ) needed 3141 modules/calib3d/src/calibration.cpp if( _dt3dt2.needed() ) needed 3186 modules/calib3d/src/calibration.cpp if( _jacobian.needed() ) needed 3242 modules/calib3d/src/calibration.cpp bool rvecs_needed = _rvecs.needed(), tvecs_needed = _tvecs.needed(); needed 3319 modules/calib3d/src/calibration.cpp if( _Emat.needed() ) needed 3324 modules/calib3d/src/calibration.cpp if( _Fmat.needed() ) needed 3369 modules/calib3d/src/calibration.cpp if( _Qmat.needed() ) needed 3427 modules/calib3d/src/calibration.cpp if( _Qx.needed() ) needed 3432 modules/calib3d/src/calibration.cpp if( _Qy.needed() ) needed 3437 modules/calib3d/src/calibration.cpp if( _Qz.needed() ) needed 3464 modules/calib3d/src/calibration.cpp if( _rotMatrixX.needed() ) needed 3469 modules/calib3d/src/calibration.cpp if( _rotMatrixY.needed() ) needed 3474 modules/calib3d/src/calibration.cpp if( _rotMatrixZ.needed() ) needed 3479 modules/calib3d/src/calibration.cpp if( _eulerAngles.needed() ) needed 103 modules/calib3d/src/fisheye.cpp if (jacobian.needed()) needed 150 modules/calib3d/src/fisheye.cpp if (jacobian.needed()) needed 680 modules/calib3d/src/fisheye.cpp if (Q.needed()) needed 795 modules/calib3d/src/fisheye.cpp if (K.needed()) cv::Mat(_K).convertTo(K, K.empty() ? CV_64FC1 : K.type()); needed 796 modules/calib3d/src/fisheye.cpp if (D.needed()) cv::Mat(finalParam.k).convertTo(D, D.empty() ? CV_64FC1 : D.type()); needed 808 modules/calib3d/src/fisheye.cpp if (rvecs.needed()) cv::Mat(omc).convertTo(rvecs, rvecs.empty() ? CV_64FC3 : rvecs.type()); needed 809 modules/calib3d/src/fisheye.cpp if (tvecs.needed()) cv::Mat(Tc).convertTo(tvecs, tvecs.empty() ? CV_64FC3 : tvecs.type()); needed 1044 modules/calib3d/src/fisheye.cpp if (K1.needed()) cv::Mat(_K1).convertTo(K1, K1.empty() ? CV_64FC1 : K1.type()); needed 1045 modules/calib3d/src/fisheye.cpp if (K2.needed()) cv::Mat(_K2).convertTo(K2, K2.empty() ? CV_64FC1 : K2.type()); needed 1046 modules/calib3d/src/fisheye.cpp if (D1.needed()) cv::Mat(intrinsicLeft.k).convertTo(D1, D1.empty() ? CV_64FC1 : D1.type()); needed 1047 modules/calib3d/src/fisheye.cpp if (D2.needed()) cv::Mat(intrinsicRight.k).convertTo(D2, D2.empty() ? CV_64FC1 : D2.type()); needed 1048 modules/calib3d/src/fisheye.cpp if (R.needed()) _R.convertTo(R, R.empty() ? CV_64FC1 : R.type()); needed 1049 modules/calib3d/src/fisheye.cpp if (T.needed()) cv::Mat(Tcur).convertTo(T, T.empty() ? CV_64FC1 : T.type()); needed 547 modules/calib3d/src/five-point.cpp if (_mask.empty() && _mask.needed()) needed 552 modules/calib3d/src/five-point.cpp CV_Assert(_R.needed() && _t.needed()); needed 565 modules/calib3d/src/five-point.cpp if (_mask.needed()) mask1.copyTo(_mask); needed 572 modules/calib3d/src/five-point.cpp if (_mask.needed()) mask2.copyTo(_mask); needed 580 modules/calib3d/src/five-point.cpp if (_mask.needed()) mask3.copyTo(_mask); needed 588 modules/calib3d/src/five-point.cpp if (_mask.needed()) mask4.copyTo(_mask); needed 218 modules/calib3d/src/fundam.cpp if( _Jac.needed()) needed 410 modules/calib3d/src/fundam.cpp if( _mask.needed() ) needed 762 modules/calib3d/src/fundam.cpp if( _mask.needed() ) needed 458 modules/calib3d/src/homography_decomp.cpp if (_rotations.needed()) { needed 465 modules/calib3d/src/homography_decomp.cpp if (_translations.needed()) { needed 472 modules/calib3d/src/homography_decomp.cpp if (_normals.needed()) { needed 186 modules/calib3d/src/ptsetreg.cpp if( _mask.needed() ) needed 298 modules/calib3d/src/ptsetreg.cpp if( _mask.needed() ) needed 366 modules/calib3d/src/ptsetreg.cpp if( _mask.needed() && mask0.data != mask.data ) needed 291 modules/calib3d/src/solvepnp.cpp if( _inliers.needed() ) needed 302 modules/calib3d/src/solvepnp.cpp if(_inliers.needed()) needed 1080 modules/calib3d/src/stereosgbm.cpp Mat temp, &_buf = __buf.needed() ? __buf.getMatRef() : temp; needed 1092 modules/calib3d/src/stereosgbm.cpp if (!__buf.needed() && (type == CV_8UC1 || type == CV_16SC1)) needed 315 modules/core/include/opencv2/core/mat.hpp bool needed() const; needed 449 modules/core/src/kmeans.cpp if( _centers.needed() ) needed 1336 modules/core/src/lapack.cpp if( _evects.needed() ) needed 1365 modules/core/src/lapack.cpp bool compute_uv = _u.needed() || _vt.needed(); needed 1418 modules/core/src/lapack.cpp if( _u.needed() ) needed 1420 modules/core/src/lapack.cpp if( _vt.needed() ) needed 1425 modules/core/src/lapack.cpp if( _u.needed() ) needed 1427 modules/core/src/lapack.cpp if( _vt.needed() ) needed 1598 modules/core/src/stat.cpp if( !_dst.needed() ) needed 1644 modules/core/src/stat.cpp if( _mean.needed() ) needed 1653 modules/core/src/stat.cpp if( _sdv.needed() ) needed 1816 modules/core/src/stat.cpp if( !_dst.needed() ) needed 3656 modules/core/src/stat.cpp CV_Assert( _nidx.needed() == (K > 0) ); needed 3668 modules/core/src/stat.cpp if( _nidx.needed() ) needed 587 modules/cudafeatures2d/src/orb.cpp if (_descriptors.needed()) needed 258 modules/cudaimgproc/src/generalized_hough.cpp if (votes.needed()) needed 289 modules/cudaimgproc/src/generalized_hough.cpp if (votes.needed()) needed 429 modules/cudaimgproc/src/generalized_hough.cpp if (votes.needed()) needed 183 modules/cudaimgproc/src/hough_lines.cpp if (h_votes.needed()) needed 195 modules/cudaimgproc/src/hough_lines.cpp if (h_votes.needed()) needed 297 modules/cudaoptflow/src/pyrlk.cpp GpuMat* err = _err.needed() ? &(_err.getGpuMatRef()) : NULL; needed 208 modules/features2d/src/akaze.cpp if( descriptors.needed() ) needed 623 modules/features2d/src/brisk.cpp bool doDescriptors = _descriptors.needed(); needed 117 modules/features2d/src/feature2d.cpp if( !_descriptors.needed() ) needed 143 modules/features2d/src/kaze.cpp if( descriptors.needed() ) needed 952 modules/features2d/src/orb.cpp bool do_descriptors = _descriptors.needed(); needed 519 modules/flann/src/miniflann.cpp if( _indices.needed() ) needed 534 modules/flann/src/miniflann.cpp if( _dists.needed() ) needed 1718 modules/imgproc/src/contours.cpp if( _hierarchy.needed() ) needed 1740 modules/imgproc/src/contours.cpp if( _hierarchy.needed() ) needed 714 modules/imgproc/src/distransform.cpp bool need_labels = _labels.needed(); needed 1151 modules/imgproc/src/emd.cpp if( _flow.needed() ) needed 1160 modules/imgproc/src/emd.cpp _flow.needed() ? &_cflow : 0, lowerBound, 0 ); needed 174 modules/imgproc/src/generalized_hough.cpp if (votes.needed()) needed 205 modules/imgproc/src/generalized_hough.cpp if (votes.needed()) needed 309 modules/imgproc/src/generalized_hough.cpp if (_votes.needed()) needed 580 modules/imgproc/src/geometry.cpp if( _p12.needed() ) needed 423 modules/imgproc/src/lsd.cpp w_needed = _width.needed(); needed 424 modules/imgproc/src/lsd.cpp p_needed = _prec.needed(); needed 428 modules/imgproc/src/lsd.cpp n_needed = _nfa.needed(); needed 1195 modules/imgproc/src/lsd.cpp if (_image.needed() && _image.size() != size) sz = _image.size(); needed 1227 modules/imgproc/src/lsd.cpp if (_image.needed()) needed 438 modules/imgproc/src/sumpixels.cpp if (ocl::useOpenCL() && _sum.isUMat() && !_tilted.needed()) needed 440 modules/imgproc/src/sumpixels.cpp if (!_sqsum.needed()) needed 453 modules/imgproc/src/sumpixels.cpp if( _sqsum.needed() ) needed 462 modules/imgproc/src/sumpixels.cpp if( ( depth == CV_8U ) && ( sdepth == CV_32F || sdepth == CV_32S ) && ( !_tilted.needed() ) && ( !_sqsum.needed() || sqdepth == CV_64F ) && ( cn == 1 ) ) needed 468 modules/imgproc/src/sumpixels.cpp if( _sqsum.needed() ) needed 479 modules/imgproc/src/sumpixels.cpp if( _sqsum.needed() ) needed 498 modules/imgproc/src/sumpixels.cpp if( _tilted.needed() ) needed 268 modules/ml/src/ann_mlp.cpp if( !_outputs.needed() ) needed 162 modules/ml/src/em.cpp bool needprobs = _outputs.needed(); needed 204 modules/ml/src/em.cpp if( _probs.needed() ) needed 542 modules/ml/src/em.cpp if(labels.needed()) needed 544 modules/ml/src/em.cpp if(probs.needed()) needed 546 modules/ml/src/em.cpp if(logLikelihoods.needed()) needed 85 modules/ml/src/inner_functions.cpp if( _resp.needed() ) needed 108 modules/ml/src/inner_functions.cpp if( _resp.needed() ) needed 402 modules/ml/src/kdtree.cpp if( _neighborsIdx.needed() ) needed 408 modules/ml/src/kdtree.cpp if( _dist.needed() ) needed 411 modules/ml/src/kdtree.cpp if( _neighbors.needed() || _labels.needed() ) needed 464 modules/ml/src/kdtree.cpp if( _neighborsIdx.needed() ) needed 491 modules/ml/src/kdtree.cpp if( _pts.needed() ) needed 497 modules/ml/src/kdtree.cpp if(_labels.needed()) needed 337 modules/ml/src/knearest.cpp if( _results.needed() ) needed 342 modules/ml/src/knearest.cpp if( _neighborResponses.needed() ) needed 347 modules/ml/src/knearest.cpp if( _dists.needed() ) needed 393 modules/ml/src/knearest.cpp if( _results.needed() ) needed 398 modules/ml/src/knearest.cpp if( _neighborResponses.needed() ) needed 403 modules/ml/src/knearest.cpp if( _dists.needed() ) needed 316 modules/ml/src/nbayes.cpp if( samples.rows > 1 && _results.needed() ) needed 320 modules/ml/src/nbayes.cpp if( _results.needed() ) needed 328 modules/ml/src/nbayes.cpp if( _resultsProb.needed() ) needed 1921 modules/ml/src/svm.cpp if( _results.needed() ) needed 1500 modules/ml/src/tree.cpp bool needresults = _results.needed(); needed 238 modules/shape/src/aff_trans.cpp if (outPts.needed()) needed 174 modules/shape/src/tps_trans.cpp if (outPts.needed()) needed 99 modules/superres/perf/perf_superres.cpp if (!flow2.needed()) needed 99 modules/superres/src/optical_flow.cpp if (!_flow2.needed()) needed 107 modules/superres/src/optical_flow.cpp if (!_flow2.needed()) needed 122 modules/superres/src/optical_flow.cpp CV_OCL_RUN(_flow1.isUMat() && (_flow2.isUMat() || !_flow2.needed()), needed 134 modules/superres/src/optical_flow.cpp if (!_flow2.needed() && _flow1.kind() < _InputArray::OPENGL_BUFFER) needed 142 modules/superres/src/optical_flow.cpp if (!_flow2.needed()) needed 446 modules/superres/src/optical_flow.cpp if (_flow2.needed() && _flow1.kind() == _InputArray::CUDA_GPU_MAT && _flow2.kind() == _InputArray::CUDA_GPU_MAT) needed 454 modules/superres/src/optical_flow.cpp if (_flow2.needed()) needed 303 modules/ts/src/cuda_perf.cpp if (_descriptors.needed()) needed 318 modules/ts/src/cuda_perf.cpp if (_descriptors.needed()) needed 1073 modules/video/src/lkpyramid.cpp if (_err.needed()) needed 1138 modules/video/src/lkpyramid.cpp if( _err.needed() ) needed 82 modules/videostab/src/optical_flow.cpp if (errors.needed()) needed 132 modules/videostab/src/optical_flow.cpp if (errors.needed()) needed 71 modules/viz/src/vtk/vtkCloudMatSink.cpp if (cloud.needed() && points_Data) needed 93 modules/viz/src/vtk/vtkCloudMatSink.cpp if (colors.needed() && scalars_data) needed 113 modules/viz/src/vtk/vtkCloudMatSink.cpp if (normals.needed() && normals_data) needed 133 modules/viz/src/vtk/vtkCloudMatSink.cpp if (tcoords.needed() && coords_data) needed 155 modules/viz/src/vtk/vtkCloudMatSink.cpp os << indent << "Cloud: " << cloud.needed() << "\n"; needed 156 modules/viz/src/vtk/vtkCloudMatSink.cpp os << indent << "Colors: " << colors.needed() << "\n"; needed 157 modules/viz/src/vtk/vtkCloudMatSink.cpp os << indent << "Normals: " << normals.needed() << "\n";