7#include "platforms/avr/is_avr.h"
fl::UISlider scale("Scale", 4,.1, 4,.1)
fl::size getBytesPerPixel() const FL_NOEXCEPT
bool beginDecodingStream(fl::filebuf_ptr stream, PixelFormat format) FL_NOEXCEPT
fl::size frame_buffer_size_
static fl::size inputCallback(JDEC *jd, fl::u8 *buff, fl::size nbyte) FL_NOEXCEPT
struct fl::third_party::TJpgInstanceDecoder::EmbeddedTJpgState embedded_tjpg_
JDEC_Progressive progressive_state_
void endDecoding() FL_NOEXCEPT
fl::unique_ptr< fl::u8[]> frame_buffer_
fl::unique_ptr< fl::u8[]> input_buffer_
Frame getCurrentFrame() const FL_NOEXCEPT
void setProgressiveConfig(const TJpgProgressiveConfig &config) FL_NOEXCEPT
fl::u16 getDecodedRows() const FL_NOEXCEPT
Frame getPartialFrame() const FL_NOEXCEPT
fl::shared_ptr< Frame > current_frame_
bool hasPartialImage() const FL_NOEXCEPT
bool processChunk() FL_NOEXCEPT
float getProgress() const FL_NOEXCEPT
bool readStreamData() FL_NOEXCEPT
fl::size getBytesProcessed() const FL_NOEXCEPT
bool hasError(fl::string *msg=nullptr) const FL_NOEXCEPT
PixelFormat pixel_format_
TJpgInstanceDecoder() FL_NOEXCEPT
bool shouldYield() const FL_NOEXCEPT
TJpgProgressiveConfig progressive_config_
fl::u16 operations_this_tick_
void startTick() FL_NOEXCEPT
fl::string error_message_
State getState() const FL_NOEXCEPT
void allocateFrameBuffer(fl::u16 width, fl::u16 height) FL_NOEXCEPT
void setScale(fl::u8 scale) FL_NOEXCEPT
void setError(const fl::string &msg) FL_NOEXCEPT
bool initializeDecoder() FL_NOEXCEPT
static int outputCallback(JDEC *jd, void *bitmap, JRECT *rect) FL_NOEXCEPT
fl::filebuf_ptr input_stream_
const fl::u8 * array_data
TJpgInstanceDecoder * decoder_instance
fl::shared_ptr< TJpgInstanceDecoder > TJpgInstanceDecoderPtr
TJpgInstanceDecoderPtr createTJpgInstanceDecoder() FL_NOEXCEPT
fl::u32 max_time_per_tick_ms
fl::u16 max_mcus_per_tick
fl::shared_ptr< filebuf > filebuf_ptr
fl::string format(const char *fmt)
Format with no arguments.
Base definition for an LED controller.