Merge pull request #2588 from vpisarev:fix_samples_n_unused

This commit is contained in:
Vadim Pisarevsky
2014-04-10 13:30:20 +04:00
committed by OpenCV Buildbot
6 changed files with 3 additions and 35 deletions

View File

@@ -448,11 +448,13 @@ template<typename T> struct OpNot
T operator()( T a, T ) const { return ~a; }
};
#if (ARITHM_USE_IPP == 1)
static inline void fixSteps(Size sz, size_t elemSize, size_t& step1, size_t& step2, size_t& step)
{
if( sz.height == 1 )
step1 = step2 = step = sz.width*elemSize;
}
#endif
static void add8u( const uchar* src1, size_t step1,
const uchar* src2, size_t step2,