Skip to main content

Module tc_validator

Module tc_validator 

Source
Expand description

Timecode validation rules and violation reporting.

This module provides structured validation of SMPTE timecodes against a configurable set of rules, producing typed violation reports rather than bare errors so callers can decide how to handle each issue.

Structs§

NonMonotonicDetector
Scans a timecode sequence and reports positions where the timecode does not advance monotonically by the expected one frame per step.
NonMonotonicEvent
A single non-monotonic event detected in a timecode sequence.
TcViolation
A validation violation: which rule failed and a human-readable message.
TimecodeValidator
Validates timecodes against a configurable set of rules.
ValidatorConfig
Configuration for TimecodeValidator.

Enums§

ValidationRule
A single validation rule that can be applied to a timecode.