提交 beed99db 编写于 作者: J Josh Klontz

fixed conditional compilation of RGB2Gray<ushort> template specialization

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册