Commit 4ccde133 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #7323 from lupustr3:pvlasov/rgb_to_gray_array_fix

parents cde9d640 2073af2f
......@@ -1549,7 +1549,7 @@ struct RGB2Gray<ushort>
for ( ; i <= n - 8; i += 8, src += scn * 8)
{
__m128i v_src[2];
__m128i v_src[3];
v_src[0] = _mm_loadu_si128((__m128i const *)(src));
v_src[1] = _mm_loadu_si128((__m128i const *)(src + 8));
v_src[2] = _mm_loadu_si128((__m128i const *)(src + 16));
......
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