CAPS Universe documentation
1.0.4
All you need to know to be successful
|
All required information to handle one band of print data. More...
Data Fields | |
size_t | line_sz |
uint8_t * | input |
size_t | input_sz |
uint8_t * | band |
size_t | band_sz |
uint8_t * | compressed |
size_t | compressed_sz |
size_t | compressed_used |
struct dictionary_collection | dictionary [2048] |
size_t | dictionary_size |
Intended to separate the processing to spread it to more than one CPU core later on.
uint8_t* input |
The line by line raw monochrome dot data. One byte covers 8 monochrome dots
size_t input_sz |
Size of input in bytes
uint8_t* band |
Where to store the data. It is expected this buffer is large enough to carry 128 lines!
size_t band_sz |
Size of band in bytes
uint8_t* compressed |
Where to store the compressed data
size_t compressed_sz |
Size of compressed in bytes, must be at least sizeof(struct comp_data_header) + band_sz + 4
size_t compressed_used |
Used bytes in compressed
struct dictionary_collection dictionary[2048] |
collected information about the band content
size_t dictionary_size |