1
0
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:
Andrey Pavlenko
2012-01-06 16:31:23 +00:00
parent 11ad582250
commit 185680c7c5
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -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;