spandsp  1.99.0
t85_encode_state_s Struct Reference

Public Attributes

t4_row_read_handler_t row_read_handler
 Callback function to read a row of pixels from the image source.
 
void * row_read_user_data
 Opaque pointer passed to row_read_handler.
 
uint8_t bit_planes
 
uint8_t current_bit_plane
 
uint32_t xd
 
uint32_t yd
 
uint32_t l0
 
int mx
 
int options
 
const uint8_t * comment
 
size_t comment_len
 
uint32_t y
 
uint32_t i
 
int newlen
 
int32_t tx
 
uint32_t c_all
 
uint32_t c [128]
 
int32_t new_tx
 
bool prev_ltp
 
uint8_t * prev_row [3]
 
uint8_t * row_buf
 
uint8_t * bitstream
 
int bitstream_len
 
int bitstream_iptr
 
int bitstream_optr
 
int fill_with_white
 
int compressed_image_size
 The size of the compressed image, in bytes.
 
t81_t82_arith_encode_state_t s
 
logging_state_t logging
 Error and flow logging control.
 

Member Data Documentation

◆ bit_planes

uint8_t t85_encode_state_s::bit_planes

The number of bit planes. Always 1 for true T.85

◆ c

uint32_t t85_encode_state_s::c[128]

Adaptive template algorithm variables

◆ c_all

uint32_t t85_encode_state_s::c_all

Adaptive template algorithm variables

◆ comment

const uint8_t* t85_encode_state_s::comment

The contents for a COMMENT marker segment, to be added to the image at the next opportunity. This is set to NULL when nothing is pending.

◆ comment_len

size_t t85_encode_state_s::comment_len

Length of data pointed to by comment

◆ i

uint32_t t85_encode_state_s::i

Next row within current stripe

◆ l0

uint32_t t85_encode_state_s::l0

The number of rows per stripe

◆ mx

int t85_encode_state_s::mx

Maximum ATMOVE window size (0 - 127)

◆ new_tx

int32_t t85_encode_state_s::new_tx

New TX value, or <0 for analysis in progress

◆ newlen

int t85_encode_state_s::newlen

Flag for handling NEWLEN processing.

◆ options

int t85_encode_state_s::options

Encoding parameters

◆ prev_ltp

bool t85_encode_state_s::prev_ltp

True if previous row was typical

◆ prev_row

uint8_t* t85_encode_state_s::prev_row[3]

Pointers to the 3 row buffers

◆ row_buf

uint8_t* t85_encode_state_s::row_buf

Pointer to a block of allocated memory 3 rows long, which we divide up for the 3 row buffers.

◆ s

t81_t82_arith_encode_state_t t85_encode_state_s::s

Arithmetic encoder state

◆ tx

int32_t t85_encode_state_s::tx

X-offset of adaptive template pixel

◆ xd

uint32_t t85_encode_state_s::xd

The width of the full image, in pixels

◆ y

uint32_t t85_encode_state_s::y

Next row number to be encoded

◆ yd

uint32_t t85_encode_state_s::yd

The height of the full image, in pixels


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