|
|
@ -340,7 +340,7 @@ static void run_arithm_s3(uchar out[], const uchar in[], int width, const uchar |
|
|
|
v_store_interleave(&out[3*w], x, y, z); |
|
|
|
v_store_interleave(&out[3*w], x, y, z); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
UNUSED(v_op); |
|
|
|
cv::util::suppress_unused_warning(v_op); |
|
|
|
for (; w < width; w++) |
|
|
|
for (; w < width; w++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
out[3*w ] = saturate<uchar>( s_op(in[3*w ], scalar[0]) ); |
|
|
|
out[3*w ] = saturate<uchar>( s_op(in[3*w ], scalar[0]) ); |
|
|
@ -386,7 +386,7 @@ static void run_arithm_s1(uchar out[], const float in[], int width, const float |
|
|
|
v_store(&out[w], uc); |
|
|
|
v_store(&out[w], uc); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
UNUSED(v_op); |
|
|
|
cv::util::suppress_unused_warning(v_op); |
|
|
|
for (; w < width; w++) |
|
|
|
for (; w < width; w++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
out[w] = saturate<uchar>(s_op(in[w], scalar[0]), std::roundf); |
|
|
|
out[w] = saturate<uchar>(s_op(in[w], scalar[0]), std::roundf); |
|
|
|