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

YUV to BGR batch color conversion where each pair of input/output images from provided batches has own Region-of-Interest (ROI). More...

Functions

NppStatus nppiYUVToBGRBatch_8u_C3R_Advanced_Ctx (const NppiImageDescriptor *pSrcBatchList, NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oMaxSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed BGR batch color conversion where each pair of input/output images has own ROI. More...
 
NppStatus nppiYUVToBGRBatch_8u_C3R_Advanced (const NppiImageDescriptor *pSrcBatchList, NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oMaxSizeROI)
 
NppStatus nppiYUVToBGRBatch_8u_P3C3R_Advanced_Ctx (const NppiImageDescriptor *const pSrcBatchList[3], NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oMaxSizeROI, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned packed BGR batch color conversion where each pair of input/output images has own ROI. More...
 
NppStatus nppiYUVToBGRBatch_8u_P3C3R_Advanced (const NppiImageDescriptor *const pSrcBatchList[3], NppiImageDescriptor *pDstBatchList, int nBatchSize, NppiSize oMaxSizeROI)
 

Detailed Description

YUV to BGR batch color conversion where each pair of input/output images from provided batches has own Region-of-Interest (ROI).

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

Function Documentation

NppStatus nppiYUVToBGRBatch_8u_C3R_Advanced ( const NppiImageDescriptor pSrcBatchList,
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI 
)
NppStatus nppiYUVToBGRBatch_8u_C3R_Advanced_Ctx ( const NppiImageDescriptor pSrcBatchList,
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed BGR batch color conversion where each pair of input/output images has own ROI.

Provided oMaxSizeROI must contain the maximum width and the maximum height of all ROIs defined in pDstBatchList. API user must ensure that ROI from pDstBatchList for each pair of input and output images does not go beyond the borders of images in each pair.

Parameters
pSrcBatchListSource-Batch-Images Pointer.
pDstBatchListDestination-Batch-Images Pointer.
nBatchSizeNumber of NppiImageDescriptor structures processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI), must contain the maximum width and the maximum height from all destination ROIs used for processing data.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiYUVToBGRBatch_8u_P3C3R_Advanced ( const NppiImageDescriptor *const  pSrcBatchList[3],
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI 
)
NppStatus nppiYUVToBGRBatch_8u_P3C3R_Advanced_Ctx ( const NppiImageDescriptor *const  pSrcBatchList[3],
NppiImageDescriptor pDstBatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned packed BGR batch color conversion where each pair of input/output images has own ROI.

Provided oMaxSizeROI must contain the maximum width and the maximum height of all ROIs defined in pDstBatchList. API user must ensure that ROI from pDstBatchList for each pair of input and output images does not go beyond the borders of images in each pair.

Parameters
pSrcBatchListAn array where each element is a batch of images representing one of planes in planar images, Source-Batch-Images Pointer. The first element of array (pSrcBatchList[0]) represents a batch of Y planes. The second element of array (pSrcBatchList[1]) represents a batch of U planes. The third element of array (pSrcBatchList[2]) represents a batch of V planes.
pDstBatchListDestination-Batch-Images Pointer.
nBatchSizeNumber of NppiImageDescriptor structures processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI), must contain the maximum width and the maximum height from all destination ROIs used for processing data.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2021 NVIDIA CORPORATION AND AFFILIATES