ESPHome 2026.9.0-dev
Loading...
Searching...
No Matches
qoi_decoder.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::runtime_image
 

Functions

size_t esphome::runtime_image::qoi_color_table_index (const Color &color)
 

Variables

constexpr uint8_t esphome::runtime_image::QOI_OP_RGB = 0b11111110
 
constexpr uint8_t esphome::runtime_image::QOI_OP_RGBA = 0b11111111
 
constexpr uint8_t esphome::runtime_image::QOI_OP_INDEX = 0b00000000
 
constexpr uint8_t esphome::runtime_image::QOI_OP_DIFF = 0b01000000
 
constexpr uint8_t esphome::runtime_image::QOI_OP_LUMA = 0b10000000
 
constexpr uint8_t esphome::runtime_image::QOI_OP_RUN = 0b11000000
 
constexpr uint8_t esphome::runtime_image::QOI_RGB_CHUNK_SIZE = 4
 
constexpr uint8_t esphome::runtime_image::QOI_RGBA_CHUNK_SIZE = 5
 
constexpr uint8_t esphome::runtime_image::QOI_LUMA_CHUNK_SIZE = 2
 
constexpr uint8_t esphome::runtime_image::QOI_MASK_OP = 0b11000000
 
constexpr uint8_t esphome::runtime_image::QOI_MASK_VALUE = 0b00111111
 
constexpr size_t esphome::runtime_image::QOI_HEADER_SIZE = 14
 
constexpr size_t esphome::runtime_image::QOI_COLOR_TABLE_SIZE = 64