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
d2516c45
Commit
d2516c45
authored
Nov 07, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added workaround for a weird Mingw 4.5.1 bug
parent
018aba75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
aimgwarp.cpp
tests/cv/src/aimgwarp.cpp
+5
-2
No files found.
tests/cv/src/aimgwarp.cpp
View file @
d2516c45
...
@@ -192,7 +192,7 @@ int CV_ImgWarpBaseTestImpl::prepare_test_case( int test_case_idx )
...
@@ -192,7 +192,7 @@ int CV_ImgWarpBaseTestImpl::prepare_test_case( int test_case_idx )
assert
(
0
);
assert
(
0
);
}
}
switch
(
depth
)
/*
switch( depth )
{
{
case CV_8U:
case CV_8U:
for( j = 0; j < cols*cn; j++ )
for( j = 0; j < cols*cn; j++ )
...
@@ -208,7 +208,10 @@ int CV_ImgWarpBaseTestImpl::prepare_test_case( int test_case_idx )
...
@@ -208,7 +208,10 @@ int CV_ImgWarpBaseTestImpl::prepare_test_case( int test_case_idx )
break;
break;
default:
default:
assert(0);
assert(0);
}
}*/
cv
::
Mat
src
(
1
,
cols
*
cn
,
CV_32F
,
buffer
);
cv
::
Mat
dst
(
1
,
cols
*
cn
,
depth
,
ptr
);
src
.
convertTo
(
dst
,
dst
.
type
());
}
}
cvFree
(
&
buffer
);
cvFree
(
&
buffer
);
...
...
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