MCPcopy Create free account
hub / github.com/creatale/node-dv / swap

Method swap

deps/opencv/modules/core/src/gpumat.cpp:439–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void cv::gpu::GpuMat::swap(GpuMat& b)
440{
441 std::swap(flags, b.flags);
442 std::swap(rows, b.rows);
443 std::swap(cols, b.cols);
444 std::swap(step, b.step);
445 std::swap(data, b.data);
446 std::swap(datastart, b.datastart);
447 std::swap(dataend, b.dataend);
448 std::swap(refcount, b.refcount);
449}
450
451void cv::gpu::GpuMat::locateROI(Size& wholeSize, Point& ofs) const
452{

Callers 3

buildMethod · 0.45
swapFunction · 0.45
releaseVectorFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected