NVIDIA Performance Primitives (NPP)  Version 9.1
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
pSrcDstin place packed pixel format image pointer.
nSrcDstStepin place packed pixel format image line step.
oSizeROIRegion-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
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-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
pSrcDstin place packed pixel image pointer.
nSrcDstStepin place packed pixel format image line step.
oSizeROIRegion-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
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-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
pSrcDstin place planar pixel format image pointer array.
nSrcDstStepin place planar pixel format image line step.
oSizeROIRegion-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
pSrcsource planar pixel format image pointer array.
nSrcStepsource planar pixel format image line step.
pDstdestination planar pixel format image pointer array.
nDstStepdestination planar pixel format image line step.
oSizeROIRegion-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
pSrcDstin place packed pixel format image pointer.
nSrcDstStepin place packed pixel format image line step.
oSizeROIRegion-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
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-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
pSrcDstin place packed pixel format image pointer.
nSrcDstStepin place packed pixel format image line step.
oSizeROIRegion-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
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-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
pSrcDstin place planar pixel format image pointer array.
nSrcDstStepin place planar pixel format image line step.
oSizeROIRegion-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
pSrcsource planar pixel format image pointer array.
nSrcStepsource planar pixel format image line step.
pDstdestination planar pixel format image pointer array.
nDstStepdestination planar pixel format image line step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2017 NVIDIA Corporation