Blender V5.3
libocio_scope.cc File Reference
#include <cmath>
#include <memory>
#include <mutex>
#include "libocio_view.hh"
#include "BLI_math_matrix.hh"
#include "BLI_string.hh"
#include "OCIO_matrix.hh"
#include "OCIO_scope.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ocio

Functions

static float blender::ocio::linear_to_srgb (const float linear)
static float blender::ocio::nits_to_scope_value (const float nits)

Variables

static constexpr float blender::ocio::SCOPE_SDR_IN_HDR_SCOPE = 0.75f
static constexpr float blender::ocio::SCOPE_HDR_MAX_NITS = 10000.0f
static constexpr float blender::ocio::SCOPE_SDR_WHITE_NITS = 100.0f
static constexpr float blender::ocio::SCOPE_MAX_LINEAR = SCOPE_HDR_MAX_NITS / SCOPE_SDR_WHITE_NITS
static constexpr float blender::ocio::SCOPE_SRGB_A = 1.055f
static constexpr float blender::ocio::SCOPE_SRGB_B = 0.055f
static constexpr float blender::ocio::SCOPE_SRGB_GAMMA = 2.4f
static constexpr float blender::ocio::SCOPE_HDR_B = 0.0368291f
static constexpr float blender::ocio::SCOPE_HDR_C = 0.8882908f
static constexpr float blender::ocio::SCOPE_HDR_D = 0.8307242f