|
NVIDIA Performance Primitives (NPP)
Version 9.1
|
HSV to RGB color conversion. More...
Functions | |
| NppStatus | nppiHSVToRGB_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
| 3 channel 8-bit unsigned packed HSV to 3 channel 8-bit unsigned packed RGB color conversion. More... |
|
| NppStatus | nppiHSVToRGB_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
| 4 channel 8-bit unsigned packed HSV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion. More... |
|
HSV to RGB color conversion.
This is how NPP converts HSV to gamma corrected RGB or BGR. This code uses the floorf() 32 bit floating point math function.
| NppStatus nppiHSVToRGB_8u_AC4R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
4 channel 8-bit unsigned packed HSV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
| pSrc | Source-Image Pointer. |
| nSrcStep | Source-Image Line Step. |
| pDst | Destination-Image Pointer. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |
| NppStatus nppiHSVToRGB_8u_C3R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
3 channel 8-bit unsigned packed HSV to 3 channel 8-bit unsigned packed RGB color conversion.
| pSrc | Source-Image Pointer. |
| nSrcStep | Source-Image Line Step. |
| pDst | Destination-Image Pointer. |
| nDstStep | Destination-Image Line Step. |
| oSizeROI | Region-of-Interest (ROI). |