![]() |
The open imaging DSP library
|
Ring buffer of pixels. More...
#include <types.h>
Data Fields | |
| uint8_t * | buffer |
| size_t | size |
| size_t | head |
| size_t | tail |
| size_t | peek |
| enum mpix_mem_source | mem_source |
| uint8_t | full: 1 |
Ring buffer of pixels.
Store the data betwen a previous operation and the next operation.
| uint8_t* mpix_ring::buffer |
Pointer to the buffer that stores the data
| uint8_t mpix_ring::full |
Flag to tell apart between full and empty when head == tail
| size_t mpix_ring::head |
Position of the writing head where data is inserted
| enum mpix_mem_source mpix_ring::mem_source |
Memory source of allocated buffer
| size_t mpix_ring::peek |
Position of the peeking tail where data is read ahead of the tail
| size_t mpix_ring::size |
Total size of the buffer
| size_t mpix_ring::tail |
Position of the reading tail where data is read and removed