from 985 3rdparty/libpng/pngset.c png_const_sPLT_tp from = entries + i; from 988 3rdparty/libpng/pngset.c length = png_strlen(from->name) + 1; from 998 3rdparty/libpng/pngset.c png_memcpy(to->name, from->name, length); from 1000 3rdparty/libpng/pngset.c from->nentries * png_sizeof(png_sPLT_entry)); from 1011 3rdparty/libpng/pngset.c png_memcpy(to->entries, from->entries, from 1012 3rdparty/libpng/pngset.c from->nentries * png_sizeof(png_sPLT_entry)); from 1014 3rdparty/libpng/pngset.c to->nentries = from->nentries; from 1015 3rdparty/libpng/pngset.c to->depth = from->depth; from 1057 3rdparty/libpng/pngset.c png_const_unknown_chunkp from = unknowns + i; from 1059 3rdparty/libpng/pngset.c png_memcpy(to->name, from->name, png_sizeof(from->name)); from 1061 3rdparty/libpng/pngset.c to->size = from->size; from 1066 3rdparty/libpng/pngset.c if (from->size == 0) from 1072 3rdparty/libpng/pngset.c (png_size_t)from->size); from 1082 3rdparty/libpng/pngset.c png_memcpy(to->data, from->data, from->size); from 252 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp template M44d procrustesRotationAndTranslation (const V3d* from, const V3d* to, const size_t numPoints, const bool doScale); from 253 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp template M44d procrustesRotationAndTranslation (const V3f* from, const V3f* to, const size_t numPoints, const bool doScale); from 254 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp template M44d procrustesRotationAndTranslation (const V3d* from, const V3d* to, const double* weights, const size_t numPoints, const bool doScale); from 255 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp template M44d procrustesRotationAndTranslation (const V3f* from, const V3f* to, const float* weights, const size_t numPoints, const bool doScale); from 827 3rdparty/openexr/Imath/ImathMatrixAlgo.h rotationMatrix (const Vec3<T> &from, const Vec3<T> &to) from 830 3rdparty/openexr/Imath/ImathMatrixAlgo.h q.setRotation(from, to); from 702 3rdparty/openexr/Imath/ImathQuat.h Quat<T>::setRotation (const Vec3<T> &from, const Vec3<T> &to) from 720 3rdparty/openexr/Imath/ImathQuat.h Vec3<T> f0 = from.normalized(); from 264 3rdparty/zlib/infback.c unsigned char FAR *from; /* where to copy match bytes from */ from 590 3rdparty/zlib/infback.c from = put + copy; from 594 3rdparty/zlib/infback.c from = put - state->offset; from 601 3rdparty/zlib/infback.c *put++ = *from++; from 95 3rdparty/zlib/inffast.c unsigned char FAR *from; /* where to copy match from */ from 208 3rdparty/zlib/inffast.c from = out - dist; from 210 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 216 3rdparty/zlib/inffast.c from = window - OFF; from 218 3rdparty/zlib/inffast.c from += wsize - op; from 222 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 224 3rdparty/zlib/inffast.c from = out - dist; /* rest from output */ from 228 3rdparty/zlib/inffast.c from += wsize + wnext - op; from 233 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 235 3rdparty/zlib/inffast.c from = window - OFF; from 240 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 242 3rdparty/zlib/inffast.c from = out - dist; /* rest from output */ from 247 3rdparty/zlib/inffast.c from += wnext - op; from 251 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 253 3rdparty/zlib/inffast.c from = out - dist; /* rest from output */ from 257 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 258 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 259 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 263 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 265 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 269 3rdparty/zlib/inffast.c from = out - dist; /* copy direct from output */ from 271 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 272 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 273 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 277 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 279 3rdparty/zlib/inffast.c PUP(out) = PUP(from); from 617 3rdparty/zlib/inflate.c unsigned char FAR *from; /* where to copy match bytes from */ from 1150 3rdparty/zlib/inflate.c from = state->window + (state->wsize - copy); from 1153 3rdparty/zlib/inflate.c from = state->window + (state->wnext - copy); from 1157 3rdparty/zlib/inflate.c from = put - state->offset; from 1164 3rdparty/zlib/inflate.c *put++ = *from++; from 407 modules/calib3d/src/ptsetreg.cpp const Point3f* from = m1.ptr<Point3f>(); from 428 modules/calib3d/src/ptsetreg.cpp aptr[0] = from[i].x; from 429 modules/calib3d/src/ptsetreg.cpp aptr[1] = from[i].y; from 430 modules/calib3d/src/ptsetreg.cpp aptr[2] = from[i].z; from 445 modules/calib3d/src/ptsetreg.cpp const Point3f* from = m1.ptr<Point3f>(); from 458 modules/calib3d/src/ptsetreg.cpp const Point3f& f = from[i]; from 510 modules/calib3d/src/ptsetreg.cpp Mat from = _from.getMat(), to = _to.getMat(); from 511 modules/calib3d/src/ptsetreg.cpp int count = from.checkVector(3); from 516 modules/calib3d/src/ptsetreg.cpp from.convertTo(dFrom, CV_32F); from 74 modules/calib3d/test/test_affine3d_estimator.cpp float rngIn(float from, float to) { return from + (to-from) * (float)theRNG(); } from 141 modules/calib3d/test/test_reproject_image_to_3d.cpp double from[4] = { from 147 modules/calib3d/test/test_reproject_image_to_3d.cpp Mat_<double> res = Q * Mat_<double>(4, 1, from); from 1752 modules/core/src/datastructs.cpp CvSeq from_header, *from = (CvSeq*)from_arr; from 1758 modules/core/src/datastructs.cpp if( !CV_IS_SEQ(from)) from 1760 modules/core/src/datastructs.cpp CvMat* mat = (CvMat*)from; from 1767 modules/core/src/datastructs.cpp from = cvMakeSeqHeaderForArray( CV_SEQ_KIND_GENERIC, sizeof(from_header), from 1773 modules/core/src/datastructs.cpp if( seq->elem_size != from->elem_size ) from 1777 modules/core/src/datastructs.cpp from_total = from->total; from 1823 modules/core/src/datastructs.cpp cvStartReadSeq( from, &reader_from ); from 4575 modules/core/src/matrix.cpp const T1* from = (const T1*)_from; from 4578 modules/core/src/matrix.cpp *to = saturate_cast<T2>(*from); from 4581 modules/core/src/matrix.cpp to[i] = saturate_cast<T2>(from[i]); from 4587 modules/core/src/matrix.cpp const T1* from = (const T1*)_from; from 4590 modules/core/src/matrix.cpp *to = saturate_cast<T2>(*from*alpha + beta); from 4593 modules/core/src/matrix.cpp to[i] = saturate_cast<T2>(from[i]*alpha + beta); from 4596 modules/core/src/matrix.cpp typedef void (*ConvertData)(const void* from, void* to, int cn); from 4597 modules/core/src/matrix.cpp typedef void (*ConvertScaleData)(const void* from, void* to, int cn, double alpha, double beta); from 4691 modules/core/src/matrix.cpp static inline void copyElem(const uchar* from, uchar* to, size_t elemSize) from 4695 modules/core/src/matrix.cpp *(int*)(to + i) = *(const int*)(from + i); from 4697 modules/core/src/matrix.cpp to[i] = from[i]; from 4805 modules/core/src/matrix.cpp SparseMatConstIterator from = begin(); from 4808 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4810 modules/core/src/matrix.cpp const Node* n = from.node(); from 4812 modules/core/src/matrix.cpp copyElem( from.ptr, to, esz ); from 4823 modules/core/src/matrix.cpp SparseMatConstIterator from = begin(); from 4826 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4828 modules/core/src/matrix.cpp const Node* n = from.node(); from 4829 modules/core/src/matrix.cpp copyElem( from.ptr, (ndims > 1 ? m.ptr(n->idx) : m.ptr(n->idx[0])), esz); from 4852 modules/core/src/matrix.cpp SparseMatConstIterator from = begin(); from 4858 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4860 modules/core/src/matrix.cpp const Node* n = from.node(); from 4861 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); from 4862 modules/core/src/matrix.cpp cvtfunc( from.ptr, to, cn ); from 4868 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4870 modules/core/src/matrix.cpp const Node* n = from.node(); from 4871 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); from 4872 modules/core/src/matrix.cpp cvtfunc( from.ptr, to, cn, alpha, 0 ); from 4889 modules/core/src/matrix.cpp SparseMatConstIterator from = begin(); from 4895 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4897 modules/core/src/matrix.cpp const Node* n = from.node(); from 4899 modules/core/src/matrix.cpp cvtfunc( from.ptr, to, cn ); from 4905 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 4907 modules/core/src/matrix.cpp const Node* n = from.node(); from 4909 modules/core/src/matrix.cpp cvtfunc( from.ptr, to, cn, alpha, beta ); from 5423 modules/core/src/matrix.cpp cv::SparseMatConstIterator from = sm.begin(); from 5426 modules/core/src/matrix.cpp for( i = 0; i < N; i++, ++from ) from 5428 modules/core/src/matrix.cpp const cv::SparseMat::Node* n = from.node(); from 5430 modules/core/src/matrix.cpp cv::copyElem(from.ptr, to, esz); from 93 modules/cudaimgproc/src/mssegmentation.cpp void addEdge(int from, int to, const T& val=T()); from 124 modules/cudaimgproc/src/mssegmentation.cpp : from(from_), to(to_), val(val_) {} from 129 modules/cudaimgproc/src/mssegmentation.cpp int from; from 191 modules/cudaimgproc/src/mssegmentation.cpp inline void Graph<T>::addEdge(int from, int to, const T& val) from 193 modules/cudaimgproc/src/mssegmentation.cpp edges[nume] = Edge(to, start[from], val); from 194 modules/cudaimgproc/src/mssegmentation.cpp start[from] = nume; from 351 modules/cudaimgproc/src/mssegmentation.cpp int c1 = comps.find(edges[i].from); from 21 modules/imgproc/perf/perf_resize.cpp Size from = get<1>(GetParam()); from 24 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); from 48 modules/imgproc/perf/perf_resize.cpp Size from = get<1>(GetParam()); from 51 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType), dst(to, matType); from 77 modules/imgproc/perf/perf_resize.cpp Size from = get<1>(GetParam()); from 80 modules/imgproc/perf/perf_resize.cpp from.width = (from.width/scale)*scale; from 81 modules/imgproc/perf/perf_resize.cpp from.height = (from.height/scale)*scale; from 83 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); from 84 modules/imgproc/perf/perf_resize.cpp cv::Mat dst(from.height / scale, from.width / scale, matType); from 107 modules/imgproc/perf/perf_resize.cpp Size from = get<1>(GetParam()); from 110 modules/imgproc/perf/perf_resize.cpp cv::Mat src(from, matType); from 112 modules/imgproc/perf/perf_resize.cpp Size to(cvRound(from.width * scale), cvRound(from.height * scale)); from 862 modules/python/src2/cv2.cpp return pyopencvVecConverter<_Tp>::from(value); from 124 modules/stitching/include/opencv2/stitching/detail/util.hpp GraphEdge(int from, int to, float weight); from 128 modules/stitching/include/opencv2/stitching/detail/util.hpp int from, to; from 132 modules/stitching/include/opencv2/stitching/detail/util.hpp inline GraphEdge::GraphEdge(int _from, int _to, float _weight) : from(_from), to(_to), weight(_weight) {} from 141 modules/stitching/include/opencv2/stitching/detail/util.hpp void addEdge(int from, int to, float weight); from 143 modules/stitching/include/opencv2/stitching/detail/util.hpp template <typename B> B walkBreadthFirst(int from, B body) const; from 69 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp B Graph::walkBreadthFirst(int from, B body) const from 74 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp was[from] = true; from 75 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp vertices.push(from); from 76 modules/stitching/src/matchers.cpp int from = near_pairs[i].first; from 78 modules/stitching/src/matchers.cpp int pair_idx = from*num_images + to; from 80 modules/stitching/src/matchers.cpp matcher(features[from], features[to], pairwise_matches[pair_idx]); from 81 modules/stitching/src/matchers.cpp pairwise_matches[pair_idx].src_img_idx = from; from 84 modules/stitching/src/matchers.cpp size_t dual_pair_idx = to*num_images + from; from 88 modules/stitching/src/matchers.cpp pairwise_matches[dual_pair_idx].dst_img_idx = from; from 55 modules/stitching/src/motion_estimators.cpp void operator ()(const GraphEdge &edge) { dists[edge.to] = dists[edge.from] + 1; } from 67 modules/stitching/src/motion_estimators.cpp int pair_idx = edge.from * num_images + edge.to; from 70 modules/stitching/src/motion_estimators.cpp K_from(0,0) = cameras[edge.from].focal; from 71 modules/stitching/src/motion_estimators.cpp K_from(1,1) = cameras[edge.from].focal * cameras[edge.from].aspect; from 72 modules/stitching/src/motion_estimators.cpp K_from(0,2) = cameras[edge.from].ppx; from 73 modules/stitching/src/motion_estimators.cpp K_from(1,2) = cameras[edge.from].ppy; from 82 modules/stitching/src/motion_estimators.cpp cameras[edge.to].R = cameras[edge.from].R * R; from 839 modules/stitching/src/motion_estimators.cpp int comp1 = comps.findSetByElem(edges[i].from); from 844 modules/stitching/src/motion_estimators.cpp span_tree.addEdge(edges[i].from, edges[i].to, edges[i].weight); from 845 modules/stitching/src/motion_estimators.cpp span_tree.addEdge(edges[i].to, edges[i].from, edges[i].weight); from 846 modules/stitching/src/motion_estimators.cpp span_tree_powers[edges[i].from]++; from 95 modules/stitching/src/util.cpp void Graph::addEdge(int from, int to, float weight) from 97 modules/stitching/src/util.cpp edges_[from].push_back(GraphEdge(from, to, weight)); from 7946 modules/ts/include/opencv2/ts/ts_gtest.h void CopyArray(const T* from, size_t size, U* to); from 7950 modules/ts/include/opencv2/ts/ts_gtest.h inline void CopyArray(const T& from, U* to) { *to = from; } from 7954 modules/ts/include/opencv2/ts/ts_gtest.h inline void CopyArray(const T(&from)[N], U(*to)[N]) { from 7955 modules/ts/include/opencv2/ts/ts_gtest.h internal::CopyArray(from, N, *to); from 7962 modules/ts/include/opencv2/ts/ts_gtest.h void CopyArray(const T* from, size_t size, U* to) { from 7964 modules/ts/include/opencv2/ts/ts_gtest.h internal::CopyArray(from[i], to + i); from 112 modules/video/test/test_ecc.cpp bool CV_ECC_Test_Translation::testTranslation(int from) from 130 modules/video/test/test_ecc.cpp for (int k=from; k<ntests; k++){ from 164 modules/video/test/test_ecc.cpp void CV_ECC_Test_Translation::run(int from) from 167 modules/video/test/test_ecc.cpp if (!testTranslation(from)) from 187 modules/video/test/test_ecc.cpp bool CV_ECC_Test_Euclidean::testEuclidean(int from) from 204 modules/video/test/test_ecc.cpp for (int k=from; k<ntests; k++){ from 240 modules/video/test/test_ecc.cpp void CV_ECC_Test_Euclidean::run(int from) from 243 modules/video/test/test_ecc.cpp if (!testEuclidean(from)) from 262 modules/video/test/test_ecc.cpp bool CV_ECC_Test_Affine::testAffine(int from) from 278 modules/video/test/test_ecc.cpp for (int k=from; k<ntests; k++){ from 316 modules/video/test/test_ecc.cpp void CV_ECC_Test_Affine::run(int from) from 319 modules/video/test/test_ecc.cpp if (!testAffine(from)) from 337 modules/video/test/test_ecc.cpp bool CV_ECC_Test_Homography::testHomography(int from) from 354 modules/video/test/test_ecc.cpp for (int k=from; k<ntests; k++){ from 389 modules/video/test/test_ecc.cpp void CV_ECC_Test_Homography::run(int from) from 391 modules/video/test/test_ecc.cpp if (!testHomography(from)) from 409 modules/video/test/test_ecc.cpp bool CV_ECC_Test_Mask::testMask(int from) from 430 modules/video/test/test_ecc.cpp for (int k=from; k<ntests; k++){ from 472 modules/video/test/test_ecc.cpp void CV_ECC_Test_Mask::run(int from) from 474 modules/video/test/test_ecc.cpp if (!testMask(from)) from 83 modules/video/test/test_estimaterigid.cpp bool CV_RigidTransform_Test::testNPoints(int from) from 90 modules/video/test/test_estimaterigid.cpp for( k = from; k < ntests; k++ ) from 292 modules/videostab/include/opencv2/videostab/global_motion.hpp CV_EXPORTS Mat getMotion(int from, int to, const std::vector<Mat> &motions); from 845 modules/videostab/src/global_motion.cpp Mat getMotion(int from, int to, const std::vector<Mat> &motions) from 848 modules/videostab/src/global_motion.cpp if (to > from) from 850 modules/videostab/src/global_motion.cpp for (int i = from; i < to; ++i) from 853 modules/videostab/src/global_motion.cpp else if (from > to) from 855 modules/videostab/src/global_motion.cpp for (int i = to; i < from; ++i) from 661 modules/viz/include/opencv2/viz/widgets.hpp const Color &from = Color::red(), const Color &to = Color::white()); from 227 modules/viz/src/precomp.hpp inline Vec3d get_random_vec(double from = -10.0, double to = 10.0) from 230 modules/viz/src/precomp.hpp return Vec3d(rng.uniform(from, to), rng.uniform(from, to), rng.uniform(from, to)); from 1026 modules/viz/src/shapes.cpp cv::viz::WTrajectorySpheres::WTrajectorySpheres(InputArray _path, double line_length, double radius, const Color &from, const Color &to) from 1048 modules/viz/src/shapes.cpp Color c = from * (1 - alpha) + to * alpha;