NVIDIA Performance Primitives (NPP)  Version 10.0
Color Gamma Correction

Routines for correcting image color gamma. More...

GammaFwd

Forward gamma correction.

NppStatus  nppiGammaFwd_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned packed color not in place forward gamma correction. More...
 
NppStatus  nppiGammaFwd_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned packed color in place forward gamma correction. More...
 
NppStatus  nppiGammaFwd_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
  4 channel 8-bit unsigned packed color with alpha not in place forward gamma correction. More...
 
NppStatus  nppiGammaFwd_8u_AC4IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  4 channel 8-bit unsigned packed color with alpha in place forward gamma correction. More...
 
NppStatus  nppiGammaFwd_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned planar color not in place forward gamma correction. More...
 
NppStatus  nppiGammaFwd_8u_IP3R (Npp8u *const pSrcDst[3], int nSrcDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned planar color in place forward gamma correction. More...
 

GammaInv

Inverse gamma correction.

NppStatus  nppiGammaInv_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned packed color not in place inverse gamma correction. More...
 
NppStatus  nppiGammaInv_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned packed color in place inverse gamma correction. More...
 
NppStatus  nppiGammaInv_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
  4 channel 8-bit unsigned packed color with alpha not in place inverse gamma correction. More...
 
NppStatus  nppiGammaInv_8u_AC4IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
  4 channel 8-bit unsigned packed color with alpha in place inverse gamma correction. More...
 
NppStatus  nppiGammaInv_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int nDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned planar color not in place inverse gamma correction. More...
 
NppStatus  nppiGammaInv_8u_IP3R (Npp8u *const pSrcDst[3], int nSrcDstStep, NppiSize oSizeROI)
  3 channel 8-bit unsigned planar color in place inverse gamma correction. More...
 

Detailed Description

Routines for correcting image color gamma.

Function Documentation

NppStatus nppiGammaFwd_8u_AC4IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

4 channel 8-bit unsigned packed color with alpha in place forward gamma correction.

Parameters
pSrcDst in place packed pixel format image pointer.
nSrcDstStep in place packed pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaFwd_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

4 channel 8-bit unsigned packed color with alpha not in place forward gamma correction.

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 nppiGammaFwd_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned packed color in place forward gamma correction.

Parameters
pSrcDst in place packed pixel image pointer.
nSrcDstStep in place packed pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaFwd_8u_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned packed color not in place forward gamma correction.

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 nppiGammaFwd_8u_IP3R ( Npp8u *const  pSrcDst[3],
int  nSrcDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned planar color in place forward gamma correction.

Parameters
pSrcDst in place planar pixel format image pointer array.
nSrcDstStep in place planar pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaFwd_8u_P3R ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  nDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned planar color not in place forward gamma correction.

Parameters
pSrc source planar pixel format image pointer array.
nSrcStep source planar pixel format image line step.
pDst destination planar pixel format image pointer array.
nDstStep destination planar pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaInv_8u_AC4IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

4 channel 8-bit unsigned packed color with alpha in place inverse gamma correction.

Parameters
pSrcDst in place packed pixel format image pointer.
nSrcDstStep in place packed pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaInv_8u_AC4R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

4 channel 8-bit unsigned packed color with alpha not in place inverse gamma correction.

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 nppiGammaInv_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned packed color in place inverse gamma correction.

Parameters
pSrcDst in place packed pixel format image pointer.
nSrcDstStep in place packed pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaInv_8u_C3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned packed color not in place inverse gamma correction.

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 nppiGammaInv_8u_IP3R ( Npp8u *const  pSrcDst[3],
int  nSrcDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned planar color in place inverse gamma correction.

Parameters
pSrcDst in place planar pixel format image pointer array.
nSrcDstStep in place planar pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiGammaInv_8u_P3R ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  nDstStep,
NppiSize  oSizeROI 
)

3 channel 8-bit unsigned planar color not in place inverse gamma correction.

Parameters
pSrc source planar pixel format image pointer array.
nSrcStep source planar pixel format image line step.
pDst destination planar pixel format image pointer array.
nDstStep destination planar pixel format image line step.
oSizeROI Region-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes