Skip to main content

Module segment

Module segment 

Source
Expand description

Timeline segments — the ordered list that encodes trim, split, and speed, plus the project↔source frame arithmetic.

Structs§

TimelineSegment
One contiguous slice of the source recording, played at timescale.

Functions§

scale_div 🔒
round(n / scale) in frame space — the single contained cast site for the project↔source mapping.
scale_mul 🔒
round(n * scale) in frame space.

Type Aliases§

Frame
A zero-based frame index. Source frames (positions in the original recording) and project frames (positions on the edited timeline) are both Frame; field names and docs disambiguate which space a value lives in. Matches decode::VideoFrame::frame_index’s u64.