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
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "chandra/desktop/compositor/renderer"
|
|
|
|
import {
|
|
"chandra/desktop/compositor/scene",
|
|
}
|
|
|
|
// Values
|
|
pub fn add_image(Pixmap) -> UInt32
|
|
|
|
pub fn blit_shm_surface(Pixmap, @scene.ShmBufferSnapshot, @scene.Rect) -> Unit
|
|
|
|
pub fn decode_png(Bytes) -> Pixmap?
|
|
|
|
pub fn draw_ops(Pixmap, Array[@scene.DrawOp], Int32, Int32) -> Unit
|
|
|
|
pub fn encode_png(Pixmap) -> Bytes
|
|
|
|
pub fn encode_png_compressed(Pixmap) -> Bytes
|
|
|
|
pub fn encode_ppm(Pixmap) -> Bytes
|
|
|
|
pub fn inline_emoji_px(Int32) -> Int32
|
|
|
|
pub fn render_scene(@scene.SceneGraph) -> Pixmap
|
|
|
|
pub fn scale_pixmap(Pixmap, Int32, Int32) -> Pixmap
|
|
|
|
pub fn set_emoji_source((Array[Char], Int32, Bool, Bool) -> (Int32, String)?, (String, Int32) -> UInt32) -> Unit
|
|
|
|
pub fn set_glyph_source((Int32, Int32, Bool, Bool) -> Glyph) -> Unit
|
|
|
|
pub fn set_image(UInt32, Pixmap) -> UInt32
|
|
|
|
pub fn shm_thumbnail(@scene.ShmBufferSnapshot, Int32, Int32) -> Pixmap?
|
|
|
|
pub fn text_width(String, Int32, Bool, Bool) -> Int32
|
|
|
|
pub fn zlib_compress(FixedArray[Byte]) -> Array[Byte]
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
pub(all) struct Glyph {
|
|
w : Int32
|
|
h : Int32
|
|
xoff : Int32
|
|
yoff : Int32
|
|
advance : Int32
|
|
coverage : Bytes
|
|
embolden : Bool
|
|
}
|
|
|
|
pub(all) struct Pixmap {
|
|
width : Int32
|
|
height : Int32
|
|
data : FixedArray[Byte]
|
|
}
|
|
pub fn Pixmap::new(Int32, Int32) -> Self
|
|
pub fn Pixmap::pixel(Self, Int32, Int32) -> @scene.Rgba?
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|