Removed UNUSED macro
This commit is contained in:
parent
d38676085a
commit
5340073770
@ -16,6 +16,4 @@ namespace util
|
||||
} // namespace util
|
||||
} // namespace cv
|
||||
|
||||
#define UNUSED(x) cv::util::suppress_unused_warning(x)
|
||||
|
||||
#endif /* OPENCV_GAPI_UTIL_COMPILER_HINTS_HPP */
|
||||
|
||||
@ -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);
|
||||
}
|
||||
#endif
|
||||
UNUSED(v_op);
|
||||
cv::util::suppress_unused_warning(v_op);
|
||||
for (; w < width; w++)
|
||||
{
|
||||
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);
|
||||
}
|
||||
#endif
|
||||
UNUSED(v_op);
|
||||
cv::util::suppress_unused_warning(v_op);
|
||||
for (; w < width; w++)
|
||||
{
|
||||
out[w] = saturate<uchar>(s_op(in[w], scalar[0]), std::roundf);
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <opencv2/gapi/util/compiler_hints.hpp> //UNUSED
|
||||
#include <opencv2/gapi/util/compiler_hints.hpp> //suppress_unused_warning
|
||||
#include <opencv2/gapi/own/saturate.hpp>
|
||||
|
||||
namespace cv {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user