NVIDIA Performance Primitives (NPP)  Version 10.1
Modules | Data Structures | Macros | Enumerations
NPP Type Definitions and Constants

Modules

 Basic NPP Data Types
 

Data Structures

struct  NppLibraryVersion
 
struct  NppiPoint
 2D Point More...
 
struct  NppPointPolar
 2D Polar Point More...
 
struct  NppiSize
 2D Size This struct typically represents the size of a a rectangular region in two space. More...
 
struct  NppiRect
 2D Rectangle This struct contains position and size information of a rectangle in two space. More...
 
struct  NppiHOGConfig
 The NppiHOGConfig structure defines the configuration parameters for the HOG descriptor: More...
 
struct  NppiHaarClassifier_32f
 
struct  NppiHaarBuffer
 
struct  NppiImageDescriptor
 General image descriptor. More...
 
struct  NppStreamContext
 NPP stream context structure must be filled in by application. More...
 

Macros

#define NPP_MIN_8U   ( 0 )
 Minimum 8-bit unsigned integer. More...
 
#define NPP_MAX_8U   ( 255 )
 Maximum 8-bit unsigned integer. More...
 
#define NPP_MIN_16U   ( 0 )
 Minimum 16-bit unsigned integer. More...
 
#define NPP_MAX_16U   ( 65535 )
 Maximum 16-bit unsigned integer. More...
 
#define NPP_MIN_32U   ( 0 )
 Minimum 32-bit unsigned integer. More...
 
#define NPP_MAX_32U   ( 4294967295U )
 Maximum 32-bit unsigned integer. More...
 
#define NPP_MIN_64U   ( 0 )
 Minimum 64-bit unsigned integer. More...
 
#define NPP_MAX_64U   ( 18446744073709551615ULL )
 Maximum 64-bit unsigned integer. More...
 
#define NPP_MIN_8S   (-127 - 1 )
 Minimum 8-bit signed integer. More...
 
#define NPP_MAX_8S   ( 127 )
 Maximum 8-bit signed integer. More...
 
#define NPP_MIN_16S   (-32767 - 1 )
 Minimum 16-bit signed integer. More...
 
#define NPP_MAX_16S   ( 32767 )
 Maximum 16-bit signed integer. More...
 
#define NPP_MIN_32S   (-2147483647 - 1 )
 Minimum 32-bit signed integer. More...
 
#define NPP_MAX_32S   ( 2147483647 )
 Maximum 32-bit signed integer. More...
 
#define NPP_MAX_64S   ( 9223372036854775807LL )
 Maximum 64-bit signed integer. More...
 
#define NPP_MIN_64S   (-9223372036854775807LL - 1)
 Minimum 64-bit signed integer. More...
 
#define NPP_MINABS_32F   ( 1.175494351e-38f )
 Smallest positive 32-bit floating point value. More...
 
#define NPP_MAXABS_32F   ( 3.402823466e+38f )
 Largest positive 32-bit floating point value. More...
 
#define NPP_MINABS_64F   ( 2.2250738585072014e-308 )
 Smallest positive 64-bit floating point value. More...
 
#define NPP_MAXABS_64F   ( 1.7976931348623158e+308 )
 Largest positive 64-bit floating point value. More...
 
#define NPP_HOG_MAX_CELL_SIZE   (16)
 max horizontal/vertical pixel size of cell. More...
 
#define NPP_HOG_MAX_BLOCK_SIZE   (64)
 max horizontal/vertical pixel size of block. More...
 
#define NPP_HOG_MAX_BINS_PER_CELL   (16)
 max number of histogram bins. More...
 
#define NPP_HOG_MAX_CELLS_PER_DESCRIPTOR   (256)
 max number of cells in a descriptor window. More...
 
#define NPP_HOG_MAX_OVERLAPPING_BLOCKS_PER_DESCRIPTOR   (256)
 max number of overlapping blocks in a descriptor window. More...
 
#define NPP_HOG_MAX_DESCRIPTOR_LOCATIONS_PER_CALL   (128)
 max number of descriptor window locations per function call. More...
 

Enumerations

enum  NppiInterpolationMode {
  NPPI_INTER_UNDEFINED = 0,
  NPPI_INTER_NN = 1,
  NPPI_INTER_LINEAR = 2,
  NPPI_INTER_CUBIC = 4,
  NPPI_INTER_CUBIC2P_BSPLINE,
  NPPI_INTER_CUBIC2P_CATMULLROM,
  NPPI_INTER_CUBIC2P_B05C03,
  NPPI_INTER_SUPER = 8,
  NPPI_INTER_LANCZOS = 16,
  NPPI_INTER_LANCZOS3_ADVANCED = 17,
  NPPI_SMOOTH_EDGE = (int)0x8000000
}
 Filtering methods. More...
 
enum  NppiBayerGridPosition {
  NPPI_BAYER_BGGR = 0,
  NPPI_BAYER_RGGB = 1,
  NPPI_BAYER_GBRG = 2,
  NPPI_BAYER_GRBG = 3
}
 Bayer Grid Position Registration. More...
 
enum  NppiMaskSize {
  NPP_MASK_SIZE_1_X_3,
  NPP_MASK_SIZE_1_X_5,
  NPP_MASK_SIZE_3_X_1 = 100,
  NPP_MASK_SIZE_5_X_1,
  NPP_MASK_SIZE_3_X_3 = 200,
  NPP_MASK_SIZE_5_X_5,
  NPP_MASK_SIZE_7_X_7 = 400,
  NPP_MASK_SIZE_9_X_9 = 500,
  NPP_MASK_SIZE_11_X_11 = 600,
  NPP_MASK_SIZE_13_X_13 = 700,
  NPP_MASK_SIZE_15_X_15 = 800
}
 Fixed filter-kernel sizes. More...
 
enum  NppiDifferentialKernel {
  NPP_FILTER_SOBEL,
  NPP_FILTER_SCHARR
}
 Differential Filter types. More...
 
enum  NppStatus {
  NPP_NOT_SUPPORTED_MODE_ERROR = -9999,
  NPP_INVALID_HOST_POINTER_ERROR = -1032,
  NPP_INVALID_DEVICE_POINTER_ERROR = -1031,
  NPP_LUT_PALETTE_BITSIZE_ERROR = -1030,
  NPP_ZC_MODE_NOT_SUPPORTED_ERROR = -1028,
  NPP_NOT_SUFFICIENT_COMPUTE_CAPABILITY = -1027,
  NPP_TEXTURE_BIND_ERROR = -1024,
  NPP_WRONG_INTERSECTION_ROI_ERROR = -1020,
  NPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR = -1006,
  NPP_MEMFREE_ERROR = -1005,
  NPP_MEMSET_ERROR = -1004,
  NPP_MEMCPY_ERROR = -1003,
  NPP_ALIGNMENT_ERROR = -1002,
  NPP_CUDA_KERNEL_EXECUTION_ERROR = -1000,
  NPP_ROUND_MODE_NOT_SUPPORTED_ERROR = -213,
  NPP_QUALITY_INDEX_ERROR = -210,
  NPP_RESIZE_NO_OPERATION_ERROR = -201,
  NPP_OVERFLOW_ERROR = -109,
  NPP_NOT_EVEN_STEP_ERROR = -108,
  NPP_HISTOGRAM_NUMBER_OF_LEVELS_ERROR = -107,
  NPP_LUT_NUMBER_OF_LEVELS_ERROR = -106,
  NPP_CORRUPTED_DATA_ERROR = -61,
  NPP_CHANNEL_ORDER_ERROR = -60,
  NPP_ZERO_MASK_VALUE_ERROR = -59,
  NPP_QUADRANGLE_ERROR = -58,
  NPP_RECTANGLE_ERROR = -57,
  NPP_COEFFICIENT_ERROR = -56,
  NPP_NUMBER_OF_CHANNELS_ERROR = -53,
  NPP_COI_ERROR = -52,
  NPP_DIVISOR_ERROR = -51,
  NPP_CHANNEL_ERROR = -47,
  NPP_STRIDE_ERROR = -37,
  NPP_ANCHOR_ERROR = -34,
  NPP_MASK_SIZE_ERROR = -33,
  NPP_RESIZE_FACTOR_ERROR = -23,
  NPP_INTERPOLATION_ERROR = -22,
  NPP_MIRROR_FLIP_ERROR = -21,
  NPP_MOMENT_00_ZERO_ERROR = -20,
  NPP_THRESHOLD_NEGATIVE_LEVEL_ERROR = -19,
  NPP_THRESHOLD_ERROR = -18,
  NPP_CONTEXT_MATCH_ERROR = -17,
  NPP_FFT_FLAG_ERROR = -16,
  NPP_FFT_ORDER_ERROR = -15,
  NPP_STEP_ERROR = -14,
  NPP_SCALE_RANGE_ERROR = -13,
  NPP_DATA_TYPE_ERROR = -12,
  NPP_OUT_OFF_RANGE_ERROR = -11,
  NPP_DIVIDE_BY_ZERO_ERROR = -10,
  NPP_MEMORY_ALLOCATION_ERR = -9,
  NPP_NULL_POINTER_ERROR = -8,
  NPP_RANGE_ERROR = -7,
  NPP_SIZE_ERROR = -6,
  NPP_BAD_ARGUMENT_ERROR = -5,
  NPP_NO_MEMORY_ERROR = -4,
  NPP_NOT_IMPLEMENTED_ERROR = -3,
  NPP_ERROR = -2,
  NPP_ERROR_RESERVED = -1,
  NPP_NO_ERROR = 0,
  NPP_SUCCESS = NPP_NO_ERROR,
  NPP_NO_OPERATION_WARNING = 1,
  NPP_DIVIDE_BY_ZERO_WARNING = 6,
  NPP_AFFINE_QUAD_INCORRECT_WARNING = 28,
  NPP_WRONG_INTERSECTION_ROI_WARNING = 29,
  NPP_WRONG_INTERSECTION_QUAD_WARNING = 30,
  NPP_DOUBLE_SIZE_WARNING = 35,
  NPP_MISALIGNED_DST_ROI_WARNING = 10000
}
 Error Status Codes. More...
 
enum  NppGpuComputeCapability {
  NPP_CUDA_UNKNOWN_VERSION = -1,
  NPP_CUDA_NOT_CAPABLE = 0,
  NPP_CUDA_1_0 = 100,
  NPP_CUDA_1_1 = 110,
  NPP_CUDA_1_2 = 120,
  NPP_CUDA_1_3 = 130,
  NPP_CUDA_2_0 = 200,
  NPP_CUDA_2_1 = 210,
  NPP_CUDA_3_0 = 300,
  NPP_CUDA_3_2 = 320,
  NPP_CUDA_3_5 = 350,
  NPP_CUDA_3_7 = 370,
  NPP_CUDA_5_0 = 500,
  NPP_CUDA_5_2 = 520,
  NPP_CUDA_5_3 = 530,
  NPP_CUDA_6_0 = 600,
  NPP_CUDA_6_1 = 610,
  NPP_CUDA_6_2 = 620,
  NPP_CUDA_6_3 = 630,
  NPP_CUDA_7_0 = 700,
  NPP_CUDA_7_2 = 720,
  NPP_CUDA_7_5 = 750
}
 
enum  NppiAxis {
  NPP_HORIZONTAL_AXIS,
  NPP_VERTICAL_AXIS,
  NPP_BOTH_AXIS
}
 
enum  NppCmpOp {
  NPP_CMP_LESS,
  NPP_CMP_LESS_EQ,
  NPP_CMP_EQ,
  NPP_CMP_GREATER_EQ,
  NPP_CMP_GREATER
}
 
enum  NppRoundMode {
  NPP_RND_NEAR,
  NPP_ROUND_NEAREST_TIES_TO_EVEN = NPP_RND_NEAR,
  NPP_RND_FINANCIAL,
  NPP_ROUND_NEAREST_TIES_AWAY_FROM_ZERO = NPP_RND_FINANCIAL,
  NPP_RND_ZERO,
  NPP_ROUND_TOWARD_ZERO = NPP_RND_ZERO
}
 Rounding Modes. More...
 
enum  NppiBorderType {
  NPP_BORDER_UNDEFINED = 0,
  NPP_BORDER_NONE = NPP_BORDER_UNDEFINED,
  NPP_BORDER_CONSTANT = 1,
  NPP_BORDER_REPLICATE = 2,
  NPP_BORDER_WRAP = 3,
  NPP_BORDER_MIRROR = 4
}
 
enum  NppHintAlgorithm {
  NPP_ALG_HINT_NONE,
  NPP_ALG_HINT_FAST,
  NPP_ALG_HINT_ACCURATE
}
 
enum  NppiAlphaOp {
  NPPI_OP_ALPHA_OVER,
  NPPI_OP_ALPHA_IN,
  NPPI_OP_ALPHA_OUT,
  NPPI_OP_ALPHA_ATOP,
  NPPI_OP_ALPHA_XOR,
  NPPI_OP_ALPHA_PLUS,
  NPPI_OP_ALPHA_OVER_PREMUL,
  NPPI_OP_ALPHA_IN_PREMUL,
  NPPI_OP_ALPHA_OUT_PREMUL,
  NPPI_OP_ALPHA_ATOP_PREMUL,
  NPPI_OP_ALPHA_XOR_PREMUL,
  NPPI_OP_ALPHA_PLUS_PREMUL,
  NPPI_OP_ALPHA_PREMUL
}
 
enum  NppsZCType {
  nppZCR,
  nppZCXor,
  nppZCC
}
 
enum  NppiHuffmanTableType {
  nppiDCTable,
  nppiACTable
}
 
enum  NppiNorm {
  nppiNormInf = 0,
  nppiNormL1 = 1,
  nppiNormL2 = 2
}
 

Detailed Description

Macro Definition Documentation

#define NPP_HOG_MAX_BINS_PER_CELL   (16)

max number of histogram bins.

#define NPP_HOG_MAX_BLOCK_SIZE   (64)

max horizontal/vertical pixel size of block.

#define NPP_HOG_MAX_CELL_SIZE   (16)

max horizontal/vertical pixel size of cell.

#define NPP_HOG_MAX_CELLS_PER_DESCRIPTOR   (256)

max number of cells in a descriptor window.

#define NPP_HOG_MAX_DESCRIPTOR_LOCATIONS_PER_CALL   (128)

max number of descriptor window locations per function call.

#define NPP_HOG_MAX_OVERLAPPING_BLOCKS_PER_DESCRIPTOR   (256)

max number of overlapping blocks in a descriptor window.

#define NPP_MAX_16S   ( 32767 )

Maximum 16-bit signed integer.

#define NPP_MAX_16U   ( 65535 )

Maximum 16-bit unsigned integer.

#define NPP_MAX_32S   ( 2147483647 )

Maximum 32-bit signed integer.

#define NPP_MAX_32U   ( 4294967295U )

Maximum 32-bit unsigned integer.

#define NPP_MAX_64S   ( 9223372036854775807LL )

Maximum 64-bit signed integer.

#define NPP_MAX_64U   ( 18446744073709551615ULL )

Maximum 64-bit unsigned integer.

#define NPP_MAX_8S   ( 127 )

Maximum 8-bit signed integer.

#define NPP_MAX_8U   ( 255 )

Maximum 8-bit unsigned integer.

#define NPP_MAXABS_32F   ( 3.402823466e+38f )

Largest positive 32-bit floating point value.

#define NPP_MAXABS_64F   ( 1.7976931348623158e+308 )

Largest positive 64-bit floating point value.

#define NPP_MIN_16S   (-32767 - 1 )

Minimum 16-bit signed integer.

#define NPP_MIN_16U   ( 0 )

Minimum 16-bit unsigned integer.

#define NPP_MIN_32S   (-2147483647 - 1 )

Minimum 32-bit signed integer.

#define NPP_MIN_32U   ( 0 )

Minimum 32-bit unsigned integer.

#define NPP_MIN_64S   (-9223372036854775807LL - 1)

Minimum 64-bit signed integer.

#define NPP_MIN_64U   ( 0 )

Minimum 64-bit unsigned integer.

#define NPP_MIN_8S   (-127 - 1 )

Minimum 8-bit signed integer.

#define NPP_MIN_8U   ( 0 )

Minimum 8-bit unsigned integer.

#define NPP_MINABS_32F   ( 1.175494351e-38f )

Smallest positive 32-bit floating point value.

#define NPP_MINABS_64F   ( 2.2250738585072014e-308 )

Smallest positive 64-bit floating point value.

Enumeration Type Documentation

enum NppCmpOp
Enumerator
NPP_CMP_LESS 
NPP_CMP_LESS_EQ 
NPP_CMP_EQ 
NPP_CMP_GREATER_EQ 
NPP_CMP_GREATER 
Enumerator
NPP_CUDA_UNKNOWN_VERSION 

Indicates that the compute-capability query failed.

NPP_CUDA_NOT_CAPABLE 

Indicates that no CUDA capable device was found.

NPP_CUDA_1_0 

Indicates that CUDA 1.0 capable device is machine's default device.

NPP_CUDA_1_1 

Indicates that CUDA 1.1 capable device is machine's default device.

NPP_CUDA_1_2 

Indicates that CUDA 1.2 capable device is machine's default device.

NPP_CUDA_1_3 

Indicates that CUDA 1.3 capable device is machine's default device.

NPP_CUDA_2_0 

Indicates that CUDA 2.0 capable device is machine's default device.

NPP_CUDA_2_1 

Indicates that CUDA 2.1 capable device is machine's default device.

NPP_CUDA_3_0 

Indicates that CUDA 3.0 capable device is machine's default device.

NPP_CUDA_3_2 

Indicates that CUDA 3.2 capable device is machine's default device.

NPP_CUDA_3_5 

Indicates that CUDA 3.5 capable device is machine's default device.

NPP_CUDA_3_7 

Indicates that CUDA 3.7 capable device is machine's default device.

NPP_CUDA_5_0 

Indicates that CUDA 5.0 capable device is machine's default device.

NPP_CUDA_5_2 

Indicates that CUDA 5.2 capable device is machine's default device.

NPP_CUDA_5_3 

Indicates that CUDA 5.3 capable device is machine's default device.

NPP_CUDA_6_0 

Indicates that CUDA 6.0 capable device is machine's default device.

NPP_CUDA_6_1 

Indicates that CUDA 6.1 capable device is machine's default device.

NPP_CUDA_6_2 

Indicates that CUDA 6.2 capable device is machine's default device.

NPP_CUDA_6_3 

Indicates that CUDA 6.3 capable device is machine's default device.

NPP_CUDA_7_0 

Indicates that CUDA 7.0 capable device is machine's default device.

NPP_CUDA_7_2 

Indicates that CUDA 7.2 capable device is machine's default device.

NPP_CUDA_7_5 

Indicates that CUDA 7.5 or better is machine's default device.

Enumerator
NPP_ALG_HINT_NONE 
NPP_ALG_HINT_FAST 
NPP_ALG_HINT_ACCURATE 
Enumerator
NPPI_OP_ALPHA_OVER 
NPPI_OP_ALPHA_IN 
NPPI_OP_ALPHA_OUT 
NPPI_OP_ALPHA_ATOP 
NPPI_OP_ALPHA_XOR 
NPPI_OP_ALPHA_PLUS 
NPPI_OP_ALPHA_OVER_PREMUL 
NPPI_OP_ALPHA_IN_PREMUL 
NPPI_OP_ALPHA_OUT_PREMUL 
NPPI_OP_ALPHA_ATOP_PREMUL 
NPPI_OP_ALPHA_XOR_PREMUL 
NPPI_OP_ALPHA_PLUS_PREMUL 
NPPI_OP_ALPHA_PREMUL 
enum NppiAxis
Enumerator
NPP_HORIZONTAL_AXIS 
NPP_VERTICAL_AXIS 
NPP_BOTH_AXIS 

Bayer Grid Position Registration.

Enumerator
NPPI_BAYER_BGGR 

Default registration position.

NPPI_BAYER_RGGB 
NPPI_BAYER_GBRG 
NPPI_BAYER_GRBG 
Enumerator
NPP_BORDER_UNDEFINED 
NPP_BORDER_NONE 
NPP_BORDER_CONSTANT 
NPP_BORDER_REPLICATE 
NPP_BORDER_WRAP 
NPP_BORDER_MIRROR 

Differential Filter types.

Enumerator
NPP_FILTER_SOBEL 
NPP_FILTER_SCHARR 
Enumerator
nppiDCTable 

DC Table.

nppiACTable 

AC Table.

Filtering methods.

Enumerator
NPPI_INTER_UNDEFINED 
NPPI_INTER_NN 

Nearest neighbor filtering.

NPPI_INTER_LINEAR 

Linear interpolation.

NPPI_INTER_CUBIC 

Cubic interpolation.

NPPI_INTER_CUBIC2P_BSPLINE 

Two-parameter cubic filter (B=1, C=0)

NPPI_INTER_CUBIC2P_CATMULLROM 

Two-parameter cubic filter (B=0, C=1/2)

NPPI_INTER_CUBIC2P_B05C03 

Two-parameter cubic filter (B=1/2, C=3/10)

NPPI_INTER_SUPER 

Super sampling.

NPPI_INTER_LANCZOS 

Lanczos filtering.

NPPI_INTER_LANCZOS3_ADVANCED 

Generic Lanczos filtering with order 3.

NPPI_SMOOTH_EDGE 

Smooth edge filtering.

Fixed filter-kernel sizes.

Enumerator
NPP_MASK_SIZE_1_X_3 
NPP_MASK_SIZE_1_X_5 
NPP_MASK_SIZE_3_X_1 
NPP_MASK_SIZE_5_X_1 
NPP_MASK_SIZE_3_X_3 
NPP_MASK_SIZE_5_X_5 
NPP_MASK_SIZE_7_X_7 
NPP_MASK_SIZE_9_X_9 
NPP_MASK_SIZE_11_X_11 
NPP_MASK_SIZE_13_X_13 
NPP_MASK_SIZE_15_X_15 
enum NppiNorm
Enumerator
nppiNormInf 

maximum

nppiNormL1 

sum

nppiNormL2 

square root of sum of squares

Rounding Modes.

The enumerated rounding modes are used by a large number of NPP primitives to allow the user to specify the method by which fractional values are converted to integer values. Also see Rounding Modes.

For NPP release 5.5 new names for the three rounding modes are introduced that are based on the naming conventions for rounding modes set forth in the IEEE-754 floating-point standard. Developers are encouraged to use the new, longer names to be future proof as the legacy names will be deprecated in subsequent NPP releases.

Enumerator
NPP_RND_NEAR 

Round to the nearest even integer.

All fractional numbers are rounded to their nearest integer. The ambiguous cases (i.e. <integer>.5) are rounded to the closest even integer. E.g.

  • roundNear(0.5) = 0
  • roundNear(0.6) = 1
  • roundNear(1.5) = 2
  • roundNear(-1.5) = -2
NPP_ROUND_NEAREST_TIES_TO_EVEN 

Alias name for NPP_RND_NEAR.

NPP_RND_FINANCIAL 

Round according to financial rule.

All fractional numbers are rounded to their nearest integer. The ambiguous cases (i.e. <integer>.5) are rounded away from zero. E.g.

  • roundFinancial(0.4) = 0
  • roundFinancial(0.5) = 1
  • roundFinancial(-1.5) = -2
NPP_ROUND_NEAREST_TIES_AWAY_FROM_ZERO 

Alias name for NPP_RND_FINANCIAL.

NPP_RND_ZERO 

Round towards zero (truncation).

All fractional numbers of the form <integer>.<decimals> are truncated to <integer>.

  • roundZero(1.5) = 1
  • roundZero(1.9) = 1
  • roundZero(-2.5) = -2
NPP_ROUND_TOWARD_ZERO 

Alias name for NPP_RND_ZERO.

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.

Enumerator
NPP_NOT_SUPPORTED_MODE_ERROR 
NPP_INVALID_HOST_POINTER_ERROR 
NPP_INVALID_DEVICE_POINTER_ERROR 
NPP_LUT_PALETTE_BITSIZE_ERROR 
NPP_ZC_MODE_NOT_SUPPORTED_ERROR 

ZeroCrossing mode not supported.

NPP_NOT_SUFFICIENT_COMPUTE_CAPABILITY 
NPP_TEXTURE_BIND_ERROR 
NPP_WRONG_INTERSECTION_ROI_ERROR 
NPP_HAAR_CLASSIFIER_PIXEL_MATCH_ERROR 
NPP_MEMFREE_ERROR 
NPP_MEMSET_ERROR 
NPP_MEMCPY_ERROR 
NPP_ALIGNMENT_ERROR 
NPP_CUDA_KERNEL_EXECUTION_ERROR 
NPP_ROUND_MODE_NOT_SUPPORTED_ERROR 

Unsupported round mode.

NPP_QUALITY_INDEX_ERROR 

Image pixels are constant for quality index.

NPP_RESIZE_NO_OPERATION_ERROR 

One of the output image dimensions is less than 1 pixel.

NPP_OVERFLOW_ERROR 

Number overflows the upper or lower limit of the data type.

NPP_NOT_EVEN_STEP_ERROR 

Step value is not pixel multiple.

NPP_HISTOGRAM_NUMBER_OF_LEVELS_ERROR 

Number of levels for histogram is less than 2.

NPP_LUT_NUMBER_OF_LEVELS_ERROR 

Number of levels for LUT is less than 2.

NPP_CORRUPTED_DATA_ERROR 

Processed data is corrupted.

NPP_CHANNEL_ORDER_ERROR 

Wrong order of the destination channels.

NPP_ZERO_MASK_VALUE_ERROR 

All values of the mask are zero.

NPP_QUADRANGLE_ERROR 

The quadrangle is nonconvex or degenerates into triangle, line or point.

NPP_RECTANGLE_ERROR 

Size of the rectangle region is less than or equal to 1.

NPP_COEFFICIENT_ERROR 

Unallowable values of the transformation coefficients.

NPP_NUMBER_OF_CHANNELS_ERROR 

Bad or unsupported number of channels.

NPP_COI_ERROR 

Channel of interest is not 1, 2, or 3.

NPP_DIVISOR_ERROR 

Divisor is equal to zero.

NPP_CHANNEL_ERROR 

Illegal channel index.

NPP_STRIDE_ERROR 

Stride is less than the row length.

NPP_ANCHOR_ERROR 

Anchor point is outside mask.

NPP_MASK_SIZE_ERROR 

Lower bound is larger than upper bound.

NPP_RESIZE_FACTOR_ERROR 
NPP_INTERPOLATION_ERROR 
NPP_MIRROR_FLIP_ERROR 
NPP_MOMENT_00_ZERO_ERROR 
NPP_THRESHOLD_NEGATIVE_LEVEL_ERROR 
NPP_THRESHOLD_ERROR 
NPP_CONTEXT_MATCH_ERROR 
NPP_FFT_FLAG_ERROR 
NPP_FFT_ORDER_ERROR 
NPP_STEP_ERROR 

Step is less or equal zero.

NPP_SCALE_RANGE_ERROR 
NPP_DATA_TYPE_ERROR 
NPP_OUT_OFF_RANGE_ERROR 
NPP_DIVIDE_BY_ZERO_ERROR 
NPP_MEMORY_ALLOCATION_ERR 
NPP_NULL_POINTER_ERROR 
NPP_RANGE_ERROR 
NPP_SIZE_ERROR 
NPP_BAD_ARGUMENT_ERROR 
NPP_NO_MEMORY_ERROR 
NPP_NOT_IMPLEMENTED_ERROR 
NPP_ERROR 
NPP_ERROR_RESERVED 
NPP_NO_ERROR 

Error free operation.

NPP_SUCCESS 

Successful operation (same as NPP_NO_ERROR)

NPP_NO_OPERATION_WARNING 

Indicates that no operation was performed.

NPP_DIVIDE_BY_ZERO_WARNING 

Divisor is zero however does not terminate the execution.

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.

NPP_WRONG_INTERSECTION_ROI_WARNING 

The given ROI has no interestion with either the source or destination ROI.

Thus no operation was performed.

NPP_WRONG_INTERSECTION_QUAD_WARNING 

The given quadrangle has no intersection with either the source or destination ROI.

Thus no operation was performed.

NPP_DOUBLE_SIZE_WARNING 

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.

NPP_MISALIGNED_DST_ROI_WARNING 

Speed reduction due to uncoalesced memory accesses warning.

enum NppsZCType
Enumerator
nppZCR 

sign change

nppZCXor 

sign change XOR

nppZCC 

sign change count_0


Copyright © 2009-2018 NVIDIA Corporation