FastLED 3.9.15
Loading...
Searching...
No Matches
fl::third_party::TJpg_Decoder Class Reference

Detailed Description

Definition at line 33 of file TJpg_Decoder.h.

#include <TJpg_Decoder.h>

Public Member Functions

 TJpg_Decoder () FL_NOEXCEPT
 
 ~TJpg_Decoder ()
 
JRESULT drawJpg (int32_t x, int32_t y, const uint8_t array[], size_t array_size) FL_NOEXCEPT
 
JRESULT getJpgSize (uint16_t *w, uint16_t *h, const uint8_t array[], size_t array_size) FL_NOEXCEPT
 
void setCallback (SketchCallback sketchCallback) FL_NOEXCEPT
 
void setJpgScale (uint8_t scale) FL_NOEXCEPT
 
void setSwapBytes (bool swap) FL_NOEXCEPT
 

Static Public Member Functions

static size_t jd_input (JDEC *jdec, uint8_t *buf, size_t len) FL_NOEXCEPT
 
static int jd_output (JDEC *jdec, void *bitmap, JRECT *jrect) FL_NOEXCEPT
 

Public Attributes

bool _swap = false
 
const uint8_tarray_data = nullptr
 
size_t array_index = 0
 
size_t array_size = 0
 
int16_t jpeg_x = 0
 
int16_t jpeg_y = 0
 
uint8_t jpg_source = 0
 
uint8_t jpgScale = 0
 
SketchCallback tft_output = nullptr
 
uint8_t workspace [TJPGD_WORKSPACE_SIZE]
 

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