Commit 79c3a8e0 authored by marina.kolpakova's avatar marina.kolpakova

fix build under win.

parent 4102aaaf
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
namespace cv { namespace gpu { namespace device { namespace cv { namespace gpu { namespace device {
namespace icf { namespace icf {
struct __align__(16) Octave struct Octave
{ {
ushort index; ushort index;
ushort stages; ushort stages;
...@@ -68,7 +68,7 @@ struct __align__(16) Octave ...@@ -68,7 +68,7 @@ struct __align__(16) Octave
: index(i), stages(s), shrinkage(sh), size(sz), scale(sc) {} : index(i), stages(s), shrinkage(sh), size(sz), scale(sc) {}
}; };
struct __align__(8) Level //is actually 24 bytes struct Level //is actually 24 bytes
{ {
int octave; int octave;
int step; int step;
...@@ -84,7 +84,7 @@ struct __align__(8) Level //is actually 24 bytes ...@@ -84,7 +84,7 @@ struct __align__(8) Level //is actually 24 bytes
__device Level(){} __device Level(){}
}; };
struct __align__(8) Node struct Node
{ {
uchar4 rect; uchar4 rect;
// ushort channel; // ushort channel;
...@@ -95,12 +95,13 @@ struct __align__(8) Node ...@@ -95,12 +95,13 @@ struct __align__(8) Node
Node(const uchar4 r, const unsigned int ch, const unsigned int t) : rect(r), threshold(t + (ch << 28)) {} Node(const uchar4 r, const unsigned int ch, const unsigned int t) : rect(r), threshold(t + (ch << 28)) {}
}; };
struct __align__(16) Detection struct Detection
{ {
ushort x; ushort x;
ushort y; ushort y;
ushort w; ushort w;
ushort h; ushort h;
float confidence; float confidence;
int kind; int kind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment