- 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:
1 parent
851c39d827
commit
52b42890d6
34 files changed
+2851
-364
No files matched your search
@@ -24,6 +24,9 @@ extern "C" fn c_font_bitmap(
|
||||
buf : Bytes,
|
||||
) = "mp_font_bitmap"
|
||||
|
||||
///|
|
||||
extern "C" fn c_font_has_glyph(slot : Int, cp : Int) -> Int = "mp_font_has_glyph"
|
||||
|
||||
///|
|
||||
fn utf8(s : String) -> Bytes {
|
||||
let out : Array[Byte] = []
|
||||
@@ -68,3 +71,8 @@ fn b_glyph(slot : Int, cp : Int, size : Int) -> RawGlyph {
|
||||
}
|
||||
{ w, h, xoff: info[2], yoff: info[3], advance: info[4], coverage: buf }
|
||||
}
|
||||
|
||||
///| Whether `slot` has a glyph for `cp` (not `.notdef`).
|
||||
fn b_has_glyph(slot : Int, cp : Int) -> Bool {
|
||||
c_font_has_glyph(slot, cp) != 0
|
||||
}
|
||||
Reference in new issue
Block a user