30 OCIO_NAMESPACE::ConstConfigRcPtr ocio_config_;
117 explicit LibOCIOConfig(
const OCIO_NAMESPACE::ConstConfigRcPtr &ocio_config);
119 void reinitialize(LibOCIOConfig &new_config);
123 void initialize_active_color_spaces(
Set<StringRef> &primary_interop_ids);
124 void initialize_sorted_color_space_index();
125 void initialize_inactive_color_spaces(
Set<StringRef> &primary_interop_ids);
126 void initialize_hdr_color_spaces(
Set<StringRef> &primary_interop_ids);
127 void initialize_looks();
128 void initialize_displays();
131 void reuse_color_spaces(
Vector<std::unique_ptr<LibOCIOColorSpace>> &new_color_spaces,
132 Vector<std::unique_ptr<LibOCIOColorSpace>> &color_spaces,
135 bool has_color_space_name(
const char *name)
const;
Read Blender memory allocation and freeing.
const ColorSpace * get_color_space_for_hdr_image(StringRefNull name) const override
const Display * get_display_by_name(StringRefNull name) const override
int get_num_looks() const override
std::shared_ptr< const CPUProcessor > get_display_cpu_processor(const DisplayParameters &display_parameters) const override
void set_scene_linear_role(StringRefNull name) override
int get_num_all_color_spaces() const override
int get_num_active_color_spaces() const override
float3 get_default_luma_coefs() const override
int get_num_displays() const override
float3x3 get_xyz_to_scene_linear_matrix() const override
std::shared_ptr< const CPUProcessor > get_cpu_processor(StringRefNull from_colorspace, StringRefNull to_colorspace) const override
const char * get_color_space_from_filepath(const char *filepath) const override
const Display * get_display_by_index(int index) const override
bool switch_to(Config &new_config, FunctionRef< bool(const Config &)> validate) override
static std::unique_ptr< Config > create_from_environment()
const Look * get_look_by_index(int index) const override
const ColorSpace * get_display_view_color_space(StringRefNull display, StringRefNull view) const override
static std::unique_ptr< Config > create_fallback()
bool switch_to_from_environment(FunctionRef< bool(const Config &)> validate) override
~LibOCIOConfig() override
const ColorSpace * get_sorted_color_space_by_index(int index) const override
const ColorSpace * get_color_space(StringRefNull name) const override
const ColorSpace * get_color_space_by_interop_id(StringRefNull interop_id) const override
const ColorSpace * get_color_space_by_index(int index) const override
const GPUShaderBinder & get_gpu_shader_binder() const override
const Look * get_look_by_name(StringRefNull name) const override
const OCIO_NAMESPACE::ConstConfigRcPtr & get_ocio_config() const
bool is_role(StringRefNull name) const override
const Display * get_default_display() const override
MEM_CXX_CLASS_ALLOC_FUNCS("LibOCIOConfig")
MatBase< float, 3, 3 > float3x3
VecBase< float, 3 > float3