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
b82b4a64
Commit
b82b4a64
authored
May 17, 2012
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed possible compilation error for macos
parent
5855c490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
imgproc.cpp
modules/gpu/src/imgproc.cpp
+2
-2
No files found.
modules/gpu/src/imgproc.cpp
View file @
b82b4a64
...
...
@@ -1143,7 +1143,7 @@ void cv::gpu::mulSpectrums(const GpuMat& a, const GpuMat& b, GpuMat& c, int flag
typedef
void
(
*
Caller
)(
const
PtrStep
<
cufftComplex
>
,
const
PtrStep
<
cufftComplex
>
,
DevMem2D_
<
cufftComplex
>
,
cudaStream_t
stream
);
static
Caller
callers
[]
=
{
mulSpectrums
,
mulSpectrums_CONJ
};
static
Caller
callers
[]
=
{
device
::
imgproc
::
mulSpectrums
,
device
::
imgproc
::
mulSpectrums_CONJ
};
CV_Assert
(
a
.
type
()
==
b
.
type
()
&&
a
.
type
()
==
CV_32FC2
);
CV_Assert
(
a
.
size
()
==
b
.
size
());
...
...
@@ -1172,7 +1172,7 @@ void cv::gpu::mulAndScaleSpectrums(const GpuMat& a, const GpuMat& b, GpuMat& c,
using
namespace
::
cv
::
gpu
::
device
::
imgproc
;
typedef
void
(
*
Caller
)(
const
PtrStep
<
cufftComplex
>
,
const
PtrStep
<
cufftComplex
>
,
float
scale
,
DevMem2D_
<
cufftComplex
>
,
cudaStream_t
stream
);
static
Caller
callers
[]
=
{
mulAndScaleSpectrums
,
mulAndScaleSpectrums_CONJ
};
static
Caller
callers
[]
=
{
device
::
imgproc
::
mulAndScaleSpectrums
,
device
::
imgproc
::
mulAndScaleSpectrums_CONJ
};
CV_Assert
(
a
.
type
()
==
b
.
type
()
&&
a
.
type
()
==
CV_32FC2
);
CV_Assert
(
a
.
size
()
==
b
.
size
());
...
...
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