Go to the source code of this file.
Typedefs | |
| typedef struct t42_encode_state_s | t42_encode_state_t |
| typedef struct t42_decode_state_s | t42_decode_state_t |
| typedef struct lab_params_s | lab_params_t |
Functions | |
| void | srgb_to_lab (lab_params_t *s, uint8_t lab[], const uint8_t srgb[], int pixels) |
| void | lab_to_srgb (lab_params_t *s, uint8_t srgb[], const uint8_t lab[], int pixels) |
| void | set_lab_illuminant (lab_params_t *s, float new_xn, float new_yn, float new_zn) |
| void | set_lab_gamut (lab_params_t *s, int L_min, int L_max, int a_min, int a_max, int b_min, int b_max, int ab_are_signed) |
| void | set_lab_gamut2 (lab_params_t *s, int L_P, int L_Q, int a_P, int a_Q, int b_P, int b_Q) |
| int | t42_itulab_to_itulab (logging_state_t *logging, tdata_t *dst, tsize_t *dstlen, tdata_t src, tsize_t srclen, uint32_t width, uint32_t height) |
| int | t42_itulab_to_jpeg (logging_state_t *logging, lab_params_t *s, tdata_t *dst, tsize_t *dstlen, tdata_t src, tsize_t srclen) |
| int | t42_jpeg_to_itulab (logging_state_t *logging, lab_params_t *s, tdata_t *dst, tsize_t *dstlen, tdata_t src, tsize_t srclen) |
| int | t42_srgb_to_itulab (logging_state_t *logging, lab_params_t *s, tdata_t *dst, tsize_t *dstlen, tdata_t src, tsize_t srclen, uint32_t width, uint32_t height) |
| int | t42_itulab_to_srgb (logging_state_t *logging, lab_params_t *s, tdata_t dst, tsize_t *dstlen, tdata_t src, tsize_t srclen, uint32_t *width, uint32_t *height) |
| void | t42_encode_set_options (t42_encode_state_t *s, uint32_t l0, int mx, int options) |
| int | t42_encode_set_image_width (t42_encode_state_t *s, uint32_t image_width) |
| int | t42_encode_set_image_length (t42_encode_state_t *s, uint32_t length) |
| void | t42_encode_abort (t42_encode_state_t *s) |
| void | t42_encode_comment (t42_encode_state_t *s, const uint8_t comment[], size_t len) |
| int | t42_encode_image_complete (t42_encode_state_t *s) |
| Check if we are at the end of the current document page. | |
| int | t42_encode_get (t42_encode_state_t *s, uint8_t buf[], size_t max_len) |
| uint32_t | t42_encode_get_image_width (t42_encode_state_t *s) |
| uint32_t | t42_encode_get_image_length (t42_encode_state_t *s) |
| int | t42_encode_get_compressed_image_size (t42_encode_state_t *s) |
| int | t42_encode_set_row_read_handler (t42_encode_state_t *s, t4_row_read_handler_t handler, void *user_data) |
| logging_state_t * | t42_encode_get_logging_state (t42_encode_state_t *s) |
| Get the logging context associated with a T.42 encode context. | |
| int | t42_encode_restart (t42_encode_state_t *s, uint32_t image_width, uint32_t image_length) |
| t42_encode_state_t * | t42_encode_init (t42_encode_state_t *s, uint32_t image_width, uint32_t image_length, t4_row_read_handler_t handler, void *user_data) |
| int | t42_encode_release (t42_encode_state_t *s) |
| int | t42_encode_free (t42_encode_state_t *s) |
| void | t42_decode_rx_status (t42_decode_state_t *s, int status) |
| int | t42_decode_put (t42_decode_state_t *s, const uint8_t data[], size_t len) |
| int | t42_decode_set_row_write_handler (t42_decode_state_t *s, t4_row_write_handler_t handler, void *user_data) |
| int | t42_decode_set_comment_handler (t42_decode_state_t *s, uint32_t max_comment_len, t4_row_write_handler_t handler, void *user_data) |
| int | t42_decode_set_image_size_constraints (t42_decode_state_t *s, uint32_t max_xd, uint32_t max_yd) |
| uint32_t | t42_decode_get_image_width (t42_decode_state_t *s) |
| uint32_t | t42_decode_get_image_length (t42_decode_state_t *s) |
| int | t42_decode_get_compressed_image_size (t42_decode_state_t *s) |
| int | t42_decode_new_plane (t42_decode_state_t *s) |
| logging_state_t * | t42_decode_get_logging_state (t42_decode_state_t *s) |
| Get the logging context associated with a T.42 decode context. | |
| int | t42_decode_restart (t42_decode_state_t *s) |
| t42_decode_state_t * | t42_decode_init (t42_decode_state_t *s, t4_row_write_handler_t handler, void *user_data) |
| int | t42_decode_release (t42_decode_state_t *s) |
| int | t42_decode_free (t42_decode_state_t *s) |
| typedef struct t42_decode_state_s t42_decode_state_t |
State of a working instance of the T.42 decoder
| typedef struct t42_encode_state_s t42_encode_state_t |
State of a working instance of the T.42 encoder
| logging_state_t* t42_decode_get_logging_state | ( | t42_decode_state_t * | s | ) |
Get the logging context associated with a T.42 decode context.
Get the logging context associated with a T.42 decode context.
| s | The T.42 decode context. |
| logging_state_t* t42_encode_get_logging_state | ( | t42_encode_state_t * | s | ) |
Get the logging context associated with a T.42 encode context.
Get the logging context associated with a T.42 encode context.
| s | The T.42 encode context. |
| int t42_encode_image_complete | ( | t42_encode_state_t * | s | ) |
Check if we are at the end of the current document page.
| s | The T.42 context. |
Referenced by t4_tx_image_complete().
1.6.1