@@ -73,30 +73,30 @@ enum Code {
73
73
StsNoMem= -4 , // !< insufficient memory
74
74
StsBadArg= -5 , // !< function arg/param is bad
75
75
StsBadFunc= -6 , // !< unsupported function
76
- StsNoConv= -7 , // !< iter. didn't converge
76
+ StsNoConv= -7 , // !< iteration didn't converge
77
77
StsAutoTrace= -8 , // !< tracing
78
78
HeaderIsNull= -9 , // !< image header is NULL
79
79
BadImageSize= -10 , // !< image size is invalid
80
80
BadOffset= -11 , // !< offset is invalid
81
81
BadDataPtr= -12 , // !<
82
- BadStep= -13 , // !< image step is wrong
82
+ BadStep= -13 , // !< image step is wrong, this may happen for a non-continuous matrix.
83
83
BadModelOrChSeq= -14 , // !<
84
- BadNumChannels= -15 , // !< bad number of channels
84
+ BadNumChannels= -15 , // !< bad number of channels, for example, some functions accept only single channel matrices.
85
85
BadNumChannel1U= -16 , // !<
86
- BadDepth= -17 , // !< input image depth is not supported by function
86
+ BadDepth= -17 , // !< input image depth is not supported by the function
87
87
BadAlphaChannel= -18 , // !<
88
- BadOrder= -19 , // !<
89
- BadOrigin= -20 , // !<
90
- BadAlign= -21 , // !<
88
+ BadOrder= -19 , // !< number of dimensions is out of range
89
+ BadOrigin= -20 , // !< incorrect input origin
90
+ BadAlign= -21 , // !< incorrect input align
91
91
BadCallBack= -22 , // !<
92
92
BadTileSize= -23 , // !<
93
93
BadCOI= -24 , // !< input COI is not supported
94
- BadROISize= -25 , // !<
94
+ BadROISize= -25 , // !< incorrect input roi
95
95
MaskIsTiled= -26 , // !<
96
96
StsNullPtr= -27 , // !< null pointer
97
97
StsVecLengthErr= -28 , // !< incorrect vector length
98
- StsFilterStructContentErr= -29 , // !< incorr. filter structure content
99
- StsKernelStructContentErr= -30 , // !< incorr. transform kernel content
98
+ StsFilterStructContentErr= -29 , // !< incorrect filter structure content
99
+ StsKernelStructContentErr= -30 , // !< incorrect transform kernel content
100
100
StsFilterOffsetErr= -31 , // !< incorrect filter offset value
101
101
StsBadSize= -201 , // !< the input/output structure size is incorrect
102
102
StsDivByZero= -202 , // !< division by zero
@@ -113,13 +113,13 @@ enum Code {
113
113
StsNotImplemented= -213 , // !< the requested function/feature is not implemented
114
114
StsBadMemBlock= -214 , // !< an allocated block has been corrupted
115
115
StsAssert= -215 , // !< assertion failed
116
- GpuNotSupported= -216 ,
117
- GpuApiCallError= -217 ,
118
- OpenGlNotSupported= -218 ,
119
- OpenGlApiCallError= -219 ,
120
- OpenCLApiCallError= -220 ,
116
+ GpuNotSupported= -216 , // !< no CUDA support
117
+ GpuApiCallError= -217 , // !< GPU API call error
118
+ OpenGlNotSupported= -218 , // !< no OpenGL support
119
+ OpenGlApiCallError= -219 , // !< OpenGL API call error
120
+ OpenCLApiCallError= -220 , // !< OpenCL API call error
121
121
OpenCLDoubleNotSupported= -221 ,
122
- OpenCLInitError= -222 ,
122
+ OpenCLInitError= -222 , // !< OpenCL initialization error
123
123
OpenCLNoAMDBlasFft= -223
124
124
};
125
125
} // Error
0 commit comments