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
309 B
20 lines
309 B
2 years ago
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include <cstddef>
|
||
|
|
||
|
constexpr int VISIONIPC_MAX_FDS = 128;
|
||
|
|
||
|
struct VisionIpcBufExtra {
|
||
|
uint32_t frame_id;
|
||
|
uint64_t timestamp_sof;
|
||
|
uint64_t timestamp_eof;
|
||
|
bool valid;
|
||
|
};
|
||
|
|
||
|
struct VisionIpcPacket {
|
||
|
uint64_t server_id;
|
||
|
size_t idx;
|
||
|
struct VisionIpcBufExtra extra;
|
||
|
};
|