NVIDIA DeepStream SDK API Reference

6.4 Release
nvwarpYUVRGBParams_t Struct Reference

Detailed Description

Parameters for YUV:420:NV12 --> RGBA conversion.

Definition at line 813 of file NVWarp360.h.

Data Fields

uint32_t width
 The width of the Y and RGB channels (chroma has half the width, but is interleaved in NV12). More...
 
uint32_t height
 The height of the Y and RGB channels (chroma has half the height, so this must be even). More...
 
uint32_t cLocation
 0 for chroma sampled cosited horizontally with luma; 1 for chroma sampled halfway between luma samples horizontally. Get the the video header. More...
 
float ry
 Coefficients for R with respect to Y, including normalization scaling. More...
 
float rcb
 Coefficients for R with respect to Cb, including normalization scaling. More...
 
float rcr
 Coefficients for R with respect to Cr, including normalization scaling. More...
 
float gy
 Coefficients for G with respect to Y, including normalization scaling. More...
 
float gcb
 Coefficients for G with respect to Cb, including normalization scaling. More...
 
float gcr
 Coefficients for G with respect to Cr, including normalization scaling. More...
 
float by
 Coefficients for B with respect to Y, including normalization scaling. More...
 
float bcb
 Coefficients for B with respect to Cb, including normalization scaling. More...
 
float bcr
 Coefficients for B with respect to Cr, including normalization scaling. More...
 
float yOffset
 Offset of luma, typically 16. More...
 
float cOffset
 Offset of chroma, typically 128. More...
 

Field Documentation

◆ bcb

float nvwarpYUVRGBParams_t::bcb

Coefficients for B with respect to Cb, including normalization scaling.

Definition at line 825 of file NVWarp360.h.

◆ bcr

float nvwarpYUVRGBParams_t::bcr

Coefficients for B with respect to Cr, including normalization scaling.

Definition at line 826 of file NVWarp360.h.

◆ by

float nvwarpYUVRGBParams_t::by

Coefficients for B with respect to Y, including normalization scaling.

Definition at line 824 of file NVWarp360.h.

◆ cLocation

uint32_t nvwarpYUVRGBParams_t::cLocation

0 for chroma sampled cosited horizontally with luma; 1 for chroma sampled halfway between luma samples horizontally. Get the the video header.

Definition at line 817 of file NVWarp360.h.

◆ cOffset

float nvwarpYUVRGBParams_t::cOffset

Offset of chroma, typically 128.

Definition at line 828 of file NVWarp360.h.

◆ gcb

float nvwarpYUVRGBParams_t::gcb

Coefficients for G with respect to Cb, including normalization scaling.

Definition at line 822 of file NVWarp360.h.

◆ gcr

float nvwarpYUVRGBParams_t::gcr

Coefficients for G with respect to Cr, including normalization scaling.

Definition at line 823 of file NVWarp360.h.

◆ gy

float nvwarpYUVRGBParams_t::gy

Coefficients for G with respect to Y, including normalization scaling.

Definition at line 821 of file NVWarp360.h.

◆ height

uint32_t nvwarpYUVRGBParams_t::height

The height of the Y and RGB channels (chroma has half the height, so this must be even).

Definition at line 816 of file NVWarp360.h.

◆ rcb

float nvwarpYUVRGBParams_t::rcb

Coefficients for R with respect to Cb, including normalization scaling.

Definition at line 819 of file NVWarp360.h.

◆ rcr

float nvwarpYUVRGBParams_t::rcr

Coefficients for R with respect to Cr, including normalization scaling.

Definition at line 820 of file NVWarp360.h.

◆ ry

float nvwarpYUVRGBParams_t::ry

Coefficients for R with respect to Y, including normalization scaling.

Definition at line 818 of file NVWarp360.h.

◆ width

uint32_t nvwarpYUVRGBParams_t::width

The width of the Y and RGB channels (chroma has half the width, but is interleaved in NV12).

Definition at line 815 of file NVWarp360.h.

◆ yOffset

float nvwarpYUVRGBParams_t::yOffset

Offset of luma, typically 16.

Definition at line 827 of file NVWarp360.h.


The documentation for this struct was generated from the following file: