5.3.2.10. Struct RoIs_history_t

5.3.2.10.1. Struct Documentation

struct RoIs_history_t

History of the previous RoI features. This structure allows to access RoI in the past frames. RoIs at \(t\) are stored in the first array element while RoIs at \(t-\texttt{\_size}\) are store in the \(\texttt{\_size} - 1\) element. The memory layout is a Structure of Arrays (SoA), each field is an array of _max_size capacity (except for _max_size itself and _size fields that are both scalar values).

Public Members

RoI_t **array

2D array of RoIs, the first dimension is the time and the second dimension is the RoIs at a given time.

motion_t *motion

Array of motion estimations.

uint32_t *n_RoIs

Array of numbers of RoIs.

uint32_t _max_n_RoIs

Maximum number of RoIs.

size_t _size

Current size/utilization of the fields.

size_t _max_size

Maximum capacity of data that can be contained in the fields.