spandsp 3.0.0
t42_encode_state_s Struct Reference

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.
uint32_t image_width
uint32_t image_length
uint16_t samples_per_pixel
int image_type
int no_subsampling
int itu_ycc
int quality
int spatial_resolution
lab_params_t lab
uint8_t illuminant_code [4]
int illuminant_colour_temperature
int compressed_image_size
 The size of the compressed image, in bytes.
int compressed_image_ptr
int buf_size
uint8_t * compressed_buf
FILE * out
jmp_buf escape
char error_message [JMSG_LENGTH_MAX]
struct jpeg_compress_struct compressor
JSAMPROW scan_line_out
JSAMPROW scan_line_in
logging_state_t logging
 Error and flow logging control.

Member Data Documentation

◆ compressed_image_size

int t42_encode_state_s::compressed_image_size

The size of the compressed image, in bytes.

Referenced by t42_encode_get_compressed_image_size(), and t42_encode_restart().

◆ logging

logging_state_t t42_encode_state_s::logging

Error and flow logging control.

Referenced by t42_encode_get_logging_state(), t42_encode_init(), and t42_encode_restart().

◆ row_read_handler

t4_row_read_handler_t t42_encode_state_s::row_read_handler

Callback function to read a row of pixels from the image source.

Referenced by t42_encode_init().

◆ row_read_user_data

void* t42_encode_state_s::row_read_user_data

Opaque pointer passed to row_read_handler.

Referenced by t42_encode_init().


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