26#if !defined(_SPANDSP_PRIVATE_T4_T6_ENCODE_H_)
27#define _SPANDSP_PRIVATE_T4_T6_ENCODE_H_
Definition private/t4_t6_encode.h:33
int min_bits_per_row
The minimum number of encoded bits per row. This is a timing thing for hardware FAX machines.
Definition private/t4_t6_encode.h:36
int rows_to_next_1d_row
Number of rows left that can be 2D encoded, before a 1D encoded row must be used.
Definition private/t4_t6_encode.h:42
void * row_read_user_data
Opaque pointer passed to row_read_handler.
Definition private/t4_t6_encode.h:55
int max_rows_to_next_1d_row
The current maximum contiguous rows that may be 2D encoded.
Definition private/t4_t6_encode.h:38
int bit_pos
Pointer to the byte containing the next image bit to transmit.
Definition private/t4_t6_encode.h:48
int ref_steps
The number of runs currently in the reference row.
Definition private/t4_t6_encode.h:45
t4_row_read_handler_t row_read_handler
Callback function to read a row of pixels from the image source.
Definition private/t4_t6_encode.h:53
int bit_ptr
Pointer to the bit within the byte containing the next image bit to transmit.
Definition private/t4_t6_encode.h:50
int(* t4_row_read_handler_t)(void *user_data, uint8_t buf[], size_t len)
Definition t4_tx.h:36