|
CTS-SAT-1-OBC-Firmware
|
#include "compression/heatshrink_helpers.h"#include "littlefs/lfs.h"#include "compression/heatshrink_lib/heatshrink_encoder.h"#include "log/log.h"#include <stdlib.h>#include <string.h>
Functions | |
| int8_t | LFS_compress_lfs_file_with_heatshrink (lfs_t *lfs, const char *input_path, const char *output_path, uint8_t window_sz2, uint8_t lookahead_sz2) |
| Compress a file with Heatshrink, similar to the CLI. | |
| int8_t LFS_compress_lfs_file_with_heatshrink | ( | lfs_t * | lfs, |
| const char * | input_path, | ||
| const char * | output_path, | ||
| uint8_t | window_sz2, | ||
| uint8_t | lookahead_sz2 ) |
Compress a file with Heatshrink, similar to the CLI.
| lfs | pointer to LittleFS instance |
| input_path | input file path |
| output_path | output file path |
| window_sz2 | log2 sliding window size (like CLI arg -w) |
| lookahead_sz2 | number of bits for backref length (like CLI arg -l) |

