diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2026-01-02 05:53:10 +0000 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2026-01-02 05:53:10 +0000 |
| commit | 62fce45039b0b8ab3d9d42b69a000fec00e1d35e (patch) | |
| tree | 84940c6d32c00e5a4b935e4da5b3cf95f1d1aca8 /hsm-cam/FFI/Cam.hpp | |
| parent | a0f0f6985e67ddbce929bf3da6832c443db5293d (diff) | |
Removes hsm-cam
Diffstat (limited to 'hsm-cam/FFI/Cam.hpp')
| -rw-r--r-- | hsm-cam/FFI/Cam.hpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/hsm-cam/FFI/Cam.hpp b/hsm-cam/FFI/Cam.hpp deleted file mode 100644 index eeea814..0000000 --- a/hsm-cam/FFI/Cam.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef CAM_HPP -#define CAM_HPP - -#define FRAME_WIDTH (800) -#define FRAME_HEIGHT (600) - -enum Severity -{ - Attention = 0, - Info = 1, - Trace = 2, -}; - -typedef void (*HsLogger)(enum Severity, const char *); -typedef void (*HsRequestCallback)(); - -#ifdef __cplusplus -extern "C" -{ -#endif - void register_logger(HsLogger hs_logger); - void register_request_callback(HsRequestCallback hs_request_callback); - void start_camera_manager(); - void stop_camera_manager(); - void acquire_camera(); - void release_camera(); - void allocate_frame_buffer(); - void free_frame_buffer(); - void start_camera(); - void stop_camera(); - void create_request(); - - int get_dma_buffer_fd(); - void request_frame(); -#ifdef __cplusplus -} -#endif - -#endif |
