Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
frame_store.h File Reference

Thread-safe home for camera frames: FrameSlots bookkeeping + fixed PSRAM buffers, allocated once. More...

#include <array>
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <freertos/FreeRTOS.h>
#include <freertos/semphr.h>
#include <freertos/task.h>
#include "frame_slots.h"

Go to the source code of this file.

Classes

struct  FrameStoreStats
 
class  FrameStore
 

Detailed Description

Thread-safe home for camera frames: FrameSlots bookkeeping + fixed PSRAM buffers, allocated once.

The mutex guards bookkeeping only - it is never held while copying pixels or sending on the network. Leases release through release_slot(), which takes the mutex, so never destroy a lease while holding it.