Blender
V3.3
|
#include <colorspace.h>
Static Public Member Functions | |
static ustring | detect_known_colorspace (ustring colorspace, const char *file_format, bool is_float) |
static bool | colorspace_is_data (ustring colorspace) |
template<typename T > | |
static void | to_scene_linear (ustring colorspace, T *pixels, size_t num_pixels, bool is_rgba, bool compress_as_srgb) |
static ColorSpaceProcessor * | get_processor (ustring colorspace) |
static void | to_scene_linear (ColorSpaceProcessor *processor, float *pixel, int channels) |
static void | free_memory () |
Definition at line 18 of file colorspace.h.
|
static |
Definition at line 72 of file colorspace.cpp.
References u_colorspace_auto, u_colorspace_raw(), and u_colorspace_srgb().
Referenced by image_associate_alpha().
|
static |
Definition at line 97 of file colorspace.cpp.
References get_processor(), u_colorspace_auto, u_colorspace_raw(), u_colorspace_srgb(), VLOG_INFO, and VLOG_WARNING.
Referenced by ImageMetaData::detect_colorspace().
|
static |
Definition at line 434 of file colorspace.cpp.
References map_free_memory().
Referenced by ShaderManager::free_memory().
|
static |
Definition at line 34 of file colorspace.cpp.
References NULL, u_colorspace_auto, u_colorspace_raw(), u_colorspace_srgb(), VLOG_WARNING, and void.
Referenced by detect_known_colorspace(), and to_scene_linear().
|
static |
Definition at line 387 of file colorspace.cpp.
References average(), channels(), make_float3, usdtokens::rgb(), and void.
|
static |
Definition at line 350 of file colorspace.cpp.
References get_processor(), num_pixels, and void.
Referenced by OSLRenderServices::environment(), OSLRenderServices::texture(), and OSLRenderServices::texture3d().