Function spdl::core::to_rational¶ Defined in File rational_utils.h Function Documentation¶ Rational spdl::core::to_rational(int64_t val, const Rational time_base)¶ Convert an integer value to rational using a time base. Parameters: val – Integer value (typically a timestamp). time_base – Time base for conversion. Returns: Rational representation.