Blender  V3.3
BLI_timecode.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2008 Blender Foundation. All rights reserved. */
3 
4 #pragma once
5 
10 #include "BLI_compiler_attrs.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
29  size_t maxncpy,
30  int brevity_level,
31  float time_seconds,
32  double fps,
33  short timecode_style) ATTR_NONNULL();
34 
43 size_t BLI_timecode_string_from_time_simple(char *str, size_t maxncpy, double time_seconds)
44  ATTR_NONNULL();
45 
59  size_t maxncpy,
60  int brevity_level,
61  float time_seconds) ATTR_NONNULL();
62 
63 #ifdef __cplusplus
64 }
65 #endif
#define ATTR_NONNULL(...)
size_t BLI_timecode_string_from_time_simple(char *str, size_t maxncpy, double time_seconds) ATTR_NONNULL()
Definition: timecode.c:169
size_t BLI_timecode_string_from_time_seconds(char *str, size_t maxncpy, int brevity_level, float time_seconds) ATTR_NONNULL()
Definition: timecode.c:191
size_t BLI_timecode_string_from_time(char *str, size_t maxncpy, int brevity_level, float time_seconds, double fps, short timecode_style) ATTR_NONNULL()
Definition: timecode.c:22
#define str(s)