NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Pixel by pixel multiplies each pixel of two images then scales the result by the maximum value for the data bit width. More...

Functions

NppStatus nppiMulScale_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_C1IR (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Three 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_C3IR (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Three 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_AC4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_AC4IR (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_C4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_8u_C4IR (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C1R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C1IR (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C3R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Three 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C3IR (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Three 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_AC4R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_AC4IR (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C4R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width. More...
 
NppStatus nppiMulScale_16u_C4IR (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width. More...
 

Detailed Description

Pixel by pixel multiplies each pixel of two images then scales the result by the maximum value for the data bit width.

Function Documentation

NppStatus nppiMulScale_16u_AC4IR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_16u_AC4R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_16u_C1IR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_16u_C1R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

One 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_16u_C3IR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Three 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_16u_C3R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_16u_C4IR ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_16u_C4R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_8u_AC4IR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel with unmodified alpha in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_8u_AC4R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel with unmodified alpha image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_8u_C1IR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_8u_C1R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

One 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_8u_C3IR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Three 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-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 nppiMulScale_8u_C4IR ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel in place image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulScale_8u_C4R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel image multiplication then scale by maximum value for pixel bit width.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2017 NVIDIA Corporation