mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Add more information to the error code.
This commit is contained in:
parent
08c6ffaa8d
commit
3c5d87cbae
@ -79,18 +79,18 @@ enum Code {
|
||||
BadImageSize= -10, //!< image size is invalid
|
||||
BadOffset= -11, //!< offset is invalid
|
||||
BadDataPtr= -12, //!<
|
||||
BadStep= -13, //!<
|
||||
BadStep= -13, //!< image step is wrong
|
||||
BadModelOrChSeq= -14, //!<
|
||||
BadNumChannels= -15, //!<
|
||||
BadNumChannels= -15, //!< bad number of channels
|
||||
BadNumChannel1U= -16, //!<
|
||||
BadDepth= -17, //!<
|
||||
BadDepth= -17, //!< input image depth is not supported by function
|
||||
BadAlphaChannel= -18, //!<
|
||||
BadOrder= -19, //!<
|
||||
BadOrigin= -20, //!<
|
||||
BadAlign= -21, //!<
|
||||
BadCallBack= -22, //!<
|
||||
BadTileSize= -23, //!<
|
||||
BadCOI= -24, //!<
|
||||
BadCOI= -24, //!< input COI is not supported
|
||||
BadROISize= -25, //!<
|
||||
MaskIsTiled= -26, //!<
|
||||
StsNullPtr= -27, //!< null pointer
|
||||
|
@ -130,18 +130,18 @@ 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 */
|
||||
CV_BadModelOrChSeq= -14, /**/
|
||||
CV_BadNumChannels= -15, /**/
|
||||
CV_BadNumChannels= -15, /**< bad number of channels */
|
||||
CV_BadNumChannel1U= -16, /**/
|
||||
CV_BadDepth= -17, /**/
|
||||
CV_BadDepth= -17, /**< input image depth is not supported by function */
|
||||
CV_BadAlphaChannel= -18, /**/
|
||||
CV_BadOrder= -19, /**/
|
||||
CV_BadOrigin= -20, /**/
|
||||
CV_BadAlign= -21, /**/
|
||||
CV_BadCallBack= -22, /**/
|
||||
CV_BadTileSize= -23, /**/
|
||||
CV_BadCOI= -24, /**/
|
||||
CV_BadCOI= -24, /**< input COI is not supported */
|
||||
CV_BadROISize= -25, /**/
|
||||
CV_MaskIsTiled= -26, /**/
|
||||
CV_StsNullPtr= -27, /**< null pointer */
|
||||
|
Loading…
Reference in New Issue
Block a user