Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
53400737
Commit
53400737
authored
Dec 13, 2018
by
Ruslan Garnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed UNUSED macro
parent
d3867608
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
compiler_hints.hpp
modules/gapi/include/opencv2/gapi/util/compiler_hints.hpp
+0
-2
gfluidcore.cpp
modules/gapi/src/backends/fluid/gfluidcore.cpp
+2
-2
gfluidutils.hpp
modules/gapi/src/backends/fluid/gfluidutils.hpp
+1
-1
No files found.
modules/gapi/include/opencv2/gapi/util/compiler_hints.hpp
View file @
53400737
...
...
@@ -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 */
modules/gapi/src/backends/fluid/gfluidcore.cpp
View file @
53400737
...
...
@@ -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
);
...
...
modules/gapi/src/backends/fluid/gfluidutils.hpp
View file @
53400737
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment