#include <t4.h>
Public Attributes | |
const char * | vendor |
The vendor of the machine which produced the TIFF file. | |
const char * | model |
The model of machine which produced the TIFF file. | |
const char * | local_ident |
The local ident string. | |
const char * | far_ident |
The remote end's ident string. | |
const char * | sub_address |
The FAX sub-address. | |
const char * | dcs |
The FAX DCS information, as an ASCII string. | |
const char * | header_info |
The text which will be used in FAX page header. No text results in no header line. | |
int | line_encoding |
The type of compression used between the FAX machines. | |
int | min_row_bits |
The minimum number of encoded bits per row. This is a timing thing for hardware FAX machines. | |
int | output_compression |
The compression type for output to the TIFF file. | |
int | output_t4_options |
The TIFF G3 FAX options. | |
time_t | page_start_time |
The time at which handling of the current page began. | |
int | bytes_per_row |
The current number of bytes per row of uncompressed image data. | |
int | image_size |
The size of the image in the image buffer, in bytes. | |
int | image_buffer_size |
The current size of the image buffer. | |
uint8_t * | image_buffer |
TIFF * | tiff_file |
The libtiff context for the current TIFF file. | |
const char * | file |
The current file name. | |
int | start_page |
The first page to transfer. -1 to start at the beginning of the file. | |
int | stop_page |
The last page to transfer. -1 to continue to the end of the file. | |
int | pages_transferred |
The number of pages transferred to date. | |
int | pages_in_file |
The number of pages in the current TIFF file. | |
int | x_resolution |
Column-to-column (X) resolution in pixels per metre. | |
int | y_resolution |
Row-to-row (Y) resolution in pixels per metre. | |
int | image_width |
Width of the current page, in pixels. | |
int | row |
Current pixel row number. | |
int | image_length |
Total pixel rows in the current page. | |
int | curr_bad_row_run |
The current number of consecutive bad rows. | |
int | longest_bad_row_run |
The longest run of consecutive bad rows seen in the current page. | |
int | bad_rows |
The total number of bad rows in the current page. | |
uint32_t | bits_to_date |
int | bits |
int | row_is_2d |
This variable is set if we are treating the current row as a 2D encoded one. | |
int | its_black |
TRUE if the current run is black. | |
int | row_len |
The current length of the current row. | |
int | first_eol_seen |
This variable is used to record the fact we have seen at least one EOL since we started decoding. We will not try to interpret the received data as an image until we have seen the first EOL. | |
int | consecutive_eols |
This variable is used to count the consecutive EOLS we have seen. If it reaches six, this is the end of the image. | |
uint32_t * | cur_runs |
Black and white run-lengths for the current row. | |
uint32_t * | ref_runs |
Black and white run-lengths for the reference row. | |
int | ref_steps |
The number of runs currently in the reference row. | |
int | b_cursor |
The current step into the reference row run-lengths buffer. | |
int | a_cursor |
The current step into the current row run-lengths buffer. | |
int | a0 |
The reference or starting changing element on the coding line. At the start of the coding line, a0 is set on an imaginary white changing element situated just before the first element on the line. During the coding of the coding line, the position of a0 is defined by the previous coding mode. (See 4.2.1.3.2.). | |
int | b1 |
The first changing element on the reference line to the right of a0 and of opposite colour to a0. | |
int | run_length |
The length of the in-progress run of black or white. | |
int | black_white |
2D horizontal mode control. | |
uint32_t | data |
int | data_bits |
int | last_row_starts_at |
A pointer into the image buffer indicating where the last row begins. | |
int | row_starts_at |
uint8_t * | row_buf |
Pointer to the buffer for the current pixel row. | |
int | bit_pos |
int | bit_ptr |
int | max_rows_to_next_1d_row |
The maximum contiguous rows that will be 2D encoded. | |
int | rows_to_next_1d_row |
Number of rows left that can be 2D encoded, before a 1D encoded row must be used. | |
int | row_bits |
The current number of bits in the current encoded row. | |
t4_row_read_handler_t | row_read_handler |
void * | row_read_user_data |
t4_row_write_handler_t | row_write_handler |
void * | row_write_user_data |
logging_state_t | logging |
Error and flow logging control. |