Blender V5.3
otio_resolve.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12
14#include "BLI_span.hh"
15#include "BLI_string_ref.hh"
16
17#include "opentimelineio/anyDictionary.h"
18
19namespace blender {
20struct Scene;
21struct Strip;
22} // namespace blender
23
24namespace blender::io::otio {
25using namespace opentimelineio::OPENTIMELINEIO_VERSION_NS;
26
38
45
47
52
53 ResolveUnits(const Scene &scene, const Strip &strip);
54
55 double to_blender(ResolveUnit unit) const;
57};
58
59AnyDictionary &ensure_dictionary(AnyDictionary &parent, const std::string &key);
60
61const char *resolve_blend_type(int64_t composite_mode);
62std::optional<int64_t> resolve_composite_mode(StringRef blend_type);
63
64} // namespace blender::io::otio
const char * resolve_blend_type(const int64_t composite_mode)
AnyDictionary & ensure_dictionary(AnyDictionary &parent, const std::string &key)
Span< ResolveNumber > resolve_numbers()
std::optional< int64_t > resolve_composite_mode(const StringRef blend_type)
BMesh Iterators.
__int64 int64_t
Definition BKE_text.h:90
VecBase< float, 2 > float2
@ Percent
Definition types.hh:74
ResolveUnits(const Scene &scene, const Strip &strip)
double to_blender(ResolveUnit unit) const