NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Multiplies each pixel of an image by a constant value then scales the result by the maximum value for the data bit width. More...

Functions

NppStatus nppiMulCScale_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u nConstant, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_C1IR (const Npp8u nConstant, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Three 8-bit unsigned char channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_C3IR (const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_AC4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[3], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel with unmodified alpha image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_AC4IR (const Npp8u aConstants[3], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_C4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u aConstants[4], Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_8u_C4IR (const Npp8u aConstants[4], Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C1R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u nConstant, Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C1IR (const Npp16u nConstant, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C3R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Three 16-bit unsigned short channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C3IR (const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Three 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_AC4R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[3], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel with unmodified alpha image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_AC4IR (const Npp16u aConstants[3], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C4R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u aConstants[4], Npp16u *pDst, int nDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel image multiply by constant and scale by max bit width value. More...
 
NppStatus nppiMulCScale_16u_C4IR (const Npp16u aConstants[4], Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 Four 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value. More...
 

Detailed Description

Multiplies each pixel of an image by a constant value then scales the result by the maximum value for the data bit width.

Function Documentation

NppStatus nppiMulCScale_16u_AC4IR ( const Npp16u  aConstants[3],
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel with unmodified alpha in place image multiply by constant and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_AC4R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u  aConstants[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel with unmodified alpha image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_C1IR ( const Npp16u  nConstant,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.

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

One 16-bit unsigned short channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
nConstantConstant.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_C3IR ( const Npp16u  aConstants[3],
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Three 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_C3R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u  aConstants[3],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three 16-bit unsigned short channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_C4IR ( const Npp16u  aConstants[4],
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel in place image multiply by constant and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_16u_C4R ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u  aConstants[4],
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 16-bit unsigned short channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_AC4IR ( const Npp8u  aConstants[3],
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel with unmodified alpha in place image multiply by constant, scale and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_AC4R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u  aConstants[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel with unmodified alpha image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_C1IR ( const Npp8u  nConstant,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.

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

One 8-bit unsigned char channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
nConstantConstant.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_C3IR ( const Npp8u  aConstants[3],
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Three 8-bit unsigned char channel 8-bit unsigned char in place image multiply by constant and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u  aConstants[3],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Three 8-bit unsigned char channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_C4IR ( const Npp8u  aConstants[4],
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel in place image multiply by constant and scale by max bit width value.

Parameters
aConstantsfixed size array of constant values, one per channel.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMulCScale_8u_C4R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u  aConstants[4],
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)

Four 8-bit unsigned char channel image multiply by constant and scale by max bit width value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
aConstantsfixed size array of constant values, one per channel.
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