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

RGB to YUV422 color conversion. More...

Functions

NppStatus nppiRGBToYUV422_8u_C3C2R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion. More...
 
NppStatus nppiRGBToYUV422_8u_C3C2R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiRGBToYUV422_8u_P3R_Ctx (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion. More...
 
NppStatus nppiRGBToYUV422_8u_P3R (const Npp8u *const pSrc[3], int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI)
 
NppStatus nppiRGBToYUV422_8u_C3P3R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion. More...
 
NppStatus nppiRGBToYUV422_8u_C3P3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst[3], int rDstStep[3], NppiSize oSizeROI)
 

Detailed Description

RGB to YUV422 color conversion.

NPP converts YUV to gamma corrected BGR the same way as in YUVToBGR.

Function Documentation

NppStatus nppiRGBToYUV422_8u_C3C2R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_C3C2R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiRGBToYUV422_8u_C3P3R ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_C3P3R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Planar-Image Pointer Array.
rDstStepDestination-Planar-Image Line Step Array.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiRGBToYUV422_8u_P3R ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI 
)
NppStatus nppiRGBToYUV422_8u_P3R_Ctx ( const Npp8u *const  pSrc[3],
int  nSrcStep,
Npp8u pDst[3],
int  rDstStep[3],
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

images.

Parameters
pSrcSource-Planar-Image Pointer Array.
nSrcStepSource-Image Line Step.
pDstDestination-Planar-Image Pointer Array.
rDstStepDestination-Planar-Image Line Step Array.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES