Expand description
Shared media frames, events, errors and renderer-host contracts. Video playback, camera capture and QR recognition are separate crates.
Modules§
- frames
- Shared producer frames. Native storage is immutable while leased; GPU reads retain leases through actual completion, independently of UI/job lifetimes.
Structs§
- Media
Error - Media
Event - UI-thread event with reentrant delivery and deterministic subscription Drop.
- Media
Subscription - Dropping it removes the handler.
- Renderer
Viewport - Texture
Renderer Host
Enums§
Traits§
Functions§
- allocate_
source_ id - Allocates one process-unique framework source identity. Generation and frame sequence remain local to that source. Native clients may use this for hosts.
- project_
frame_ point - Projects a QR/source corner through the same crop/orientation and planar client matrix as the sampled frame. Non-planar mapping stays client-owned.
- project_
texture_ point - Projects a planar texture corner with a client-supplied column-major matrix. Points on/behind the viewing plane and non-finite inputs are rejected.