Enum NppStatus
Error Status Codes
Almost all NPP function return error-status information using these return codes. Negative return codes indicate errors, positive return codes indicate warnings, a return code of 0 indicates success.
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public enum NppStatus
Fields
| Name | Description |
|---|---|
| AffineQuadIncorrectWarning | Indicates that the quadrangle passed to one of affine warping functions doesn't have necessary properties. First 3 vertices are used, the fourth vertex discarded. |
| AlignmentError | |
| AnchorError | Anchor point is outside mask |
| BadArgumentError | |
| ChannelError | Illegal channel index |
| ChannelOfInterestError | Channel of interest is not 1, 2, or 3 |
| ChannelOrderError | Wrong order of the destination channels |
| CoefficientError | Unallowable values of the transformation coefficients |
| ContextMatchError | |
| CorruptedDataError | Processed data is corrupted |
| CudaKernelExecutionError | |
| DataTypeError | |
| DivideByZeroError | |
| DivideByZeroWarning | Divisor is zero however does not terminate the execution |
| DivisorError | Divisor is equal to zero |
| DoubleSizeWarning | Image size isn't multiple of two. Indicates that in case of 422/411/420 sampling the ROI width/height was modified for proper processing. |
| Error | |
| ErrorReserved | |
| FFTFlagError | |
| FFTOrderError | |
| HaarClassifierPixelMatchError | |
| HistogramNumberOfLevelsError | Number of levels for histogram is less than 2 |
| InterpolationError | |
| InvalidDevicePointerError | |
| InvalidHostPointerError | |
| LutMumberOfLevelsError | Number of levels for LUT is less than 2 |
| LUTPaletteBitsizeError | |
| MaskSizeError | Lower bound is larger than upper bound |
| MemcpyError | |
| MemfreeError | |
| MemoryAllocationError | |
| MemsetError | |
| MirrorFlipError | |
| MisalignedDstRoiWarning | Speed reduction due to uncoalesced memory accesses warning. |
| Moment00ZeroErro | |
| NoError | Error free operation |
| NoMemoryError | |
| NoOperationWarning | Indicates that no operation was performed |
| NotEvenStepError | Step value is not pixel multiple |
| NotImplementedError | |
| NotSufficientComputeCapability | |
| NotSupportedModeError | |
| NullPointerError | |
| NumberOfChannelsError | Bad or unsupported number of channels |
| OutOfRangeError | |
| OverflowError | Number overflows the upper or lower limit of the data type |
| QuadrangleError | The quadrangle is nonconvex or degenerates into triangle, line or point |
| QualityIndexError | Image pixels are constant for quality index |
| RangeError | |
| RectangleError | Size of the rectangle region is less than or equal to 1 |
| ResizeFactorError | |
| ResizeNoOperationError | One of the output image dimensions is less than 1 pixel |
| RoundModeNotSupportedError | Unsupported round mode |
| ScaleRangeError | |
| SizeError | |
| StepError | Step is less or equal zero |
| StrideError | Stride is less than the row length |
| Success | Successful operation (same as NoError) |
| TextureBindError | |
| ThresholdError | |
| ThresholdNegativeLevelError | |
| WrongIntersectionQuadWarning | The given quadrangle has no intersection with either the source or destination ROI. Thus no operation was performed. |
| WrongIntersectionRoiError | |
| WrongIntersectionRoiWarning | The given ROI has no interestion with either the source or destination ROI. Thus no operation was performed. |
| ZCModeNotSupportedError | ZeroCrossing mode not supported |
| ZeroMaskValueError | All values of the mask are zero |