mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Tegra optimization for some color conversion and warpAffine calls
This commit is contained in:
@@ -2843,6 +2843,11 @@ void cv::warpAffine( InputArray _src, OutputArray _dst,
|
||||
M[2] = b1; M[5] = b2;
|
||||
}
|
||||
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
if( tegra::warpAffine(src, dst, M, interpolation, borderType, borderValue) )
|
||||
return;
|
||||
#endif
|
||||
|
||||
int x, y, x1, y1, width = dst.cols, height = dst.rows;
|
||||
AutoBuffer<int> _abdelta(width*2);
|
||||
int* adelta = &_abdelta[0], *bdelta = adelta + width;
|
||||
|
||||
Reference in New Issue
Block a user