cv:threshold optimization for Tegra

This commit is contained in:
Andrey Kamaev
2011-05-12 15:22:55 +00:00
parent 138b9724d8
commit 058b761a46
2 changed files with 14 additions and 1 deletions

View File

@@ -63,6 +63,10 @@
#include <limits.h>
#include <float.h>
#ifdef HAVE_TEGRA_OPTIMIZATION
#include "opencv2/imgproc/imgproc_tegra.hpp"
#endif
/* helper tables */
extern const uchar icvSaturate8u_cv[];
#define CV_FAST_CAST_8U(t) (assert(-256 <= (t) || (t) <= 512), icvSaturate8u_cv[(t)+256])