Commit beed99db authored by Josh Klontz's avatar Josh Klontz

fixed conditional compilation of RGB2Gray<ushort> template specialization

parent 00b72df6
......@@ -1674,7 +1674,9 @@ struct RGB2Gray<float>
bool haveSIMD;
};
#else
#endif // CV_SSE2
#if !CV_NEON && !CV_SSE4_1
template<> struct RGB2Gray<ushort>
{
......@@ -1698,7 +1700,7 @@ template<> struct RGB2Gray<ushort>
int coeffs[3];
};
#endif
#endif // !CV_NEON && !CV_SSE4_1
///////////////////////////////////// RGB <-> YCrCb //////////////////////////////////////
......
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