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
dd81c298
Commit
dd81c298
authored
May 03, 2017
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
parents
dea5eaca
da94d857
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
34 deletions
+34
-34
base.hpp
modules/core/include/opencv2/core/base.hpp
+17
-17
types_c.h
modules/core/include/opencv2/core/types_c.h
+17
-17
No files found.
modules/core/include/opencv2/core/base.hpp
View file @
dd81c298
...
...
@@ -73,30 +73,30 @@ enum Code {
StsNoMem
=
-
4
,
//!< insufficient memory
StsBadArg
=
-
5
,
//!< function arg/param is bad
StsBadFunc
=
-
6
,
//!< unsupported function
StsNoConv
=
-
7
,
//!< iter
.
didn't converge
StsNoConv
=
-
7
,
//!< iter
ation
didn't converge
StsAutoTrace
=
-
8
,
//!< tracing
HeaderIsNull
=
-
9
,
//!< image header is NULL
BadImageSize
=
-
10
,
//!< image size is invalid
BadOffset
=
-
11
,
//!< offset is invalid
BadDataPtr
=
-
12
,
//!<
BadStep
=
-
13
,
//!<
BadStep
=
-
13
,
//!<
image step is wrong, this may happen for a non-continuous matrix.
BadModelOrChSeq
=
-
14
,
//!<
BadNumChannels
=
-
15
,
//!<
BadNumChannels
=
-
15
,
//!<
bad number of channels, for example, some functions accept only single channel matrices.
BadNumChannel1U
=
-
16
,
//!<
BadDepth
=
-
17
,
//!<
BadDepth
=
-
17
,
//!<
input image depth is not supported by the function
BadAlphaChannel
=
-
18
,
//!<
BadOrder
=
-
19
,
//!<
BadOrigin
=
-
20
,
//!<
BadAlign
=
-
21
,
//!<
BadOrder
=
-
19
,
//!<
number of dimensions is out of range
BadOrigin
=
-
20
,
//!<
incorrect input origin
BadAlign
=
-
21
,
//!<
incorrect input align
BadCallBack
=
-
22
,
//!<
BadTileSize
=
-
23
,
//!<
BadCOI
=
-
24
,
//!<
BadROISize
=
-
25
,
//!<
BadCOI
=
-
24
,
//!<
input COI is not supported
BadROISize
=
-
25
,
//!<
incorrect input roi
MaskIsTiled
=
-
26
,
//!<
StsNullPtr
=
-
27
,
//!< null pointer
StsVecLengthErr
=
-
28
,
//!< incorrect vector length
StsFilterStructContentErr
=
-
29
,
//!< incorr
.
filter structure content
StsKernelStructContentErr
=
-
30
,
//!< incorr
.
transform kernel content
StsFilterStructContentErr
=
-
29
,
//!< incorr
ect
filter structure content
StsKernelStructContentErr
=
-
30
,
//!< incorr
ect
transform kernel content
StsFilterOffsetErr
=
-
31
,
//!< incorrect filter offset value
StsBadSize
=
-
201
,
//!< the input/output structure size is incorrect
StsDivByZero
=
-
202
,
//!< division by zero
...
...
@@ -113,13 +113,13 @@ enum Code {
StsNotImplemented
=
-
213
,
//!< the requested function/feature is not implemented
StsBadMemBlock
=
-
214
,
//!< an allocated block has been corrupted
StsAssert
=
-
215
,
//!< assertion failed
GpuNotSupported
=
-
216
,
GpuApiCallError
=
-
217
,
OpenGlNotSupported
=
-
218
,
OpenGlApiCallError
=
-
219
,
OpenCLApiCallError
=
-
220
,
GpuNotSupported
=
-
216
,
//!< no CUDA support
GpuApiCallError
=
-
217
,
//!< GPU API call error
OpenGlNotSupported
=
-
218
,
//!< no OpenGL support
OpenGlApiCallError
=
-
219
,
//!< OpenGL API call error
OpenCLApiCallError
=
-
220
,
//!< OpenCL API call error
OpenCLDoubleNotSupported
=
-
221
,
OpenCLInitError
=
-
222
,
OpenCLInitError
=
-
222
,
//!< OpenCL initialization error
OpenCLNoAMDBlasFft
=
-
223
};
}
//Error
...
...
modules/core/include/opencv2/core/types_c.h
View file @
dd81c298
...
...
@@ -130,24 +130,24 @@ enum {
CV_BadImageSize
=
-
10
,
/**< image size is invalid */
CV_BadOffset
=
-
11
,
/**< offset is invalid */
CV_BadDataPtr
=
-
12
,
/**/
CV_BadStep
=
-
13
,
/**/
CV_BadStep
=
-
13
,
/**
< image step is wrong, this may happen for a non-continuous matrix *
/
CV_BadModelOrChSeq
=
-
14
,
/**/
CV_BadNumChannels
=
-
15
,
/**/
CV_BadNumChannels
=
-
15
,
/**
< bad number of channels, for example, some functions accept only single channel matrices *
/
CV_BadNumChannel1U
=
-
16
,
/**/
CV_BadDepth
=
-
17
,
/**/
CV_BadDepth
=
-
17
,
/**
< input image depth is not supported by the function *
/
CV_BadAlphaChannel
=
-
18
,
/**/
CV_BadOrder
=
-
19
,
/**/
CV_BadOrigin
=
-
20
,
/**/
CV_BadAlign
=
-
21
,
/**/
CV_BadOrder
=
-
19
,
/**
< number of dimensions is out of range *
/
CV_BadOrigin
=
-
20
,
/**
< incorrect input origin *
/
CV_BadAlign
=
-
21
,
/**
< incorrect input align *
/
CV_BadCallBack
=
-
22
,
/**/
CV_BadTileSize
=
-
23
,
/**/
CV_BadCOI
=
-
24
,
/**/
CV_BadROISize
=
-
25
,
/**/
CV_BadCOI
=
-
24
,
/**
< input COI is not supported *
/
CV_BadROISize
=
-
25
,
/**
< incorrect input roi *
/
CV_MaskIsTiled
=
-
26
,
/**/
CV_StsNullPtr
=
-
27
,
/**< null pointer */
CV_StsVecLengthErr
=
-
28
,
/**< incorrect vector length */
CV_StsFilterStructContentErr
=
-
29
,
/**< incorr
.
filter structure content */
CV_StsKernelStructContentErr
=
-
30
,
/**< incorr
.
transform kernel content */
CV_StsFilterStructContentErr
=
-
29
,
/**< incorr
ect
filter structure content */
CV_StsKernelStructContentErr
=
-
30
,
/**< incorr
ect
transform kernel content */
CV_StsFilterOffsetErr
=
-
31
,
/**< incorrect filter offset value */
CV_StsBadSize
=
-
201
,
/**< the input/output structure size is incorrect */
CV_StsDivByZero
=
-
202
,
/**< division by zero */
...
...
@@ -163,14 +163,14 @@ enum {
CV_StsParseError
=
-
212
,
/**< invalid syntax/structure of the parsed file */
CV_StsNotImplemented
=
-
213
,
/**< the requested function/feature is not implemented */
CV_StsBadMemBlock
=
-
214
,
/**< an allocated block has been corrupted */
CV_StsAssert
=
-
215
,
/**< assertion failed */
CV_GpuNotSupported
=
-
216
,
CV_GpuApiCallError
=
-
217
,
CV_OpenGlNotSupported
=
-
218
,
CV_OpenGlApiCallError
=
-
219
,
CV_OpenCLApiCallError
=
-
220
,
CV_StsAssert
=
-
215
,
/**< assertion failed
*/
CV_GpuNotSupported
=
-
216
,
/**< no CUDA support */
CV_GpuApiCallError
=
-
217
,
/**< GPU API call error */
CV_OpenGlNotSupported
=
-
218
,
/**< no OpenGL support */
CV_OpenGlApiCallError
=
-
219
,
/**< OpenGL API call error */
CV_OpenCLApiCallError
=
-
220
,
/**< OpenCL API call error */
CV_OpenCLDoubleNotSupported
=
-
221
,
CV_OpenCLInitError
=
-
222
,
CV_OpenCLInitError
=
-
222
,
/**< OpenCL initialization error */
CV_OpenCLNoAMDBlasFft
=
-
223
};
...
...
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