Expand description
Deterministic test helpers for PixelFlow filters, plugins, and embedders.
Helpers here avoid external media files by constructing frames and graph sources fully in memory.
Structs§
- Golden
Tolerance - Absolute per-sample tolerance for deterministic golden-frame comparisons.
- Synthetic
Clip - Renderable in-memory synthetic clip plus its executor map.
- Trace
Event - One scheduler trace event.
- Trace
Gate - Deterministic gate used to force one frame to finish after another starts.
- Trace
Passthrough Filter - Passthrough filter that records dependency requests and commit ordering.
- Trace
Recorder - Thread-safe recorder for scheduler trace events.
- Trace
Source - Source executor that records prepare ordering and tags frame metadata.
Enums§
- Trace
Event Kind - Kind of scheduler event recorded by trace executors.
Constants§
- EXACT_
GOLDEN_ TOLERANCE - Exact comparison tolerance for structural filters such as crop and trim.
Functions§
- assert_
frame_ f32_ near - Asserts all
f32planes match expected rows within tolerance. - assert_
frame_ u8_ near - Asserts all
u8planes match expected rows within tolerance. - assert_
frame_ u16_ near - Asserts all
u16planes match expected rows within tolerance. - assert_
plane_ f32_ near - Asserts one
f32plane matches expected rows within tolerance. - assert_
plane_ u8_ near - Asserts one
u8plane matches expected rows within tolerance. - assert_
plane_ u16_ near - Asserts one
u16plane matches expected rows within tolerance. - fixed_
media - Creates fixed media with deterministic test defaults.
- synthetic_
clip_ from_ frames - Builds graph source backed by in-memory frames.
- synthetic_
f32_ frame - Builds one synthetic frame with
f32storage using per-plane coordinates. - synthetic_
u8_ frame - Builds one synthetic frame with
u8storage using per-plane coordinates. - synthetic_
u16_ frame - Builds one synthetic frame with
u16storage using per-plane coordinates.