![]() |
The open imaging DSP library
|
Represent the image currently being processed. More...
#include <image.h>
Data Fields | ||
struct { | ||
struct mpix_base_op * first | ||
struct mpix_base_op * last | ||
} | ops | |
uint8_t * | buffer | |
size_t | size | |
uint32_t | fourcc | |
uint16_t | width | |
uint16_t | height | |
int | err | |
uint8_t | flag_print_ops:1 | |
Represent the image currently being processed.
When adding operations to an image, the buffer is not converted yet.
The struct fields are meant to reflect the buffer after it got converted, so after adding operations, there might be a mismatch between the data format of the buffer and the .
uint8_t* mpix_image::buffer |
Input or output buffer used with the conversion
int mpix_image::err |
In case an error occurred, this is set to a matching error code
struct mpix_base_op* mpix_image::first |
First element of the list
uint8_t mpix_image::flag_print_ops |
Whether to print a report once the image conversion is complete
uint32_t mpix_image::fourcc |
Current pixel format of the image
uint16_t mpix_image::height |
Current height of the image
struct mpix_base_op* mpix_image::last |
Last element of of the list
struct { ... } mpix_image::ops |
Linked list of operations to be performed on this image
size_t mpix_image::size |
Size of the input or output buffer
uint16_t mpix_image::width |
Current width of the image