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
c8398c9f
Commit
c8398c9f
authored
Jun 11, 2013
by
Peng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use anonymous enumerations instead of constants
parent
e77abeef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
ocl.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
+8
-7
No files found.
modules/ocl/include/opencv2/ocl/ocl.hpp
View file @
c8398c9f
...
@@ -183,13 +183,14 @@ namespace cv
...
@@ -183,13 +183,14 @@ namespace cv
// cached onto local disk automatically, which may accelerate subsequent runs.
// cached onto local disk automatically, which may accelerate subsequent runs.
// Caching mode is controlled by the following enum
// Caching mode is controlled by the following enum
// Note, the feature is by default enabled when OpenCV is built in release mode.
// Note, the feature is by default enabled when OpenCV is built in release mode.
// enum BinaryDiskCacheMode
enum
const
int
CACHE_NONE
=
0
;
{
const
int
CACHE_DEBUG
=
0x1
<<
0
;
CACHE_NONE
=
0
,
const
int
CACHE_RELEASE
=
0x1
<<
1
;
CACHE_DEBUG
=
0x1
<<
0
,
const
int
CACHE_ALL
=
CACHE_DEBUG
|
CACHE_RELEASE
;
CACHE_RELEASE
=
0x1
<<
1
,
const
int
CACHE_UPDATE
=
0x1
<<
2
;
// if the binary cache file with the same name is already on the disk, it will be updated.
CACHE_ALL
=
CACHE_DEBUG
|
CACHE_RELEASE
,
CACHE_UPDATE
=
0x1
<<
2
// if the binary cache file with the same name is already on the disk, it will be updated.
};
CV_EXPORTS
void
setBinaryDiskCache
(
int
mode
=
CACHE_RELEASE
,
cv
::
String
path
=
"./"
);
CV_EXPORTS
void
setBinaryDiskCache
(
int
mode
=
CACHE_RELEASE
,
cv
::
String
path
=
"./"
);
//! set where binary cache to be saved to
//! set where binary cache to be saved to
...
...
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