10#include <mpix/types.h>
int mpix_params_nb(enum mpix_op_type type)
Get the number of parameters that an operation accepts.
int mpix_pipeline_process(struct mpix_base_op *op, const uint8_t *buffer, size_t size)
Process a buffer into a pipeline.
int mpix_pipeline_add_array(struct mpix_image *img, int32_t array[], size_t size)
Append an array of integer into a pipeline operation.
int mpix_pipeline_alloc(struct mpix_base_op *first_op)
Allocate intermediate memory for all operations of a pipeline.
void mpix_pipeline_free(struct mpix_base_op *first_op)
Free the intermediate memory as well as operations of a pipeline.
int mpix_pipeline_run_once(struct mpix_base_op *op)
Run a pipeline of operation on a single input line.
int mpix_pipeline_add(struct mpix_image *img, enum mpix_op_type type, const int32_t *params, size_t params_nb)
Add an operation to an image.
int mpix_pipeline_run_loop(struct mpix_base_op *op)
Run a pipeline of operation until there is no more input to send.
int mpix_pipeline_set_palette(struct mpix_base_op *first_op, struct mpix_palette *palette)
Set an image palette for every palette-related elements of the pipeline.
mpix_op_type
MPIX operation type identifying an operation family.
Definition types.h:21
One step of a line operation pipeline.
Definition types.h:139
Represent the image currently being processed.
Definition types.h:164