15class ColorSpaceProcessor;
23 const char *file_colorspace,
24 const char *file_format,
34 ustring colorspace,
T *pixels,
const size_t num_pixels,
bool is_rgba,
bool compress_as_srgb);
39 static ColorSpaceProcessor *
get_processor(ustring colorspace);
40 static void to_scene_linear(ColorSpaceProcessor *processor,
float *pixel,
const int channels);
52 static void is_builtin_colorspace(ustring colorspace,
bool &is_scene_linear,
bool &is_srgb);
static bool colorspace_is_data(ustring colorspace)
static ustring detect_known_colorspace(ustring colorspace, const char *file_colorspace, const char *file_format, bool is_float)
static void free_memory()
static ColorSpaceProcessor * get_processor(ustring colorspace)
static void init_fallback_config()
static void to_scene_linear(ustring colorspace, T *pixels, const size_t num_pixels, bool is_rgba, bool compress_as_srgb)
CCL_NAMESPACE_BEGIN ustring u_colorspace_auto
#define CCL_NAMESPACE_END
ustring u_colorspace_srgb