26#if !defined(_SPANDSP_PRIVATE_T4_TX_H_)
27#define _SPANDSP_PRIVATE_T4_TX_H_
29#define t4_tx_state_s t4_state_s
Definition: private/logging.h:34
Definition: private/t4_tx.h:36
int current_page
The number of pages transferred to date.
Definition: private/t4_tx.h:66
int row_is_2d
This variable is set if we are treating the current row as a 2D encoded one.
Definition: private/t4_tx.h:80
t4_tiff_state_t tiff
All TIFF file specific state information for the T.4 context.
Definition: private/t4_tx.h:107
uint32_t tx_bitstream
Encoded data bits buffer.
Definition: private/t4_tx.h:92
int tx_bits
The number of bits currently in tx_bitstream.
Definition: private/t4_tx.h:94
int x_resolution
Column-to-column (X) resolution in pixels per metre.
Definition: private/t4_tx.h:68
int min_row_bits
The minimum bits in any row of the current page. For monitoring only.
Definition: private/t4_tx.h:99
int row_len
The current length of the current row.
Definition: private/t4_tx.h:82
int line_image_size
The size of the compressed image on the line side, in bits.
Definition: private/t4_tx.h:54
int y_resolution
Row-to-row (Y) resolution in pixels per metre.
Definition: private/t4_tx.h:70
int row
Current pixel row number.
Definition: private/t4_tx.h:76
int image_width
Width of the current page, in pixels.
Definition: private/t4_tx.h:72
int image_length
Length of the current page, in pixels.
Definition: private/t4_tx.h:74
const char * header_info
The text which will be used in FAX page header. No text results in no header line.
Definition: private/t4_tx.h:49
int max_row_bits
The maximum bits in any row of the current page. For monitoring only.
Definition: private/t4_tx.h:101
int image_buffer_size
The current size of the image buffer.
Definition: private/t4_tx.h:61
logging_state_t logging
Error and flow logging control.
Definition: private/t4_tx.h:104
int row_bits
The current number of bits in the current encoded row.
Definition: private/t4_tx.h:97
uint8_t * row_buf
Pointer to the buffer for the current pixel row.
Definition: private/t4_tx.h:89
int bytes_per_row
The current number of bytes per row of uncompressed image data.
Definition: private/t4_tx.h:57
uint8_t * image_buffer
A point to the image buffer.
Definition: private/t4_tx.h:63
int rx
The same structure is used for T.4 transmit and receive. This variable records which mode is in progr...
Definition: private/t4_tx.h:39
int line_encoding
The type of compression used between the FAX machines.
Definition: private/t4_tx.h:42
time_t page_start_time
The time at which handling of the current page began.
Definition: private/t4_tx.h:45
uint32_t * cur_runs
Black and white run-lengths for the current row.
Definition: private/t4_tx.h:85
struct tz_s * tz
Optional per instance time zone for the FAX page header timestamp.
Definition: private/t4_tx.h:51
int image_size
The size of the image in the image buffer, in bytes.
Definition: private/t4_tx.h:59
uint32_t * ref_runs
Black and white run-lengths for the reference row.
Definition: private/t4_tx.h:87
Definition: private/t4_t6_decode.h:33
Definition: private/t4_t6_encode.h:33
Definition: private/t4_rx.h:55
Definition: private/timezone.h:82