Blender V5.0
BLI_colorspace.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#include "BLI_colorspace.hh"
10
11namespace blender {
12
13namespace colorspace {
14
15/* These are initialized in colormanagement.cc based on the OpenColorIO config,
16 * but until then default to Rec.709 scene linear. */
17
18float3 luma_coefficients(0.2126f, 0.7152f, 0.0722f);
19
23
32
33}; // namespace colorspace
34
35} // namespace blender
float3x3 rec2020_to_scene_linear
float3x3 acescg_to_scene_linear
float3x3 scene_linear_to_rec2020
float3x3 rec709_to_scene_linear
float3x3 scene_linear_to_rec709
float3x3 scene_linear_to_acescg
MatBase< float, 3, 3 > float3x3
VecBase< float, 3 > float3