arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
JpegTFT Class Reference

Display jpeg image using https://github.com/Bodmer/TFT_eSPI and https://github.com/Bodmer/JPEGDecoder. More...

#include <JpegTFT.h>

Inheritance diagram for JpegTFT:
VideoOutput

Public Member Functions

 JpegTFT (TFT_eSPI &TFTscreen)
 
void beginFrame (size_t jpegSize) override
 
uint32_t endFrame () override
 
size_t write (const uint8_t *buffer, size_t byteCount) 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
 

Detailed Description

Display jpeg image using https://github.com/Bodmer/TFT_eSPI and https://github.com/Bodmer/JPEGDecoder.

Author
Phil Schatzmann

Member Function Documentation

◆ endFrame()

uint32_t endFrame ( )
inlineoverridevirtual

dipsplay a single jpeg image, provides the milliseconds since the begin frame to calculate the necessary delay

Implements VideoOutput.


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