Blender V5.3
IMB_colormanagement_intern.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12#include <string>
13
14namespace blender {
15
16namespace ocio {
17class ColorSpace;
18class CPUProcessor;
19} // namespace ocio
20
22
23struct ImBuf;
24struct Main;
25enum class ColorManagedFileOutput;
26
27#define MAX_COLORSPACE_NAME 64
28
29/* ** Initialization / De-initialization ** */
30
33
34void colormanage_environment_setup_for_test(std::optional<std::string> blender_ocio_env,
35 std::optional<std::string> ocio_env);
36
37bool colormanage_config_reload(Main *bmain);
38
39const ColorSpace *colormanage_colorspace_get_named(const char *name);
41
43void colormanage_imbuf_make_linear(ImBuf *ibuf,
44 const char *from_colorspace,
46
47} // namespace blender
#define output
BMesh Iterators.
void colormanage_imbuf_make_linear(ImBuf *ibuf, const char *from_colorspace, const ColorManagedFileOutput output)
void colormanage_environment_setup_for_test(std::optional< std::string > blender_ocio_env, std::optional< std::string > ocio_env)
void colormanagement_init()
bool colormanage_config_reload(Main *bmain)
const ColorSpace * colormanage_colorspace_get_roled(const int role)
const ColorSpace * colormanage_colorspace_get_named(const char *name)
void colormanagement_exit()
void colormanage_imbuf_set_default_spaces(ImBuf *ibuf)
ocio::ColorSpace ColorSpace
Definition BLF_api.hh:42