Blender
V4.5
source
blender
imbuf
opencolorio
OCIO_matrix.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_math_matrix_types.hh
"
8
9
namespace
blender::ocio
{
10
11
/* Standard XYZ (D65) to linear Rec.709 transform. */
12
static
const
float3x3
XYZ_TO_REC709
{{3.2404542f, -0.9692660f, 0.0556434f},
13
{-1.5371385f, 1.8760108f, -0.2040259f},
14
{-0.4985314f, 0.0415560f, 1.0572252f}};
15
16
/* Standard ACES to XYZ (D65) transform.
17
* Matches OpenColorIO builtin transform: UTILITY - ACES-AP0_to_CIE-XYZ-D65_BFD. */
18
static
const
float3x3
ACES_TO_XYZ
= {{0.938280f, 0.337369f, 0.001174f},
19
{-0.004451f, 0.729522f, -0.003711f},
20
{0.016628f, -0.066890f, 1.091595f}};
21
22
}
// namespace blender::ocio
BLI_math_matrix_types.hh
blender::ocio
Definition
BLF_api.hh:32
blender::ocio::ACES_TO_XYZ
static const float3x3 ACES_TO_XYZ
Definition
OCIO_matrix.hh:18
blender::ocio::XYZ_TO_REC709
static const float3x3 XYZ_TO_REC709
Definition
OCIO_matrix.hh:12
blender::float3x3
MatBase< float, 3, 3 > float3x3
Definition
BLI_math_matrix_types.hh:1008
Generated on
for Blender by
doxygen
1.15.0