reverted r8003 (CascadeClassifier_GPU didn't work)
This commit is contained in:
@@ -134,24 +134,15 @@ typedef unsigned char Ncv8u;
|
||||
typedef float Ncv32f;
|
||||
typedef double Ncv64f;
|
||||
|
||||
struct NcvRect8u__
|
||||
|
||||
struct NcvRect8u
|
||||
{
|
||||
Ncv8u x;
|
||||
Ncv8u y;
|
||||
Ncv8u width;
|
||||
Ncv8u height;
|
||||
};
|
||||
|
||||
struct NcvRect8u : NcvRect8u__
|
||||
{
|
||||
__host__ __device__ NcvRect8u() {}
|
||||
__host__ __device__ NcvRect8u(Ncv8u x, Ncv8u y, Ncv8u width, Ncv8u height)
|
||||
{
|
||||
x = x;
|
||||
y = y;
|
||||
width = width;
|
||||
height = height;
|
||||
}
|
||||
__host__ __device__ NcvRect8u() : x(0), y(0), width(0), height(0) {};
|
||||
__host__ __device__ NcvRect8u(Ncv8u x, Ncv8u y, Ncv8u width, Ncv8u height) : x(x), y(y), width(width), height(height) {}
|
||||
};
|
||||
|
||||
|
||||
@@ -1029,4 +1020,4 @@ NCV_EXPORTS NCVStatus ncvDrawRects_32u_device(Ncv32u *d_dst, Ncv32u dstStride, N
|
||||
|
||||
|
||||
|
||||
#endif // _ncv_hpp_
|
||||
#endif // _ncv_hpp_
|
Reference in New Issue
Block a user