M7/M8 (part 1): tsc-media frames, conversion and video codecs
New crate tsc-media: - VideoFrame (I420, NV12, BGRA, RGBA with strides) and AudioBuffer (interleaved f32, 48 kHz) - YUV <-> RGB conversion with yuvutils-rs (BT.601 limited range), RGBA output for Slint pixel buffers, PSNR helper - Bounded drop-oldest frame channel with async and blocking receive - VideoEncoder / VideoDecoder traits, Codec (VP8, VP9, H.264, AV1) with an optional str0m mapping, codec preference (viewer VP9 > VP8 > AV1 > H.264, streamer hardware > VP8 > OpenH264 > VP9) and backend selection - libvpx VP8/VP9 encoder and decoder over libvpx-native-sys (small unsafe wrapper: realtime CBR, cpu-used 8, error resilient, screen content, runtime bitrate changes) - H.264 through Cisco's OpenH264 loaded at runtime (hash-checked), with an HTTPS + SHA-256 download helper - AV1 decoding through dav1d (feature av1) - Hardware encoder factory trait with VA-API / Media Foundation stubs deny.toml: allow the bzip2-1.0.6 license (pure Rust bzip2 used to unpack the OpenH264 download). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
0b1aa5664e
commit
3ec9d6611c
14 files changed
+2923
-1
No files matched your search
@@ -34,6 +34,9 @@ allow = [
|
||||
# use the royalty-free license, which requires the attribution shown in the
|
||||
# app's About page and the README.
|
||||
"LicenseRef-Slint-Royalty-free-2.0",
|
||||
# Permissive BSD-style license of bzip2, kept by its pure Rust port
|
||||
# (libbz2-rs-sys), which tsc-media uses to unpack Cisco's OpenH264 download.
|
||||
"bzip2-1.0.6",
|
||||
]
|
||||
confidence-threshold = 0.9
|
||||
|
||||
|
||||
Reference in new issue
Block a user