![]() |
The open imaging DSP library
|
One step of a line operation pipeline. More...
#include <types.h>

Data Fields | |
| struct mpix_base_op * | next |
| enum mpix_op_type | type |
| struct mpix_format | fmt |
| uint16_t | line_offset |
| struct mpix_ring | ring |
| uint32_t | start_time_us |
| uint32_t | total_time_us |
One step of a line operation pipeline.
mpix_base_op structs are chained together into a linked list. Each step of the linked list contain a ring buffer for the input data, and a pointer to a conversion function processing it. Along with extra metadata, this is used to process data as a operation of lines.
| struct mpix_format mpix_base_op::fmt |
Input format of the operation: fourcc and resolution
| uint16_t mpix_base_op::line_offset |
Current position within the frame
| struct mpix_base_op* mpix_base_op::next |
Linked-list entry
| struct mpix_ring mpix_base_op::ring |
Ring buffer with the input data to process
| uint32_t mpix_base_op::start_time_us |
Timestamp since the op started working in CPU cycles
| uint32_t mpix_base_op::total_time_us |
Total time spent working in this op through the operation in CPU cycles
| enum mpix_op_type mpix_base_op::type |
Type of the operation for selecting what function to run