feat: integrate DVR, live optical tuning and ARM64 tooling into modern GPUI Control Center

- Modern GPUI (src/gui_gpui.rs): Added 1-click DVR quick action button in header with live recording time/size, DVR status badge, reactive snapshots, live optical parameter tuning in Settings, and dedicated DVR settings card (MKV/MP4, StreamCopy/Composited).
- Engine & DVR (src/engine.rs, src/dvr.rs, src/video_usb.rs): Integrated DVR recorder lifecycle with GStreamer supervisor probe for zero-CPU stream copy and hardware/composited OSD recording, dynamic optical updates without pipeline restarts.
- Classic GUI fallback (src/gui.rs): Added DVR quick toggle, live optical slider callbacks, and full DVR settings section in egui.
- OSD & Math optimizations: Zero-alloc stack formatting in src/telemetry_osd.rs, compile-time CRC8 table in src/nomad_elrs.rs, buffered file logger in src/logger.rs.
- Steam Frame ARM64 scripts: udev rule scripts/99-radxa-vrx-rndis.rules, build & deployment tools scripts/build_steamframe_arm64.sh, scripts/deploy_to_steamframe.sh.
This commit is contained in:
bleackstorm committed 2026-11-07 01:17:23 +01:00
1 parent d5cc72750e
commit 7bee072e21
16 files changed
+1397 -75

No files matched your search

+15
View File
@@ -32,6 +32,9 @@ impl ProjectionMode {
pub struct DomeWarpLut {
pub width: u32,
pub height: u32,
pub fov_deg: f32,
pub k1: f32,
pub k2: f32,
pub src_pixel_offsets: Vec<u32>,
pub enabled: bool,
}
@@ -71,11 +74,23 @@ impl DomeWarpLut {
Self {
width,
height,
fov_deg,
k1,
k2,
src_pixel_offsets,
enabled,
}
}
/// Vérifie rapidement si la table courante correspond déjà aux paramètres optiques demandés
pub fn matches_params(&self, width: u32, height: u32, fov_deg: f32, k1: f32, k2: f32) -> bool {
self.width == width
&& self.height == height
&& (self.fov_deg - fov_deg).abs() < 1e-4
&& (self.k1 - k1).abs() < 1e-4
&& (self.k2 - k2).abs() < 1e-4
}
#[inline]
pub fn apply(&self, input_rgba: &[u8], output_rgba: &mut [u8]) {
let total_pixels = (self.width * self.height) as usize;