mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +08:00
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
This commit is contained in:
commit
dd81c29834
@ -73,30 +73,30 @@ enum Code {
|
|||||||
StsNoMem= -4, //!< insufficient memory
|
StsNoMem= -4, //!< insufficient memory
|
||||||
StsBadArg= -5, //!< function arg/param is bad
|
StsBadArg= -5, //!< function arg/param is bad
|
||||||
StsBadFunc= -6, //!< unsupported function
|
StsBadFunc= -6, //!< unsupported function
|
||||||
StsNoConv= -7, //!< iter. didn't converge
|
StsNoConv= -7, //!< iteration didn't converge
|
||||||
StsAutoTrace= -8, //!< tracing
|
StsAutoTrace= -8, //!< tracing
|
||||||
HeaderIsNull= -9, //!< image header is NULL
|
HeaderIsNull= -9, //!< image header is NULL
|
||||||
BadImageSize= -10, //!< image size is invalid
|
BadImageSize= -10, //!< image size is invalid
|
||||||
BadOffset= -11, //!< offset is invalid
|
BadOffset= -11, //!< offset is invalid
|
||||||
BadDataPtr= -12, //!<
|
BadDataPtr= -12, //!<
|
||||||
BadStep= -13, //!<
|
BadStep= -13, //!< image step is wrong, this may happen for a non-continuous matrix.
|
||||||
BadModelOrChSeq= -14, //!<
|
BadModelOrChSeq= -14, //!<
|
||||||
BadNumChannels= -15, //!<
|
BadNumChannels= -15, //!< bad number of channels, for example, some functions accept only single channel matrices.
|
||||||
BadNumChannel1U= -16, //!<
|
BadNumChannel1U= -16, //!<
|
||||||
BadDepth= -17, //!<
|
BadDepth= -17, //!< input image depth is not supported by the function
|
||||||
BadAlphaChannel= -18, //!<
|
BadAlphaChannel= -18, //!<
|
||||||
BadOrder= -19, //!<
|
BadOrder= -19, //!< number of dimensions is out of range
|
||||||
BadOrigin= -20, //!<
|
BadOrigin= -20, //!< incorrect input origin
|
||||||
BadAlign= -21, //!<
|
BadAlign= -21, //!< incorrect input align
|
||||||
BadCallBack= -22, //!<
|
BadCallBack= -22, //!<
|
||||||
BadTileSize= -23, //!<
|
BadTileSize= -23, //!<
|
||||||
BadCOI= -24, //!<
|
BadCOI= -24, //!< input COI is not supported
|
||||||
BadROISize= -25, //!<
|
BadROISize= -25, //!< incorrect input roi
|
||||||
MaskIsTiled= -26, //!<
|
MaskIsTiled= -26, //!<
|
||||||
StsNullPtr= -27, //!< null pointer
|
StsNullPtr= -27, //!< null pointer
|
||||||
StsVecLengthErr= -28, //!< incorrect vector length
|
StsVecLengthErr= -28, //!< incorrect vector length
|
||||||
StsFilterStructContentErr= -29, //!< incorr. filter structure content
|
StsFilterStructContentErr= -29, //!< incorrect filter structure content
|
||||||
StsKernelStructContentErr= -30, //!< incorr. transform kernel content
|
StsKernelStructContentErr= -30, //!< incorrect transform kernel content
|
||||||
StsFilterOffsetErr= -31, //!< incorrect filter offset value
|
StsFilterOffsetErr= -31, //!< incorrect filter offset value
|
||||||
StsBadSize= -201, //!< the input/output structure size is incorrect
|
StsBadSize= -201, //!< the input/output structure size is incorrect
|
||||||
StsDivByZero= -202, //!< division by zero
|
StsDivByZero= -202, //!< division by zero
|
||||||
@ -113,13 +113,13 @@ enum Code {
|
|||||||
StsNotImplemented= -213, //!< the requested function/feature is not implemented
|
StsNotImplemented= -213, //!< the requested function/feature is not implemented
|
||||||
StsBadMemBlock= -214, //!< an allocated block has been corrupted
|
StsBadMemBlock= -214, //!< an allocated block has been corrupted
|
||||||
StsAssert= -215, //!< assertion failed
|
StsAssert= -215, //!< assertion failed
|
||||||
GpuNotSupported= -216,
|
GpuNotSupported= -216, //!< no CUDA support
|
||||||
GpuApiCallError= -217,
|
GpuApiCallError= -217, //!< GPU API call error
|
||||||
OpenGlNotSupported= -218,
|
OpenGlNotSupported= -218, //!< no OpenGL support
|
||||||
OpenGlApiCallError= -219,
|
OpenGlApiCallError= -219, //!< OpenGL API call error
|
||||||
OpenCLApiCallError= -220,
|
OpenCLApiCallError= -220, //!< OpenCL API call error
|
||||||
OpenCLDoubleNotSupported= -221,
|
OpenCLDoubleNotSupported= -221,
|
||||||
OpenCLInitError= -222,
|
OpenCLInitError= -222, //!< OpenCL initialization error
|
||||||
OpenCLNoAMDBlasFft= -223
|
OpenCLNoAMDBlasFft= -223
|
||||||
};
|
};
|
||||||
} //Error
|
} //Error
|
||||||
|
@ -130,24 +130,24 @@ enum {
|
|||||||
CV_BadImageSize= -10, /**< image size is invalid */
|
CV_BadImageSize= -10, /**< image size is invalid */
|
||||||
CV_BadOffset= -11, /**< offset is invalid */
|
CV_BadOffset= -11, /**< offset is invalid */
|
||||||
CV_BadDataPtr= -12, /**/
|
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_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_BadNumChannel1U= -16, /**/
|
||||||
CV_BadDepth= -17, /**/
|
CV_BadDepth= -17, /**< input image depth is not supported by the function */
|
||||||
CV_BadAlphaChannel= -18, /**/
|
CV_BadAlphaChannel= -18, /**/
|
||||||
CV_BadOrder= -19, /**/
|
CV_BadOrder= -19, /**< number of dimensions is out of range */
|
||||||
CV_BadOrigin= -20, /**/
|
CV_BadOrigin= -20, /**< incorrect input origin */
|
||||||
CV_BadAlign= -21, /**/
|
CV_BadAlign= -21, /**< incorrect input align */
|
||||||
CV_BadCallBack= -22, /**/
|
CV_BadCallBack= -22, /**/
|
||||||
CV_BadTileSize= -23, /**/
|
CV_BadTileSize= -23, /**/
|
||||||
CV_BadCOI= -24, /**/
|
CV_BadCOI= -24, /**< input COI is not supported */
|
||||||
CV_BadROISize= -25, /**/
|
CV_BadROISize= -25, /**< incorrect input roi */
|
||||||
CV_MaskIsTiled= -26, /**/
|
CV_MaskIsTiled= -26, /**/
|
||||||
CV_StsNullPtr= -27, /**< null pointer */
|
CV_StsNullPtr= -27, /**< null pointer */
|
||||||
CV_StsVecLengthErr= -28, /**< incorrect vector length */
|
CV_StsVecLengthErr= -28, /**< incorrect vector length */
|
||||||
CV_StsFilterStructContentErr= -29, /**< incorr. filter structure content */
|
CV_StsFilterStructContentErr= -29, /**< incorrect filter structure content */
|
||||||
CV_StsKernelStructContentErr= -30, /**< incorr. transform kernel content */
|
CV_StsKernelStructContentErr= -30, /**< incorrect transform kernel content */
|
||||||
CV_StsFilterOffsetErr= -31, /**< incorrect filter offset value */
|
CV_StsFilterOffsetErr= -31, /**< incorrect filter offset value */
|
||||||
CV_StsBadSize= -201, /**< the input/output structure size is incorrect */
|
CV_StsBadSize= -201, /**< the input/output structure size is incorrect */
|
||||||
CV_StsDivByZero= -202, /**< division by zero */
|
CV_StsDivByZero= -202, /**< division by zero */
|
||||||
@ -163,14 +163,14 @@ enum {
|
|||||||
CV_StsParseError= -212, /**< invalid syntax/structure of the parsed file */
|
CV_StsParseError= -212, /**< invalid syntax/structure of the parsed file */
|
||||||
CV_StsNotImplemented= -213, /**< the requested function/feature is not implemented */
|
CV_StsNotImplemented= -213, /**< the requested function/feature is not implemented */
|
||||||
CV_StsBadMemBlock= -214, /**< an allocated block has been corrupted */
|
CV_StsBadMemBlock= -214, /**< an allocated block has been corrupted */
|
||||||
CV_StsAssert= -215, /**< assertion failed */
|
CV_StsAssert= -215, /**< assertion failed */
|
||||||
CV_GpuNotSupported= -216,
|
CV_GpuNotSupported= -216, /**< no CUDA support */
|
||||||
CV_GpuApiCallError= -217,
|
CV_GpuApiCallError= -217, /**< GPU API call error */
|
||||||
CV_OpenGlNotSupported= -218,
|
CV_OpenGlNotSupported= -218, /**< no OpenGL support */
|
||||||
CV_OpenGlApiCallError= -219,
|
CV_OpenGlApiCallError= -219, /**< OpenGL API call error */
|
||||||
CV_OpenCLApiCallError= -220,
|
CV_OpenCLApiCallError= -220, /**< OpenCL API call error */
|
||||||
CV_OpenCLDoubleNotSupported= -221,
|
CV_OpenCLDoubleNotSupported= -221,
|
||||||
CV_OpenCLInitError= -222,
|
CV_OpenCLInitError= -222, /**< OpenCL initialization error */
|
||||||
CV_OpenCLNoAMDBlasFft= -223
|
CV_OpenCLNoAMDBlasFft= -223
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user