NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.3.0.*
|
This function partially converts JPEG YCCK to CMYK. More...
Functions | |
NppStatus | nppiYCCKToCMYK_JPEG_601_8u_P4R_Ctx (const Npp8u *pSrc[4], int nSrcStep, Npp8u *pDst[4], int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
4 channel 8-bit unsigned planar JPEG YCCK color format to 4 channel 8-bit unsigned planar CMYK color conversion using 601 RGB color coefficients and CMY inversion. More... |
|
NppStatus | nppiYCCKToCMYK_JPEG_601_8u_P4R (const Npp8u *pSrc[4], int nSrcStep, Npp8u *pDst[4], int nDstStep, NppiSize oSizeROI) |
This function partially converts JPEG YCCK to CMYK.
This is how NPP converts JPEG YCCK to CMYK. NPP only performs and initial YCC to RGB conversion using the 601 conversion coefficients and the RGB to CMY inversion leaving K unmodified. To complete this conversion to useful RGB values an additional RGB conversion needs to follow this function using the color profile contained in the YCCK JPEG file metadata section. NPP does not directly support this conversion but potentially nppiColorTwist can be used to perform it once the conversion coefficients are known.
NppStatus nppiYCCKToCMYK_JPEG_601_8u_P4R | ( | const Npp8u * | pSrc[4], |
int | nSrcStep, | ||
Npp8u * | pDst[4], | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiYCCKToCMYK_JPEG_601_8u_P4R_Ctx | ( | const Npp8u * | pSrc[4], |
int | nSrcStep, | ||
Npp8u * | pDst[4], | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 8-bit unsigned planar JPEG YCCK color format to 4 channel 8-bit unsigned planar CMYK color conversion using 601 RGB color coefficients and CMY inversion.
pSrc | Source-Planar-Image Pointer Array. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Planar-Image Pointer Array. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |