ECE4760 - Laser Projector (ipb7, jcc384, pfc38)  1
Raster Laser Projection
Data Fields
color Struct Reference

#include <color.h>

Data Fields

char red: 2
char blue: 2
char green: 2

Detailed Description

A pixel in RGB color space represented in six bits. Bits not defined here should not be set. A GCC-specific pragma is used to ensure pixels are stored in only one byte.

Definition at line 41 of file color.h.

Field Documentation

§ blue

char color::blue

Definition at line 43 of file color.h.

§ green

char color::green

Definition at line 44 of file color.h.

§ red

char color::red

Definition at line 42 of file color.h.

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