|
Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
#include <cstdint>Go to the source code of this file.
Classes | |
| struct | sbl::components::display::Rgb |
| Simple 8-bit RGB color triple. Aggregate — constexpr constructible. More... | |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs functionality. | |
| namespace | sbl::components |
| Mid-level functional components. | |
| namespace | sbl::components::display |
| Display output components. | |
Functions | |
| Rgb | sbl::components::display::gamma_correct (const Rgb &c) |
| Apply gamma correction to an RGB color. | |
| Rgb | sbl::components::display::rgb_lerp (const Rgb &a, const Rgb &b, uint8_t t) |
| Linear interpolation between two colors. t=0 → a, t=255 → b. | |
| Rgb | sbl::components::display::rgb_scale (const Rgb &c, uint8_t brightness) |
| Scale a color by brightness (0-255). 255 = full, 128 ≈ half, 0 = off. | |
| Rgb | sbl::components::display::gradient (const Rgb *stops, uint8_t n_stops, uint16_t position) |
| Evaluate a multi-stop color gradient at a position. | |
Variables | |
| constexpr uint8_t | sbl::components::display::GAMMA8 [256] |