NVIDIA Performance Primitives (NPP)  Version 10.0
Functions

Square each pixel in an image. More...

Functions

NppStatus  nppiSqr_8u_C1RSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_C1IRSfs (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_C3RSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_C3IRSfs (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_AC4RSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 8-bit unsigned char channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_AC4IRSfs (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 8-bit unsigned char channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_C4RSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_8u_C4IRSfs (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C1RSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C1IRSfs (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C3RSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C3IRSfs (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_AC4RSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit unsigned short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_AC4IRSfs (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit unsigned short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C4RSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16u_C4IRSfs (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C1RSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C1IRSfs (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  One 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C3RSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C3IRSfs (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Three 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_AC4RSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit signed short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_AC4IRSfs (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit signed short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C4RSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_16s_C4IRSfs (Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
  Four 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus  nppiSqr_32f_C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
  One 32-bit floating point channel image squared. More...
 
NppStatus  nppiSqr_32f_C1IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  One 32-bit floating point channel in place image squared. More...
 
NppStatus  nppiSqr_32f_C3R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
  Three 32-bit floating point channel image squared. More...
 
NppStatus  nppiSqr_32f_C3IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  Three 32-bit floating point channel in place image squared. More...
 
NppStatus  nppiSqr_32f_AC4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
  Four 32-bit floating point channel image squared with unmodified alpha. More...
 
NppStatus  nppiSqr_32f_AC4IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  Four 32-bit floating point channel in place image squared with unmodified alpha. More...
 
NppStatus  nppiSqr_32f_C4R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
  Four 32-bit floating point channel image squared. More...
 
NppStatus  nppiSqr_32f_C4IR (Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  Four 32-bit floating point channel in place image squared. More...
 

Detailed Description

Square each pixel in an image.

Function Documentation

NppStatus nppiSqr_16s_AC4IRSfs ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit signed short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_AC4RSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit signed short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C1IRSfs ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C1RSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C3IRSfs ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C3RSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C4IRSfs ( Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit signed short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16s_C4RSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit signed short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_AC4IRSfs ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit unsigned short channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_AC4RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit unsigned short channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C1IRSfs ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C1RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C3IRSfs ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C3RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C4IRSfs ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit unsigned short channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_16u_C4RSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 16-bit unsigned short channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_AC4IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 32-bit floating point channel in place image squared with unmodified alpha.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_AC4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 32-bit floating point channel image squared with unmodified alpha.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C1IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 32-bit floating point channel in place image squared.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C1R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

One 32-bit floating point channel image squared.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C3IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Three 32-bit floating point channel in place image squared.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C3R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three 32-bit floating point channel image squared.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C4IR ( Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 32-bit floating point channel in place image squared.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_32f_C4R ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 32-bit floating point channel image squared.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_AC4IRSfs ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 8-bit unsigned char channel in place image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_AC4RSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 8-bit unsigned char channel image squared with unmodified alpha, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C1IRSfs ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C1RSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

One 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C3IRSfs ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C3RSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Three 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C4IRSfs ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 8-bit unsigned char channel in place image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcDst In-Place Image Pointer.
nSrcDstStep In-Place-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSqr_8u_C4RSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)

Four 8-bit unsigned char channel image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc Source-Image Pointer.
nSrcStep Source-Image Line Step.
pDst Destination-Image Pointer.
nDstStep Destination-Image Line Step.
oSizeROI Region-of-Interest (ROI).
nScaleFactor Integer Result Scaling.
Returns
Image Data Related Error Codes, ROI Related Error Codes