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
6a05939e
Commit
6a05939e
authored
Sep 03, 2015
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed warnings in gpu module
parent
a98ee0d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
element_operations.cpp
modules/gpu/src/element_operations.cpp
+4
-4
No files found.
modules/gpu/src/element_operations.cpp
View file @
6a05939e
...
@@ -2804,7 +2804,7 @@ void cv::gpu::bitwise_not(const GpuMat& src, GpuMat& dst, const GpuMat& mask, St
...
@@ -2804,7 +2804,7 @@ void cv::gpu::bitwise_not(const GpuMat& src, GpuMat& dst, const GpuMat& mask, St
}
}
else
else
{
{
const
int
elem_size
=
s
rc
.
elemSize1
(
);
const
int
elem_size
=
s
tatic_cast
<
int
>
(
src
.
elemSize1
()
);
const
int
num_channels
=
src
.
channels
();
const
int
num_channels
=
src
.
channels
();
const
int
bcols
=
src
.
cols
*
num_channels
;
const
int
bcols
=
src
.
cols
*
num_channels
;
...
@@ -2895,7 +2895,7 @@ void cv::gpu::bitwise_and(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, c
...
@@ -2895,7 +2895,7 @@ void cv::gpu::bitwise_and(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, c
}
}
else
else
{
{
const
int
elem_size
=
s
rc1
.
elemSize1
(
);
const
int
elem_size
=
s
tatic_cast
<
int
>
(
src1
.
elemSize1
()
);
const
int
num_channels
=
src1
.
channels
();
const
int
num_channels
=
src1
.
channels
();
const
int
bcols
=
src1
.
cols
*
num_channels
;
const
int
bcols
=
src1
.
cols
*
num_channels
;
...
@@ -2979,7 +2979,7 @@ void cv::gpu::bitwise_or(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, co
...
@@ -2979,7 +2979,7 @@ void cv::gpu::bitwise_or(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, co
}
}
else
else
{
{
const
int
elem_size
=
s
rc1
.
elemSize1
(
);
const
int
elem_size
=
s
tatic_cast
<
int
>
(
src1
.
elemSize1
()
);
const
int
num_channels
=
src1
.
channels
();
const
int
num_channels
=
src1
.
channels
();
const
int
bcols
=
src1
.
cols
*
num_channels
;
const
int
bcols
=
src1
.
cols
*
num_channels
;
...
@@ -3063,7 +3063,7 @@ void cv::gpu::bitwise_xor(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, c
...
@@ -3063,7 +3063,7 @@ void cv::gpu::bitwise_xor(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, c
}
}
else
else
{
{
const
int
elem_size
=
s
rc1
.
elemSize1
(
);
const
int
elem_size
=
s
tatic_cast
<
int
>
(
src1
.
elemSize1
()
);
const
int
num_channels
=
src1
.
channels
();
const
int
num_channels
=
src1
.
channels
();
const
int
bcols
=
src1
.
cols
*
num_channels
;
const
int
bcols
=
src1
.
cols
*
num_channels
;
...
...
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