26 #if !defined(_SPANDSP_PRIVATE_T4_RX_H_) 27 #define _SPANDSP_PRIVATE_T4_RX_H_ 29 typedef int (*t4_image_put_handler_t)(
void *user_data,
const uint8_t buf[],
size_t len);
127 #if defined(SPANDSP_SUPPORT_T88) 128 t88_decode_state_t t88;
132 #if defined(SPANDSP_SUPPORT_T45) 133 t45_decode_state_t t45;
137 t4_image_put_handler_t image_put_handler;
const char * file
The current file name.
Definition: private/t4_rx.h:37
Definition: private/t4_t6_decode.h:32
TIFF * tiff_file
The libtiff context for the current TIFF file.
Definition: private/t4_rx.h:39
int pages_in_file
The number of pages in the current image file.
Definition: private/t4_rx.h:51
logging_state_t logging
Error and flow logging control.
Definition: private/t4_rx.h:148
Definition: private/t42.h:98
int image_buffer_size
The current size of the image buffer.
Definition: private/t4_rx.h:61
uint16_t photo_metric
The TIFF photometric setting for the current page.
Definition: private/t4_rx.h:46
Definition: private/t4_rx.h:105
Definition: private/t43.h:61
uint16_t fill_order
The TIFF fill order setting for the current page.
Definition: private/t4_rx.h:48
Definition: private/t4_rx.h:34
uint8_t * image_buffer
A point to the image buffer.
Definition: private/t4_rx.h:57
int supported_tiff_compressions
A bit mask of the currently supported image compression modes for writing to the TIFF file...
Definition: private/t4_rx.h:114
Definition: private/logging.h:33
int image_size
The size of the image in the image buffer, in bytes.
Definition: private/t4_rx.h:59
t4_row_write_handler_t row_handler
Callback function to write a row of pixels to the image destination.
Definition: private/t4_rx.h:108
Definition: private/t85.h:116
int compression
The compression type for output to the TIFF file.
Definition: private/t4_rx.h:44
int line_image_size
The size of the compressed image on the line side, in bits.
Definition: private/t4_rx.h:120
time_t page_start_time
The time at which handling of the current page began.
Definition: private/t4_rx.h:54
int current_page
The number of pages transferred to date.
Definition: private/t4_rx.h:117
int image_type
Definition: private/t4_rx.h:42
t4_rx_tiff_state_t tiff
All TIFF file specific state information for the T.4 context.
Definition: private/t4_rx.h:145
void * row_handler_user_data
Opaque pointer passed to row_write_handler.
Definition: private/t4_rx.h:110
Definition: private/t4_rx.h:94
int(* t4_row_write_handler_t)(void *user_data, const uint8_t buf[], size_t len)
Definition: t4_rx.h:46