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

Pixel by pixel addition of alpha weighted pixel values from a source image to floating point pixel values of destination image. More...

Functions

NppStatus nppiAddWeighted_8u32f_C1IMR_Ctx (const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddWeighted_8u32f_C1IMR (const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 
NppStatus nppiAddWeighted_8u32f_C1IR_Ctx (const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image. More...
 
NppStatus nppiAddWeighted_8u32f_C1IR (const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 
NppStatus nppiAddWeighted_16u32f_C1IMR_Ctx (const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddWeighted_16u32f_C1IMR (const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 
NppStatus nppiAddWeighted_16u32f_C1IR_Ctx (const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel alpha weighted image added to in place floating point destination image. More...
 
NppStatus nppiAddWeighted_16u32f_C1IR (const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 
NppStatus nppiAddWeighted_32f_C1IMR_Ctx (const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddWeighted_32f_C1IMR (const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 
NppStatus nppiAddWeighted_32f_C1IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel alpha weighted image added to in place floating point destination image. More...
 
NppStatus nppiAddWeighted_32f_C1IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, Npp32f nAlpha)
 

Detailed Description

Pixel by pixel addition of alpha weighted pixel values from a source image to floating point pixel values of destination image.

Function Documentation

NppStatus nppiAddWeighted_16u32f_C1IMR ( const Npp16u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_16u32f_C1IMR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddWeighted_16u32f_C1IR ( const Npp16u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_16u32f_C1IR_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddWeighted_32f_C1IMR ( const Npp32f pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_32f_C1IMR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddWeighted_32f_C1IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_32f_C1IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddWeighted_8u32f_C1IMR ( const Npp8u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_8u32f_C1IMR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddWeighted_8u32f_C1IR ( const Npp8u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha 
)
NppStatus nppiAddWeighted_8u32f_C1IR_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
Npp32f  nAlpha,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel alpha weighted image 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).
nAlphaAlpha weight to be applied to source image pixels (0.0F to 1.0F)
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2021 NVIDIA CORPORATION AND AFFILIATES