version 2.8
optimize_rlefont.hh
1 // This implements the actual optimization passes of the compressor.
2 
3 #include "datafile.hh"
4 
5 namespace mcufont {
6 namespace rlefont {
7 
8 // Initialize the dictionary table with reasonable guesses.
9 void init_dictionary(DataFile &datafile);
10 
11 // Perform a single optimization step, consisting itself of multiple passes
12 // of each of the optimization algorithms.
13 void optimize(DataFile &datafile, size_t iterations = 50);
14 
15 }}