|
Blender V5.3
|
#include <colorspace.h>
Static Public Member Functions | |
| static ustring | detect_known_colorspace (ustring colorspace, const char *file_colorspace, const char *file_format, bool is_float) |
| static bool | colorspace_is_data (ustring colorspace) |
| static const char * | colorspace_interop_id (ustring colorspace) |
| template<typename T> | |
| static void | to_scene_linear (ustring colorspace, T *pixels, const int64_t width, const int64_t height, const int64_t y_stride, bool is_rgba, bool compress_as_srgb, bool ignore_alpha) |
| static void | free_memory () |
| static void | init_fallback_config () |
| static Transform | get_xyz_to_scene_linear_rgb () |
| static Transform | get_xyz_to_rec709 () |
| static Transform | get_xyz_to_rec2020 () |
| static Transform | get_xyz_to_acescg () |
| static string | get_xyz_to_scene_linear_rgb_string () |
| static const char * | get_scene_linear_interop_id (const bool srgb_encoded=false) |
Definition at line 26 of file util/colorspace.h.
|
static |
Definition at line 217 of file colorspace.cpp.
References get_scene_linear_interop_id(), string_iequals(), u_colorspace_auto, u_colorspace_data, u_colorspace_scene_linear, u_colorspace_scene_linear_srgb, and u_colorspace_srgb.
Referenced by make_tx().
|
static |
Definition at line 180 of file colorspace.cpp.
References LOG_WARNING, u_colorspace_auto, u_colorspace_data, u_colorspace_scene_linear, u_colorspace_scene_linear_srgb, and u_colorspace_srgb.
Referenced by detect_known_colorspace(), ImageMetaData::finalize(), make_tx_get_file_colorspace(), and unique_filename_tx().
|
static |
Definition at line 298 of file colorspace.cpp.
References colorspace_is_data(), get_scene_linear_interop_id(), LOG_DEBUG, LOG_WARNING, u_colorspace_auto, u_colorspace_data, u_colorspace_scene_linear, u_colorspace_scene_linear_srgb, and u_colorspace_srgb.
Referenced by ImageMetaData::finalize(), and OIIOOutputDriver::write_render_tile().
|
static |
Definition at line 724 of file colorspace.cpp.
Referenced by exit_func().
|
static |
Definition at line 916 of file colorspace.cpp.
References get_xyz_to_acescg(), get_xyz_to_rec2020(), get_xyz_to_rec709(), get_xyz_to_scene_linear_rgb(), transform_equal_threshold(), and xyz_to_rgb().
Referenced by colorspace_interop_id(), detect_known_colorspace(), ShaderManager::init_xyz_transforms(), and scene_linear_interop_id().
|
static |
Definition at line 808 of file colorspace.cpp.
References make_transform(), and transform_inverse().
Referenced by get_scene_linear_interop_id().
|
static |
Definition at line 792 of file colorspace.cpp.
References make_transform().
Referenced by get_scene_linear_interop_id().
|
static |
Definition at line 771 of file colorspace.cpp.
References make_transform().
Referenced by get_scene_linear_interop_id(), get_xyz_to_scene_linear_rgb(), and ShaderManager::init_xyz_transforms().
|
static |
Definition at line 824 of file colorspace.cpp.
References get_xyz_to_rec709(), LOG_WARNING, make_transform(), transform_inverse(), and xyz_to_rgb().
Referenced by get_scene_linear_interop_id(), get_xyz_to_scene_linear_rgb_string(), and ShaderManager::init_xyz_transforms().
|
static |
Definition at line 882 of file colorspace.cpp.
References cache_xyz_to_scene_linear_hash, cache_xyz_to_scene_linear_mutex, get_xyz_to_scene_linear_rgb(), string_printf(), and xyz_to_rgb().
Referenced by make_tx(), and unique_filename_tx().
|
static |
Definition at line 733 of file colorspace.cpp.
Referenced by RenderGraph::SetUp().
|
static |
Definition at line 676 of file colorspace.cpp.
References T, and u_colorspace_srgb.
Referenced by conform_pixels_to_metadata_type(), and ImageMetaData::finalize().