CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
spl2_band_buffer Struct Reference

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
 

Detailed Description

Intended to separate the processing to spread it to more than one CPU core later on.

Field Documentation

◆ line_sz

size_t line_sz

Length of one line in bytes (valid for data in input and band)

◆ input

uint8_t* input

The line by line raw monochrome dot data. One byte covers 8 monochrome dots

◆ input_sz

size_t input_sz

Size of input in bytes

◆ band

uint8_t* band

Where to store the data. It is expected this buffer is large enough to carry 128 lines!

◆ band_sz

size_t band_sz

Size of band in bytes

◆ compressed

uint8_t* compressed

Where to store the compressed data

◆ compressed_sz

size_t compressed_sz

Size of compressed in bytes, must be at least sizeof(struct comp_data_header) + band_sz + 4

◆ compressed_used

size_t compressed_used

Used bytes in compressed

◆ dictionary

struct dictionary_collection dictionary[2048]

collected information about the band content

◆ dictionary_size

size_t dictionary_size

The documentation for this struct was generated from the following file: