mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
827d99dde3
* lib: add heatshrink compress library * canvas: new icons format * scripts: add icons compression to assets generation script * assets: update assets * furi-hal: introduce furi-hal-compress * canvas: rework icon drawing with furi-hal-compress * lib: rework heatshrink lib for dynamic buffer allocation API * furi-hal-compress: add encode and decode API * furi-hal-compress: working decode * furi-hal-compress: support f6 target * scripts: format sources * furi-hal-compress: fix incorrect encoder reset * furi-hal: add compress initialization to f6 target Co-authored-by: あく <alleteam@gmail.com>
20 lines
501 B
C
20 lines
501 B
C
#ifndef HEATSHRINK_H
|
|
#define HEATSHRINK_H
|
|
|
|
#define HEATSHRINK_AUTHOR "Scott Vokes <vokes.s@gmail.com>"
|
|
#define HEATSHRINK_URL "https://github.com/atomicobject/heatshrink"
|
|
|
|
/* Version 0.4.1 */
|
|
#define HEATSHRINK_VERSION_MAJOR 0
|
|
#define HEATSHRINK_VERSION_MINOR 4
|
|
#define HEATSHRINK_VERSION_PATCH 1
|
|
|
|
#define HEATSHRINK_MIN_WINDOW_BITS 4
|
|
#define HEATSHRINK_MAX_WINDOW_BITS 15
|
|
|
|
#define HEATSHRINK_MIN_LOOKAHEAD_BITS 3
|
|
|
|
#define HEATSHRINK_LITERAL_MARKER 0x01
|
|
#define HEATSHRINK_BACKREF_MARKER 0x00
|
|
|
|
#endif
|