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

+24
View File
@@ -0,0 +1,24 @@
# SPDX-License-Identifier: CC0-1.0
%YAML 1.1
---
version: 1
algorithms:
- BlackLevel:
- Awb:
- Ccm:
ccms:
- ct: 3000
ccm: [ 1.38, -0.22, -0.16,
-0.28, 1.42, -0.14,
-0.03, -0.56, 1.59 ]
- ct: 4500
ccm: [ 1.40, -0.24, -0.16,
-0.24, 1.44, -0.20,
-0.03, -0.46, 1.49 ]
- ct: 6500
ccm: [ 1.44, -0.28, -0.16,
-0.21, 1.43, -0.22,
-0.05, -0.42, 1.47 ]
- Adjust:
- Agc:
...
+32
View File
@@ -0,0 +1,32 @@
# SPDX-License-Identifier: CC0-1.0
%YAML 1.1
---
version: 1
algorithms:
- BlackLevel:
- Awb:
- Ccm:
ccms:
- ct: 2890
ccm: [ 1.36754, -0.18448, -0.18306,
-0.32356, 1.44826, -0.12471,
-0.00412, -0.69936, 1.70348 ]
- ct: 3550
ccm: [ 1.42836, -0.27235, -0.15601,
-0.28751, 1.41075, -0.12325,
-0.01812, -0.54849, 1.56661 ]
- ct: 4500
ccm: [ 1.36328, -0.19569, -0.16759,
-0.25254, 1.52248, -0.26994,
-0.01575, -0.53155, 1.54729 ]
- ct: 5700
ccm: [ 1.49207, -0.37245, -0.11963,
-0.21493, 1.40005, -0.18512,
-0.03781, -0.38779, 1.42561 ]
- ct: 7900
ccm: [ 1.34849, -0.05425, -0.29424,
-0.22182, 1.77684, -0.55502,
-0.07403, -0.55336, 1.62739 ]
- Adjust:
- Agc:
...
+10
View File
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: CC0-1.0
%YAML 1.1
---
version: 1
algorithms:
- BlackLevel:
- Awb:
- Adjust:
- Agc:
...