projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9845839
)
Fixed build
author
Andrey Kamaev
<no@email>
Thu, 22 Mar 2012 08:22:23 +0000
(08:22 +0000)
committer
Andrey Kamaev
<no@email>
Thu, 22 Mar 2012 08:22:23 +0000
(08:22 +0000)
modules/videostab/src/precomp.hpp
patch
|
blob
|
history
diff --git
a/modules/videostab/src/precomp.hpp
b/modules/videostab/src/precomp.hpp
index
eb322d1
..
bdf1e49
100644
(file)
--- a/
modules/videostab/src/precomp.hpp
+++ b/
modules/videostab/src/precomp.hpp
@@
-62,7
+62,7
@@
inline float intensity(const cv::Point3_<uchar> &bgr)
return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z;
}
-template <typename T> inline T& at(int index,
const
T *items, int size)
+template <typename T> inline T& at(int index, T *items, int size)
{
return items[cv::borderInterpolate(index, size, cv::BORDER_WRAP)];
}