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

Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image. More...

Functions

NppStatus nppiAddSquare_8u32f_C1IMR_Ctx (const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_8u32f_C1IMR (const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAddSquare_8u32f_C1IR_Ctx (const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel image squared then added to in place floating point destination image. More...
 
NppStatus nppiAddSquare_8u32f_C1IR (const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAddSquare_16u32f_C1IMR_Ctx (const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_16u32f_C1IMR (const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAddSquare_16u32f_C1IR_Ctx (const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel image squared then added to in place floating point destination image. More...
 
NppStatus nppiAddSquare_16u32f_C1IR (const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAddSquare_32f_C1IMR_Ctx (const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_32f_C1IMR (const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAddSquare_32f_C1IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel image squared then added to in place floating point destination image. More...
 
NppStatus nppiAddSquare_32f_C1IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 

Detailed Description

Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image.

Function Documentation

NppStatus nppiAddSquare_16u32f_C1IMR ( const Npp16u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_16u32f_C1IMR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_16u32f_C1IR ( const Npp16u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_16u32f_C1IR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel image squared then added to in place floating point destination image.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_32f_C1IMR ( const Npp32f pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_32f_C1IMR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_32f_C1IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_32f_C1IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point channel image squared then added to in place floating point destination image.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_8u32f_C1IMR ( const Npp8u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_8u32f_C1IMR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_8u32f_C1IR ( const Npp8u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAddSquare_8u32f_C1IR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel image squared then added to in place floating point destination image.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2020 NVIDIA Corporation