Camera: C ISP pipeline, contrast autofocus, and VFR video
CI / test (push) Canceled after 0s

- Add chandra-camera-isp.c (C/OpenMP) for Quad-Bayer unpack, CCM, and tone mapping, with a NumPy fallback when it is not built
- Add non-blocking contrast-detection VCM autofocus, with lens subdev discovery on the sensor's I2C bus
- Tune Quad-Bayer AE: a video-mode vblank cap, damped steps, and full analog gain before extending blanking
- Record variable-frame-rate video through a streaming Matroska muxer, and count dropped frames
- Ship libcamera IPA tuning files for imx376, imx519, and uncalibrated sensors
- Map camera buffers by fd and sync them with dma-buf ioctls
This commit is contained in:
nandi committed 2026-11-28 19:25:43 -08:00
1 parent 851c39d827
commit 52b42890d6
34 files changed
+2851 -364

No files matched your search

+8 -2
View File
@@ -404,12 +404,18 @@ pub fn build_breeze_decoration(
let label = if title.length() > 0 { title } else { app_id }
let char_w = if tokens.font_size >= 14 { 12 } else { 6 }
let max_chars = (min_x - 8 - 14) / char_w
let chars = label.to_array()
let shown = if max_chars < 3 {
""
} else if label.length() <= max_chars {
} else if chars.length() <= max_chars {
label
} else {
label[:max_chars - 2].to_string() + ".."
let sb = StringBuilder::new()
for i = 0; i < max_chars - 2; i = i + 1 {
sb.write_char(chars[i])
}
sb.write_string("..")
sb.to_string()
}
ops.push(
Text(14, title_h / 2, shown, tokens.font_size, title_fg, Left, focused),