jcuda.jnpp
Class NppStatus

java.lang.Object
  extended by jcuda.jnpp.NppStatus

 class NppStatus
extends java.lang.Object

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.


Field Summary
static int NPP_ADJUSTED_ROI_SIZE_WARNING
          Indicates that in case of 422/411/420 sampling the ROI width/height was modified for proper processing.
static int NPP_AFFINE_QUAD_CHANGED_WARNING
          Alias for NPP_AFFINE_QUAD_INCORRECT_WARNING resembling the IPP warning more closely.
static int NPP_AFFINE_QUAD_INCORRECT_WARNING
          Indicates that the quadrangle passed to one of affine warping functions doesn't have necessary properties.
static int NPP_ALIGNMENT_ERROR
           
static int NPP_BAD_ARG_ERROR
           
static int NPP_COEFF_ERROR
           
static int NPP_CUDA_KERNEL_EXECUTION_ERROR
           
static int NPP_DOUBLE_SIZE_WARNING
          Alias for the ADJUSTED_ROI_SIZE_WARNING, this name is closer to IPP's original warning enum.
static int NPP_ERROR
           
static int NPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR
           
static int NPP_HISTO_NUMBER_OF_LEVELS_ERROR
           
static int NPP_INTERPOLATION_ERROR
           
static int NPP_INVALID_INPUT
           
static int NPP_LUT_NUMBER_OF_LEVELS_ERROR
           
static int NPP_MEM_ALLOC_ERR
           
static int NPP_MEMCPY_ERROR
           
static int NPP_MEMFREE_ERR
           
static int NPP_MEMSET_ERR
           
static int NPP_MIRROR_FLIP_ERR
           
static int NPP_MISALIGNED_DST_ROI_WARNING
          Speed reduction due to uncoalesced memory accesses warning.
static int NPP_NO_ERROR
          Error free operation
static int NPP_NOT_EVEN_STEP_ERROR
           
static int NPP_NOT_IMPLEMENTED_ERROR
           
static int NPP_NOT_SUPPORTED_MODE_ERROR
           
static int NPP_NULL_POINTER_ERROR
           
static int NPP_ODD_ROI_WARNING
          Indicates that for 422/411/420 sampling the ROI width/height was forced to even value.
static int NPP_POINTER_ERROR
           
static int NPP_QUAD_ERROR
           
static int NPP_RECT_ERROR
           
static int NPP_RESIZE_FACTOR_ERROR
           
static int NPP_RESIZE_NO_OPERATION_ERROR
           
static int NPP_ROUND_MODE_NOT_SUPPORTED_ERROR
           
static int NPP_SIZE_ERROR
           
static int NPP_STEP_ERROR
           
static int NPP_SUCCESS
          Successful operation (same as NPP_NO_ERROR)
static int NPP_TEXTURE_BIND_ERROR
           
static int NPP_WARNING
           
static int NPP_WRONG_INTERSECTION_QUAD_WARNING
           
static int NPP_WRONG_INTERSECTION_ROI_ERROR
           
 
Method Summary
static java.lang.String stringFor(int m)
          Returns the String identifying the given NppStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NPP_NOT_SUPPORTED_MODE_ERROR

public static final int NPP_NOT_SUPPORTED_MODE_ERROR
See Also:
Constant Field Values

NPP_ROUND_MODE_NOT_SUPPORTED_ERROR

public static final int NPP_ROUND_MODE_NOT_SUPPORTED_ERROR
See Also:
Constant Field Values

NPP_RESIZE_NO_OPERATION_ERROR

public static final int NPP_RESIZE_NO_OPERATION_ERROR
See Also:
Constant Field Values

NPP_BAD_ARG_ERROR

public static final int NPP_BAD_ARG_ERROR
See Also:
Constant Field Values

NPP_LUT_NUMBER_OF_LEVELS_ERROR

public static final int NPP_LUT_NUMBER_OF_LEVELS_ERROR
See Also:
Constant Field Values

NPP_TEXTURE_BIND_ERROR

public static final int NPP_TEXTURE_BIND_ERROR
See Also:
Constant Field Values

NPP_COEFF_ERROR

public static final int NPP_COEFF_ERROR
See Also:
Constant Field Values

NPP_RECT_ERROR

public static final int NPP_RECT_ERROR
See Also:
Constant Field Values

NPP_QUAD_ERROR

public static final int NPP_QUAD_ERROR
See Also:
Constant Field Values

NPP_WRONG_INTERSECTION_ROI_ERROR

public static final int NPP_WRONG_INTERSECTION_ROI_ERROR
See Also:
Constant Field Values

NPP_NOT_EVEN_STEP_ERROR

public static final int NPP_NOT_EVEN_STEP_ERROR
See Also:
Constant Field Values

NPP_INTERPOLATION_ERROR

public static final int NPP_INTERPOLATION_ERROR
See Also:
Constant Field Values

NPP_RESIZE_FACTOR_ERROR

public static final int NPP_RESIZE_FACTOR_ERROR
See Also:
Constant Field Values

NPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR

public static final int NPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR
See Also:
Constant Field Values

NPP_MEMFREE_ERR

public static final int NPP_MEMFREE_ERR
See Also:
Constant Field Values

NPP_MEMSET_ERR

public static final int NPP_MEMSET_ERR
See Also:
Constant Field Values

NPP_MEMCPY_ERROR

public static final int NPP_MEMCPY_ERROR
See Also:
Constant Field Values

NPP_MEM_ALLOC_ERR

public static final int NPP_MEM_ALLOC_ERR
See Also:
Constant Field Values

NPP_HISTO_NUMBER_OF_LEVELS_ERROR

public static final int NPP_HISTO_NUMBER_OF_LEVELS_ERROR
See Also:
Constant Field Values

NPP_MIRROR_FLIP_ERR

public static final int NPP_MIRROR_FLIP_ERR
See Also:
Constant Field Values

NPP_INVALID_INPUT

public static final int NPP_INVALID_INPUT
See Also:
Constant Field Values

NPP_ALIGNMENT_ERROR

public static final int NPP_ALIGNMENT_ERROR
See Also:
Constant Field Values

NPP_STEP_ERROR

public static final int NPP_STEP_ERROR
See Also:
Constant Field Values

NPP_SIZE_ERROR

public static final int NPP_SIZE_ERROR
See Also:
Constant Field Values

NPP_POINTER_ERROR

public static final int NPP_POINTER_ERROR
See Also:
Constant Field Values

NPP_NULL_POINTER_ERROR

public static final int NPP_NULL_POINTER_ERROR
See Also:
Constant Field Values

NPP_CUDA_KERNEL_EXECUTION_ERROR

public static final int NPP_CUDA_KERNEL_EXECUTION_ERROR
See Also:
Constant Field Values

NPP_NOT_IMPLEMENTED_ERROR

public static final int NPP_NOT_IMPLEMENTED_ERROR
See Also:
Constant Field Values

NPP_ERROR

public static final int NPP_ERROR
See Also:
Constant Field Values

NPP_NO_ERROR

public static final int NPP_NO_ERROR
Error free operation

See Also:
Constant Field Values

NPP_SUCCESS

public static final int NPP_SUCCESS
Successful operation (same as NPP_NO_ERROR)

See Also:
Constant Field Values

NPP_WARNING

public static final int NPP_WARNING
See Also:
Constant Field Values

NPP_WRONG_INTERSECTION_QUAD_WARNING

public static final int NPP_WRONG_INTERSECTION_QUAD_WARNING
See Also:
Constant Field Values

NPP_MISALIGNED_DST_ROI_WARNING

public static final int NPP_MISALIGNED_DST_ROI_WARNING
Speed reduction due to uncoalesced memory accesses warning.

See Also:
Constant Field Values

NPP_AFFINE_QUAD_INCORRECT_WARNING

public static final int NPP_AFFINE_QUAD_INCORRECT_WARNING
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.

See Also:
Constant Field Values

NPP_AFFINE_QUAD_CHANGED_WARNING

public static final int NPP_AFFINE_QUAD_CHANGED_WARNING
Alias for NPP_AFFINE_QUAD_INCORRECT_WARNING resembling the IPP warning more closely.

See Also:
Constant Field Values

NPP_ADJUSTED_ROI_SIZE_WARNING

public static final int NPP_ADJUSTED_ROI_SIZE_WARNING
Indicates that in case of 422/411/420 sampling the ROI width/height was modified for proper processing.

See Also:
Constant Field Values

NPP_DOUBLE_SIZE_WARNING

public static final int NPP_DOUBLE_SIZE_WARNING
Alias for the ADJUSTED_ROI_SIZE_WARNING, this name is closer to IPP's original warning enum.

See Also:
Constant Field Values

NPP_ODD_ROI_WARNING

public static final int NPP_ODD_ROI_WARNING
Indicates that for 422/411/420 sampling the ROI width/height was forced to even value.

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int m)
Returns the String identifying the given NppStatus

Parameters:
m - The NppStatus
Returns:
The String identifying the given NppStatus