Blender V4.3
BLI_timecode.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11#include "BLI_compiler_attrs.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
30 size_t maxncpy,
31 int brevity_level,
32 float time_seconds,
33 double fps,
34 short timecode_style) ATTR_NONNULL();
35
44size_t BLI_timecode_string_from_time_simple(char *str, size_t maxncpy, double time_seconds)
46
60 size_t maxncpy,
61 int brevity_level,
62 float time_seconds) ATTR_NONNULL();
63
64#ifdef __cplusplus
65}
66#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:171
size_t BLI_timecode_string_from_time_seconds(char *str, size_t maxncpy, int brevity_level, float time_seconds) ATTR_NONNULL()
Definition timecode.c:193
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:23
#define str(s)