aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mcufontencoder/src/optimize_rlefont.hh
blob: e4f7c78f7d688a75083b6f2fedc992a29f6a46d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This implements the actual optimization passes of the compressor.

#include "datafile.hh"

namespace mcufont {
namespace rlefont {

// Initialize the dictionary table with reasonable guesses.
void init_dictionary(DataFile &datafile);

// Perform a single optimization step, consisting itself of multiple passes
// of each of the optimization algorithms.
void optimize(DataFile &datafile, size_t iterations = 50);

}}