#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 * | 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_scan_line_bits |
The minimum number of bits per scan row. This is a timing thing for hardware FAX machines. | |
int | output_compression |
int | output_t4_options |
time_t | page_start_time |
int | bytes_per_row |
int | image_size |
int | image_buffer_size |
uint8_t * | image_buffer |
TIFF * | tiff_file |
const char * | file |
int | start_page |
int | stop_page |
int | pages_transferred |
int | pages_in_file |
int | x_resolution |
int | y_resolution |
int | image_width |
int | row |
int | image_length |
int | curr_bad_row_run |
int | longest_bad_row_run |
int | bad_rows |
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 |
int | row_len |
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 * | ref_runs |
B&W runs for reference line. | |
uint32_t * | cur_runs |
B&W runs for current line. | |
uint32_t * | pa |
uint32_t * | pb |
int | a0 |
int | b1 |
int | run_length |
The length of the current run of black or white. | |
int | black_white |
uint32_t | data |
int | bit |
int | last_row_starts_at |
A point into the image buffer indicating where the last row begins. | |
int | row_starts_at |
A point into the image buffer indicating where the current row begins. | |
uint8_t * | row_buf |
int | bit_pos |
int | bit_ptr |
uint8_t * | ref_row_buf |
The reference pixel row for 2D encoding. | |
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 | min_row_bits |
The minimum number of encoded bits per row. | |
int | row_bits |
The current number of bits in the current encoded row. | |
logging_state_t | logging |
Error and flow logging control. |
Column-to-column (X) resolution in pixels per metre.
Row-to-row (Y) resolution in pixels per metre.
Width of the current page, in pixels.
int t4_state_t::row |
Current pixel row number.
Total pixel rows in the current page.
The current number of consecutive bad rows.
The longest run of consecutive bad rows seen in the current page.
The total number of bad rows in the current page.
uint8_t* t4_state_t::row_buf |
Pointer to the buffer for the current pixel row.