1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Compatibility improvement with old IPP versions (tested on 9.0.1);

Manual IPP dispatcher simplification;
This commit is contained in:
Pavel Vlasov
2017-09-08 11:08:24 +03:00
parent d25cbaaba8
commit 37ab318657
3 changed files with 37 additions and 49 deletions
+2
View File
@@ -300,7 +300,9 @@ void Mat::copyTo( OutputArray _dst ) const
const uchar* sptr = data;
uchar* dptr = dst.data;
#if IPP_VERSION_X100 >= 201700
CV_IPP_RUN_FAST(CV_INSTRUMENT_FUN_IPP(ippiCopy_8u_C1R_L, sptr, (int)step, dptr, (int)dst.step, ippiSizeL((int)(cols*elemSize()), rows)) >= 0)
#endif
Size sz = getContinuousSize(*this, dst);
size_t len = sz.width*elemSize();