Zephyr Scientific Library (zscilib)
Data Fields
zsl_clr_rgb16 Struct Reference

RGBA color using 16-bit values. More...

#include <colorimetry.h>

Data Fields

uint16_t r
 
uint16_t g
 
uint16_t b
 
uint16_t a
 
uint8_t r_invalid: 1
 
uint8_t g_invalid: 1
 
uint8_t b_invalid: 1
 
uint8_t a_invalid: 1
 
uint8_t bit_depth
 

Detailed Description

RGBA color using 16-bit values.

Definition at line 382 of file colorimetry.h.

Field Documentation

◆ a

uint16_t zsl_clr_rgb16::a

The 16-bit alpha channel component.

Definition at line 390 of file colorimetry.h.

◆ a_invalid

uint8_t zsl_clr_rgb16::a_invalid

If non-zero, indicates that the a value is invalid.

Definition at line 398 of file colorimetry.h.

◆ b

uint16_t zsl_clr_rgb16::b

The 16-bit blue components of an RGBA color.

Definition at line 388 of file colorimetry.h.

◆ b_invalid

uint8_t zsl_clr_rgb16::b_invalid

If non-zero, indicates that the b value is invalid.

Definition at line 396 of file colorimetry.h.

◆ bit_depth

uint8_t zsl_clr_rgb16::bit_depth

The bit-depth of color samples (typically 10, 12, or 16).

Definition at line 400 of file colorimetry.h.

◆ g

uint16_t zsl_clr_rgb16::g

The 16-bit green components of an RGBA color.

Definition at line 386 of file colorimetry.h.

◆ g_invalid

uint8_t zsl_clr_rgb16::g_invalid

If non-zero, indicates that the g value is invalid.

Definition at line 394 of file colorimetry.h.

◆ r

uint16_t zsl_clr_rgb16::r

The 16-bit red components of an RGBA color.

Definition at line 384 of file colorimetry.h.

◆ r_invalid

uint8_t zsl_clr_rgb16::r_invalid

If non-zero, indicates that the r value is invalid.

Definition at line 392 of file colorimetry.h.


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