- Decode half-size frames at 24 fps (15 on the raw front camera) for the viewfinder; full frames only for photos, video, focusing and QR scans - Swap channels with OpenCV instead of numpy; 2 OpenCV threads for live frames; OpenMP threads sleep when idle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f5a252e063
commit
019c9ada6c
3 files changed
+138
-25
No files matched your search
@@ -60,6 +60,7 @@ Chandra includes KMS/libinput/compositor adaptations tailored for mainline Linux
|
||||
## Camera App (`chandra-camera`)
|
||||
|
||||
- [`camera/chandra-camera`](../camera/chandra-camera), [`camera/chandra-camera-ui.c`](../camera/chandra-camera-ui.c), and [`camera/chandra-camera-isp.c`](../camera/chandra-camera-isp.c) provide a native GTK3/Cairo Wayland camera app with a C/OpenMP Quad-Bayer ISP library (`libchandra-camera-isp.so`) installed via [`session/install.py`](../session/install.py) with its desktop launcher and icon (`Camera`).
|
||||
- **Heat:** the viewfinder decodes half-size frames at 24 fps (15 on the raw front camera); photos, video, focusing and QR scans take full frames (`CameraEngine.grab_full_frame`).
|
||||
- **QR scanner:** in photo mode the camera reads QR codes with OpenCV's own detectors about twice a second (the **QR** pill turns it off). A card shows the text with **Open** (web links), **Join** (WPA and open `WIFI:` codes, through NetworkManager) and **Copy**; nothing is opened or joined before a tap.
|
||||
- Supports multi-sensor `libcamera` discovery and live switching (`Back · imx519`, `Front · imx371`, `Back 2 · imx376` on OnePlus 6T, with automatic V4L2 fallback on desktops), sensor orientation transform + front-camera mirror preview, `libcamera` SoftISP CCM tuning (`camera/ipa/simple/*.yaml`), VCM contrast autofocus with tap-to-focus (`lc898217xc`), Photo mode (`HD` instant / `Full` high-resolution `StillCapture` or 3-frame raw burst merge on Quad-Bayer, `0`/`3s`/`10s` self-timer, 3×3 rule-of-thirds grid) saving JPEGs to `~/Pictures/Camera`, Video mode recording exact-PTS VFR H.264 MP4s (`MatroskaI420Muxer` + `ffmpeg`) to `~/Videos/Camera`, an in-app photo gallery viewer, rear flash/torch LED control (`/sys/class/leds/white:flash`) through `org.freedesktop.login1.Session.SetBrightness`, and hardware volume-button or `Space`/`Return` shutter control.
|
||||
|
||||
|
||||
Reference in new issue
Block a user