H A D | timecode.c | 52 const size_t maxncpy, in BLI_timecode_string_from_time() argument 115 str, maxncpy, "%s%02d:%02d+%02d", neg, minutes, seconds, frames); in BLI_timecode_string_from_time() 118 rlen = BLI_snprintf_rlen(str, maxncpy, "%s%d+%02d", neg, seconds, frames); in BLI_timecode_string_from_time() 127 rlen = BLI_snprintf_rlen(str, maxncpy, "%s%02d:%02d", neg, minutes, seconds); in BLI_timecode_string_from_time() 182 rlen = BLI_snprintf_rlen(str, maxncpy, "%d", round_fl_to_int(time_seconds)); in BLI_timecode_string_from_time() 207 const size_t maxncpy, in BLI_timecode_string_from_time_simple() argument 219 rlen = BLI_snprintf(str, maxncpy, "%.2d:%.2d:%.2d.%.2d", hr, min, sec, hun); in BLI_timecode_string_from_time_simple() 222 rlen = BLI_snprintf(str, maxncpy, "%.2d:%.2d.%.2d", min, sec, hun); in BLI_timecode_string_from_time_simple() 241 const size_t maxncpy, in BLI_timecode_string_from_time_seconds() argument 249 rlen = BLI_snprintf_rlen(str, maxncpy, "%.*f", 1 - brevity_level, time_seconds); in BLI_timecode_string_from_time_seconds() [all …]
|