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

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
 

Detailed Description

Ring buffer of pixels.

Store the data betwen a previous operation and the next operation.

Field Documentation

◆ buffer

uint8_t* mpix_ring::buffer

Pointer to the buffer that stores the data

◆ full

uint8_t mpix_ring::full

Flag to tell apart between full and empty when head == tail

◆ head

size_t mpix_ring::head

Position of the writing head where data is inserted

◆ mem_source

enum mpix_mem_source mpix_ring::mem_source

Memory source of allocated buffer

◆ peek

size_t mpix_ring::peek

Position of the peeking tail where data is read ahead of the tail

◆ size

size_t mpix_ring::size

Total size of the buffer

◆ tail

size_t mpix_ring::tail

Position of the reading tail where data is read and removed


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