fixed conditional compilation of RGB2Gray<ushort> template specialization

This commit is contained in:
Josh Klontz 2015-07-14 20:56:43 -04:00
parent 00b72df6c5
commit beed99dbc1

View File

@ -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 //////////////////////////////////////