26#if !defined(_SPANDSP_PRIVATE_T4_RX_H_)
27#define _SPANDSP_PRIVATE_T4_RX_H_
29typedef 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;
Definition private/logging.h:34
Definition private/t4_rx.h:95
Definition private/t42.h:99
Definition private/t43.h:62
Definition private/t4_rx.h:106
t4_rx_tiff_state_t tiff
All TIFF file specific state information for the T.4 context.
Definition private/t4_rx.h:145
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
void * row_handler_user_data
Opaque pointer passed to row_write_handler.
Definition private/t4_rx.h:110
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
logging_state_t logging
Error and flow logging control.
Definition private/t4_rx.h:148
int current_page
The number of pages transferred to date.
Definition private/t4_rx.h:117
int line_image_size
The size of the compressed image on the line side, in bits.
Definition private/t4_rx.h:120
Definition private/t4_rx.h:35
uint16_t fill_order
The TIFF fill order setting for the current page.
Definition private/t4_rx.h:48
int image_type
Definition private/t4_rx.h:42
int pages_in_file
The number of pages in the current image file.
Definition private/t4_rx.h:51
const char * file
The current file name.
Definition private/t4_rx.h:37
int image_size
The size of the image in the image buffer, in bytes.
Definition private/t4_rx.h:59
int compression
The compression type for output to the TIFF file.
Definition private/t4_rx.h:44
uint16_t photo_metric
The TIFF photometric setting for the current page.
Definition private/t4_rx.h:46
int image_buffer_size
The current size of the image buffer.
Definition private/t4_rx.h:61
uint8_t * image_buffer
A point to the image buffer.
Definition private/t4_rx.h:57
TIFF * tiff_file
The libtiff context for the current TIFF file.
Definition private/t4_rx.h:39
time_t page_start_time
The time at which handling of the current page began.
Definition private/t4_rx.h:54
Definition private/t4_t6_decode.h:33
Definition private/t85.h:117
int(* t4_row_write_handler_t)(void *user_data, const uint8_t buf[], size_t len)
Definition t4_rx.h:46