spandsp 3.0.0
|
Public Attributes | |
t4_row_read_handler_t | row_read_handler |
Callback function to read a row of pixels from the image source. | |
void * | row_read_user_data |
Opaque pointer passed to row_read_handler. | |
uint8_t | bit_planes |
uint8_t | current_bit_plane |
uint32_t | xd |
uint32_t | yd |
uint32_t | l0 |
int | mx |
int | options |
const uint8_t * | comment |
size_t | comment_len |
uint32_t | y |
uint32_t | i |
int | newlen |
int32_t | tx |
uint32_t | c_all |
uint32_t | c [128] |
int32_t | new_tx |
bool | prev_ltp |
uint8_t * | prev_row [3] |
uint8_t * | row_buf |
uint8_t * | bitstream |
int | bitstream_len |
int | bitstream_iptr |
int | bitstream_optr |
int | fill_with_white |
int | compressed_image_size |
The size of the compressed image, in bytes. | |
t81_t82_arith_encode_state_t | s |
logging_state_t | logging |
Error and flow logging control. | |
uint8_t t85_encode_state_s::bit_planes |
The number of bit planes. Always 1 for true T.85
Referenced by t85_encode_init().
uint32_t t85_encode_state_s::c[128] |
Adaptive template algorithm variables
uint32_t t85_encode_state_s::c_all |
Adaptive template algorithm variables
const uint8_t* t85_encode_state_s::comment |
The contents for a COMMENT marker segment, to be added to the image at the next opportunity. This is set to NULL when nothing is pending.
Referenced by t85_encode_comment(), and t85_encode_restart().
size_t t85_encode_state_s::comment_len |
Length of data pointed to by comment
Referenced by t85_encode_comment(), and t85_encode_restart().
uint32_t t85_encode_state_s::i |
Next row within current stripe
Referenced by t85_encode_restart(), and t85_encode_set_image_length().
uint32_t t85_encode_state_s::l0 |
The number of rows per stripe
Referenced by t85_encode_init(), and t85_encode_set_options().
int t85_encode_state_s::mx |
Maximum ATMOVE window size (0 - 127)
Referenced by t85_encode_init(), and t85_encode_set_options().
int32_t t85_encode_state_s::new_tx |
New TX value, or <0 for analysis in progress
Referenced by t85_encode_restart().
int t85_encode_state_s::newlen |
Flag for handling NEWLEN processing.
Referenced by t85_encode_restart(), and t85_encode_set_image_length().
int t85_encode_state_s::options |
Encoding parameters
Referenced by t85_encode_init(), t85_encode_set_image_length(), and t85_encode_set_options().
bool t85_encode_state_s::prev_ltp |
True if previous row was typical
Referenced by t85_encode_restart().
uint8_t* t85_encode_state_s::prev_row[3] |
Pointers to the 3 row buffers
Referenced by t85_encode_set_image_width().
uint8_t* t85_encode_state_s::row_buf |
Pointer to a block of allocated memory 3 rows long, which we divide up for the 3 row buffers.
Referenced by t85_encode_release(), t85_encode_restart(), and t85_encode_set_image_width().
t81_t82_arith_encode_state_t t85_encode_state_s::s |
Arithmetic encoder state
Referenced by t85_encode_restart(), and t85_encode_set_image_length().
int32_t t85_encode_state_s::tx |
X-offset of adaptive template pixel
Referenced by t85_encode_restart().
uint32_t t85_encode_state_s::xd |
The width of the full image, in pixels
Referenced by t85_encode_get_image_width(), t85_encode_restart(), and t85_encode_set_image_width().
uint32_t t85_encode_state_s::y |
Next row number to be encoded
Referenced by t85_encode_abort(), t85_encode_image_complete(), t85_encode_restart(), t85_encode_set_image_length(), t85_encode_set_image_width(), and t85_encode_set_options().
uint32_t t85_encode_state_s::yd |
The height of the full image, in pixels
Referenced by t85_encode_abort(), t85_encode_get_image_length(), t85_encode_image_complete(), t85_encode_restart(), and t85_encode_set_image_length().