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
43e81111
Commit
43e81111
authored
Jul 29, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed assertion
parent
766d950f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
absdiff_mat.cu
modules/cudaarithm/src/cuda/absdiff_mat.cu
+1
-1
absdiff_scalar.cu
modules/cudaarithm/src/cuda/absdiff_scalar.cu
+1
-1
add_mat.cu
modules/cudaarithm/src/cuda/add_mat.cu
+1
-1
add_scalar.cu
modules/cudaarithm/src/cuda/add_scalar.cu
+1
-1
div_mat.cu
modules/cudaarithm/src/cuda/div_mat.cu
+1
-1
div_scalar.cu
modules/cudaarithm/src/cuda/div_scalar.cu
+1
-1
mul_mat.cu
modules/cudaarithm/src/cuda/mul_mat.cu
+1
-1
mul_scalar.cu
modules/cudaarithm/src/cuda/mul_scalar.cu
+1
-1
sub_mat.cu
modules/cudaarithm/src/cuda/sub_mat.cu
+1
-1
sub_scalar.cu
modules/cudaarithm/src/cuda/sub_scalar.cu
+1
-1
No files found.
modules/cudaarithm/src/cuda/absdiff_mat.cu
View file @
43e81111
...
...
@@ -148,7 +148,7 @@ void absDiffMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMa
const int depth = src1.depth();
CV_DbgAssert( depth <
7
);
CV_DbgAssert( depth <
= CV_64F
);
GpuMat src1_ = src1.reshape(1);
GpuMat src2_ = src2.reshape(1);
...
...
modules/cudaarithm/src/cuda/absdiff_scalar.cu
View file @
43e81111
...
...
@@ -102,7 +102,7 @@ void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const G
const int depth = src.depth();
CV_DbgAssert( depth <
7
);
CV_DbgAssert( depth <
= CV_64F
);
funcs[depth](src, val[0], dst, stream);
}
...
...
modules/cudaarithm/src/cuda/add_mat.cu
View file @
43e81111
...
...
@@ -185,7 +185,7 @@ void addMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& m
const int sdepth = src1.depth();
const int ddepth = dst.depth();
CV_DbgAssert( sdepth <
7 && ddepth < 7
);
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
);
GpuMat src1_ = src1.reshape(1);
GpuMat src2_ = src2.reshape(1);
...
...
modules/cudaarithm/src/cuda/add_scalar.cu
View file @
43e81111
...
...
@@ -167,7 +167,7 @@ void addScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMa
const int ddepth = dst.depth();
const int cn = src.channels();
CV_DbgAssert( sdepth <
7 && ddepth < 7
&& cn <= 4 );
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
&& cn <= 4 );
const func_t func = funcs[sdepth][ddepth][cn - 1];
...
...
modules/cudaarithm/src/cuda/div_mat.cu
View file @
43e81111
...
...
@@ -190,7 +190,7 @@ void divMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat&,
const int sdepth = src1.depth();
const int ddepth = dst.depth();
CV_DbgAssert( sdepth <
7 && ddepth < 7
);
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
);
GpuMat src1_ = src1.reshape(1);
GpuMat src2_ = src2.reshape(1);
...
...
modules/cudaarithm/src/cuda/div_scalar.cu
View file @
43e81111
...
...
@@ -236,7 +236,7 @@ void divScalar(const GpuMat& src, cv::Scalar val, bool inv, GpuMat& dst, const G
const int ddepth = dst.depth();
const int cn = src.channels();
CV_DbgAssert( sdepth <
7 && ddepth < 7
&& cn <= 4 );
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
&& cn <= 4 );
if (inv)
{
...
...
modules/cudaarithm/src/cuda/mul_mat.cu
View file @
43e81111
...
...
@@ -176,7 +176,7 @@ void mulMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat&,
const int sdepth = src1.depth();
const int ddepth = dst.depth();
CV_DbgAssert( sdepth <
7 && ddepth < 7
);
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
);
GpuMat src1_ = src1.reshape(1);
GpuMat src2_ = src2.reshape(1);
...
...
modules/cudaarithm/src/cuda/mul_scalar.cu
View file @
43e81111
...
...
@@ -164,7 +164,7 @@ void mulScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const GpuMa
const int ddepth = dst.depth();
const int cn = src.channels();
CV_DbgAssert( sdepth <
7 && ddepth < 7
&& cn <= 4 );
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
&& cn <= 4 );
val[0] *= scale;
val[1] *= scale;
...
...
modules/cudaarithm/src/cuda/sub_mat.cu
View file @
43e81111
...
...
@@ -185,7 +185,7 @@ void subMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& m
const int sdepth = src1.depth();
const int ddepth = dst.depth();
CV_DbgAssert( sdepth <
7 && ddepth < 7
);
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
);
GpuMat src1_ = src1.reshape(1);
GpuMat src2_ = src2.reshape(1);
...
...
modules/cudaarithm/src/cuda/sub_scalar.cu
View file @
43e81111
...
...
@@ -190,7 +190,7 @@ void subScalar(const GpuMat& src, cv::Scalar val, bool inv, GpuMat& dst, const G
const int ddepth = dst.depth();
const int cn = src.channels();
CV_DbgAssert( sdepth <
7 && ddepth < 7
&& cn <= 4 );
CV_DbgAssert( sdepth <
= CV_64F && ddepth <= CV_64F
&& cn <= 4 );
const func_t func = funcs[sdepth][ddepth][cn - 1];
...
...
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