|
Blender V4.5
|
Namespaces | |
| namespace | internal |
Classes | |
| class | CPUProcessorCache |
| class | FallbackColorSpace |
| class | FallbackConfig |
| class | FallbackNOOPCPUProcessor |
| class | FallbackCustomCPUProcessor |
| class | FallbackDefaultDisplay |
| class | FallbackDefaultLook |
| class | FallbackDefaultView |
| class | FallbackGPUShaderBinder |
| class | FallbackProcessorCache |
| class | ColorSpace |
| struct | DisplayParameters |
| class | Config |
| class | CPUProcessor |
| class | Display |
| struct | GPUDisplayParameters |
| class | GPUShaderBinder |
| class | Look |
| class | PackedImage |
| struct | Version |
| class | View |
Enumerations | |
| enum class | BitDepth { BIT_DEPTH_UNKNOWN , BIT_DEPTH_F32 } |
Functions | |
| std::string | cleanup_description (const StringRef description) |
| TEST (ocio_description, cleanup_description) | |
| std::shared_ptr< const CPUProcessor > | create_fallback_display_cpu_processor (const Config &config, const DisplayParameters &display_parameters) |
| void | source_comment_out_uniforms (std::string &source) |
| TEST (ocio_source_processor, source_comment_out_uniforms) | |
| Version | get_version () |
| bool | split_view_specific_look (const StringRef look_name, StringRef &view, StringRef &ui_name) |
| TEST (ocio_view_look, split_view_specific_look) | |
| float3x3 | calculate_white_point_matrix (const Config &config, const float temperature, const float tint) |
Variables | |
| static const float3x3 | XYZ_TO_REC709 |
| static const float3x3 | ACES_TO_XYZ |
| using blender::ocio::FallbackLinearRGBToSRGBCPUProcessor = FallbackCustomCPUProcessor<linearrgb_to_srgb_v3_v3> |
Definition at line 123 of file fallback_cpu_processor.hh.
| using blender::ocio::FallbackSRGBToLinearRGBCPUProcessor = FallbackCustomCPUProcessor<srgb_to_linearrgb_v3_v3> |
Definition at line 124 of file fallback_cpu_processor.hh.
|
strong |
| Enumerator | |
|---|---|
| BIT_DEPTH_UNKNOWN | |
| BIT_DEPTH_F32 | |
Definition at line 17 of file OCIO_packed_image.hh.
| float3x3 blender::ocio::calculate_white_point_matrix | ( | const Config & | config, |
| const float | temperature, | ||
| const float | tint ) |
Definition at line 14 of file white_point.cc.
References blender::math::chromatic_adaption_matrix(), blender::ocio::Config::get_xyz_to_scene_linear_matrix(), blender::math::invert(), and blender::math::whitepoint_from_temp_tint().
Referenced by create_fallback_display_cpu_processor().
| std::string blender::ocio::cleanup_description | ( | StringRef | description | ) |
Cleanup description making it possible to easily show in the interface as a tooltip.
This includes:
Definition at line 11 of file description.cc.
References ELEM, blender::StringRefBase::is_empty(), result, and blender::StringRefBase::trim().
Referenced by TEST().
| std::shared_ptr< const CPUProcessor > blender::ocio::create_fallback_display_cpu_processor | ( | const Config & | config, |
| const DisplayParameters & | display_parameters ) |
Definition at line 177 of file fallback_display_cpu_processor.cc.
References calculate_white_point_matrix(), blender::ocio::DisplayParameters::display, ELEM, blender::ocio::DisplayParameters::exponent, blender::ocio::DisplayParameters::from_colorspace, blender::MatBase< float, 3, 3 >::identity(), blender::ocio::DisplayParameters::inverse, blender::math::invert(), blender::ocio::DisplayParameters::look, blender::ocio::DisplayParameters::scale, blender::ocio::DisplayParameters::temperature, blender::ocio::DisplayParameters::tint, blender::ocio::DisplayParameters::use_white_balance, and blender::ocio::DisplayParameters::view.
Referenced by blender::ocio::FallbackConfig::get_display_cpu_processor().
| Version blender::ocio::get_version | ( | ) |
Get OpenColorIO library version. When compiled without OpenColorIO library returns {0, 0, 0}.
Definition at line 11 of file version.cc.
Referenced by make_ocio_info().
| void blender::ocio::source_comment_out_uniforms | ( | std::string & | source | ) |
Comment out all uniform statements. This avoids double declarations from the backend. This function modifies source in-place without adding extra characters. This means that statement like uniform vec3 pos; becomes //iform vec3 pos;.
Definition at line 9 of file source_processor.cc.
Referenced by TEST().
| bool blender::ocio::split_view_specific_look | ( | StringRef | look_name, |
| StringRef & | view, | ||
| StringRef & | ui_name ) |
Split the view-specific look name to a view name and look name for the interface.
Look is considered to be view-specific when it contains dash in its name. In this case the part of the look name is considered to be the name of the view the look is specific to.
If the look is not view-specific view is an empty string and ui name is the look name.
Returns true if the look name is view-specific.
Definition at line 9 of file view_specific_look.cc.
References blender::StringRefBase::find(), blender::StringRefBase::substr(), and view.
Referenced by TEST().
| blender::ocio::TEST | ( | ocio_description | , |
| cleanup_description | ) |
Definition at line 11 of file description_test.cc.
References cleanup_description(), and EXPECT_EQ().
| blender::ocio::TEST | ( | ocio_source_processor | , |
| source_comment_out_uniforms | ) |
Definition at line 11 of file source_processor_test.cc.
References EXPECT_EQ(), and source_comment_out_uniforms().
| blender::ocio::TEST | ( | ocio_view_look | , |
| split_view_specific_look | ) |
Definition at line 11 of file view_specific_look_test.cc.
References EXPECT_EQ(), split_view_specific_look(), and view.
|
static |
Definition at line 18 of file OCIO_matrix.hh.
Referenced by colormanage_load_config().
|
static |
Definition at line 12 of file OCIO_matrix.hh.
Referenced by colormanage_load_config(), and blender::ocio::FallbackConfig::get_xyz_to_scene_linear_matrix().