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

Each page is divided vertically into 'bands'. This data leads each band information. More...

Data Fields

uint8_t record
 
uint8_t number
 
uint16_t width
 
uint16_t height
 
uint8_t compr
 
uint32_t length
 

Detailed Description

Note the big endian notation of the multibyte members.

Field Documentation

◆ record

uint8_t record

Record type, always 0x0c, e.g. BAND_RECORD

◆ number

uint8_t number

Band number 0...x

◆ width

uint16_t width

Width in dots of the band data (big endian)

◆ height

uint16_t height

Height in lines of the band data (usually 128), (big endian)

◆ compr

uint8_t compr

ID of the band's data compression algorithm

◆ length

uint32_t length

Length of following band data in bytes (big endian)


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