| 49 | |
| 50 | #[derive(Debug, Clone, Default)] |
| 51 | pub struct FrameMetadata { |
| 52 | pub actual_exposure_us: Option<u32>, // 实际曝光时间 |
| 53 | pub actual_gain_db: Option<f32>, // 实际增益 |
| 54 | pub trigger_fired: bool, // 是否由硬件触发产生 |
| 55 | pub strobe_active: bool, // 闪光灯是否点亮 |
| 56 | } |
| 57 | |
| 58 | /// GPU 互操作特质 (Linux) |
| 59 | /// 允许用户直接获取 DMA-BUF fd 喂给 CUDA/Vulkan |
nothing calls this directly
no outgoing calls
no test coverage detected