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
c9db91ac
Commit
c9db91ac
authored
May 27, 2014
by
Alexander Alekhin
Committed by
OpenCV Buildbot
May 27, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2788 from alalek:icv_public
parents
68165b1a
52ba7614
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
downloader.cmake
3rdparty/ippicv/downloader.cmake
+4
-5
perf_cvt_color.cpp
modules/imgproc/perf/perf_cvt_color.cpp
+5
-1
No files found.
3rdparty/ippicv/downloader.cmake
View file @
c9db91ac
...
...
@@ -59,12 +59,11 @@ function(_icv_downloader)
if
(
NOT EXISTS
"
${
OPENCV_ICV_PACKAGE_ARCHIVE
}
"
)
if
(
NOT DEFINED OPENCV_ICV_URL
)
if
(
NOT
DEFINED ENV{OPENCV_ICV_URL}
)
# TODO Specify default URL after ICV publishing
message
(
STATUS
"ICV: downloading URL is not specified, skip downloading"
)
return
(
)
if
(
DEFINED ENV{OPENCV_ICV_URL}
)
set
(
OPENCV_ICV_URL $ENV{OPENCV_ICV_URL}
)
else
(
)
set
(
OPENCV_ICV_URL
"http://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv"
)
endif
()
set
(
OPENCV_ICV_URL $ENV{OPENCV_ICV_URL}
)
endif
()
file
(
MAKE_DIRECTORY
${
OPENCV_ICV_PACKAGE_ARCHIVE_DIR
}
)
...
...
modules/imgproc/perf/perf_cvt_color.cpp
View file @
c9db91ac
...
...
@@ -248,7 +248,7 @@ PERF_TEST_P(Size_CvtMode, cvtColor8u,
)
{
Size
sz
=
get
<
0
>
(
GetParam
());
int
mode
=
get
<
1
>
(
GetParam
())
;
int
_mode
=
get
<
1
>
(
GetParam
()),
mode
=
_mode
;
ChPair
ch
=
getConversionInfo
(
mode
);
mode
%=
COLOR_COLORCVT_MAX
;
...
...
@@ -261,7 +261,11 @@ PERF_TEST_P(Size_CvtMode, cvtColor8u,
int
runs
=
sz
.
width
<=
320
?
100
:
5
;
TEST_CYCLE_MULTIRUN
(
runs
)
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
#if defined(__APPLE__) && defined(HAVE_IPP)
SANITY_CHECK
(
dst
,
_mode
==
CX_BGRA2HLS_FULL
?
2
:
1
);
#else
SANITY_CHECK
(
dst
,
1
);
#endif
}
typedef
std
::
tr1
::
tuple
<
Size
,
CvtModeBayer
>
Size_CvtMode_Bayer_t
;
...
...
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