Image Data Exchange And Initialization Functions

Functions for initializing, copying and converting image data.

These functions can be found in the nppidei library. Linking to only the sub-libraries that you use can significantly save link time, application load time, and CUDA runtime startup time when using dynamic libraries.

Set

Functions for setting all pixels within the ROI to a specific value.

Common parameters for nppiSet functions:

param nValue

The pixel value to be set.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiSet_8s_C1R_Ctx(const Npp8s nValue, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit image set.

For common parameter descriptions see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C1R(const Npp8s nValue, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit image set.

For common parameter descriptions see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C2R_Ctx(const Npp8s aValue[2], Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit two-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C2R(const Npp8s aValue[2], Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit two-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C3R_Ctx(const Npp8s aValue[3], Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit three-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C3R(const Npp8s aValue[3], Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit three-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C4R_Ctx(const Npp8s aValue[4], Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit four-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_C4R(const Npp8s aValue[4], Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit four-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_AC4R_Ctx(const Npp8s aValue[3], Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit four-channel image set ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8s_AC4R(const Npp8s aValue[3], Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit four-channel image set ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C1R_Ctx(const Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C1R(const Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C2R_Ctx(const Npp8u aValue[2], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C2R(const Npp8u aValue[2], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C3R_Ctx(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C3R(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C4R_Ctx(const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_C4R(const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_AC4R_Ctx(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_8u_AC4R(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 8-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C1R_Ctx(const Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C1R(const Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C2R_Ctx(const Npp16u aValue[2], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C2R(const Npp16u aValue[2], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C3R_Ctx(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C3R(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C4R_Ctx(const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_C4R(const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_AC4R_Ctx(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16u_AC4R(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C1R_Ctx(const Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C1R(const Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C2R_Ctx(const Npp16s aValue[2], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C2R(const Npp16s aValue[2], Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C3R_Ctx(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C3R(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C4R_Ctx(const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_C4R(const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_AC4R_Ctx(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16s_AC4R(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C1R_Ctx(const Npp16sc oValue, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C1R(const Npp16sc oValue, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C2R_Ctx(const Npp16sc aValue[2], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex integer two-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C2R(const Npp16sc aValue[2], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex integer two-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C3R_Ctx(const Npp16sc aValue[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex integer three-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C3R(const Npp16sc aValue[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex integer three-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C4R_Ctx(const Npp16sc aValue[4], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex integer four-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_C4R(const Npp16sc aValue[4], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex integer four-channel image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_AC4R_Ctx(const Npp16sc aValue[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex integer four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16sc_AC4R(const Npp16sc aValue[3], Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex integer four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C1R_Ctx(const Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C1R(const Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C2R_Ctx(const Npp32s aValue[2], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C2R(const Npp32s aValue[2], Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C3R_Ctx(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C3R(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C4R_Ctx(const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_C4R(const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_AC4R_Ctx(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32s_AC4R(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C1R_Ctx(const Npp32u nValue, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C1R(const Npp32u nValue, Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C2R_Ctx(const Npp32u aValue[2], Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C2R(const Npp32u aValue[2], Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C3R_Ctx(const Npp32u aValue[3], Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C3R(const Npp32u aValue[3], Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C4R_Ctx(const Npp32u aValue[4], Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_C4R(const Npp32u aValue[4], Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_AC4R_Ctx(const Npp32u aValue[3], Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32u_AC4R(const Npp32u aValue[3], Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C1R_Ctx(const Npp32sc oValue, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C1R(const Npp32sc oValue, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C2R_Ctx(const Npp32sc aValue[2], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C2R(const Npp32sc aValue[2], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Two channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C3R_Ctx(const Npp32sc aValue[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C3R(const Npp32sc aValue[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C4R_Ctx(const Npp32sc aValue[4], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_C4R(const Npp32sc aValue[4], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit complex integer image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_AC4R_Ctx(const Npp32sc aValue[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit complex integer four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32sc_AC4R(const Npp32sc aValue[3], Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

32-bit complex integer four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C1R_Ctx(const Npp32f nValue, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C1R(const Npp32f nValue, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C2R_Ctx(const Npp32f aValues[2], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C2R(const Npp32f aValues[2], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C3R_Ctx(const Npp32f aValues[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C3R(const Npp32f aValues[3], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C4R_Ctx(const Npp32f aValues[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_16f_C4R(const Npp32f aValues[4], Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C1R_Ctx(const Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C1R(const Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C2R_Ctx(const Npp32f aValue[2], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

2 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C2R(const Npp32f aValue[2], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

2 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C3R_Ctx(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C3R(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C4R_Ctx(const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_C4R(const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_AC4R_Ctx(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32f_AC4R(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit floating point image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C1R_Ctx(const Npp32fc oValue, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C1R(const Npp32fc oValue, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C2R_Ctx(const Npp32fc aValue[2], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C2R(const Npp32fc aValue[2], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Two channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C3R_Ctx(const Npp32fc aValue[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C3R(const Npp32fc aValue[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C4R_Ctx(const Npp32fc aValue[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_C4R(const Npp32fc aValue[4], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit complex image set.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_AC4R_Ctx(const Npp32fc aValue[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit complex four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

NppStatus nppiSet_32fc_AC4R(const Npp32fc aValue[3], Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

32-bit complex four-channel image set ignoring alpha.

For common parameter descriptions, see Common parameters for nppiSet functions:.

Masked Set

The masked set primitives have an additional “mask image” input. The mask

controls which pixels within the ROI are set. For details see

Masked Operation.

Common parameters for nppiSet_CXM functions:

param nValue

The pixel value to be set for single channel functions.

param aValue

The pixel-value to be set for multi-channel functions.

param pDst

Pointer Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pMask

Mask-Image Pointer.

param nMaskStep

Mask-Image Line Step.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiSet_8u_C1MR_Ctx(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_C1MR(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_C3MR_Ctx(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 3 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_C3MR(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 3 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_C4MR_Ctx(const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_C4MR(const Npp8u aValue[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 8-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_AC4MR_Ctx(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 8-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_8u_AC4MR(const Npp8u aValue[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 8-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C1MR_Ctx(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C1MR(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C3MR_Ctx(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 3 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C3MR(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 3 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C4MR_Ctx(const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_C4MR(const Npp16u aValue[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 16-bit unsigned image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_AC4MR_Ctx(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 16-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16u_AC4MR(const Npp16u aValue[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 16-bit unsigned image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C1MR_Ctx(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C1MR(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C3MR_Ctx(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 3 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C3MR(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 3 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C4MR_Ctx(const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_C4MR(const Npp16s aValue[4], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 16-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_AC4MR_Ctx(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_16s_AC4MR(const Npp16s aValue[3], Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C1MR_Ctx(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C1MR(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C3MR_Ctx(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 3 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C3MR(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 3 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C4MR_Ctx(const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_C4MR(const Npp32s aValue[4], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 32-bit image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_AC4MR_Ctx(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32s_AC4MR(const Npp32s aValue[3], Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 16-bit image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C1MR_Ctx(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C1MR(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C3MR_Ctx(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 3 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C3MR(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 3 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C4MR_Ctx(const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_C4MR(const Npp32f aValue[4], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 32-bit floating point image set.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_AC4MR_Ctx(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked 4 channel 32-bit floating point image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

NppStatus nppiSet_32f_AC4MR(const Npp32f aValue[3], Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked 4 channel 32-bit floating point image set method, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiSet_CXM functions:.

Channel Set

The selected-channel set primitives set a single color channel in multi-channel images to a given value. The channel is selected by adjusting the pDst pointer to point to the desired color channel (see Channel-of-Interest API).

Common parameters for nppiSet_CXC functions:

param nValue

The pixel-value to be set.

param pDst

Select-Channel Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiSet_8u_C3CR_Ctx(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_8u_C3CR(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 8-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_8u_C4CR_Ctx(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_8u_C4CR(Npp8u nValue, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 8-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16u_C3CR_Ctx(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16u_C3CR(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 16-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16u_C4CR_Ctx(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16u_C4CR(Npp16u nValue, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16s_C3CR_Ctx(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 16-bit signed image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16s_C3CR(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 16-bit signed image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16s_C4CR_Ctx(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit signed image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_16s_C4CR(Npp16s nValue, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit signed image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32s_C3CR_Ctx(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 32-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32s_C3CR(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 32-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32s_C4CR_Ctx(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32s_C4CR(Npp32s nValue, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit unsigned image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32f_C3CR_Ctx(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32f_C3CR(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

3 channel 32-bit floating point image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32f_C4CR_Ctx(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

NppStatus nppiSet_32f_C4CR(Npp32f nValue, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit floating point image set affecting only single channel.

For common parameter descriptions, see Common parameters for nppiSet_CXC functions:.

Functions for copying image pixels.

Copy

Copy pixels from one image to another.

Common parameters for nppiCopy functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8s_C1R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C1R(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C2R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C2R(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Two-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C3R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C3R(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_C4R(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 8-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_AC4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 8-bit image copy, ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8s_AC4R(const Npp8s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 8-bit image copy, ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C1R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned image copy, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_8u_AC4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 8-bit unsigned image copy, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C1R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image copy, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16u_AC4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit unsigned image copy, not affecting Alpha channel.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C1R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16s_AC4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C1R_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C1R(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C2R_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C2R(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

Two-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C3R_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C3R(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C4R_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_C4R(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_AC4R_Ctx(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16sc_AC4R(const Npp16sc *pSrc, int nSrcStep, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C1R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32s_AC4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C1R_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C1R(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C2R_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C2R(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Two-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C3R_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C3R(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C4R_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_C4R(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_AC4R_Ctx(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32sc_AC4R(const Npp32sc *pSrc, int nSrcStep, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C1R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C1R(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C3R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C3R(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C4R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_16f_C4R(const Npp16f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 16-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit floating point image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32f_AC4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

4 channel 32-bit floating point image copy, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C1R_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C1R(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C2R_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C2R(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Two-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C3R_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C3R(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C4R_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_C4R(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit floating-point complex image copy.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_AC4R_Ctx(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit floating-point complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

NppStatus nppiCopy_32fc_AC4R(const Npp32fc *pSrc, int nSrcStep, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit floating-point complex image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy functions:.

Masked Copy

The masked copy primitives have an additional “mask image” input. The mask

controls which pixels within the ROI are copied. For details see

Masked Operation.

Common parameters for nppiCopy_CXM functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param pMask

Mask-Image Pointer.

param nMaskStep

Mask-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_C1MR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_C1MR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_C3MR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation three channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_C3MR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation three channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_C4MR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_C4MR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_AC4MR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 8-bit unsigned image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_8u_AC4MR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 8-bit unsigned image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C1MR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C1MR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C3MR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation three channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C3MR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation three channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C4MR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_C4MR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_AC4MR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 16-bit unsigned image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16u_AC4MR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 16-bit unsigned image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C1MR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C1MR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C3MR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation three channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C3MR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation three channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C4MR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_C4MR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_AC4MR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 16-bit signed image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_16s_AC4MR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 16-bit signed image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C1MR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C1MR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C3MR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation three channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C3MR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation three channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C4MR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_C4MR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_AC4MR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 32-bit signed image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32s_AC4MR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 32-bit signed image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C1MR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C1MR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C3MR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation three channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C3MR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation three channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C4MR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_C4MR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_AC4MR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep, NppStreamContext nppStreamCtx)

Masked Operation four channel 32-bit float image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

NppStatus nppiCopy_32f_AC4MR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp8u *pMask, int nMaskStep)

Masked Operation four channel 32-bit float image copy, ignoring alpha.

For common parameter descriptions, see Common parameters for nppiCopy_CXM functions:.

Channel Copy

The channel copy primitives copy a single color channel from a multi-channel source image to any other color channel in a multi-channel destination image. The channel is selected by adjusting the respective image pointers to point to the desired color channel (see Channel-of-Interest API).

Common parameters for nppiCopy_CXC functions:

param pSrc

Select-Channel Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Select-Channel Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_C3CR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 8-bit unsigned image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_8u_C3CR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 8-bit unsigned image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_8u_C4CR_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 8-bit unsigned image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_8u_C4CR(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 8-bit unsigned image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16s_C3CR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 16-bit signed image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16s_C3CR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 16-bit signed image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16s_C4CR_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 16-bit signed image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16s_C4CR(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 16-bit signed image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16u_C3CR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 16-bit unsigned image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16u_C3CR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 16-bit unsigned image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16u_C4CR_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 16-bit unsigned image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_16u_C4CR(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 16-bit unsigned image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32s_C3CR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 32-bit signed image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32s_C3CR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 32-bit signed image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32s_C4CR_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 32-bit signed image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32s_C4CR(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 32-bit signed image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32f_C3CR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 32-bit float image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32f_C3CR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 32-bit float image copy for three-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32f_C4CR_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Selected channel 32-bit float image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

NppStatus nppiCopy_32f_C4CR(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Selected channel 32-bit float image copy for four-channel images.

For common parameter descriptions, see Common parameters for nppiCopy_CXC functions:.

Extract Channel Copy

The channel extract primitives copy a single color channel from a multi-channel source image to singl-channel destination image. The channel is selected by adjusting the source image pointer to point to the desired color channel (see Channel-of-Interest API).

Common parameters for nppiCopy_CXC1 functions:

param pSrc

Select-Channel Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_C3C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel to single-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_8u_C3C1R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel to single-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_8u_C4C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel to single-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_8u_C4C1R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel to single-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16s_C3C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel to single-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16s_C3C1R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel to single-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16s_C4C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel to single-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16s_C4C1R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel to single-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16u_C3C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel to single-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16u_C3C1R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel to single-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16u_C4C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel to single-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_16u_C4C1R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel to single-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32s_C3C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel to single-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32s_C3C1R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel to single-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32s_C4C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel to single-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32s_C4C1R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel to single-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C2C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Two-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C2C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Two-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C3C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C3C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C4C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

NppStatus nppiCopy_32f_C4C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel to single-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXC1 functions:.

Insert Channel Copy

The channel insert primitives copy a single-channel source image into one of the color channels in a multi-channel destination image. The channel is selected by adjusting the destination image pointer to point to the desired color channel (see Channel-of-Interest API).

Common parameters for nppiCopy_C1CX functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Select-Channel Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_C1C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to three-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_8u_C1C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to three-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_8u_C1C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to four-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_8u_C1C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to four-channel 8-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16s_C1C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to three-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16s_C1C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to three-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16s_C1C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to four-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16s_C1C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to four-channel 16-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16u_C1C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to three-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16u_C1C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to three-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16u_C1C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to four-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_16u_C1C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to four-channel 16-bit unsigned image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32s_C1C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to three-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32s_C1C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to three-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32s_C1C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to four-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32s_C1C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to four-channel 32-bit signed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C2R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to two-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C2R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to two-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to three-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to three-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single-channel to four-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

NppStatus nppiCopy_32f_C1C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single-channel to four-channel 32-bit float image copy.

For common parameter descriptions, see Common parameters for nppiCopy_C1CX functions:.

Packed To Planar Channel Copy

Split a packed multi-channel image into multiple single channel planes.

E.g. copy the three channels of an RGB image into three separate single-channel images.

Common parameters for nppiCopy_CXPX functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param aDst

Destination-Planar-Image Pointer Array.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_C3P3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *const aDst[3], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_8u_C3P3R(const Npp8u *pSrc, int nSrcStep, Npp8u *const aDst[3], int nDstStep, NppiSize oSizeROI)

Three-channel 8-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_8u_C4P4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *const aDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_8u_C4P4R(const Npp8u *pSrc, int nSrcStep, Npp8u *const aDst[4], int nDstStep, NppiSize oSizeROI)

Four-channel 8-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16s_C3P3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *const aDst[3], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 16-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16s_C3P3R(const Npp16s *pSrc, int nSrcStep, Npp16s *const aDst[3], int nDstStep, NppiSize oSizeROI)

Three-channel 16-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16s_C4P4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *const aDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16s_C4P4R(const Npp16s *pSrc, int nSrcStep, Npp16s *const aDst[4], int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16u_C3P3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *const aDst[3], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16u_C3P3R(const Npp16u *pSrc, int nSrcStep, Npp16u *const aDst[3], int nDstStep, NppiSize oSizeROI)

Three-channel 16-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16u_C4P4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *const aDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_16u_C4P4R(const Npp16u *pSrc, int nSrcStep, Npp16u *const aDst[4], int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit unsigned packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32s_C3P3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *const aDst[3], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32s_C3P3R(const Npp32s *pSrc, int nSrcStep, Npp32s *const aDst[3], int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32s_C4P4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *const aDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32s_C4P4R(const Npp32s *pSrc, int nSrcStep, Npp32s *const aDst[4], int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit signed packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32f_C3P3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *const aDst[3], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit float packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32f_C3P3R(const Npp32f *pSrc, int nSrcStep, Npp32f *const aDst[3], int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit float packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32f_C4P4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *const aDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit float packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

NppStatus nppiCopy_32f_C4P4R(const Npp32f *pSrc, int nSrcStep, Npp32f *const aDst[4], int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit float packed to planar image copy.

For common parameter descriptions, see Common parameters for nppiCopy_CXPX functions:.

Planar To Packed Channel Copy

Combine multiple image planes into a packed multi-channel image.

E.g. copy three single-channel images into a single 3-channel image.

Common parameters for nppiCopy_PXCX functions:

param aSrc

Planar Source-Image Pointer.

param nSrcStep

Source-Planar-Image Pointer Array.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopy_8u_P3C3R_Ctx(const Npp8u *const aSrc[3], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_8u_P3C3R(const Npp8u *const aSrc[3], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 8-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_8u_P4C4R_Ctx(const Npp8u *const aSrc[4], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_8u_P4C4R(const Npp8u *const aSrc[4], int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 8-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16u_P3C3R_Ctx(const Npp16u *const aSrc[3], int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16u_P3C3R(const Npp16u *const aSrc[3], int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 16-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16u_P4C4R_Ctx(const Npp16u *const aSrc[4], int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16u_P4C4R(const Npp16u *const aSrc[4], int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit unsigned planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16s_P3C3R_Ctx(const Npp16s *const aSrc[3], int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 16-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16s_P3C3R(const Npp16s *const aSrc[3], int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 16-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16s_P4C4R_Ctx(const Npp16s *const aSrc[4], int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 16-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_16s_P4C4R(const Npp16s *const aSrc[4], int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 16-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32s_P3C3R_Ctx(const Npp32s *const aSrc[3], int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32s_P3C3R(const Npp32s *const aSrc[3], int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32s_P4C4R_Ctx(const Npp32s *const aSrc[4], int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32s_P4C4R(const Npp32s *const aSrc[4], int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit signed planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32f_P3C3R_Ctx(const Npp32f *const aSrc[3], int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three-channel 32-bit float planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32f_P3C3R(const Npp32f *const aSrc[3], int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three-channel 32-bit float planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32f_P4C4R_Ctx(const Npp32f *const aSrc[4], int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four-channel 32-bit float planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

NppStatus nppiCopy_32f_P4C4R(const Npp32f *const aSrc[4], int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four-channel 32-bit float planar to packed image copy.

For common parameter descriptions, see Common parameters for nppiCopy_PXCX functions:.

Copy Constant Border

Methods for copying images and padding borders with a constant, user-specifiable color.

Common parameters for nppiCopyConstBorder functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSrcSizeROI

Size of the source region of pixels.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oDstSizeROI

Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image (inner part) and constant border color (outer part).

param nTopBorderHeight

Height (in pixels) of the top border. The number of pixel rows at the top of the destination ROI that will be filled with the constant border color. nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

param nLeftBorderWidth

Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

param nValue

The pixel value to be set for border pixels for single channel functions.

param aValue

Vector of the RGBA values of the border pixels to be set for multi-channel functions.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopyConstBorder_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp8u nValue, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp8u nValue)

1 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[3], NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[3])

3 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[4], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[4])

4 channel 8-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[3], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp8u aValue[3])

4 channel 8-bit unsigned integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp16u nValue, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp16u nValue)

1 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[3], NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[3])

3 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[4], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[4])

4 channel 16-bit unsigned integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[3], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16u aValue[3])

4 channel 16-bit unsigned integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp16s nValue, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp16s nValue)

1 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[3], NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[3])

3 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[4], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[4])

4 channel 16-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[3], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp16s aValue[3])

4 channel 16-bit signed integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp32s nValue, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C1R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp32s nValue)

1 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[3], NppStreamContext nppStreamCtx)

3 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C3R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[3])

3 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[4], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_C4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[4])

4 channel 32-bit signed integer image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[3], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32s_AC4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32s aValue[3])

4 channel 32-bit signed integer image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp32f nValue, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, Npp32f nValue)

1 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[3], NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[3])

3 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[4], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[4])

4 channel 32-bit floating point image copy with constant border color.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[3], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

NppStatus nppiCopyConstBorder_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, const Npp32f aValue[3])

4 channel 32-bit floating point image copy with constant border color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyConstBorder functions:.

Copy Replicate Border

Methods for copying images and padding borders with a replicates of the nearest source image pixel color.

Common parameters for nppiCopyReplicateBorder functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSrcSizeROI

Size of the source region of pixels.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oDstSizeROI

Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image (inner part) and nearest source image pixel color (outer part).

param nTopBorderHeight

Height (in pixels) of the top border. The number of pixel rows at the top of the destination ROI that will be filled with the nearest source image pixel color. nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

param nLeftBorderWidth

Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopyReplicateBorder_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 8-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 8-bit unsigned integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit unsigned integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit unsigned image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C1R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 32-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 32-bit signed image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C3R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 32-bit signed image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_C4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit signed integer image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32s_AC4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit signed integer image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit floating point image copy with nearest source image pixel color.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

NppStatus nppiCopyReplicateBorder_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit floating point image copy with nearest source image pixel color with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyReplicateBorder functions:.

Copy Wrap Border

Methods for copying images and padding borders with wrapped replications of the source image pixel colors.

Common parameters for nppiCopyWrapBorder functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSrcSizeROI

Size of the source region of pixels.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oDstSizeROI

Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image (inner part) and a border consisting of wrapped replication of the source image pixel colors (outer part).

param nTopBorderHeight

Height (in pixels) of the top border. The number of pixel rows at the top of the destination ROI that will be filled with the wrapped replication of the corresponding column of source image pixels colors. nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

param nLeftBorderWidth

Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopyWrapBorder_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 8-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit unsigned integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 16-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C1R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C3R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_C4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32s_AC4R(const Npp32s *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit signed integer image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

3 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

4 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

NppStatus nppiCopyWrapBorder_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSrcSizeROI, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, int nTopBorderHeight, int nLeftBorderWidth)

1 channel 32-bit floating point image copy with the borders wrapped by replication of source image pixel colors with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopyWrapBorder functions:.

Copy Sub-Pixel

Functions for copying linearly interpolated images using source image subpixel coordinates.

Common parameters for nppiCopySubPix functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oDstSizeROI

Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image, source image ROI is assumed to be same as destination image ROI.

param nDx

Fractional part of source image X coordinate.

param nDy

Fractional part of source image Y coordinate.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiCopySubpix_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_C1R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

1 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

3 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_8u_AC4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C1R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

1 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

3 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16u_AC4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 16-bit unsigned linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C1R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

1 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

3 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_16s_AC4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C1R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

1 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

3 channel 32-bit signed linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

3 channel 32-bit signed linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32s_AC4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

1 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

3 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

NppStatus nppiCopySubpix_32f_AC4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, Npp32f nDx, Npp32f nDy)

4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiCopySubPix functions:.

Convert Bit Depth

Functions for converting bit depth without scaling.

Convert To Increased Bit Depth

The integer conversion methods do not involve any scaling. Also, even when increasing the bit-depth loss of information may occur:

  • When converting integers (e.g. Npp32u) to float (e.g. Npp32f) integer value not accurately representable by the float are rounded to the closest floating-point value.

  • When converting signed integers to unsigned integers all negative values are lost (saturated to 0).

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

Common parameters for nppiConvert to increased bit depth functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiConvert_8u16u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_C1R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_C3R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_C4R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16u_AC4R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C1R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C3R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_C4R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u16s_AC4R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C1R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C3R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_C4R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32s_AC4R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C1R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C3R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_C4R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8u32f_AC4R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C1R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C1R(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C3R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C3R(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_C4R(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_AC4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit signed to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32s_AC4R(const Npp8s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit signed to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C1R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C1R(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C3R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C3R(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_C4R(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_AC4R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit signed to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32f_AC4R(const Npp8s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit signed to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C1R(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C3R(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_C4R(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32s_AC4R(const Npp16u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C1R(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C3R(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_C4R(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32f_AC4R(const Npp16u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_C1R(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_C3R(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit signed to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 32-bit signed conversion.

NppStatus nppiConvert_16s32s_C4R(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 32-bit signed conversion.

NppStatus nppiConvert_16s32s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32s_AC4R(const Npp16s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 32-bit signed conversion.

NppStatus nppiConvert_16s32f_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_C1R(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_C3R(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_C4R(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32f_AC4R(const Npp16s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C1R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit floating-point to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C1R(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit floating-point to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C3R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit floating-point to 32-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C3R(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit floating-point to 32-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C4R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit floating-point to 32-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_C4R(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit floating-point to 32-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_AC4R_Ctx(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit floating-point to 32-bit floating-point conversion, not affecting Alpha.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16f32f_AC4R(const Npp16f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit floating-point to 32-bit floating-point conversion, not affecting Alpha.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s8u_C1Rs_Ctx(const Npp8s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 8-bit unsigned conversion with saturation.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s8u_C1Rs(const Npp8s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 8-bit unsigned conversion with saturation.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s16u_C1Rs_Ctx(const Npp8s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 16-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s16u_C1Rs(const Npp8s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 16-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s16s_C1R_Ctx(const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s16s_C1R(const Npp8s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32u_C1Rs_Ctx(const Npp8s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_8s32u_C1Rs(const Npp8s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s16u_C1Rs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 16-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s16u_C1Rs(const Npp16s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit signed to 16-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32u_C1Rs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16s32u_C1Rs(const Npp16s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 32-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_16u32u_C1R(const Npp16u *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit unsigned to 32-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32s32u_C1Rs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32s32u_C1Rs(const Npp32s *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit signed to 32-bit unsigned conversion with saturation.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32s32f_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32s32f_C1R(const Npp32s *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit signed to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32u32f_C1R_Ctx(const Npp32u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

NppStatus nppiConvert_32u32f_C1R(const Npp32u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to increased bit depth functions:.

Convert To Decreased Bit Depth

The integer conversion methods do not involve any scaling. When converting floating-point values to integers the user may choose the most appropriate rounding-mode. Typically information is lost when converting to lower bit depth:

  • All converted values are saturated to the destination type’s range. E.g. any values larger than the largest value of the destination type are clamped to the destination’s maximum.

  • Converting floating-point values to integer also involves rounding, effectively loosing all fractional value information in the process.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

Common parameters for nppiConvert to decreased bit depth functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param eRoundMode

Rounding Mode Parameter.

param nScaleFactor

Integer Result Scaling.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiConvert_16u8u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_C1R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_C3R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_C4R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8u_AC4R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C1R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C3R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_C4R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8u_AC4R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C1R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C3R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_C4R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8u_AC4R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C1R(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C3R(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_C4R(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s8s_AC4R(const Npp32s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 32-bit signed to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_8u8s_C1RSfs_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_8u8s_C1RSfs(const Npp8u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 8-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8s_C1RSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u8s_C1RSfs(const Npp16u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 16-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8s_C1RSfs_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16s8s_C1RSfs(const Npp16s *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 16-bit signed to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u16s_C1RSfs_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_16u16s_C1RSfs(const Npp16u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 16-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u8u_C1RSfs_Ctx(const Npp32u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u8u_C1RSfs(const Npp32u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u8s_C1RSfs_Ctx(const Npp32u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u8s_C1RSfs(const Npp32u *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u16u_C1RSfs_Ctx(const Npp32u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u16u_C1RSfs(const Npp32u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u16s_C1RSfs_Ctx(const Npp32u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u16s_C1RSfs(const Npp32u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u32s_C1RSfs_Ctx(const Npp32u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32u32s_C1RSfs(const Npp32u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s16u_C1RSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s16u_C1RSfs(const Npp32s *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s16s_C1RSfs_Ctx(const Npp32s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32s16s_C1RSfs(const Npp32s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C1R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C3R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C4R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_AC4R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C1R(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C3R(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C4R(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_AC4R(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 8-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C1R(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C3R(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C4R(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_AC4R(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C1R(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C3R(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C4R(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_AC4R(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 16-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C1R(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Single channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C3R(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_C4R(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Three channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16f_AC4R(const Npp32f *pSrc, int nSrcStep, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode)

Four channel 32-bit floating point to 16-bit floating-point conversion.

Note that all pointers and step sizes for images with 16f (Npp16f) data types perform best when they are at least 16 byte aligned.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8u_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f8s_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp8s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 8-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16u_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f16s_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f32u_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 32-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f32u_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp32u *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 32-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f32s_C1RSfs_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

NppStatus nppiConvert_32f32s_C1RSfs(const Npp32f *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppRoundMode eRoundMode, int nScaleFactor)

Single channel 32-bit floating point to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiConvert to decreased bit depth functions:.

Scale Bit Depth

Functions for scaling bit depth up or down.

Scale To Higher Bit Depth

Functions for scaling images to higher bit depth.

To map source pixel srcPixelValue to destination pixel dstPixelValue the following equation is used:

 dstPixelValue = dstMinRangeValue + scaleFactor * (srcPixelValue - srcMinRangeValue)
where scaleFactor = (dstMaxRangeValue - dstMinRangeValue) / (srcMaxRangeValue - srcMinRangeValue).

For conversions between integer data types, the entire integer numeric range of the input data type is mapped onto the entire integer numeric range of the output data type.

For conversions to floating point data types the floating point data range is defined by the user supplied floating point values of nMax and nMin which are used as the dstMaxRangeValue and dstMinRangeValue respectively in the scaleFactor and dstPixelValue calculations and also as the saturation values to which output data is clamped.

When converting from floating-point values to integer values, nMax and nMin are used as the srcMaxRangeValue and srcMinRangeValue respectively in the scaleFactor and dstPixelValue calculations. Output values are saturated and clamped to the full output integer pixel value range.

Common parameters for nppiScale to higher bit depth functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param nMin

specifies the minimum saturation value to which every output value will be clamped.

param nMax

specifies the maximum saturation value to which every output value will be clamped.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes, NPP_SCALE_RANGE_ERROR indicates an error condition if nMax <= nMin.

Functions

NppStatus nppiScale_8u16u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_C1R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_C3R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_C4R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16u_AC4R(const Npp8u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C1R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C3R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_C4R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 16-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u16s_AC4R(const Npp8u *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 16-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C1R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Single channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C3R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Three channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_C4R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit signed conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32s_AC4R(const Npp8u *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)

Four channel 8-bit unsigned to 32-bit signed conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Single channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C1R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Single channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Three channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C3R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Three channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_C4R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Four channel 8-bit unsigned to 32-bit floating-point conversion.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Four channel 8-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

NppStatus nppiScale_8u32f_AC4R(const Npp8u *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Four channel 8-bit unsigned to 32-bit floating-point conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to higher bit depth functions:.

Scale To Lower Bit Depth

Functions for scaling images to lower bit depth.

To map source pixel srcPixelValue to destination pixel dstPixelValue the following equation is used:

 dstPixelValue = dstMinRangeValue + scaleFactor * (srcPixelValue - srcMinRangeValue)
where scaleFactor = (dstMaxRangeValue - dstMinRangeValue) / (srcMaxRangeValue - srcMinRangeValue).

For conversions between integer data types, the entire integer numeric range of the input data type is mapped onto the entire integer numeric range of the output data type.

For conversions to floating point data types the floating point data range is defined by the user supplied floating point values of nMax and nMin which are used as the dstMaxRangeValue and dstMinRangeValue respectively in the scaleFactor and dstPixelValue calculations and also as the saturation values to which output data is clamped.

When converting from floating-point values to integer values, nMax and nMin are used as the srcMaxRangeValue and srcMinRangeValue respectively in the scaleFactor and dstPixelValue calculations. Output values are saturated and clamped to the full output integer pixel value range.

Common parameters for nppiScale to lower bit depth functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param hint

algorithm performance or accuracy selector, currently ignored

param nMin

specifies the minimum saturation value to which every output value will be clamped.

param nMax

specifies the maximum saturation value to which every output value will be clamped.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes, NPP_SCALE_RANGE_ERROR indicates an error condition if nMax <= nMin.

Functions

NppStatus nppiScale_16u8u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Single channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_C1R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Single channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Three channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_C3R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Three channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_C4R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 16-bit unsigned to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16u8u_AC4R(const Npp16u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 16-bit unsigned to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Single channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C1R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Single channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Three channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C3R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Three channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_C4R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 16-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_16s8u_AC4R(const Npp16s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 16-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Single channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C1R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Single channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Three channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C3R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Three channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_C4R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 32-bit signed to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint, NppStreamContext nppStreamCtx)

Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32s8u_AC4R(const Npp32s *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppHintAlgorithm hint)

Four channel 32-bit signed to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C1R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Single channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Three channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C3R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Three channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_C4R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Four channel 32-bit floating point to 8-bit unsigned conversion.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax, NppStreamContext nppStreamCtx)

Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

NppStatus nppiScale_32f8u_AC4R(const Npp32f *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nMin, Npp32f nMax)

Four channel 32-bit floating point to 8-bit unsigned conversion, not affecting Alpha.

For common parameter descriptions, see Common parameters for nppiScale to lower bit depth functions:.

Duplicate Channel

Functions for duplicating a single channel image in a multiple channel image.

Common parameters for nppiDup functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Destination-Image Pointer.

param nDstStep

Destination-Image Line Step.

param oDstSizeROI

Size (width, height) of the destination region, i.e. the region that gets filled with data from the source image, source image ROI is assumed to be same as destination image ROI.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiDup_8u_C1C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_8u_C1C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 8-bit unsigned integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_8u_C1C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_8u_C1C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 8-bit unsigned integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_8u_C1AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_8u_C1AC4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 8-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit unsigned integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit unsigned integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16u_C1AC4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit unsigned integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit signed integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit signed integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 16-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_16s_C1AC4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 16-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit signed integer source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit signed integer source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32s_C1AC4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit signed integer source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit floating point source image duplicated in all 3 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit floating point source image duplicated in all 4 channels of destination image.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

NppStatus nppiDup_32f_C1AC4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oDstSizeROI)

1 channel 32-bit floating point source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

For common parameter descriptions, see Common parameters for nppiDup functions:.

Transpose

Functions for transposing images of various types. Like matrix transpose, image transpose is a mirror along the image’s diagonal (upper-left to lower-right corner).

Common parameters for nppiTranspose functions:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param pDst

Pointer to the destination ROI.

param nDstStep

Destination-Image Line Step.

param oSrcROI

Region-Of-Interest (ROI).

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Functions

NppStatus nppiTranspose_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

1 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_8u_C1R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI)

1 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_8u_C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI)

3 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_8u_C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSrcROI)

4 channel 8-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

1 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C1R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI)

1 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI)

3 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16u_C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSrcROI)

4 channel 16-bit unsigned int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

1 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C1R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI)

1 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

3 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI)

3 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

4 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_16s_C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSrcROI)

4 channel 16-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C1R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

1 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C1R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI)

1 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

3 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI)

3 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

4 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32s_C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSrcROI)

4 channel 32-bit signed int image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

1 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C1R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI)

1 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI)

3 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI, NppStreamContext nppStreamCtx)

4 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

NppStatus nppiTranspose_32f_C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSrcROI)

4 channel 32-bit floating point image transpose.

For common parameter descriptions, see Common parameters for nppiTranspose functions:.

Swap Channels

Functions for swapping and duplicating channels in multiple channel images. The methods support arbitrary permutations of the original channels, including replication and setting one or more channels to a constant value.

Functions

NppStatus nppiSwapChannels_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C3IR_Ctx(Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C3IR(Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 8-bit unsigned integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4C3R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4C3R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 8-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4IR_Ctx(Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C4IR(Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 8-bit unsigned integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C3C4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp8u nValue, NppStreamContext nppStreamCtx)

3 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_C3C4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp8u nValue)

3 channel 8-bit unsigned integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 8-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order. of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_8u_AC4R(const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 8-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order. of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA channel order. In the AC4R case, the alpha channel is always assumed to be channel 3.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3IR_Ctx(Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3IR(Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 16-bit unsigned integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4C3R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4C3R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 16-bit unsigned integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4IR_Ctx(Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C4IR(Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 16-bit unsigned integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3C4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp16u nValue, NppStreamContext nppStreamCtx)

3 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_C3C4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp16u nValue)

3 channel 16-bit unsigned integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 16-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16u_AC4R(const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 16-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 16-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3IR_Ctx(Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3IR(Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 16-bit signed integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4C3R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4C3R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 16-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 16-bit signed integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4IR_Ctx(Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C4IR(Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 16-bit signed integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3C4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp16s nValue, NppStreamContext nppStreamCtx)

3 channel 16-bit signed integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_C3C4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp16s nValue)

3 channel 16-bit signed integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 16-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_16s_AC4R(const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 16-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 32-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 32-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3IR_Ctx(Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 32-bit signed integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3IR(Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 32-bit signed integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4C3R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4C3R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 32-bit signed integer source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 32-bit signed integer source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4IR_Ctx(Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C4IR(Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 32-bit signed integer in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3C4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp32s nValue, NppStreamContext nppStreamCtx)

3 channel 32-bit signed integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_C3C4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp32s nValue)

3 channel 32-bit signed integer source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_AC4R_Ctx(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 32-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32s_AC4R(const Npp32s *pSrc, int nSrcStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 32-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 32-bit floating point source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 32-bit floating point source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3IR_Ctx(Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

3 channel 32-bit floating point in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3IR(Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[3])

3 channel 32-bit floating point in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROI – oSizeROI Region-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4C3R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4C3R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 32-bit floating point source image to 3 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 32-bit floating point source image to 4 channel destination image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4IR_Ctx(Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point in place image.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C4IR(Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, const int aDstOrder[4])

4 channel 32-bit floating point in place image.

Parameters
  • pSrcDstIn-Place Image Pointer.

  • nSrcDstStepIn-Place-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an ARGB image, aDstOrder = [3,2,1,0] converts this to BGRA channel order.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3C4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp32f nValue, NppStreamContext nppStreamCtx)

3 channel 32-bit floating point source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

  • nppStreamCtxApplication Managed Stream Context.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_C3C4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[4], const Npp32f nValue)

3 channel 32-bit floating point source image to 4 channel destination image.

Parameters
  • pSrcSource-Image Pointer.

  • nSrcStepSource-Image Line Step.

  • pDstDestination-Image Pointer.

  • nDstStepDestination-Image Line Step.

  • oSizeROIRegion-Of-Interest (ROI).

  • aDstOrder – Host memory integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.

  • nValue – (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that particular destination channel value unmodified.

Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3], NppStreamContext nppStreamCtx)

4 channel 32-bit floating point source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSwapChannels_32f_AC4R(const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const int aDstOrder[3])

4 channel 32-bit floating point source image to 4 channel destination image with destination alpha channel unaffected.

Parameters
Returns

Image Data Related Error Codes, ROI Related Error Codes