Merge remote-tracking branch 'master' into stitch-fix
authormshabunin <maksim.shabunin@itseez.com>
Mon, 11 Aug 2014 10:50:08 +0000 (14:50 +0400)
committermshabunin <maksim.shabunin@itseez.com>
Mon, 11 Aug 2014 10:50:08 +0000 (14:50 +0400)
* 'master' of github.com:itseez/opencv: (82 commits)
  moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
  added some basic functionality needed by the new face module (moved from the old "contrib")
  moved to the new opencv_contrib/face module
  fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
  Fixed review comment from Vadim Pisarevsky
  modified farneback sample to use T-API
  ECC patch by the author (G. Evangelidis); fixed some OCL Farneback optical flow test failures on Mac
  small fix for GaussianBlur ocl test
  fix binary package build
  small fix for ocl_resize
  fix IOS framework
  fixed test ocl_MatchTemplate for sparse matrix
  Fixed typos
  fixing error, wrong template method param.
  fixing Mac build
  some formal changes (generally adding constness)
  Fixed choice of kercn and rowsPerWI for non-Intel device.
  fixed nDiffs for CalcBackProject
  fixed tests for ocl_filter2d, ocl_matchTemplate, ocl_histogram.cpp
  Fixed issue: Mat::copyTo(UMat) if device copy is obsolete. Added test.
  ...

Conflicts:
modules/core/include/opencv2/core/mat.inl.hpp

1  2 
modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst
modules/calib3d/include/opencv2/calib3d.hpp
modules/core/include/opencv2/core/mat.inl.hpp
modules/imgproc/src/pyramids.cpp

@@@ -642,9 -642,8 +642,9 @@@ inline void Mat::release(
      if( u && CV_XADD(&u->refcount, -1) == 1 )
          deallocate();
      u = NULL;
-     data = datastart = dataend = datalimit = 0;
+     datastart = dataend = datalimit = data = 0;
 -    size.p[0] = 0;
 +    for(int i = 0; i < dims; i++)
 +        size.p[i] = 0;
  }
  
  inline
Simple merge