t4_tx_state_s Struct Reference

#include <t4_tx.h>

List of all members.

Public Attributes

t4_row_read_handler_t row_handler
 Callback function to read a row of pixels from the image source.
void * row_handler_user_data
 Opaque pointer passed to row_read_handler.
int line_encoding
 The type of compression used between the FAX machines.
int line_encoding_bilevel
int line_encoding_gray
int line_encoding_colour
int row_squashing_ratio
 When superfine and fine resolution images need to be squahed vertically to a lower resolution, this value sets the number of source rows which must be squashed to form each row on the wire.
uint32_t image_width
 The width of the current page, in pixels.
uint32_t image_length
 The length of the current page, in pixels.
int line_image_size
 The size of the compressed image on the line side, in bits.
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 header_overlays_image
 TRUE for FAX page headers to overlay (i.e. replace) the beginning of the page image. FALSE for FAX page headers to add to the overall length of the page.
const char * header_info
 The text which will be used in FAX page header. No text results in no header line.
const char * local_ident
 The local ident string. This is used with header_info to form a page header line.
int current_page
 The page number of current page. The first page is zero. If FAX page headers are used, the page number in the header will be one more than this value (i.e. they start from 1).
char * header_text
 The composed text of the FAX page header, if there is one.
tz_ttz
 Optional per instance time zone for the FAX page header timestamp.
int header_row
 Row counter for playing out the rows of the header line.
union {
   t4_t6_encode_state_t   t4_t6
   t42_encode_state_t   t42
   t85_encode_state_t   t85
encoder
image_translate_state_t translator
int apply_lab
lab_params_t lab_params
uint8_t * colour_map
int colour_map_entries
t4_tx_metadata_t metadata
t4_tx_tiff_state_t tiff
 All TIFF file specific state information for the T.4 context.
logging_state_t logging
 Error and flow logging control.

Detailed Description

T.4 FAX compression descriptor. This defines the working state for a single instance of a T.4 FAX compression channel.


The documentation for this struct was generated from the following file:

Generated on 15 Sep 2012 for spandsp by  doxygen 1.6.1