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

Referenced by t85_decode_put().

◆ at_row

uint32_t t85_decode_state_s::at_row[1]

Rows at which an AT move will happen

Referenced by t85_decode_put().

◆ at_tx

int t85_decode_state_s::at_tx[1]

ATMOVE x-offsets in current stripe

Referenced by t85_decode_put().

◆ bie_len

uint32_t t85_decode_state_s::bie_len

Number of bytes read so far

Referenced by t85_decode_put().

◆ 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

Referenced by t43_decode_put().

◆ buf_len

int t85_decode_state_s::buf_len

Number of bytes in buffer.

Referenced by t85_decode_put().

◆ buf_needed

int t85_decode_state_s::buf_needed

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

Referenced by t85_decode_put().

◆ buffer

uint8_t t85_decode_state_s::buffer[20]

Buffer space for the BIH or marker segments fragments

Referenced by t85_decode_put().

◆ bytes_per_row

size_t t85_decode_state_s::bytes_per_row

Bytes per pixel row

Referenced by t85_decode_put().

◆ comment

uint8_t* t85_decode_state_s::comment

The content of a decoded COMMENT marker segment.

Referenced by t85_decode_put(), and t85_decode_release().

◆ comment_handler

t4_row_write_handler_t t85_decode_state_s::comment_handler

A callback routine to handle decoded comments

Referenced by t85_decode_put(), and t85_decode_set_comment_handler().

◆ comment_len

uint32_t t85_decode_state_s::comment_len

The expected length of a decoded COMMENT segment

Referenced by t85_decode_put().

◆ comment_progress

uint32_t t85_decode_state_s::comment_progress

The length of COMMENT decoded to date

Referenced by t85_decode_put().

◆ comment_user_data

void* t85_decode_state_s::comment_user_data

An opaque pointer passed to comment_handler()

Referenced by t85_decode_put(), and t85_decode_set_comment_handler().

◆ end_of_data

int t85_decode_state_s::end_of_data

Flag that the data to be decoded has run out.

Referenced by t85_decode_put().

◆ i

uint32_t t85_decode_state_s::i

Current row within the current stripe

Referenced by t85_decode_put().

◆ interrupt

int t85_decode_state_s::interrupt

Flag that row_write_handler() requested an interrupt.

Referenced by t85_decode_put().

◆ l0

uint32_t t85_decode_state_s::l0

The number of rows per stripe

◆ lntp

int t85_decode_state_s::lntp

Line is not typical flag.

Referenced by t85_decode_put().

◆ 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_put(), and 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_init(), and 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_init(), and t85_decode_set_image_size_constraints().

◆ mx

int t85_decode_state_s::mx

Maximum ATMOVE window size

Referenced by t85_decode_put().

◆ options

int t85_decode_state_s::options

Encoding parameters

Referenced by t85_decode_put().

◆ p

int t85_decode_state_s::p[3]

The current row and the previous 2 rows of image data

Referenced by t85_decode_put().

◆ 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

Referenced by t85_decode_put().

◆ 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.

Referenced by t85_decode_put(), and t85_decode_release().

◆ row_buf_len

int t85_decode_state_s::row_buf_len

The length of the row buffer

Referenced by t85_decode_put().

◆ 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(), t85_decode_init(), and t85_decode_set_row_write_handler().

◆ row_write_user_data

void* t85_decode_state_s::row_write_user_data

◆ s

t81_t82_arith_decode_state_t t85_decode_state_s::s

Arithmetic decoder state

Referenced by t85_decode_init(), and t85_decode_put().

◆ tx

int32_t t85_decode_state_s::tx

X-offset of AT pixel

Referenced by t85_decode_put().

◆ x

uint32_t t85_decode_state_s::x

Current column

Referenced by t85_decode_put().

◆ xd

uint32_t t85_decode_state_s::xd

The width of the full image, in pixels

Referenced by t43_decode_put(), t85_decode_get_image_width(), and t85_decode_put().

◆ 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 t43_decode_put(), t85_decode_get_image_length(), and t85_decode_put().


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