Expand description
Timecode range operations for defining and manipulating spans of timecode.
Provides TcRange for representing a contiguous span of timecode values,
with support for iteration, containment checks, overlap detection,
splitting, and merging.
Structs§
- Split
Result - Result of splitting a range at a given timecode.
- TcRange
- A contiguous range of timecodes defined by an inclusive start and exclusive end.
Enums§
- Overlap
Kind - Describes the overlap relationship between two ranges.
Functions§
- merge_
ranges - Merges a list of potentially overlapping ranges into a sorted, non-overlapping set.
- total_
coverage - Computes the total number of frames covered by a set of ranges (after merging).