NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.3.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Functions

ResizeBatch functions use scale factor automatically determined by the width and height ratios for each pair of input / output images in provided batches. More...

Data Structures

struct  NppiResizeBatchCXR
 
struct  NppiResizeBatchROI_Advanced
 Data structure for variable ROI image resizing. More...
 

Functions

NppStatus nppiResizeBatch_8u_C1R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 1 channel 8-bit image resize batch. More...
 
NppStatus nppiResizeBatch_8u_C1R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_8u_C3R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 3 channel 8-bit image resize batch. More...
 
NppStatus nppiResizeBatch_8u_C3R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_8u_C4R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 4 channel 8-bit image resize batch. More...
 
NppStatus nppiResizeBatch_8u_C4R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_8u_AC4R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 4 channel 8-bit image resize batch not affecting alpha. More...
 
NppStatus nppiResizeBatch_8u_AC4R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_32f_C1R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 1 channel 32-bit floating point image resize batch. More...
 
NppStatus nppiResizeBatch_32f_C1R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_32f_C3R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 3 channel 32-bit floating point image resize batch. More...
 
NppStatus nppiResizeBatch_32f_C3R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_32f_C4R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point image resize batch. More...
 
NppStatus nppiResizeBatch_32f_C4R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_32f_AC4R_Ctx (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize, NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point image resize batch not affecting alpha. More...
 
NppStatus nppiResizeBatch_32f_AC4R (NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, int eInterpolation, NppiResizeBatchCXR *pBatchList, unsigned int nBatchSize)
 
NppStatus nppiResizeBatch_8u_C1R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 1 channel 8-bit image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_8u_C1R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_8u_C3R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 3 channel 8-bit image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_8u_C3R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_8u_C4R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 4 channel 8-bit image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_8u_C4R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_8u_AC4R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 4 channel 8-bit image resize batch for variable ROI not affecting alpha. More...
 
NppStatus nppiResizeBatch_8u_AC4R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_16f_C1R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 1 channel 16-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_16f_C1R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_16f_C3R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 3 channel 16-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_16f_C3R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_16f_C4R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 4 channel 16-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_16f_C4R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_32f_C1R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 1 channel 32-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_32f_C1R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_32f_C3R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 3 channel 32-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_32f_C3R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_32f_C4R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point image resize batch for variable ROI. More...
 
NppStatus nppiResizeBatch_32f_C4R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 
NppStatus nppiResizeBatch_32f_AC4R_Advanced_Ctx (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation, NppStreamContext nppStreamCtx)
 4 channel 32-bit floating point image resize batch for variable ROI not affecting alpha. More...
 
NppStatus nppiResizeBatch_32f_AC4R_Advanced (int nMaxWidth, int nMaxHeight, NppiImageDescriptor *pBatchSrc, NppiImageDescriptor *pBatchDst, NppiResizeBatchROI_Advanced *pBatchROI, unsigned int nBatchSize, int eInterpolation)
 

Detailed Description

ResizeBatch functions use scale factor automatically determined by the width and height ratios for each pair of input / output images in provided batches.

In this function as in nppiResize the resize scale factor is automatically determined by the width and height ratios of oSrcRectROI and oDstRectROI. If either of those parameters intersect their respective image sizes then pixels outside the image size width and height will not be processed. Details of the resize operation are described above in the Resize section. ResizeBatch generally takes the same parameter list as Resize except that there is a list of N instances of those parameters (N > 1) and that list is passed in device memory. A convenient data structure is provided that allows for easy initialization of the parameter lists. The only restriction on these functions is that there is one single source ROI rectangle and one single destination ROI rectangle which are applied respectively to each image in the batch. The primary purpose of this function is to provide improved performance for batches of smaller images as long as GPU resources are available. Therefore it is recommended that the function not be used for very large images as there may not be resources available for processing several large images simultaneously. A single set of oSrcRectROI and oDstRectROI values are applied to each source image and destination image in the batch in the nppiResizeBatch version of the function while per image specific oSrcRectROI and oDstRectROI values can be used in the nppiResizeBatch_Advanced version of the function. Source and destination image sizes may vary but oSmallestSrcSize and oSmallestDstSize must be set to the smallest source and destination image sizes in the batch. The parameters in the NppiResizeBatchCXR structure represent the corresponding per-image nppiResize parameters for each image in the nppiResizeBatch functions and the NppiImageDescriptor and NppiResizeBatchROI_Advanced structures represent the corresponding per-image nppiResize parameters for the nppiResizeBatch_Advanced functions. The NppiResizeBatchCXR or NppiImageDescriptor and NppiResizeBatchROI_Advanced arrays must be in device memory.

ResizeBatch supports the following interpolation modes:

*

Below is the diagram of batch resize functions for variable ROIs. Figure shows the flexibility that the API can handle. The ROIs for source and destination images can be any rectangular width and height that reflects the needed resize factors, inside or beyond the image boundary.

resize.png

Error Codes

The resize primitives return the following error codes:

    - ::NPP_RESIZE_NO_OPERATION_ERROR if either destination ROI width or
      height is less than 1 pixel.
    - ::NPP_INTERPOLATION_ERROR if eInterpolation has an illegal value.
    - ::NPP_SIZE_ERROR if source size width or height is less than 2 pixels.

Common parameters for nppiResizeBatch functions include:

Parameters
oSmallestSrcSizeSize in pixels of the entire smallest source image width and height, may be from different images.
oSrcRectROIRegion of interest in the source images (may overlap source image size width and height).
oSmallestDstSizeSize in pixels of the entire smallest destination image width and height, may be from different images.
oDstRectROIRegion of interest in the destination images (may overlap destination image size width and height).
eInterpolationThe type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER.
pBatchListDevice memory pointer to nBatchSize list of NppiResizeBatchCXR structures.
pBatchSrcDevice pointer to NppiImageDescriptor list of source image descriptors. User needs to intialize this structure and copy it to device.
pBatchDstDevice pointer to NppiImageDescriptor list of destination image descriptors. User needs to intialize this structure and copy it to device.
pBatchROIDevice pointer to NppiResizeBatchROI_Advanced list of per-image variable ROIs. User needs to initialize this structure and copy it to device.
nBatchSizeNumber of NppiResizeBatchCXR structures in this call (must be > 1).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes, Error Codes

Common parameters for nppiResizeBatchAdvanced functions include:

Parameters
nMaxWidthThe maximum width of all destination ROIs
nMaxHeightThe maximum height of all destination ROIs
pBatchSrcDevice pointer to NppiImageDescriptor list of source image descriptors. User needs to intialize this structure and copy it to device.
pBatchDstDevice pointer to NppiImageDescriptor list of destination image descriptors. User needs to intialize this structure and copy it to device.
pBatchROIDevice pointer to NppiResizeBatchROI_Advanced list of per-image variable ROIs. User needs to initialize this structure and copy it to device.
nBatchSizeNumber of images in a batch.
eInterpolationThe type of eInterpolation to perform resampling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes, Error Codes

Function Documentation

NppStatus nppiResizeBatch_16f_C1R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_16f_C1R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_16f_C3R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_16f_C3R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_16f_C4R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_16f_C4R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

4 channel 16-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_32f_AC4R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_32f_AC4R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_32f_AC4R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point image resize batch for variable ROI not affecting alpha.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_32f_AC4R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point image resize batch not affecting alpha.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_32f_C1R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_32f_C1R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_32f_C1R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_32f_C1R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit floating point image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_32f_C3R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_32f_C3R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_32f_C3R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_32f_C3R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit floating point image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_32f_C4R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_32f_C4R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_32f_C4R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_32f_C4R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

4 channel 32-bit floating point image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_8u_AC4R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_8u_AC4R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_8u_AC4R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit image resize batch for variable ROI not affecting alpha.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_8u_AC4R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit image resize batch not affecting alpha.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_8u_C1R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_8u_C1R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_8u_C1R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_8u_C1R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_8u_C3R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_8u_C3R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_8u_C3R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_8u_C3R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.

NppStatus nppiResizeBatch_8u_C4R ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize 
)
NppStatus nppiResizeBatch_8u_C4R_Advanced ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation 
)
NppStatus nppiResizeBatch_8u_C4R_Advanced_Ctx ( int  nMaxWidth,
int  nMaxHeight,
NppiImageDescriptor pBatchSrc,
NppiImageDescriptor pBatchDst,
NppiResizeBatchROI_Advanced pBatchROI,
unsigned int  nBatchSize,
int  eInterpolation,
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit image resize batch for variable ROI.

For common parameter descriptions, see Common parameters for nppiResizeBatchAdvanced functions.

NppStatus nppiResizeBatch_8u_C4R_Ctx ( NppiSize  oSmallestSrcSize,
NppiRect  oSrcRectROI,
NppiSize  oSmallestDstSize,
NppiRect  oDstRectROI,
int  eInterpolation,
NppiResizeBatchCXR pBatchList,
unsigned int  nBatchSize,
NppStreamContext  nppStreamCtx 
)

4 channel 8-bit image resize batch.

For common parameter descriptions, see Common parameters for nppiResizeBatch functions.


Copyright © 2009-2020 NVIDIA Corporation