spandsp  3.0.0
t42_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
 
uint32_t image_width
 
uint32_t image_length
 
uint16_t samples_per_pixel
 
int image_type
 
int itu_ycc
 
int spatial_resolution
 
lab_params_t lab
 
uint8_t illuminant_code [4]
 
int illuminant_colour_temperature
 
uint8_t * comment
 
size_t comment_len
 
int compressed_image_size
 The size of the compressed image, in bytes.
 
int buf_size
 
uint8_t * compressed_buf
 
FILE * in
 
jmp_buf escape
 
char error_message [JMSG_LENGTH_MAX]
 
struct jpeg_decompress_struct decompressor
 
int end_of_data
 
JSAMPROW scan_line_out
 
JSAMPROW scan_line_in
 
logging_state_t logging
 Error and flow logging control.
 

Member Data Documentation

◆ comment

uint8_t* t42_decode_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_handler

t4_row_write_handler_t t42_decode_state_s::comment_handler

A callback routine to handle decoded comments

Referenced by t42_decode_set_comment_handler().

◆ comment_len

size_t t42_decode_state_s::comment_len

Length of data pointed to by comment

◆ comment_user_data

void* t42_decode_state_s::comment_user_data

An opaque pointer passed to comment_handler()

Referenced by t42_decode_set_comment_handler().

◆ end_of_data

int t42_decode_state_s::end_of_data

Flag that the data to be decoded has run out.

◆ max_comment_len

uint32_t t42_decode_state_s::max_comment_len

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

Referenced by t42_decode_set_comment_handler().

◆ row_write_handler

t4_row_write_handler_t t42_decode_state_s::row_write_handler

A callback routine to handle decoded pixel rows

Referenced by t42_decode_set_row_write_handler().

◆ row_write_user_data

void* t42_decode_state_s::row_write_user_data

An opaque pointer passed to row_write_handler()

Referenced by t42_decode_set_row_write_handler().


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