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
d6279bff
Commit
d6279bff
authored
May 17, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build warnings
parent
1ba25c55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
dnn.cpp
modules/dnn/src/dnn.cpp
+2
-0
blenders.cpp
modules/stitching/src/blenders.cpp
+1
-1
No files found.
modules/dnn/src/dnn.cpp
View file @
d6279bff
...
...
@@ -62,7 +62,9 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
// this option is useful to run valgrind memory errors detection
static
bool
DNN_DISABLE_MEMORY_OPTIMIZATIONS
=
utils
::
getConfigurationParameterBool
(
"OPENCV_DNN_DISABLE_MEMORY_OPTIMIZATIONS"
,
false
);
#ifdef HAVE_OPENCL
static
bool
DNN_OPENCL_ALLOW_ALL_DEVICES
=
utils
::
getConfigurationParameterBool
(
"OPENCV_DNN_OPENCL_ALLOW_ALL_DEVICES"
,
false
);
#endif
using
std
::
vector
;
using
std
::
map
;
...
...
modules/stitching/src/blenders.cpp
View file @
d6279bff
...
...
@@ -661,7 +661,7 @@ void MultiBandBlender::blend(InputOutputArray dst, InputOutputArray dst_mask)
}
// Set destination Mats to 0 so new image can be blended
for
(
size_t
i
=
0
;
i
<
num_bands_
+
1
;
++
i
)
for
(
size_t
i
=
0
;
i
<
(
size_t
)(
num_bands_
+
1
)
;
++
i
)
{
gpu_dst_band_weights_
[
i
].
setTo
(
0
);
gpu_dst_pyr_laplace_
[
i
].
setTo
(
Scalar
::
all
(
0
));
...
...
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