NVIDIA DRIVE OS Linux API Reference

5.1.6.1 Release
For Test and Development only

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaColor Struct Reference

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 240 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

float_t NvMediaColor::alpha

Alpha color component.

Definition at line 248 of file nvmedia_vmp.h.

float_t NvMediaColor::blue

Blue color component.

Definition at line 246 of file nvmedia_vmp.h.

float_t NvMediaColor::green

Green color component.

Definition at line 244 of file nvmedia_vmp.h.

float_t NvMediaColor::red

Red color component.

Definition at line 242 of file nvmedia_vmp.h.


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