You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
504 B

7 months ago
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
int uds_server_start(const char* sock_path);
void uds_server_stop (const char* sock_path);
int uds_send_frame(int ch, const void* frame_ptr,
uint32_t w, uint32_t h, uint32_t stride,
uint32_t pixfmt, uint64_t ts_ns);
int uds_send_dets_min(int ch, uint32_t seq, uint64_t ts_ns,
const void* items /*uds_det_entry_t[]*/, uint32_t count);
#ifdef __cplusplus
}
#endif