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

Premultiplies image pixels by image alpha opacity values. More...

Functions

NppStatus nppiAlphaPremul_8u_AC4R_Ctx (const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel image premultiplication with pixel alpha (0 - max channel pixel value). More...
 
NppStatus nppiAlphaPremul_8u_AC4R (const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiAlphaPremul_8u_AC4IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel in place image premultiplication with pixel alpha (0 - max channel pixel value). More...
 
NppStatus nppiAlphaPremul_8u_AC4IR (Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiAlphaPremul_16u_AC4R_Ctx (const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel image premultiplication with pixel alpha (0 - max channel pixel value). More...
 
NppStatus nppiAlphaPremul_16u_AC4R (const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiAlphaPremul_16u_AC4IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel in place image premultiplication with pixel alpha (0 - max channel pixel value). More...
 
NppStatus nppiAlphaPremul_16u_AC4IR (Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 

Detailed Description

Premultiplies image pixels by image alpha opacity values.

Function Documentation

NppStatus nppiAlphaPremul_16u_AC4IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAlphaPremul_16u_AC4IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel in place image premultiplication with pixel alpha (0 - max channel pixel value).

Parameters
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 nppiAlphaPremul_16u_AC4R ( const Npp16u pSrc1,
int  nSrc1Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAlphaPremul_16u_AC4R_Ctx ( const Npp16u pSrc1,
int  nSrc1Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel image premultiplication with pixel alpha (0 - max channel pixel value).

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAlphaPremul_8u_AC4IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAlphaPremul_8u_AC4IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel in place image premultiplication with pixel alpha (0 - max channel pixel value).

Parameters
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 nppiAlphaPremul_8u_AC4R ( const Npp8u pSrc1,
int  nSrc1Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiAlphaPremul_8u_AC4R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel image premultiplication with pixel alpha (0 - max channel pixel value).

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-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