26#if !defined(_SPANDSP_PRIVATE_T42_H_)
27#define _SPANDSP_PRIVATE_T42_H_
60 uint32_t image_length;
61 uint16_t samples_per_pixel;
68 int spatial_resolution;
72 uint8_t illuminant_code[4];
73 int illuminant_colour_temperature;
77 int compressed_image_ptr;
80 uint8_t *compressed_buf;
83#if defined(HAVE_OPEN_MEMSTREAM)
87 char error_message[JMSG_LENGTH_MAX];
88 struct jpeg_compress_struct compressor;
90 JSAMPROW scan_line_out;
91 JSAMPROW scan_line_in;
110 uint32_t image_width;
111 uint32_t image_length;
112 uint16_t samples_per_pixel;
117 int spatial_resolution;
121 uint8_t illuminant_code[4];
122 int illuminant_colour_temperature;
135 uint8_t *compressed_buf;
139 char error_message[JMSG_LENGTH_MAX];
140 struct jpeg_decompress_struct decompressor;
145 JSAMPROW scan_line_out;
146 JSAMPROW scan_line_in;
struct logging_state_s logging_state_t
Definition logging.h:72
Definition private/t42.h:33
Definition private/t42.h:99
t4_row_write_handler_t comment_handler
Definition private/t42.h:105
t4_row_write_handler_t row_write_handler
Definition private/t42.h:101
uint8_t * comment
Definition private/t42.h:127
uint32_t max_comment_len
Definition private/t42.h:109
void * comment_user_data
Definition private/t42.h:107
int compressed_image_size
The size of the compressed image, in bytes.
Definition private/t42.h:132
void * row_write_user_data
Definition private/t42.h:103
size_t comment_len
Definition private/t42.h:129
int end_of_data
Definition private/t42.h:143
logging_state_t logging
Error and flow logging control.
Definition private/t42.h:149
Definition private/t42.h:54
int compressed_image_size
The size of the compressed image, in bytes.
Definition private/t42.h:76
logging_state_t logging
Error and flow logging control.
Definition private/t42.h:94
void * row_read_user_data
Opaque pointer passed to row_read_handler.
Definition private/t42.h:58
t4_row_read_handler_t row_read_handler
Callback function to read a row of pixels from the image source.
Definition private/t42.h:56
int(* t4_row_write_handler_t)(void *user_data, const uint8_t buf[], size_t len)
Definition t4_rx.h:46
int(* t4_row_read_handler_t)(void *user_data, uint8_t buf[], size_t len)
Definition t4_tx.h:34