31#if !defined(_SPANDSP_IMAGE_TRANSLATE_H_)
32#define _SPANDSP_IMAGE_TRANSLATE_H_
49#if defined(__cplusplus)
103 void *row_read_user_data);
115#if defined(__cplusplus)
int image_translate_set_row_read_handler(image_translate_state_t *s, t4_row_read_handler_t row_read_handler, void *row_read_user_data)
Set the row read callback routine for an image translation context.
Definition: image_translate.c:658
int image_translate_get_output_length(image_translate_state_t *s)
Get the length of the image being produced by an image translation context.
Definition: image_translate.c:652
int image_translate_row(image_translate_state_t *s, uint8_t buf[], size_t len)
Get the next row of a translated image.
Definition: image_translate.c:612
int image_translate_get_output_width(image_translate_state_t *s)
Get the width of the image being produced by an image translation context.
Definition: image_translate.c:646
int image_translate_release(image_translate_state_t *s)
Release the resources associated with an image translation context.
Definition: image_translate.c:784
int image_translate_free(image_translate_state_t *s)
Free the resources associated with an image translation context.
Definition: image_translate.c:805
image_translate_state_t * image_translate_init(image_translate_state_t *s, int output_format, int output_width, int output_length, int input_format, int input_width, int input_length, t4_row_read_handler_t row_read_handler, void *row_read_user_data)
Initialise an image translation context for rescaling and squashing a gray scale or colour image to a...
Definition: image_translate.c:746
Definition: private/image_translate.h:32
int(* t4_row_read_handler_t)(void *user_data, uint8_t buf[], size_t len)
Definition: t4_tx.h:34