Blender V5.3
libocio_processor.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_string_ref.hh"
8
9#include "../opencolorio.hh"
10
11namespace blender::ocio {
12
13class LibOCIOConfig;
14
21OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor(
22 const OCIO_NAMESPACE::ConstConfigRcPtr &ocio_config,
23 StringRefNull from_colorspace,
24 StringRefNull to_colorspace);
25OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor_silent(
26 const OCIO_NAMESPACE::ConstConfigRcPtr &ocio_config,
27 StringRefNull from_colorspace,
28 StringRefNull to_colorspace);
29
35OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor_between_configs(
36 const OCIO_NAMESPACE::ConstConfigRcPtr &from_config,
37 StringRefNull from_colorspace,
38 const OCIO_NAMESPACE::ConstConfigRcPtr &to_config,
39 StringRefNull to_colorspace);
40
41} // namespace blender::ocio
OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor(const OCIO_NAMESPACE::ConstConfigRcPtr &ocio_config, const StringRefNull from_colorspace, const StringRefNull to_colorspace)
OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor_between_configs(const OCIO_NAMESPACE::ConstConfigRcPtr &from_config, const StringRefNull from_colorspace, const OCIO_NAMESPACE::ConstConfigRcPtr &to_config, const StringRefNull to_colorspace)
OCIO_NAMESPACE::ConstProcessorRcPtr create_ocio_processor_silent(const OCIO_NAMESPACE::ConstConfigRcPtr &ocio_config, const StringRefNull from_colorspace, const StringRefNull to_colorspace)