6#ifdef USE_RUNTIME_IMAGE_JPEG
27 void draw_rgb565(
int x,
int y,
int w,
int h,
const uint8_t *pixels);
Fixed-capacity vector - sized once through init() or try_init(); push_back never reallocates This avo...
Class to abstract decoding different image formats.
Image decoder specialization for JPEG images.
FixedVector< uint16_t > y_boundaries_
void draw_rgb565(int x, int y, int w, int h, const uint8_t *pixels)
FixedVector< uint16_t > x_boundaries_
JpegDecoder(RuntimeImage *image)
Construct a new JPEG Decoder object.
int HOT decode(uint8_t *buffer, size_t size) override
bool prepare_rgb565_scaling_(int width, int height)
bool uses_direct_rgb565() const
A dynamic image that can be loaded and decoded at runtime.