NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

Holds a constant RGBA color.

Note
the components are stored as float_t values in the range 0.0...1.0 rather than format-specific integer values. This allows NvMediaColor values to be independent from the exact surface format(s) in use.

Definition at line 239 of file nvmedia_vmp.h.

Data Fields

float_t red
 Red color component. More...
 
float_t green
 Green color component. More...
 
float_t blue
 Blue color component. More...
 
float_t alpha
 Alpha color component. More...
 

Field Documentation

◆ alpha

float_t NvMediaColor::alpha

Alpha color component.

Definition at line 247 of file nvmedia_vmp.h.

◆ blue

float_t NvMediaColor::blue

Blue color component.

Definition at line 245 of file nvmedia_vmp.h.

◆ green

float_t NvMediaColor::green

Green color component.

Definition at line 243 of file nvmedia_vmp.h.

◆ red

float_t NvMediaColor::red

Red color component.

Definition at line 241 of file nvmedia_vmp.h.


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