arduino-audio-tools
|
Display jpeg image using https://github.com/Bodmer/TFT_eSPI and https://github.com/Bodmer/JPEGDecoder. More...
#include <JpegTFT.h>
Public Member Functions | |
JpegTFT (TFT_eSPI &TFTscreen) | |
void | beginFrame (size_t jpegSize) override |
uint32_t | endFrame () override |
size_t | write (const uint8_t *data, size_t len) override |
Protected Member Functions | |
uint32_t | renderJPEG (int xpos, int ypos) |
Protected Attributes | |
Vector< uint8_t > | img_vector |
JPEGDecoder | jpeg_decoder |
int | open = 0 |
TFT_eSPI * | p_screen = nullptr |
size_t | pos = 0 |
size_t | size = 0 |
uint64_t | start = 0 |
Display jpeg image using https://github.com/Bodmer/TFT_eSPI and https://github.com/Bodmer/JPEGDecoder.
|
inlineoverridevirtual |
dipsplay a single jpeg image, provides the milliseconds since the begin frame to calculate the necessary delay
Implements VideoOutput.