added IPP Sobel and Sharr filters. Also some minor changes.
This commit is contained in:
@@ -168,7 +168,7 @@ inline Mat::Mat(Size _sz, int _type, void* _data, size_t _step)
|
||||
dataend = datalimit - _step + minstep;
|
||||
}
|
||||
|
||||
|
||||
|
||||
inline Mat::Mat(const CvMat* m, bool copyData)
|
||||
: flags(MAGIC_VAL + (m->type & (CV_MAT_TYPE_MASK|CV_MAT_CONT_FLAG))),
|
||||
dims(2), rows(m->rows), cols(m->cols), data(m->data.ptr), refcount(0),
|
||||
|
@@ -268,6 +268,16 @@ typedef NoVec VXor8u;
|
||||
|
||||
|
||||
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 7)
|
||||
struct IPPArithmInitializer
|
||||
{
|
||||
IPPArithmInitializer(void)
|
||||
{
|
||||
IppStatus status = ippStaticInit();
|
||||
}
|
||||
};
|
||||
|
||||
IPPArithmInitializer ippArithmInitializer;
|
||||
|
||||
struct ippAdd8u
|
||||
{
|
||||
int operator()(const Ipp8u* src1, const Ipp8u* src2, Ipp8u* dst, int len) const
|
||||
|
Reference in New Issue
Block a user