The open imaging DSP library
Loading...
Searching...
No Matches
Data Fields
mpix_image Struct Reference

Represent the image currently being processed. More...

#include <image.h>

Collaboration diagram for mpix_image:
Collaboration graph
[legend]

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
 

Detailed Description

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 .

Field Documentation

◆ buffer

uint8_t* mpix_image::buffer

Input or output buffer used with the conversion

◆ err

int mpix_image::err

In case an error occurred, this is set to a matching error code

◆ first

struct mpix_base_op* mpix_image::first

First element of the list

◆ flag_print_ops

uint8_t mpix_image::flag_print_ops

Whether to print a report once the image conversion is complete

◆ fourcc

uint32_t mpix_image::fourcc

Current pixel format of the image

◆ height

uint16_t mpix_image::height

Current height of the image

◆ last

struct mpix_base_op* mpix_image::last

Last element of of the list

◆ [struct]

struct { ... } mpix_image::ops

Linked list of operations to be performed on this image

◆ size

size_t mpix_image::size

Size of the input or output buffer

◆ width

uint16_t mpix_image::width

Current width of the image


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