spandsp  3.0.0
t85_decode_state_s Struct Reference

Public Attributes

t4_row_write_handler_t row_write_handler
 
void * row_write_user_data
 
t4_row_write_handler_t comment_handler
 
void * comment_user_data
 
uint32_t max_comment_len
 
uint8_t min_bit_planes
 
uint8_t max_bit_planes
 
uint32_t max_xd
 
uint32_t max_yd
 
uint8_t bit_planes
 
uint8_t current_bit_plane
 
uint32_t xd
 
uint32_t yd
 
uint32_t l0
 
int mx
 
int options
 
int p [3]
 
uint8_t * prev_row [3]
 
uint8_t * row_buf
 
int row_buf_len
 
size_t bytes_per_row
 
int32_t tx
 
uint32_t bie_len
 
uint8_t buffer [20]
 
int buf_len
 
int buf_needed
 
uint8_t * comment
 
uint32_t comment_len
 
uint32_t comment_progress
 
uint32_t x
 
uint32_t y
 
uint32_t i
 
int at_moves
 
uint32_t at_row [1]
 
int at_tx [1]
 
uint32_t row_h [3]
 
int pseudo
 
int lntp
 
int interrupt
 
int end_of_data
 
t81_t82_arith_decode_state_t s
 
int compressed_image_size
 The size of the compressed image, in bytes.
 
logging_state_t logging
 Error and flow logging control.
 

Member Data Documentation

◆ at_moves

int t85_decode_state_s::at_moves

Number of AT moves in the current stripe

◆ at_row

uint32_t t85_decode_state_s::at_row[1]

Rows at which an AT move will happen

◆ at_tx

int t85_decode_state_s::at_tx[1]

ATMOVE x-offsets in current stripe

◆ bie_len

uint32_t t85_decode_state_s::bie_len

Number of bytes read so far

◆ bit_planes

uint8_t t85_decode_state_s::bit_planes

The number of bit planes expected, according to the header. Always 1 for true T.85

◆ buf_len

int t85_decode_state_s::buf_len

Number of bytes in buffer.

◆ buf_needed

int t85_decode_state_s::buf_needed

Required number of bytes in buffer to proceed with processing its contents.

◆ buffer

uint8_t t85_decode_state_s::buffer[20]

Buffer space for the BIH or marker segments fragments

◆ bytes_per_row

size_t t85_decode_state_s::bytes_per_row

Bytes per pixel row

Referenced by t85_encode_restart(), and t85_encode_set_image_width().

◆ comment

uint8_t* t85_decode_state_s::comment

The content of a decoded COMMENT marker segment.

Referenced by t85_encode_comment().

◆ comment_handler

t4_row_write_handler_t t85_decode_state_s::comment_handler

A callback routine to handle decoded comments

◆ comment_len

uint32_t t85_decode_state_s::comment_len

The expected length of a decoded COMMENT segment

◆ comment_progress

uint32_t t85_decode_state_s::comment_progress

The length of COMMENT decoded to date

◆ comment_user_data

void* t85_decode_state_s::comment_user_data

An opaque pointer passed to comment_handler()

◆ end_of_data

int t85_decode_state_s::end_of_data

Flag that the data to be decoded has run out.

◆ i

uint32_t t85_decode_state_s::i

Current row within the current stripe

◆ interrupt

int t85_decode_state_s::interrupt

Flag that row_write_handler() requested an interrupt.

◆ l0

uint32_t t85_decode_state_s::l0

The number of rows per stripe

Referenced by t85_encode_set_options().

◆ lntp

int t85_decode_state_s::lntp

Line is not typical flag.

◆ max_comment_len

uint32_t t85_decode_state_s::max_comment_len

The maximum length of comment to be passed to the comment handler

Referenced by t85_decode_set_comment_handler().

◆ max_xd

uint32_t t85_decode_state_s::max_xd

The maximum permitted width of the full image, in pixels

Referenced by t85_decode_set_image_size_constraints().

◆ max_yd

uint32_t t85_decode_state_s::max_yd

The maximum permitted height of the full image, in pixels

Referenced by t85_decode_set_image_size_constraints().

◆ mx

int t85_decode_state_s::mx

Maximum ATMOVE window size

Referenced by t85_encode_set_options().

◆ options

int t85_decode_state_s::options

Encoding parameters

Referenced by t85_encode_set_options().

◆ p

int t85_decode_state_s::p[3]

The current row and the previous 2 rows of image data

◆ prev_row

uint8_t* t85_decode_state_s::prev_row[3]

Pointers to the 3 row buffers

◆ pseudo

int t85_decode_state_s::pseudo

Flag for TPBON/TPDON: next pixel is a pseudo pixel

◆ row_buf

uint8_t* t85_decode_state_s::row_buf

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

◆ row_buf_len

int t85_decode_state_s::row_buf_len

The length of the row buffer

◆ row_h

uint32_t t85_decode_state_s::row_h[3]

Working data for decode_pscd()

◆ row_write_handler

t4_row_write_handler_t t85_decode_state_s::row_write_handler

A callback routine to handle decoded pixel rows

Referenced by t43_decode_set_row_write_handler().

◆ row_write_user_data

void* t85_decode_state_s::row_write_user_data

An opaque pointer passed to row_write_handler()

Referenced by t43_decode_set_row_write_handler().

◆ s

◆ tx

int32_t t85_decode_state_s::tx

X-offset of AT pixel

◆ x

uint32_t t85_decode_state_s::x

Current column

◆ xd

uint32_t t85_decode_state_s::xd

The width of the full image, in pixels

◆ y

uint32_t t85_decode_state_s::y

Current row

Referenced by t85_decode_put().

◆ yd

uint32_t t85_decode_state_s::yd

The height of the full image, in pixels

Referenced by t85_encode_set_options().


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