mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
fixed conditional compilation of RGB2Gray<ushort> template specialization
This commit is contained in:
parent
00b72df6c5
commit
beed99dbc1
@ -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 //////////////////////////////////////
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user